application.yml 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  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: 10180
  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. #Application acuator
  45. endpoints:
  46. restart:
  47. enabled: true
  48. shutdown:
  49. enabled: true
  50. health:
  51. sensitive: false
  52. spring:
  53. #JPA config for MySQL
  54. jpa:
  55. database-platform: org.hibernate.dialect.MySQL5Dialect
  56. hibernate.dialect: org.hibernate.dialect.MySQL5Dialect
  57. show-sql: true
  58. #block the inet address of nic, virtual card and so on. Need spring version: Brixton M5
  59. cloud:
  60. inetutils:
  61. ignoredInterfaces:
  62. - docker0
  63. - veth.*
  64. - vmnet.*
  65. eureka:
  66. client:
  67. serviceUrl:
  68. defaultZone: http://${eureka-server-ip}/eureka/
  69. ---
  70. spring:
  71. profiles: dev
  72. #If true, each application use ip to register it in eureka, eureka host is defined in "eureka-server-ip".
  73. #else the server must have host map.
  74. eureka:
  75. instance:
  76. prefer-ip-address: false
  77. eureka-server-ip: 192.168.1.220:8761
  78. ---
  79. spring:
  80. profiles: test
  81. #If true, each application use ip to register it in eureka, eureka host is defined in "eureka-server-ip".
  82. #else the server must have host map.
  83. eureka:
  84. instance:
  85. prefer-ip-address: false
  86. eureka-server-ip: 172.19.103.73:8761
  87. ---
  88. spring:
  89. profiles: prod
  90. #If true, each application use ip to register it in eureka, eureka host is defined in "eureka-server-ip".
  91. #else the server must have host map.
  92. eureka:
  93. instance:
  94. prefer-ip-address: false
  95. eureka-server-ip: 11.1.2.21:8761