application.yml 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. #The region code, where application deployed
  2. deploy:
  3. region: 3502
  4. #EHR platform user default password
  5. default:
  6. password: 123456
  7. redis-key-schema:
  8. std:
  9. version-table-prefix: std_cda_versions
  10. version-name: name
  11. data-set-table-prefix: std_data_set_
  12. data-set-code: code
  13. data-set-name: name
  14. meta-data-table-prefix: std_meta_data_
  15. meta-data-dict-id: dict_id
  16. meta-data-type: type
  17. dict-entry-table-prefix: std_dictionary_entry_
  18. dict-entry-value: value
  19. org:
  20. table: organizations
  21. name: name
  22. #Application error definition, this file define common errors,
  23. #if the error is used only in your application, please define it in your application configuration file.
  24. ehr.common.invalid.parameter: 参数解析错误
  25. ehr.common.query.not.found: 不存在该对象
  26. ehr.common.repeat.code: 代码重复
  27. #Application port, since 10100, 10 per step. Update max port if new application created. Current max: 10190
  28. svr-adaption.server.port: 10150
  29. svr-app.server.port: 10160
  30. svr-dict.server.port: 10050
  31. svr-esb.server.port: 10130
  32. svr-geography.server.port: 10090
  33. svr-health-profile.server.port: 9009
  34. svr-organization.server.port: 10070
  35. svr-pack-mgr.server.port: 10140
  36. svr-pack-resolve.server.port: 10170
  37. svr-patient.server.port: 10100
  38. svr-security.server.port: 10110
  39. svr-special-dict.server.port: 10180
  40. svr-standard.server.port: 10040
  41. svr-user.server.port: 10120
  42. ag-ehr-platform.server.port: 443
  43. ag-admin.server.port: 10000
  44. svr-family.server.port: 10190
  45. #Application acuator
  46. endpoints:
  47. restart:
  48. enabled: true
  49. shutdown:
  50. enabled: true
  51. health:
  52. sensitive: false
  53. spring:
  54. #JPA config for MySQL
  55. jpa:
  56. database-platform: org.hibernate.dialect.MySQL5Dialect
  57. hibernate.dialect: org.hibernate.dialect.MySQL5Dialect
  58. show-sql: true
  59. #block the inet address of nic, virtual card and so on. Need spring version: Brixton M5
  60. cloud:
  61. inetutils:
  62. ignoredInterfaces:
  63. - docker0
  64. - veth.*
  65. - vmnet.*
  66. eureka:
  67. client:
  68. serviceUrl:
  69. defaultZone: http://${eureka-server-ip}/eureka/
  70. ---
  71. spring:
  72. profiles: dev
  73. #If true, each application use ip to register it in eureka, eureka host is defined in "eureka-server-ip".
  74. #else the server must have host map.
  75. eureka:
  76. instance:
  77. prefer-ip-address: false
  78. eureka-server-ip: 192.168.1.220:8761
  79. ---
  80. spring:
  81. profiles: test
  82. #If true, each application use ip to register it in eureka, eureka host is defined in "eureka-server-ip".
  83. #else the server must have host map.
  84. eureka:
  85. instance:
  86. prefer-ip-address: false
  87. eureka-server-ip: 172.19.103.73:8761
  88. ---
  89. spring:
  90. profiles: prod
  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: 11.1.2.21:8761