application.yml 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. application:
  2. message: ESB
  3. server:
  4. context-path: /esb
  5. port: 8080
  6. session-timeout: 3000
  7. security:
  8. basic:
  9. enabled: false
  10. local:
  11. server:
  12. port: 8080
  13. spring:
  14. mvc:
  15. view:
  16. prefix: /WEB-INF/ehr/jsp/
  17. suffix: .jsp
  18. ---
  19. spring:
  20. profiles: dev
  21. administrators: jkzl
  22. #SAAS管理员账号,暂时配置在此处
  23. datasource:
  24. driverClassName: com.mysql.jdbc.Driver
  25. url: jdbc:mysql://172.19.103.57:8066/global_db?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true
  26. username: hos
  27. password: 123456
  28. test-on-borrow: true
  29. validation-query: SELECT 1
  30. test-while-idle: true
  31. max-total: 100
  32. default-auto-commit: true
  33. max-idle: 50
  34. min-idle: 20
  35. initial-size: 10
  36. jpa:
  37. database-platform: org.hibernate.dialect.MySQL5Dialect
  38. hibernate:
  39. dialect: org.hibernate.dialect.MySQL5Dialect
  40. format-sql: true
  41. show-sql: false
  42. data:
  43. mongodb:
  44. host: 172.19.103.57
  45. port: 27017
  46. username: esb
  47. password: esb
  48. authenticationDatabase: admin
  49. gridFsDatabase: dfs
  50. database: runtime
  51. # activemq:
  52. # broker-url: tcp://172.19.103.57:61616?wireFormat.maxInactivityDuration=0
  53. # user: admin
  54. # password: admin
  55. # pooled: false
  56. aop:
  57. proxy-target-class: true
  58. hos:
  59. zbus:
  60. port: 15555
  61. store: ./store
  62. mysql:
  63. filePath: e://learn.sql #租户基础表 sql文件位置
  64. service-gateway:
  65. portalUrl: http://localhost:444/api/v1.0/portal
  66. ---
  67. spring:
  68. profiles: test
  69. administrators: jkzl
  70. #SAAS管理员账号,暂时配置在此处
  71. datasource:
  72. driverClassName: com.mysql.jdbc.Driver
  73. url: jdbc:mysql://172.17.110.202:8066/global_db?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true
  74. username: hos
  75. password: 123456
  76. test-on-borrow: true
  77. validation-query: SELECT 1
  78. test-while-idle: true
  79. max-total: 100
  80. default-auto-commit: true
  81. max-idle: 50
  82. min-idle: 20
  83. initial-size: 10
  84. jpa:
  85. database-platform: org.hibernate.dialect.MySQL5Dialect
  86. hibernate:
  87. dialect: org.hibernate.dialect.MySQL5Dialect
  88. format-sql: true
  89. show-sql: false
  90. data:
  91. mongodb:
  92. host: mongodb
  93. port: 27017
  94. username: esb
  95. password: esb
  96. authenticationDatabase: admin
  97. gridFsDatabase: dfs
  98. database: runtime
  99. activemq:
  100. broker-url: tcp://activemq:61616?wireFormat.maxInactivityDuration=0
  101. user: admin
  102. password: admin
  103. pooled: false
  104. aop:
  105. proxy-target-class: true
  106. hos:
  107. zbus:
  108. url: 172.17.110.202:15555
  109. port: 15555
  110. store: ./store
  111. mysql:
  112. filePath: /usr/local/esb/esb.sql #租户基础表 sql文件位置
  113. service-gateway:
  114. portalUrl: http://sdw2:444/api/v1.0/portal
  115. ---
  116. spring:
  117. #SAAS管理员账号,暂时配置在此处
  118. administrators: jkzl
  119. profiles: lfq
  120. #SAAS管理员账号,暂时配置在此处
  121. datasource:
  122. driverClassName: com.mysql.jdbc.Driver
  123. url: jdbc:mysql://192.168.1.220:8066/global_db?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true
  124. username: hos
  125. password: 123456
  126. test-on-borrow: true
  127. validation-query: SELECT 1
  128. test-while-idle: true
  129. max-total: 100
  130. default-auto-commit: true
  131. max-idle: 50
  132. min-idle: 20
  133. initial-size: 10
  134. jpa:
  135. database-platform: org.hibernate.dialect.MySQL5Dialect
  136. hibernate:
  137. dialect: org.hibernate.dialect.MySQL5Dialect
  138. format-sql: true
  139. show-sql: false
  140. data:
  141. mongodb:
  142. host: 172.19.103.57
  143. port: 27017
  144. username: esb
  145. password: esb
  146. authenticationDatabase: admin
  147. gridFsDatabase: dfs
  148. database: runtime
  149. # activemq:
  150. # broker-url: tcp://172.19.103.57:61616?wireFormat.maxInactivityDuration=0
  151. # user: admin
  152. # password: admin
  153. # pooled: false
  154. aop:
  155. proxy-target-class: true
  156. hos:
  157. zbus:
  158. port: 15555
  159. store: ./store
  160. mysql:
  161. filePath: e://learn.sql #租户基础表 sql文件位置