|
|
@@ -0,0 +1,81 @@
|
|
|
+spring:
|
|
|
+ crss-stl:
|
|
|
+ datasource:
|
|
|
+ jdbcUrl: jdbc:postgresql://192.168.233.9:5432/crss_settlement
|
|
|
+ username: crss_settlement
|
|
|
+ password: crss_settlement
|
|
|
+ driverClassName: org.postgresql.Driver
|
|
|
+ connectionTimeout: 10000
|
|
|
+ maxPoolSize: 20
|
|
|
+ crss-dataflow:
|
|
|
+ datasource:
|
|
|
+ jdbcUrl: jdbc:postgresql://192.168.233.9:5432/crss_dataflow
|
|
|
+ username: crss_dataflow
|
|
|
+ password: crss_dataflow
|
|
|
+ driverClassName: org.postgresql.Driver
|
|
|
+ connectionTimeout: 10000
|
|
|
+ maxPoolSize: 20
|
|
|
+
|
|
|
+ jpa:
|
|
|
+ show-sql: false
|
|
|
+ generate-ddl: true
|
|
|
+ properties:
|
|
|
+ hibernate:
|
|
|
+ dialect: org.hibernate.dialect.PostgreSQL81Dialect
|
|
|
+ ddl-auto: validate
|
|
|
+ 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:
|
|
|
+ port: 8082
|
|
|
+ undertow:
|
|
|
+ accesslog:
|
|
|
+ dir: target
|
|
|
+ enabled: true
|
|
|
+ pattern: combined
|
|
|
+ compression:
|
|
|
+ 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
|
|
|
+
|
|
|
+logging:
|
|
|
+ level:
|
|
|
+ com.pemc: DEBUG
|
|
|
+ com.netflix: DEBUG
|
|
|
+ org.springframework.cloud: DEBUG
|
|
|
+ org.apache.http: 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/stl
|
|
|
+ privateKey:
|