|
|
@@ -1,28 +1,22 @@
|
|
|
spring:
|
|
|
crss-main:
|
|
|
datasource:
|
|
|
- jdbcUrl: jdbc:postgresql://localhost:5432/crss_meterprocess
|
|
|
- username: postgres
|
|
|
- password: postgres
|
|
|
- driverClassName: org.postgresql.Driver
|
|
|
+ driverClassName: com.edb.Driver
|
|
|
+ connectionTimeout: 10000
|
|
|
maxPoolSize: 2
|
|
|
test-on-borrow: true
|
|
|
validation-query: SELECT 1
|
|
|
crss-registration:
|
|
|
datasource:
|
|
|
- jdbcUrl: jdbc:postgresql://localhost:5432/crss_reg
|
|
|
- username: postgres
|
|
|
- password: postgres
|
|
|
- driverClassName: org.postgresql.Driver
|
|
|
+ driverClassName: com.edb.Driver
|
|
|
+ connectionTimeout: 10000
|
|
|
maxPoolSize: 2
|
|
|
test-on-borrow: true
|
|
|
validation-query: SELECT 1
|
|
|
crss-nmms:
|
|
|
datasource:
|
|
|
- jdbcUrl: jdbc:postgresql://localhost:5432/crss_nmms
|
|
|
- username: postgres
|
|
|
- password: postgres
|
|
|
- driverClassName: org.postgresql.Driver
|
|
|
+ driverClassName: com.edb.Driver
|
|
|
+ connectionTimeout: 10000
|
|
|
maxPoolSize: 2
|
|
|
test-on-borrow: true
|
|
|
validation-query: SELECT 1
|
|
|
@@ -43,6 +37,15 @@ spring:
|
|
|
job:
|
|
|
enabled: false
|
|
|
|
|
|
+
|
|
|
+security:
|
|
|
+ oauth2:
|
|
|
+ client:
|
|
|
+ accessTokenUri: http://crssadmin-service.marathon.l4lb.thisdcos.directory:8080/oauth/access_token
|
|
|
+ userAuthorizationUri: http://crssadmin-service.marathon.l4lb.thisdcos.directory:8080/oauth/authorize
|
|
|
+ resource:
|
|
|
+ userInfoUri: http://crssadmin-service.marathon.l4lb.thisdcos.directory:8080/user
|
|
|
+
|
|
|
#liquibase:
|
|
|
# change-log: classpath:/db/db.changelog-master.xml
|
|
|
|
|
|
@@ -57,33 +60,6 @@ server:
|
|
|
enabled: true
|
|
|
min-response-size: 1
|
|
|
|
|
|
-eureka:
|
|
|
- instance:
|
|
|
- prefer-ip-address: true
|
|
|
- client:
|
|
|
- serviceUrl:
|
|
|
- defaultZone: http://localhost:8761/eureka/
|
|
|
-# healthcheck:
|
|
|
-# enabled: true
|
|
|
-# lease:
|
|
|
-# duration: 5
|
|
|
-# instance:
|
|
|
-# leaseRenewalIntervalInSeconds: 1
|
|
|
-# leaseExpirationDurationInSeconds: 2
|
|
|
-
|
|
|
-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
|
|
|
-
|
|
|
logging:
|
|
|
level:
|
|
|
com.pemc: DEBUG
|
|
|
@@ -93,16 +69,14 @@ logging:
|
|
|
org.hibernate.stat: debug
|
|
|
|
|
|
dataflow:
|
|
|
- url: http://localhost:9393
|
|
|
+ url: http://spring-cloud-data-flow.marathon.l4lb.thisdcos.directory:9393
|
|
|
|
|
|
job:
|
|
|
maxRun: 1
|
|
|
|
|
|
sftp:
|
|
|
credentials:
|
|
|
- username: pemc
|
|
|
- password: 123qwe
|
|
|
- host: pemc-storage.southeastasia.cloudapp.azure.com
|
|
|
- port: 22
|
|
|
- workingDirectory: /home/pemc/upload
|
|
|
- privateKey:
|
|
|
+ host: sftp.marathon.l4lb.thisdcos.directory
|
|
|
+ workingDirectory: /upload
|
|
|
+
|
|
|
+
|