|
@@ -1,25 +1,61 @@
|
|
|
spring:
|
|
spring:
|
|
|
crss-main:
|
|
crss-main:
|
|
|
datasource:
|
|
datasource:
|
|
|
- jdbcUrl: jdbc:postgresql://192.168.233.9:5432/crss_meterprocess
|
|
|
|
|
|
|
+ jdbcUrl: jdbc:postgresql://192.168.233.9:5432/crss?currentSchema=meterprocess
|
|
|
username: crss_meterprocess
|
|
username: crss_meterprocess
|
|
|
- password: crss_meterprocess`
|
|
|
|
|
|
|
+ password: crss_meterprocess
|
|
|
|
|
+ driverClassName: org.postgresql.Driver
|
|
|
|
|
+ maxPoolSize: 5
|
|
|
|
|
+ test-on-borrow: true
|
|
|
|
|
+ validation-query: SELECT 1
|
|
|
crss-registration:
|
|
crss-registration:
|
|
|
datasource:
|
|
datasource:
|
|
|
- jdbcUrl: jdbc:postgresql://192.168.233.9:5432/crss_reg
|
|
|
|
|
- username: crss_reg
|
|
|
|
|
- password: crss_reg
|
|
|
|
|
|
|
+ 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:
|
|
crss-nmms:
|
|
|
datasource:
|
|
datasource:
|
|
|
- jdbcUrl: jdbc:postgresql://192.168.233.9:5432/crss_nmms
|
|
|
|
|
|
|
+ jdbcUrl: jdbc:postgresql://192.168.233.9:5432/crss?currentSchema=nmms
|
|
|
username: crss_nmms
|
|
username: crss_nmms
|
|
|
password: crss_nmms
|
|
password: crss_nmms
|
|
|
|
|
+ driverClassName: org.postgresql.Driver
|
|
|
|
|
+ maxPoolSize: 5
|
|
|
|
|
+ test-on-borrow: true
|
|
|
|
|
+ validation-query: SELECT 1
|
|
|
|
|
+
|
|
|
jpa:
|
|
jpa:
|
|
|
- generate-ddl: true
|
|
|
|
|
|
|
+ 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
|
|
|
|
|
|
|
|
server:
|
|
server:
|
|
|
port: 8081
|
|
port: 8081
|
|
|
-
|
|
|
|
|
|
|
+ undertow:
|
|
|
|
|
+ accesslog:
|
|
|
|
|
+ dir: target
|
|
|
|
|
+ enabled: true
|
|
|
|
|
+ pattern: combined
|
|
|
|
|
+ compression:
|
|
|
|
|
+ enabled: true
|
|
|
|
|
+ min-response-size: 1
|
|
|
|
|
|
|
|
security:
|
|
security:
|
|
|
oauth2:
|
|
oauth2:
|
|
@@ -29,10 +65,24 @@ security:
|
|
|
resource:
|
|
resource:
|
|
|
userInfoUri: http://crssadmin-service.marathon.l4lb.thisdcos.directory:8080/user
|
|
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:
|
|
dataflow:
|
|
|
url: http://spring-cloud-data-flow.marathon.l4lb.thisdcos.directory:9393
|
|
url: http://spring-cloud-data-flow.marathon.l4lb.thisdcos.directory:9393
|
|
|
|
|
|
|
|
|
|
+job:
|
|
|
|
|
+ maxRun: 1
|
|
|
|
|
+
|
|
|
sftp:
|
|
sftp:
|
|
|
credentials:
|
|
credentials:
|
|
|
|
|
+ username: pemc
|
|
|
|
|
+ password: 123qwe
|
|
|
host: sftp.marathon.l4lb.thisdcos.directory
|
|
host: sftp.marathon.l4lb.thisdcos.directory
|
|
|
- workingDirectory: /upload
|
|
|
|
|
|
|
+ port: 22
|
|
|
|
|
+ workingDirectory: /upload
|
|
|
|
|
+ privateKey:
|