application.yml 2.7 KB

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