hos-admin.yml 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  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. jwt:
  49. header: Authorization
  50. secret: mySecret
  51. expiration: 604800
  52. tokenHead: "Bearer "
  53. ---
  54. spring:
  55. profiles: test
  56. jackson:
  57. serialization:
  58. INDENT_OUTPUT: true
  59. datasource:
  60. driverClassName: com.mysql.jdbc.Driver
  61. url: jdbc:mysql://172.19.103.57:8066/global_db?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true
  62. username: hos
  63. password: 123456
  64. test-on-borrow: true
  65. validation-query: SELECT 1
  66. test-while-idle: true
  67. max-total: 100
  68. default-auto-commit: true
  69. max-idle: 50
  70. min-idle: 20
  71. initial-size: 10
  72. jpa:
  73. database-platform: org.hibernate.dialect.MySQL5Dialect
  74. hibernate:
  75. dialect: org.hibernate.dialect.MySQL5Dialect
  76. format-sql: true
  77. show-sql: false
  78. data:
  79. mongodb:
  80. host: 172.19.103.42
  81. port: 27017
  82. username: esb
  83. password: esb
  84. authenticationDatabase: admin
  85. gridFsDatabase: dfs
  86. database: runtime
  87. aop:
  88. proxy-target-class: true
  89. hos:
  90. saasAdmin: jkzl #SAAS管理员账号,暂时配置在此处
  91. jwt:
  92. header: Authorization
  93. secret: mySecret
  94. expiration: 604800
  95. tokenHead: "Bearer "