application.yaml 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. gyee:
  2. # golden实时适配器的url
  3. golden-url: http://10.155.32.4:8011
  4. alert-url: http://192.168.1.18:8075
  5. host-url: http://10.155.32.14:8520
  6. # 故障样本数据导入模板路径
  7. template-path-window: D://java//kudu//template//
  8. template-path-linux: /gyee/java/template/
  9. # kudu的host
  10. kudu-host: 192.168.1.65
  11. # 故障诊断脚本路径
  12. diagnose-path-window: d:/
  13. diagnose-path-linux: /home/gyee/fault_digonsis/scripts/
  14. # 故障诊断保存数据文件的位置
  15. diagnose-file-window: D://diagnose//data
  16. diagnose-file-linux: /diagnose/file/
  17. server:
  18. port: 9002
  19. servlet:
  20. encoding:
  21. charset: utf-8
  22. force: true
  23. enabled: true
  24. max-http-header-size: 4048576
  25. spring:
  26. main:
  27. allow-bean-definition-overriding: false #当遇到同样名字的时候,是否允许覆盖注册
  28. autoconfigure:
  29. exclude: org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration,org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration
  30. datasource:
  31. type: com.alibaba.druid.pool.DruidDataSource
  32. druid:
  33. #kudu数据库
  34. master:
  35. driver-class-name: com.cloudera.impala.jdbc41.Driver
  36. jdbc-url: jdbc:impala://192.168.1.66:21050/gyee_sample_kudu
  37. #三区oracle数据库
  38. slave:
  39. jdbc-url: jdbc:oracle:thin:@192.168.1.105:1521:gdnxfd
  40. username: nxfdprod
  41. password: gdnxfd123
  42. driver-class-name: oracle.jdbc.OracleDriver
  43. #网源oracle数据库 -- 数据采集
  44. decision:
  45. jdbc-url: jdbc:oracle:thin:@10.155.32.7:1521:ORCL
  46. username: gyee
  47. password: FRWIND
  48. driver-class-name: oracle.jdbc.OracleDriver
  49. # 初始化大小,最小,最大
  50. initial-size: 1
  51. min-idle: 1
  52. max-active: 3
  53. max-wait: 60000
  54. # 每次使用连接时进行校验,会影响系统性能。默认为false
  55. test-on-borrow: false
  56. test-on-return: false
  57. # 验证使用的SQL语句
  58. validation-query: SELECT 1
  59. # 指明连接是否被空闲连接回收器(如果有)进行检验.如果检测失败,则连接将被从池中去除
  60. while: true
  61. # 每30秒运行一次空闲连接回收器(默认-1)
  62. time-between-eviction-runs-millis: 60000
  63. # 池中的连接空闲30分钟后被回收(默认30分钟)
  64. min-evictable-idle-time-millis: 1800000
  65. ####################三区大数据服务器 SFTP hive 配置####################
  66. hiveconfig:
  67. protocols: sftp
  68. host: 192.168.1.60
  69. port: 22
  70. username: root
  71. password: Admin@2019
  72. path: /gyee/dataprocess
  73. driver: org.apache.hive.jdbc.HiveDriver
  74. url: jdbc:hive2://192.168.1.60:10000/default
  75. ####################三区大数据服务器 SFTP EXEC 配置####################
  76. ####################Mybatis Plus配置####################
  77. mybatis-plus:
  78. configuration:
  79. map-underscore-to-camel-case: true # 数据库下划线自动转驼峰标示关闭
  80. # log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  81. ####################Mybatis Plus配置####################
  82. logging:
  83. level:
  84. root: info
  85. com.example: debug
  86. file:
  87. path: ./logs
  88. ## 故障诊断部署 运行 source activate tensorflow-gpu ##