123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899 |
- gyee:
- # golden实时适配器的url
- golden-url: http://10.155.32.4:8011
- alert-url: http://192.168.1.18:8075
- host-url: http://10.155.32.14:8520
- # 故障样本数据导入模板路径
- template-path-window: D://java//kudu//template//
- template-path-linux: /gyee/java/template/
- # kudu的host
- kudu-host: 192.168.1.65
- # 故障诊断脚本路径
- diagnose-path-window: d:/
- diagnose-path-linux: /home/gyee/fault_digonsis/scripts/
- # 故障诊断保存数据文件的位置
- diagnose-file-window: D://diagnose//data
- diagnose-file-linux: /diagnose/file/
- server:
- port: 9002
- servlet:
- encoding:
- charset: utf-8
- force: true
- enabled: true
- max-http-header-size: 4048576
- spring:
- main:
- allow-bean-definition-overriding: false #当遇到同样名字的时候,是否允许覆盖注册
- autoconfigure:
- exclude: org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration,org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration
- datasource:
- type: com.alibaba.druid.pool.DruidDataSource
- druid:
- #kudu数据库
- master:
- driver-class-name: com.cloudera.impala.jdbc41.Driver
- jdbc-url: jdbc:impala://192.168.1.66:21050/gyee_sample_kudu
- #三区oracle数据库
- slave:
- jdbc-url: jdbc:oracle:thin:@192.168.1.105:1521:gdnxfd
- username: nxfdprod
- password: gdnxfd123
- driver-class-name: oracle.jdbc.OracleDriver
- #网源oracle数据库 -- 数据采集
- decision:
- jdbc-url: jdbc:oracle:thin:@10.155.32.7:1521:ORCL
- username: gyee
- password: FRWIND
- driver-class-name: oracle.jdbc.OracleDriver
- # 初始化大小,最小,最大
- initial-size: 1
- min-idle: 1
- max-active: 3
- max-wait: 60000
- # 每次使用连接时进行校验,会影响系统性能。默认为false
- test-on-borrow: false
- test-on-return: false
- # 验证使用的SQL语句
- validation-query: SELECT 1
- # 指明连接是否被空闲连接回收器(如果有)进行检验.如果检测失败,则连接将被从池中去除
- while: true
- # 每30秒运行一次空闲连接回收器(默认-1)
- time-between-eviction-runs-millis: 60000
- # 池中的连接空闲30分钟后被回收(默认30分钟)
- min-evictable-idle-time-millis: 1800000
- ####################三区大数据服务器 SFTP hive 配置####################
- hiveconfig:
- protocols: sftp
- host: 192.168.1.60
- port: 22
- username: root
- password: Admin@2019
- path: /gyee/dataprocess
- driver: org.apache.hive.jdbc.HiveDriver
- url: jdbc:hive2://192.168.1.60:10000/default
- ####################三区大数据服务器 SFTP EXEC 配置####################
- ####################Mybatis Plus配置####################
- mybatis-plus:
- configuration:
- map-underscore-to-camel-case: true # 数据库下划线自动转驼峰标示关闭
- # log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
- ####################Mybatis Plus配置####################
- logging:
- level:
- root: info
- com.example: debug
- file:
- path: ./logs
- ## 故障诊断部署 运行 source activate tensorflow-gpu ##
|