hos-admin.yml 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. security:
  2. basic:
  3. enabled: false
  4. hystrix:
  5. command:
  6. default:
  7. execution:
  8. # timeout:
  9. # enabled: false
  10. isolation:
  11. thread:
  12. timeoutInMilliseconds: 30000
  13. ---
  14. spring:
  15. profiles: dev
  16. datasource:
  17. driverClassName: com.mysql.jdbc.Driver
  18. url: jdbc:mysql://172.19.103.57:8066/global_db?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true
  19. username: hos
  20. password: 123456
  21. test-on-borrow: true
  22. validation-query: SELECT 1
  23. test-while-idle: true
  24. max-total: 100
  25. default-auto-commit: true
  26. max-idle: 50
  27. min-idle: 20
  28. initial-size: 10
  29. jpa:
  30. database-platform: org.hibernate.dialect.MySQL5Dialect
  31. hibernate:
  32. dialect: org.hibernate.dialect.MySQL5Dialect
  33. format-sql: true
  34. show-sql: false
  35. data:
  36. mongodb:
  37. host: 172.19.103.57
  38. port: 27017
  39. username: esb
  40. password: esb
  41. authenticationDatabase: admin
  42. gridFsDatabase: dfs
  43. database: runtime
  44. aop:
  45. proxy-target-class: true
  46. hos:
  47. saasAdmin: jkzl #SAAS管理员账号,暂时配置在此处
  48. clientId: 0e3DIdNaQ2
  49. zbus:
  50. url: 172.19.103.37:9020
  51. filesystem:
  52. url: http://172.19.103.37:9010/dfs/file
  53. fast-dfs:
  54. tracker-server: 172.19.103.13:22122
  55. public-server: http://172.19.103.52:80
  56. jwt:
  57. header: Authorization
  58. secret: mySecret
  59. expiration: 604800
  60. tokenHead: "Bearer "
  61. ---
  62. spring:
  63. profiles: test
  64. datasource:
  65. driverClassName: com.mysql.jdbc.Driver
  66. url: jdbc:mysql://172.19.103.57:8066/global_db?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true
  67. username: hos
  68. password: 123456
  69. test-on-borrow: true
  70. validation-query: SELECT 1
  71. test-while-idle: true
  72. max-total: 100
  73. default-auto-commit: true
  74. max-idle: 50
  75. min-idle: 20
  76. initial-size: 10
  77. jpa:
  78. database-platform: org.hibernate.dialect.MySQL5Dialect
  79. hibernate:
  80. dialect: org.hibernate.dialect.MySQL5Dialect
  81. format-sql: true
  82. show-sql: false
  83. data:
  84. mongodb:
  85. host: 172.19.103.57
  86. port: 27017
  87. username: esb
  88. password: esb
  89. authenticationDatabase: admin
  90. gridFsDatabase: dfs
  91. database: runtime
  92. aop:
  93. proxy-target-class: true
  94. hos:
  95. saasAdmin: jkzl #SAAS管理员账号,暂时配置在此处
  96. clientId: 0e3DIdNaQ2
  97. zbus:
  98. url: 172.19.103.37:9020
  99. filesystem:
  100. url: http://172.19.103.37:9010/dfs/file
  101. fast-dfs:
  102. tracker-server: 172.19.103.13:22122
  103. public-server: http://172.19.103.52:80
  104. jwt:
  105. header: Authorization
  106. secret: mySecret
  107. expiration: 604800
  108. tokenHead: "Bearer "