application.yml 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  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: 300000
  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. hp_icd10_relation:
  39. table: hp_icd10_relation
  40. icd10_id: icd10_id
  41. icd10_code: icd10_code
  42. #Application error definition, this file define common errors,
  43. #if the error is used only in your application, please define it in your application configuration file.
  44. ehr.common.invalid.parameter: 参数解析错误
  45. ehr.common.query.not.found: 不存在该对象
  46. ehr.common.repeat.code: 代码重复
  47. #Application port, since 10100, 10 per step. Update max port if new application created. Current max: 10220
  48. ag-ehr-platform.server.port: 443
  49. ag-ehr-cloud.server.port: 443
  50. ag-admin.server.port: 10000
  51. svr-adaption.server.port: 10150
  52. svr-app.server.port: 10160
  53. svr-dict.server.port: 10050
  54. svr-esb.server.port: 10130
  55. svr-geography.server.port: 10090
  56. svr-health-profile.server.port: 9009
  57. svr-organization.server.port: 10070
  58. svr-pack-mgr.server.port: 10140
  59. svr-pack-resolve.server.port: 10170
  60. svr-patient.server.port: 10100
  61. svr-security.server.port: 10110
  62. svr-special-dict.server.port: 10180
  63. svr-standard.server.port: 10040
  64. svr-user.server.port: 10120
  65. svr-family.server.port: 10190
  66. svr-health-profile-search.server.port: 10200
  67. svr-workflow.server.port: 10210
  68. svr-resource.server.port: 10220
  69. #Application acuator
  70. endpoints:
  71. restart:
  72. enabled: true
  73. shutdown:
  74. enabled: true
  75. health:
  76. sensitive: false
  77. spring:
  78. jmx:
  79. enabled: false
  80. jpa:
  81. database-platform: org.hibernate.dialect.MySQL5Dialect
  82. hibernate.dialect: org.hibernate.dialect.MySQL5Dialect
  83. show-sql: true
  84. #block the inet address of nic, virtual card and so on. Need spring version: Brixton M5
  85. cloud:
  86. inetutils:
  87. ignoredInterfaces:
  88. - docker0
  89. - veth.*
  90. - vmnet.*
  91. eureka:
  92. client:
  93. serviceUrl:
  94. defaultZone: http://${eureka-server-ip}/eureka/
  95. ---
  96. spring:
  97. profiles: dev
  98. #If true, each application use ip to register it in eureka, eureka host is defined in "eureka-server-ip".
  99. #else the server must have host map.
  100. eureka:
  101. instance:
  102. prefer-ip-address: false
  103. eureka-server-ip: 192.168.1.221:8761
  104. ---
  105. spring:
  106. profiles: alpha
  107. #If true, each application use ip to register it in eureka, eureka host is defined in "eureka-server-ip".
  108. #else the server must have host map.
  109. eureka:
  110. instance:
  111. prefer-ip-address: false
  112. eureka-server-ip: 172.19.103.11:8761
  113. ---
  114. spring:
  115. profiles: test
  116. #If true, each application use ip to register it in eureka, eureka host is defined in "eureka-server-ip".
  117. #else the server must have host map.
  118. eureka:
  119. instance:
  120. prefer-ip-address: false
  121. eureka-server-ip: 172.19.103.73:8761
  122. ---
  123. spring:
  124. profiles: prod
  125. #If true, each application use ip to register it in eureka, eureka host is defined in "eureka-server-ip".
  126. #else the server must have host map.
  127. eureka:
  128. instance:
  129. prefer-ip-address: false
  130. eureka-server-ip: 11.1.2.21:8761