| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- server:
- port: ${randomPort:9092}
- spring:
- application:
- name: elevator-data-analysis
- datasource:
- type: com.alibaba.druid.pool.DruidDataSource
- druid:
- initial-size: 5
- max-active: 40
- min-idle: 5
- max-wait: 60000
- validation-query: SELECT 1
- test-on-borrow: false
- test-on-return: false
- test-while-idle: true
- time-between-eviction-runs-millis: 60000
- remove-abandoned: true
- removeAbandonedTimeout: 1800
- log-abandoned: true
- driver-class-name: com.mysql.jdbc.Driver
- filters: stat
- username: ${elevatorDatasourceUserName:root}
- password: ${elevatorDatasourcePassword:Hycpb@123}
- url: ${elevatorDatasourceUrl:jdbc:mysql://127.0.0.1:3306/elevator?useUnicode=true&characterEncoding=UTF8&rewriteBatchedStatements=true&allowMultiQueries=true&}
- data:
- # mongodb配置
- mongodb:
- host: 127.0.0.1
- port: 27017
- #username: mongoUsername
- #password: mongoPassword
- database: elevator
- #uri: mongodb://root:inspur1234,@192.168.9.77:20000/elevator
- logging:
- level:
- org.mongodb.driver.protocol.command: DEBUG
- mybatis:
- # config-location: classpath:mybatis.xml
- configuration:
- map-underscore-to-camel-case: true
- #??mybatis?SQL??
- log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
- type-aliases-package: com.inspur.evedemo.pojo
- #type-handlers-package: com.inspur.idm.platform.mybatis.handler
- mapper-locations: classpath*:mapper/*.xml
- #健康度相关加减分控制
- health:
- lightWeight: 2 #轻微事故扣分
- lightAddWeight: 1 #轻微事故修复加分
- normalWeight: 10 #一般事故扣分
- normalAddWeight: 5 #一般事故修复后加分
- seriousWeight: 40 #较大事故扣分
- seriousAddWeight: 10 #较大事故修复后加分
- significantWeight: 50 #重大事故扣分
- significantAddWeight: 10 #重大事故修复后加分
- year0: 0 #使用0-5年电梯扣分分数
- year5: 5 #使用5-10年电梯扣分分数
- year10: 10 #使用10-15年电梯扣分分数
- year15: 30 #使用15年以上电梯扣分分数
- halfYearAddScore: 10 #发生较大重大事故后半年没发生事故加分
- comfort:
- tempWeight: 0.25 #温度权重系数
- humiWeight: 0.2 #湿度权重系数
- brWeight: 0.2 #亮度权重系数
- numWeight: 0.35 #乘梯人数权重系数
- jasypt:
- encryptor:
- algorithm: PBEWithMD5AndDES
- iv-generator-classname: org.jasypt.iv.NoIvGenerator
- password: ${sys_jasypt_passwd}
|