application.yml 2.9 KB

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