application.yml 2.7 KB

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