|
|
@@ -1,6 +1,7 @@
|
|
|
spring:
|
|
|
+ profiles: dev
|
|
|
datasource:
|
|
|
- url: jdbc:postgresql://192.168.235.6:5432/crss_sched
|
|
|
+ url: jdbc:postgresql://localhost:5432/crss_sched
|
|
|
username: crss_sched
|
|
|
password: crss_sched
|
|
|
driverClassName: org.postgresql.Driver
|
|
|
@@ -12,44 +13,39 @@ spring:
|
|
|
properties:
|
|
|
hibernate:
|
|
|
dialect: org.hibernate.dialect.PostgreSQL94Dialect
|
|
|
- rabbitmq:
|
|
|
- host: pemc-oracle.ss.exist.com
|
|
|
- ports:
|
|
|
- - "5672:5672"
|
|
|
- - "15672:15672"
|
|
|
-
|
|
|
server:
|
|
|
port: 8085
|
|
|
- undertow:
|
|
|
- accesslog:
|
|
|
- dir: target
|
|
|
- enabled: true
|
|
|
- pattern: combined
|
|
|
- compression:
|
|
|
- enabled: true
|
|
|
- min-response-size: 1
|
|
|
|
|
|
-eureka:
|
|
|
- client:
|
|
|
- serviceUrl:
|
|
|
- defaultZone: http://discovery:8080/eureka/
|
|
|
-
|
|
|
-security:
|
|
|
- oauth2:
|
|
|
- client:
|
|
|
- accessTokenUri: http://app:8080/admin/oauth/access_token
|
|
|
- userAuthorizationUri: http://app:8080/admin/oauth/authorize
|
|
|
- clientId: crss
|
|
|
- clientSecret: crsssecret
|
|
|
- authorized-grant-types: authorization_code,refresh_token,password
|
|
|
- scope: openid
|
|
|
- access-token-validity-seconds: 3600
|
|
|
- resource:
|
|
|
- userInfoUri: http://app:8080/admin/user
|
|
|
+---
|
|
|
+spring:
|
|
|
+ profiles: staging
|
|
|
+ datasource:
|
|
|
+ url: jdbc:postgresql://192.168.241.62:5432/crss_sched
|
|
|
+ username: crss_sched
|
|
|
+ password: crss_scheds
|
|
|
+ driverClassName: org.postgresql.Driver
|
|
|
+ hikari:
|
|
|
+ connectionTimeout: 10000
|
|
|
+ maximumPoolSize: 20
|
|
|
+ jpa:
|
|
|
+ database: POSTGRESQL
|
|
|
+ properties:
|
|
|
+ hibernate:
|
|
|
+ dialect: org.hibernate.dialect.PostgreSQL94Dialect
|
|
|
|
|
|
-logging:
|
|
|
- level:
|
|
|
- com.pemc: DEBUG
|
|
|
- com.netflix: WARN
|
|
|
- org.springframework.cloud: WARN
|
|
|
- org.hibernate.SQL: DEBUG
|
|
|
+---
|
|
|
+spring:
|
|
|
+ profiles: uat
|
|
|
+ datasource:
|
|
|
+ url: jdbc:postgresql://192.168.235.6:5432/crss_sched
|
|
|
+ username: crss_sched
|
|
|
+ password: crss_sched
|
|
|
+ driverClassName: org.postgresql.Driver
|
|
|
+ hikari:
|
|
|
+ connectionTimeout: 10000
|
|
|
+ maximumPoolSize: 20
|
|
|
+ jpa:
|
|
|
+ database: POSTGRESQL
|
|
|
+ properties:
|
|
|
+ hibernate:
|
|
|
+ dialect: org.hibernate.dialect.PostgreSQL94Dialect
|