application.yml 3.5 KB

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