hos-admin.yml 2.2 KB

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