application.yml 3.7 KB

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