Browse Source

修改网关配置名称

Sand Wen 8 years ago
parent
commit
71f1bbcd4d
2 changed files with 99 additions and 1 deletions
  1. 98 0
      ag-ehr-cloud.yml
  2. 1 1
      application.yml

+ 98 - 0
ag-ehr-cloud.yml

@ -0,0 +1,98 @@
logging:
  level:
    com:
      netflix: DEBUG
logging.level.root: INFO
netflix:
  metrics:
    rest:
      metricName: api
# service routes
zuul:
  addProxyHeaders: false
  ignoredServices: '*'
  routes:
    packages:
      path: /api/v1.0/packages
      serviceId: svr-pack-mgr
    package_json:
      path: /api/v1.0/json_package
      serviceId: svr-pack-mgr
    esb_log:
      path: /api/v1.0/esb/uploadLog
      serviceId: svr-esb
    sanofi_support:
      path: /api/v1.0/sanofi/physic_signs/**
      serviceId: svr-health-profile
      stripPrefix: false
    health_profile:
      path: /api/v1.0/health_profiles/**
      serviceId: svr-health-profile
      stripPrefix: false
---
spring:
  profiles: dev
  thymeleaf:
    cache: false
  metrics:
    export:
      statsd:
        host: 192.168.1.221
        port: 8125
server:
  ssl:
    key-store: C:/Windows/tomcat.keystore
    key-store-password: 123456
    key-password: 123456
---
spring:
  profiles: alpha
  thymeleaf:
    cache: false
  metrics:
    export:
      statsd:
        host: 192.168.1.221
        port: 8125
server:
  ssl:
    key-store: C:/Windows/tomcat.keystore
    key-store-password: 123456
    key-password: 123456
---
spring:
  profiles: test
  thymeleaf:
    cache: false
  metrics:
    export:
      statsd:
        host: 192.168.1.221
        port: 8125
server:
  ssl:
    key-store-password: 123456
    key-password: 123456
---
spring:
  profiles: prod
server:
  ssl:
    key-store-password: 123456
    key-password: 123456

+ 1 - 1
application.yml

@ -46,7 +46,7 @@ ehr.common.query.not.found: 不存在该对象
ehr.common.repeat.code: 代码重复
#Application port, since 10100, 10 per step. Update max port if new application created. Current max: 10220
ag-ehr-platform.server.port: 443
ag-ehr-cloud.server.port: 443
ag-admin.server.port: 10000
svr-adaption.server.port: 10150
svr-app.server.port: 10160