application.yml 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  1. #set max http header size
  2. server:
  3. tomcat:
  4. max-http-header-size: 100000
  5. #The region code, where application deployed
  6. deploy:
  7. region: 3502
  8. #EHR platform user default password
  9. default:
  10. password: 123456
  11. hystrix:
  12. command:
  13. default:
  14. execution:
  15. isolation:
  16. thread:
  17. timeoutInMilliseconds: 3000000
  18. ehr:
  19. redis-key-schema:
  20. std:
  21. version-table-prefix: std_cda_versions
  22. version-name: name
  23. data-set-table-prefix: std_data_set_
  24. data-set-code: code
  25. data-set-name: name
  26. data-set-is-multi-record: multi_record
  27. meta-data-table-prefix: std_meta_data_
  28. meta-data-dict-id: dict_id
  29. meta-data-type: type
  30. dict-entry-table-prefix: std_dictionary_entry_
  31. dict-entry-value: value
  32. org:
  33. table: organizations
  34. name: name
  35. resource-adaption:
  36. table: rs_adapter_metadata
  37. resource-meta-data: resource_metadata
  38. resource-metadata:
  39. table: rs_metadata
  40. column: dict_code
  41. resource-adapter-dict:
  42. table: rs_adapter_dictionary
  43. column: code_name
  44. hp_icd10_relation:
  45. table: hp_icd10_relation
  46. icd10_id: icd10_id
  47. icd10_code: icd10_code
  48. #Application error definition, this file define common errors,
  49. #if the error is used only in your application, please define it in your application configuration file.
  50. ehr.common.invalid.parameter: 参数解析错误
  51. ehr.common.query.not.found: 不存在该对象
  52. ehr.common.repeat.code: 代码重复
  53. #Application port, since 10100, 10 per step. Update max port if new application created. Current max: 10220
  54. ag-ehr-platform.server.port: 443
  55. ag-ehr-cloud.server.port: 443
  56. ag-portal-cloud.server.port: 444
  57. ag-admin.server.port: 10000
  58. svr-adaption.server.port: 10150
  59. svr-app.server.port: 10160
  60. svr-dict.server.port: 10050
  61. svr-esb.server.port: 10130
  62. svr-geography.server.port: 10090
  63. svr-health-profile.server.port: 9009
  64. svr-organization.server.port: 10070
  65. svr-pack-mgr.server.port: 10140
  66. svr-pack-resolve.server.port: 10170
  67. svr-patient.server.port: 10100
  68. svr-security.server.port: 10110
  69. svr-special-dict.server.port: 10180
  70. svr-standard.server.port: 10040
  71. svr-user.server.port: 10120
  72. svr-family.server.port: 10190
  73. svr-health-profile-search.server.port: 10200
  74. svr-workflow.server.port: 10210
  75. svr-resource.server.port: 10220
  76. svr-archive-security.server.port: 10230
  77. svr-profile-statistics.server.port: 10240
  78. svr-portal.server.port: 10250
  79. #Application acuator
  80. endpoints:
  81. restart:
  82. enabled: true
  83. shutdown:
  84. enabled: true
  85. health:
  86. sensitive: false
  87. spring:
  88. jmx:
  89. enabled: false
  90. jpa:
  91. database-platform: org.hibernate.dialect.MySQL5Dialect
  92. hibernate.dialect: org.hibernate.dialect.MySQL5Dialect
  93. show-sql: false
  94. #block the inet address of nic, virtual card and so on. Need spring version: Brixton M5
  95. cloud:
  96. inetutils:
  97. ignoredInterfaces:
  98. - docker0
  99. - veth.*
  100. - vmnet.*
  101. - TAP-Win.*
  102. - Software Loopback.*
  103. - .*VPN.*
  104. - .*Virtual.*
  105. - .*Debug.*
  106. eureka:
  107. client:
  108. serviceUrl:
  109. defaultZone: http://${eureka-server-ip}/eureka/
  110. ---
  111. spring:
  112. profiles: dev
  113. #If true, each application use ip to register it in eureka, eureka host is defined in "eureka-server-ip".
  114. #else the server must have host map.
  115. eureka:
  116. instance:
  117. prefer-ip-address: false
  118. eureka-server-ip: 127.0.0.1:8761
  119. #eureka-server-ip: 192.168.1.221:8761
  120. ---
  121. spring:
  122. profiles: alpha
  123. #If true, each application use ip to register it in eureka, eureka host is defined in "eureka-server-ip".
  124. #else the server must have host map.
  125. eureka:
  126. instance:
  127. prefer-ip-address: false
  128. eureka-server-ip: 192.168.1.221:8761
  129. ---
  130. spring:
  131. profiles: test
  132. #If true, each application use ip to register it in eureka, eureka host is defined in "eureka-server-ip".
  133. #else the server must have host map.
  134. eureka:
  135. instance:
  136. prefer-ip-address: false
  137. eureka-server-ip: 172.19.103.73:8761
  138. ---
  139. spring:
  140. profiles: prod
  141. #If true, each application use ip to register it in eureka, eureka host is defined in "eureka-server-ip".
  142. #else the server must have host map.
  143. eureka:
  144. instance:
  145. prefer-ip-address: false
  146. eureka-server-ip: 11.1.2.21:8761