|
|
@@ -1,88 +1,33 @@
|
|
|
spring:
|
|
|
crss-main:
|
|
|
datasource:
|
|
|
+ driverClassName: ${spring.datasource.driverClassName}
|
|
|
jdbcUrl: jdbc:postgresql://192.168.233.9:5432/crss?currentSchema=meterprocess
|
|
|
username: crss_meterprocess
|
|
|
password: crss_meterprocess
|
|
|
- driverClassName: org.postgresql.Driver
|
|
|
- maxPoolSize: 5
|
|
|
- test-on-borrow: true
|
|
|
- validation-query: SELECT 1
|
|
|
crss-registration:
|
|
|
datasource:
|
|
|
+ driverClassName: ${spring.datasource.driverClassName}
|
|
|
jdbcUrl: jdbc:postgresql://192.168.233.9:5432/crss?currentSchema=registration
|
|
|
username: crss_registration
|
|
|
password: crss_registration
|
|
|
- driverClassName: org.postgresql.Driver
|
|
|
- maxPoolSize: 5
|
|
|
- test-on-borrow: true
|
|
|
- validation-query: SELECT 1
|
|
|
crss-nmms:
|
|
|
datasource:
|
|
|
+ driverClassName: ${spring.datasource.driverClassName}
|
|
|
jdbcUrl: jdbc:postgresql://192.168.233.9:5432/crss?currentSchema=nmms
|
|
|
username: crss_nmms
|
|
|
password: crss_nmms
|
|
|
- driverClassName: org.postgresql.Driver
|
|
|
- maxPoolSize: 5
|
|
|
- test-on-borrow: true
|
|
|
- validation-query: SELECT 1
|
|
|
|
|
|
jpa:
|
|
|
- show-sql: false
|
|
|
- generate-ddl: false
|
|
|
- properties:
|
|
|
- hibernate:
|
|
|
- generate_statistics: false
|
|
|
- dialect: org.hibernate.dialect.PostgreSQLDialect
|
|
|
- ddl-auto: none
|
|
|
- hbm2ddl:
|
|
|
- import_files:
|
|
|
-
|
|
|
- # prevent batch job from running on app start
|
|
|
- batch:
|
|
|
- job:
|
|
|
- enabled: false
|
|
|
-
|
|
|
-#liquibase:
|
|
|
-# change-log: classpath:/db/db.changelog-master.xml
|
|
|
+ generate-ddl: true
|
|
|
|
|
|
server:
|
|
|
port: 8081
|
|
|
- undertow:
|
|
|
- accesslog:
|
|
|
- dir: target
|
|
|
- enabled: true
|
|
|
- pattern: combined
|
|
|
- compression:
|
|
|
- enabled: true
|
|
|
- min-response-size: 1
|
|
|
-
|
|
|
-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
|
|
|
-
|
|
|
-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
|
|
|
|
|
|
-job:
|
|
|
- maxRun: 1
|
|
|
-
|
|
|
sftp:
|
|
|
credentials:
|
|
|
- username: pemc
|
|
|
- password: 123qwe
|
|
|
host: sftp.marathon.l4lb.thisdcos.directory
|
|
|
- port: 22
|
|
|
- workingDirectory: /upload
|
|
|
- privateKey:
|
|
|
+ workingDirectory: /upload
|