application.yml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  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. show-sql: true
  57. #block the inet address of nic, virtual card and so on. Need spring version: Brixton M5
  58. cloud:
  59. inetutils:
  60. ignoredInterfaces:
  61. - docker0
  62. - veth.*
  63. - vmnet.*
  64. eureka:
  65. client:
  66. serviceUrl:
  67. defaultZone: http://${eureka-server-ip}/eureka/
  68. ---
  69. spring:
  70. profiles: dev
  71. #If true, each application use ip to register it in eureka, eureka host is defined in "eureka-server-ip".
  72. #else the server must have host map.
  73. eureka:
  74. instance:
  75. prefer-ip-address: false
  76. eureka-server-ip: 192.168.1.220:8761
  77. ---
  78. spring:
  79. profiles: test
  80. #If true, each application use ip to register it in eureka, eureka host is defined in "eureka-server-ip".
  81. #else the server must have host map.
  82. eureka:
  83. instance:
  84. prefer-ip-address: false
  85. eureka-server-ip: 172.19.103.73:8761
  86. ---
  87. spring:
  88. profiles: prod
  89. #If true, each application use ip to register it in eureka, eureka host is defined in "eureka-server-ip".
  90. #else the server must have host map.
  91. eureka:
  92. instance:
  93. prefer-ip-address: false
  94. eureka-server-ip: 11.1.2.21:8761