|
|
@@ -5,57 +5,19 @@ spring:
|
|
|
username: admin
|
|
|
password: password
|
|
|
driverClassName: org.postgresql.Driver
|
|
|
- maxPoolSize: 5
|
|
|
- test-on-borrow: true
|
|
|
- validation-query: SELECT 1
|
|
|
- crss-main:
|
|
|
- datasource:
|
|
|
- jdbcUrl: jdbc:postgresql://postgresql.marathon.l4lb.thisdcos.directory:5432/crss_meterprocess
|
|
|
- username: admin
|
|
|
- password: password
|
|
|
- driverClassName: org.postgresql.Driver
|
|
|
- maxPoolSize: 5
|
|
|
- test-on-borrow: true
|
|
|
- validation-query: SELECT 1
|
|
|
- crss-registration:
|
|
|
- datasource:
|
|
|
- jdbcUrl: jdbc:postgresql://postgresql.marathon.l4lb.thisdcos.directory:5432/crss_reg
|
|
|
- username: admin
|
|
|
- password: password
|
|
|
- driverClassName: org.postgresql.Driver
|
|
|
- maxPoolSize: 5
|
|
|
- test-on-borrow: true
|
|
|
- validation-query: SELECT 1
|
|
|
- crss-nmms:
|
|
|
- datasource:
|
|
|
- jdbcUrl: jdbc:postgresql://postgresql.marathon.l4lb.thisdcos.directory:5432/crss_nmms
|
|
|
- username: admin
|
|
|
- password: password
|
|
|
- driverClassName: org.postgresql.Driver
|
|
|
- maxPoolSize: 5
|
|
|
- test-on-borrow: true
|
|
|
- validation-query: SELECT 1
|
|
|
- crss-stl:
|
|
|
- datasource:
|
|
|
- jdbcUrl: jdbc:postgresql://postgresql.marathon.l4lb.thisdcos.directory:5432/crss_settlement
|
|
|
- username: postgres
|
|
|
- password: postgres
|
|
|
- driverClassName: org.postgresql.Driver
|
|
|
+ maxPoolSize: 20
|
|
|
connectionTimeout: 10000
|
|
|
- maxPoolSize: 5
|
|
|
test-on-borrow: true
|
|
|
validation-query: SELECT 1
|
|
|
-
|
|
|
jpa:
|
|
|
- show-sql: false
|
|
|
- generate-ddl: false
|
|
|
+ show-sql: true
|
|
|
+ generate-ddl: true
|
|
|
properties:
|
|
|
hibernate:
|
|
|
- generate_statistics: true
|
|
|
dialect: org.hibernate.dialect.PostgreSQLDialect
|
|
|
ddl-auto: none
|
|
|
hbm2ddl:
|
|
|
- import_files:
|
|
|
+ auto: none
|
|
|
|
|
|
# prevent batch job from running on app start
|
|
|
batch:
|
|
|
@@ -80,25 +42,19 @@ server:
|
|
|
enabled: true
|
|
|
min-response-size: 1
|
|
|
|
|
|
-#security:
|
|
|
-# oauth2:
|
|
|
-# client:
|
|
|
-# accessTokenUri: http://localhost:8082/oauth/access_token
|
|
|
-# userAuthorizationUri: http://localhost:8082/oauth/authorize
|
|
|
-# clientId: crss
|
|
|
-# clientSecret: crsssecret
|
|
|
-# authorized-grant-types: authorization_code,refresh_token,password
|
|
|
-# scope: openid
|
|
|
-# access-token-validity-seconds: 3600
|
|
|
-# resource:
|
|
|
-# userInfoUri: http://localhost:8082/user
|
|
|
+security:
|
|
|
+ oauth2:
|
|
|
+ client:
|
|
|
+ accessTokenUri: http://crss-admin.marathon.l4lb.thisdcos.directory:8080/oauth/access_token
|
|
|
+ userAuthorizationUri: http://crss-admin.marathon.l4lb.thisdcos.directory:8080/oauth/authorize
|
|
|
+ resource:
|
|
|
+ userInfoUri: http://crss-admin.marathon.l4lb.thisdcos.directory:8080/user
|
|
|
|
|
|
logging:
|
|
|
level:
|
|
|
com.pemc: DEBUG
|
|
|
com.netflix: DEBUG
|
|
|
org.springframework.cloud: DEBUG
|
|
|
- org.hibernate.stat: debug
|
|
|
|
|
|
dataflow:
|
|
|
url: http://spring-cloud-data-flow.marathon.l4lb.thisdcos.directory:9393
|