|
@@ -1,31 +1,23 @@
|
|
|
spring:
|
|
spring:
|
|
|
- profiles:
|
|
|
|
|
- include: client-sec
|
|
|
|
|
crss-main:
|
|
crss-main:
|
|
|
datasource:
|
|
datasource:
|
|
|
- jdbcUrl: jdbc:postgresql://localhost:5432/crss_meterprocess
|
|
|
|
|
- username: postgres
|
|
|
|
|
- password: postgres
|
|
|
|
|
- driverClassName: org.postgresql.Driver
|
|
|
|
|
- maxPoolSize: 5
|
|
|
|
|
|
|
+ driverClassName: com.edb.Driver
|
|
|
|
|
+ connectionTimeout: 10000
|
|
|
|
|
+ maxPoolSize: 2
|
|
|
test-on-borrow: true
|
|
test-on-borrow: true
|
|
|
validation-query: SELECT 1
|
|
validation-query: SELECT 1
|
|
|
crss-registration:
|
|
crss-registration:
|
|
|
datasource:
|
|
datasource:
|
|
|
- jdbcUrl: jdbc:postgresql://localhost:5432/crss_reg
|
|
|
|
|
- username: postgres
|
|
|
|
|
- password: postgres
|
|
|
|
|
- driverClassName: org.postgresql.Driver
|
|
|
|
|
- maxPoolSize: 5
|
|
|
|
|
|
|
+ driverClassName: com.edb.Driver
|
|
|
|
|
+ connectionTimeout: 10000
|
|
|
|
|
+ maxPoolSize: 2
|
|
|
test-on-borrow: true
|
|
test-on-borrow: true
|
|
|
validation-query: SELECT 1
|
|
validation-query: SELECT 1
|
|
|
crss-nmms:
|
|
crss-nmms:
|
|
|
datasource:
|
|
datasource:
|
|
|
- jdbcUrl: jdbc:postgresql://localhost:5432/crss_nmms
|
|
|
|
|
- username: postgres
|
|
|
|
|
- password: postgres
|
|
|
|
|
- driverClassName: org.postgresql.Driver
|
|
|
|
|
- maxPoolSize: 5
|
|
|
|
|
|
|
+ driverClassName: com.edb.Driver
|
|
|
|
|
+ connectionTimeout: 10000
|
|
|
|
|
+ maxPoolSize: 2
|
|
|
test-on-borrow: true
|
|
test-on-borrow: true
|
|
|
validation-query: SELECT 1
|
|
validation-query: SELECT 1
|
|
|
|
|
|
|
@@ -34,7 +26,7 @@ spring:
|
|
|
generate-ddl: false
|
|
generate-ddl: false
|
|
|
properties:
|
|
properties:
|
|
|
hibernate:
|
|
hibernate:
|
|
|
- generate_statistics: true
|
|
|
|
|
|
|
+ generate_statistics: false
|
|
|
dialect: org.hibernate.dialect.PostgreSQLDialect
|
|
dialect: org.hibernate.dialect.PostgreSQLDialect
|
|
|
ddl-auto: none
|
|
ddl-auto: none
|
|
|
hbm2ddl:
|
|
hbm2ddl:
|
|
@@ -44,12 +36,27 @@ spring:
|
|
|
batch:
|
|
batch:
|
|
|
job:
|
|
job:
|
|
|
enabled: false
|
|
enabled: false
|
|
|
|
|
+ initializer:
|
|
|
|
|
+ enabled: false
|
|
|
|
|
+
|
|
|
|
|
+ cloud:
|
|
|
|
|
+ task:
|
|
|
|
|
+ initialize:
|
|
|
|
|
+ enable: 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:
|
|
#liquibase:
|
|
|
# change-log: classpath:/db/db.changelog-master.xml
|
|
# change-log: classpath:/db/db.changelog-master.xml
|
|
|
|
|
|
|
|
server:
|
|
server:
|
|
|
- port: 9091
|
|
|
|
|
|
|
+ port: 8081
|
|
|
undertow:
|
|
undertow:
|
|
|
accesslog:
|
|
accesslog:
|
|
|
dir: target
|
|
dir: target
|
|
@@ -59,20 +66,6 @@ server:
|
|
|
enabled: true
|
|
enabled: true
|
|
|
min-response-size: 1
|
|
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
|
|
|
|
|
-
|
|
|
|
|
logging:
|
|
logging:
|
|
|
level:
|
|
level:
|
|
|
com.pemc: DEBUG
|
|
com.pemc: DEBUG
|
|
@@ -82,7 +75,7 @@ logging:
|
|
|
org.hibernate.stat: debug
|
|
org.hibernate.stat: debug
|
|
|
|
|
|
|
|
dataflow:
|
|
dataflow:
|
|
|
- url: http://localhost:9393
|
|
|
|
|
|
|
+ url: http://spring-cloud-data-flow.marathon.l4lb.thisdcos.directory:9393
|
|
|
|
|
|
|
|
job:
|
|
job:
|
|
|
maxRun: 1
|
|
maxRun: 1
|
|
@@ -91,7 +84,9 @@ sftp:
|
|
|
credentials:
|
|
credentials:
|
|
|
username: pemc
|
|
username: pemc
|
|
|
password: 123qwe
|
|
password: 123qwe
|
|
|
- host: pemc-storage.southeastasia.cloudapp.azure.com
|
|
|
|
|
|
|
+ host: sftp.marathon.l4lb.thisdcos.directory
|
|
|
port: 22
|
|
port: 22
|
|
|
- workingDirectory: /home/pemc/upload
|
|
|
|
|
|
|
+ workingDirectory: /upload
|
|
|
privateKey:
|
|
privateKey:
|
|
|
|
|
+
|
|
|
|
|
+
|