|
|
@@ -0,0 +1,131 @@
|
|
|
+spring:
|
|
|
+ profiles:
|
|
|
+ include: mesos
|
|
|
+
|
|
|
+ crss-dataflow:
|
|
|
+ datasource:
|
|
|
+ jdbcUrl: jdbc:edb://${crss.database.ip}:5432/crss?currentSchema=dataflow&ApplicationName=meterprocessGesqReportJob
|
|
|
+ url: jdbc:edb://${crss.database.ip}:5432/crss?currentSchema=dataflow&ApplicationName=meterprocessGesqReportJob
|
|
|
+ username: crss_dataflow
|
|
|
+ password: lgcCpwy0
|
|
|
+ driverClassName: com.edb.Driver
|
|
|
+ connectionTimeout: 150000
|
|
|
+ maximumPoolSize: 3
|
|
|
+ test-on-borrow: true
|
|
|
+ validation-query: SELECT 1
|
|
|
+ crss-main:
|
|
|
+ datasource:
|
|
|
+ jdbcUrl: jdbc:edb://${crss.database.ip}:5432/crss?currentSchema=meterprocess&ApplicationName=meterprocessGesqReportJob
|
|
|
+ url: jdbc:edb://${crss.database.ip}:5432/crss?currentSchema=meterprocess&ApplicationName=meterprocessGesqReportJob
|
|
|
+ username: crss_meterprocess
|
|
|
+ password: D9JpfUtT
|
|
|
+ driverClassName: com.edb.Driver
|
|
|
+ connectionTimeout: 150000
|
|
|
+ maximumPoolSize: 3
|
|
|
+ test-on-borrow: true
|
|
|
+ validation-query: SELECT 1
|
|
|
+ crss-registration:
|
|
|
+ dataSource:
|
|
|
+ jdbcUrl: jdbc:edb://${crss.database.ip}:5432/crss?currentSchema=registration&ApplicationName=meterprocessGesqReportJob
|
|
|
+ url: jdbc:edb://${crss.database.ip}:5432/crss?currentSchema=registration&ApplicationName=meterprocessGesqReportJob
|
|
|
+ username: crss_registration
|
|
|
+ password: 51UF3JA9
|
|
|
+ driverClassName: com.edb.Driver
|
|
|
+ connectionTimeout: 150000
|
|
|
+ maximumPoolSize: 3
|
|
|
+ test-on-borrow: true
|
|
|
+ validation-query: SELECT 1
|
|
|
+
|
|
|
+ jpa:
|
|
|
+ show-sql: true
|
|
|
+ generate-ddl: false
|
|
|
+ open-in-view: false
|
|
|
+ properties:
|
|
|
+ hibernate:
|
|
|
+ # generate_statistics: true
|
|
|
+ dialect: org.hibernate.dialect.PostgreSQLDialect
|
|
|
+ ddl-auto: none
|
|
|
+ hbm2ddl:
|
|
|
+ auto: none
|
|
|
+
|
|
|
+ cloud:
|
|
|
+ task:
|
|
|
+ initialize:
|
|
|
+ enable: false
|
|
|
+ deployer:
|
|
|
+ mesos:
|
|
|
+ chronos:
|
|
|
+ apiEndpoint: http://chronos.marathon.l4lb.thisdcos.directory:10001/v1
|
|
|
+ memory: 30720
|
|
|
+ memory-daily: 4096
|
|
|
+ cpu: 4
|
|
|
+ cpu-daily: 1
|
|
|
+ # apply monthly constraints here
|
|
|
+ constraints: rack,EQUALS,rack-monthly
|
|
|
+ dcos:
|
|
|
+ authorizationToken: ${crss.dcos.token}
|
|
|
+
|
|
|
+ batch:
|
|
|
+ initializer:
|
|
|
+ enabled: false
|
|
|
+
|
|
|
+ cache:
|
|
|
+ jcache:
|
|
|
+ config: ehcache3.xml
|
|
|
+
|
|
|
+logging:
|
|
|
+ level:
|
|
|
+ com.pemc.crss: DEBUG
|
|
|
+ # org.hibernate.stat: debug
|
|
|
+ #org.hibernate: INFO
|
|
|
+ #org.hibernate.type: trace
|
|
|
+
|
|
|
+batch:
|
|
|
+ vacuum: false
|
|
|
+ chunkSize: 1000
|
|
|
+ maxWorkers: 20
|
|
|
+ partitionSize:
|
|
|
+ gap: 100000
|
|
|
+ gesq: 90000
|
|
|
+ gesq-report: 1
|
|
|
+ gesq-report-daily: 100
|
|
|
+ gesq-report-max-count: 288288
|
|
|
+
|
|
|
+mqreport:
|
|
|
+ directory: /tmp/
|
|
|
+
|
|
|
+sftp:
|
|
|
+ credentials:
|
|
|
+ username: pemc
|
|
|
+ password: 123qwe
|
|
|
+ host: sftp.marathon.l4lb.thisdcos.directory
|
|
|
+ port: 22
|
|
|
+ workingDirectory: /upload/gesq
|
|
|
+ privateKey:
|
|
|
+
|
|
|
+crss:
|
|
|
+ meterprocess:
|
|
|
+
|
|
|
+---
|
|
|
+spring:
|
|
|
+ profiles: dailyGesqReport
|
|
|
+ cloud.deployer.mesos.chronos.constraints: rack,EQUALS,rack-daily
|
|
|
+---
|
|
|
+
|
|
|
+---
|
|
|
+spring:
|
|
|
+ profiles: monthlyFinalGesqReport
|
|
|
+ cloud.deployer.mesos.chronos.constraints: rack,EQUALS,rack-monthly
|
|
|
+---
|
|
|
+
|
|
|
+---
|
|
|
+spring:
|
|
|
+ profiles: monthlyPrelimGesqReport
|
|
|
+ cloud.deployer.mesos.chronos.constraints: rack,EQUALS,rack-monthly
|
|
|
+---
|
|
|
+
|
|
|
+---
|
|
|
+spring:
|
|
|
+ profiles: monthlyAdjustedGesqReport
|
|
|
+ cloud.deployer.mesos.chronos.constraints: rack,EQUALS,rack-monthly
|
|
|
+---
|