Explorar o código

Merge branch 'dev' of lyr/ehr.config into dev

sand %!s(int64=8) %!d(string=hai) anos
pai
achega
2747b4c469
Modificáronse 2 ficheiros con 64 adicións e 1 borrados
  1. 2 1
      application.yml
  2. 62 0
      svr-archive-security.yml

+ 2 - 1
application.yml

@ -81,6 +81,7 @@ svr-family.server.port: 10190
svr-health-profile-search.server.port: 10200
svr-health-profile-search.server.port: 10200
svr-workflow.server.port: 10210
svr-workflow.server.port: 10210
svr-resource.server.port: 10220
svr-resource.server.port: 10220
svr-archive-security.server.port: 10230
#Application acuator
#Application acuator
endpoints:
endpoints:
@ -135,7 +136,7 @@ eureka:
  instance:
  instance:
    prefer-ip-address: false
    prefer-ip-address: false
eureka-server-ip: localhost:8761
eureka-server-ip: 192.168.1.221:8761
---
---
spring:
spring:

+ 62 - 0
svr-archive-security.yml

@ -0,0 +1,62 @@
logging:
  level:
    com:
      netflix: DEBUG
spring:
  datasource:
    driver-class-name: com.mysql.jdbc.Driver
    max-active: 20
    max-idle: 8
    min-idle: 8
    validation-query: SELECT 1
    test-on-borrow: true
---
spring:
  profiles: dev
  datasource:
    url: jdbc:mysql://192.168.1.220:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
    username: ha
    password: ha
  redis:
    host: 192.168.1.220 # Redis server host.
---
spring:
  profiles: alpha
  datasource:
    url: jdbc:mysql://192.168.1.220:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
    username: ha
    password: ha
  redis:
    host: 192.168.1.220 # Redis server host.
---
spring:
  profiles: test
  datasource:
    url: jdbc:mysql://172.19.103.50:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
    username: weifuwu
    password: weifuwu
  redis:
    host: 172.19.103.47 # Redis server host.
---
spring:
  profiles: prod
  datasource:
    url: jdbc:mysql://11.1.2.5:3306/healtharchive?useUnicode=true&characterEncoding=UTF-8
    username: ha
    password: jkzlxm
  redis:
    host: 11.1.2.20 # Redis server host.