hos-admin.yml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  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. administrators: jkzl #SAAS管理员账号,暂时配置在此处
  48. clientId: 0e3DIdNaQ2
  49. zbus:
  50. url: 172.19.103.57:9020
  51. filesystem:
  52. url: http://172.19.103.57:9010/dfs/file
  53. mysql:
  54. filePath: e://learn.sql #租户基础表 sql文件位置
  55. service-gateway:
  56. portalUrl: http://192.168.1.221:10280/api/v1.0/portal
  57. adminUrl: http://192.168.1.221:10000/api/v1.0/admin
  58. oauth2authorize: http://192.168.131.106:10260/
  59. oauth2RedictUrl: http://192.168.131.106:8083/ehr/login/signinReport
  60. oauth2ReportClientId: 2YTOSRI0tw
  61. url: http://172.19.103.37:9999/api
  62. appService: http://127.0.0.1:10500
  63. # Logging configuration
  64. #logging:
  65. # level:
  66. # org.springframework:
  67. # data: DEBUG
  68. # security: DEBUG
  69. # JWT
  70. jwt:
  71. header: Authorization
  72. secret: mySecret
  73. expiration: 604800
  74. tokenHead: "Bearer "
  75. ---
  76. spring:
  77. profiles: test
  78. jackson:
  79. serialization:
  80. INDENT_OUTPUT: true
  81. datasource:
  82. driverClassName: com.mysql.jdbc.Driver
  83. url: jdbc:mysql://172.19.103.42:8066/global_db?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true
  84. username: hos
  85. password: 123456
  86. test-on-borrow: true
  87. validation-query: SELECT 1
  88. test-while-idle: true
  89. max-total: 100
  90. default-auto-commit: true
  91. max-idle: 50
  92. min-idle: 20
  93. initial-size: 10
  94. jpa:
  95. database-platform: org.hibernate.dialect.MySQL5Dialect
  96. hibernate:
  97. dialect: org.hibernate.dialect.MySQL5Dialect
  98. format-sql: true
  99. show-sql: false
  100. data:
  101. mongodb:
  102. host: 172.19.103.42
  103. port: 27017
  104. username: esb
  105. password: esb
  106. authenticationDatabase: admin
  107. gridFsDatabase: dfs
  108. database: runtime
  109. aop:
  110. proxy-target-class: true
  111. hos:
  112. administrators: jkzl #SAAS管理员账号,暂时配置在此处
  113. clientId: 0e3DIdNaQ2
  114. zbus:
  115. url: 172.19.103.37:9020
  116. filesystem:
  117. url: http://172.19.103.37:9010/dfs/file
  118. mysql:
  119. filePath: /usr/local/esb/esb.sql #租户基础表 sql文件位置
  120. service-gateway:
  121. portalUrl: http://192.168.1.221:10280/api/v1.0/portal
  122. adminUrl: http://192.168.1.221:10000/api/v1.0/admin
  123. oauth2authorize: http://192.168.1.221:10260/
  124. oauth2RedictUrl: http://192.168.1.221:8080/ehr/login/signinReport
  125. oauth2ReportClientId: 2YTOSRI0tw
  126. url: http://172.19.103.37:9999/api
  127. appService: http://127.0.0.1:10500