Эх сурвалжийг харах

add missing configs from 2.0.x

dmendoza 8 жил өмнө
parent
commit
64a89f44eb
17 өөрчлөгдсөн 1041 нэмэгдсэн , 0 устгасан
  1. 77 0
      crss-dataflow-app/crss-dataflow-app.yml
  2. 92 0
      crss-meterprocess-app/crss-meterprocess-app.yml
  3. 19 0
      crss-meterprocess-stream-daily-sink/crss-meterprocess-stream-daily-sink-dev.yml
  4. 38 0
      crss-meterprocess-stream-daily-sink/crss-meterprocess-stream-daily-sink.yml
  5. 23 0
      crss-meterprocess-stream-processor-daily-validate/crss-meterprocess-stream-processor-daily-validate-dev.yml
  6. 45 0
      crss-meterprocess-stream-processor-daily-validate/crss-meterprocess-stream-processor-daily-validate.yml
  7. 42 0
      crss-meterprocess-stream-source-daily-raw/crss-meterprocess-stream-source-daily-raw-dev.yml
  8. 81 0
      crss-meterprocess-stream-source-daily-raw/crss-meterprocess-stream-source-daily-raw.yml
  9. 60 0
      crss-settlement-app/crss-settlement-app.yml
  10. 77 0
      crss-settlement-task-calculation-addtlcomp/crss-settlement-task-calculation-addtlcomp-dev.yml
  11. 84 0
      crss-settlement-task-calculation-addtlcomp/crss-settlement-task-calculation-addtlcomp-dev2.yml
  12. 70 0
      crss-settlement-task-calculation-addtlcomp/crss-settlement-task-calculation-addtlcomp.yml
  13. 96 0
      crss-settlement-task-calculation/crss-settlement-task-calculation-devlocal.yml
  14. 62 0
      crss-settlement-task-invoice-generation/crss-settlement-task-invoice-generation.yml
  15. 72 0
      crss-settlement-task-validation/crss-settlement-task-validation-dev.yml
  16. 38 0
      crss-settlement-task-validation/crss-settlement-task-validation-dev2.yml
  17. 65 0
      crss-settlement-task-validation/crss-settlement-task-validation.yml

+ 77 - 0
crss-dataflow-app/crss-dataflow-app.yml

@@ -0,0 +1,77 @@
+spring:
+  crss-dataflow:
+    datasource:
+      driverClassName: com.edb.Driver
+      connectionTimeout: 10000
+      maxPoolSize: 2
+      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
+    initializer:
+      enabled: false
+
+  cloud:
+    task:
+      initialize:
+        enable: false
+
+#liquibase:
+#  change-log: classpath:/db/db.changelog-master.xml
+
+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
+
+server:
+  port: 8082
+  undertow:
+    accesslog:
+      dir: target
+      enabled: true
+      pattern: combined
+  compression:
+    enabled: true
+    min-response-size: 1
+
+logging:
+  level:
+    com.pemc: DEBUG
+    com.netflix: DEBUG
+    org.springframework.cloud: DEBUG
+    org.apache.http: DEBUG
+    org.hibernate.stat: debug
+
+dataflow:
+  url: http://spring-cloud-data-flow.marathon.l4lb.thisdcos.directory:9393
+
+sftp:
+  credentials:
+    username: pemc
+    password: 123qwe
+    host: pemc-storage.southeastasia.cloudapp.azure.com
+    port: 22
+    workingDirectory: /home/pemc/upload
+    privateKey:
+
+# temporary todi-config, to be moved to general config
+todi-config:
+  dispatch-interval: 5
+  max-retry: 2

+ 92 - 0
crss-meterprocess-app/crss-meterprocess-app.yml

@@ -0,0 +1,92 @@
+spring:
+  crss-main:
+    datasource:
+      driverClassName: com.edb.Driver
+      connectionTimeout: 10000
+      maxPoolSize: 2
+      test-on-borrow: true
+      validation-query: SELECT 1
+  crss-registration:
+    datasource:
+      driverClassName: com.edb.Driver
+      connectionTimeout: 10000
+      maxPoolSize: 2
+      test-on-borrow: true
+      validation-query: SELECT 1
+  crss-nmms:
+    datasource:
+      driverClassName: com.edb.Driver
+      connectionTimeout: 10000
+      maxPoolSize: 2
+      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
+    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:
+#  change-log: classpath:/db/db.changelog-master.xml
+
+server:
+  port: 8081
+  undertow:
+    accesslog:
+      dir: target
+      enabled: true
+      pattern: combined
+  compression:
+    enabled: true
+    min-response-size: 1
+
+logging:
+  level:
+    com.pemc: DEBUG
+    com.netflix: DEBUG
+    org.springframework.cloud: DEBUG
+    org.apache.http: 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:
+
+

+ 19 - 0
crss-meterprocess-stream-daily-sink/crss-meterprocess-stream-daily-sink-dev.yml

@@ -0,0 +1,19 @@
+spring:
+  crss-main:
+    datasource:
+      jdbcUrl: jdbc:postgresql://localhost:5432/crss_meterprocess
+      username: postgres
+      password: postgres
+      driverClassName: org.postgresql.Driver
+  crss-metering:
+    datasource:
+      jdbcUrl: jdbc:postgresql://localhost:5432/crss_metering
+      username: postgres
+      password: postgres
+      driverClassName: org.postgresql.Driver
+  crss-registration:
+    datasource:
+      jdbcUrl: jdbc:postgresql://localhost:5432/crss_reg
+      username: postgres
+      password: postgres
+      driverClassName: org.postgresql.Driver

+ 38 - 0
crss-meterprocess-stream-daily-sink/crss-meterprocess-stream-daily-sink.yml

@@ -0,0 +1,38 @@
+spring:
+  crss-main:
+    datasource:
+      driverClassName: com.edb.Driver
+      connectionTimeout: 10000
+      maxPoolSize: 2
+      test-on-borrow: true
+      validation-query: SELECT 1
+  crss-metering:
+    datasource:
+      driverClassName: com.edb.Driver
+      connectionTimeout: 10000
+      maxPoolSize: 2
+      test-on-borrow: true
+      validation-query: SELECT 1
+  crss-registration:
+    datasource:
+      driverClassName: com.edb.Driver
+      connectionTimeout: 10000
+      maxPoolSize: 2
+      test-on-borrow: true
+      validation-query: SELECT 1
+
+  jpa:
+    show-sql: false
+    hibernate:
+      ddl-auto: none
+    properties:
+      hibernate:
+        dialect: org.hibernate.dialect.PostgreSQLDialect
+        namingStrategy: org.hibernate.cfg.ImprovedNamingStrategy
+        hbm2ddl:
+          auto: none
+        temp:
+          use_jdbc_metadata_defaults: false
+logging:
+  level:
+    com.pemc: debug

+ 23 - 0
crss-meterprocess-stream-processor-daily-validate/crss-meterprocess-stream-processor-daily-validate-dev.yml

@@ -0,0 +1,23 @@
+spring:
+  crss-main:
+    datasource:
+      jdbcUrl: jdbc:postgresql://localhost:5432/crss_meterprocess
+      username: postgres
+      password: postgres
+      driverClassName: org.postgresql.Driver
+  crss-metering:
+    datasource:
+      jdbcUrl: jdbc:postgresql://localhost:5432/crss_metering
+      username: postgres
+      password: postgres
+      driverClassName: org.postgresql.Driver
+  crss-registration:
+    datasource:
+      jdbcUrl: jdbc:postgresql://localhost:5432/crss_reg
+      username: postgres
+      password: postgres
+      driverClassName: org.postgresql.Driver
+
+  redis:
+      host: localhost
+      port: 6379

+ 45 - 0
crss-meterprocess-stream-processor-daily-validate/crss-meterprocess-stream-processor-daily-validate.yml

@@ -0,0 +1,45 @@
+spring:
+  crss-main:
+    datasource:
+      driverClassName: com.edb.Driver
+      connectionTimeout: 10000
+      maxPoolSize: 2
+      test-on-borrow: true
+      validation-query: SELECT 1
+  crss-metering:
+    datasource:
+      driverClassName: com.edb.Driver
+      connectionTimeout: 10000
+      maxPoolSize: 2
+      test-on-borrow: true
+      validation-query: SELECT 1
+  crss-registration:
+    datasource:
+      driverClassName: com.edb.Driver
+      connectionTimeout: 10000
+      maxPoolSize: 2
+      test-on-borrow: true
+      validation-query: SELECT 1
+
+  jpa:
+    show-sql: false
+    hibernate:
+      ddl-auto: none
+    properties:
+      hibernate:
+        dialect: org.hibernate.dialect.PostgreSQLDialect
+        namingStrategy: org.hibernate.cfg.ImprovedNamingStrategy
+        hbm2ddl:
+          auto: none
+        temp:
+          use_jdbc_metadata_defaults: false
+
+  cloud:
+    stream:
+      bindings:
+        output:
+          content-type: application/json
+
+logging:
+  level:
+    com.pemc: debug

+ 42 - 0
crss-meterprocess-stream-source-daily-raw/crss-meterprocess-stream-source-daily-raw-dev.yml

@@ -0,0 +1,42 @@
+#daily extract
+spring:
+  profiles: dailyExtract
+  datasource:
+    url: jdbc:postgresql://localhost:5432/crss_metering
+    username: postgres
+    password: postgres
+    driver-class-name: org.postgresql.Driver
+
+jdbc:
+  query: "select * from txn_meter_data_daily where consumed <> TRUE or consumed is null limit 10000;"
+  update: "update txn_meter_data_daily set consumed = TRUE where meter_data_id in (:meter_data_id);"
+
+---
+
+#Monthly extract
+spring:
+  profiles: monthlyExtract
+  datasource:
+    url: jdbc:postgresql://localhost:5432/crss_metering
+    username: postgres
+    password: postgres
+    driver-class-name: org.postgresql.Driver
+
+jdbc:
+  query: "select * from txn_meter_data_monthly where consumed <> TRUE or consumed is null limit 10000;"
+  update: "update txn_meter_data_monthly set consumed = TRUE where meter_data_id in (:meter_data_id);"
+
+
+---
+
+# default
+spring:
+  datasource:
+    url: jdbc:postgresql://locahost:5432/crss_metering
+    username: postgres
+    password: postgres
+    driver-class-name: org.postgresql.Driver
+
+jdbc:
+  query: "select * from txn_meter_data_monthly where consumed <> TRUE or consumed is null limit 10000;"
+  update: "update txn_meter_data_monthly set consumed = TRUE where meter_data_id in (:meter_data_id);"

+ 81 - 0
crss-meterprocess-stream-source-daily-raw/crss-meterprocess-stream-source-daily-raw.yml

@@ -0,0 +1,81 @@
+#daily extract
+spring:
+  profiles: dailyExtract
+  datasource:
+    driver-class-name: com.edb.Driver
+    maxPoolSize: 2
+    test-on-borrow: true
+    validation-query: SELECT 1
+  cloud:
+    stream:
+      bindings:
+        output:
+          content-type: application/json
+
+jdbc:
+  query: "select * from metering.txn_meter_data_daily where consumed <> TRUE or consumed is null limit 10000;"
+  update: "update metering.txn_meter_data_daily set consumed = TRUE where meter_data_id in (:meter_data_id);"
+
+trigger:
+  fixed-delay: 5
+  time-unit: SECONDS
+
+logging:
+  level:
+    com.pemc: DEBUG
+
+---
+
+#Monthly extract
+spring:
+  profiles: monthlyExtract
+  datasource:
+    driver-class-name: com.edb.Driver
+    maxPoolSize: 2
+    test-on-borrow: true
+    validation-query: SELECT 1
+  cloud:
+    stream:
+      bindings:
+        output:
+          content-type: application/json
+
+jdbc:
+  query: "select * from metering.txn_meter_data_monthly where consumed <> TRUE or consumed is null limit 10000;"
+  update: "update metering.txn_meter_data_monthly set consumed = TRUE where meter_data_id in (:meter_data_id);"
+
+
+trigger:
+  fixed-delay: 5
+  time-unit: SECONDS
+
+logging:
+  level:
+    com.pemc: DEBUG
+
+---
+
+# default
+spring:
+  datasource:
+    driver-class-name: com.edb.Driver
+    maxPoolSize: 2
+    test-on-borrow: true
+    validation-query: SELECT 1
+  cloud:
+    stream:
+      bindings:
+        output:
+          content-type: application/json
+
+jdbc:
+  query: "select * from metering.txn_meter_data_monthly where consumed <> TRUE or consumed is null limit 10000;"
+  update: "update metering.txn_meter_data_monthly set consumed = TRUE where meter_data_id in (:meter_data_id);"
+
+trigger:
+  fixed-delay: 5
+  time-unit: SECONDS
+
+logging:
+  level:
+    com.pemc: DEBUG

+ 60 - 0
crss-settlement-app/crss-settlement-app.yml

@@ -0,0 +1,60 @@
+spring:
+  crss-stl:
+    datasource:
+      driverClassName: com.edb.Driver
+      maxPoolSize: 2
+      test-on-borrow: true
+      validation-query: SELECT 1
+
+  jpa:
+    show-sql: false
+    generate-ddl: false
+    properties:
+      hibernate:
+        dialect: org.hibernate.dialect.PostgreSQLDialect
+        hbm2ddl:
+          import_files:
+
+  # prevent batch job from running on app start
+  batch:
+    job:
+      enabled: false
+
+server:
+  port: 8082
+  undertow:
+    accesslog:
+      dir: target
+      enabled: true
+      pattern: combined
+  compression:
+    enabled: true
+    min-response-size: 1
+
+
+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
+
+sftp:
+  credentials:
+    username: pemc
+    password: 123qwe
+    host: sftp.marathon.l4lb.thisdcos.directory
+    port: 22
+    workingDirectory: /upload/stl
+    privateKey:
+
+job:
+  maxRun: 1
+
+report:
+  directory:
+    base: report/
+

+ 77 - 0
crss-settlement-task-calculation-addtlcomp/crss-settlement-task-calculation-addtlcomp-dev.yml

@@ -0,0 +1,77 @@
+spring:
+  crss-stl:
+    datasource:
+      jdbcUrl: jdbc:postgresql://localhost:5432/crss_settlement
+      username: postgres
+      password: postgres
+      driverClassName: org.postgresql.Driver
+      connectionTimeout: 10000
+      maxPoolSize: 20
+  crss-main:
+    datasource:
+      jdbcUrl: jdbc:postgresql://localhost:5432/stl_crss_meterprocess
+      username: postgres
+      password: postgres
+      driverClassName: org.postgresql.Driver
+      connectionTimeout: 10000
+      maxPoolSize: 20
+  crss-metering:
+    datasource:
+      jdbcUrl: jdbc:postgresql://localhost:5432/stl_crss_metering
+      username: postgres
+      password: postgres
+      driverClassName: org.postgresql.Driver
+      connectionTimeout: 10000
+      maxPoolSize: 20
+  crss-nmms:
+    datasource:
+      jdbcUrl: jdbc:postgresql://localhost:5432/stl_crss_nmms
+      username: postgres
+      password: postgres
+      driverClassName: org.postgresql.Driver
+      connectionTimeout: 10000
+      maxPoolSize: 20
+  crss-dataflow:
+    datasource:
+      jdbcUrl: jdbc:postgresql://localhost:5432/crss_dataflow
+      username: postgres
+      password: postgres
+      driverClassName: org.postgresql.Driver
+      connectionTimeout: 10000
+      maxPoolSize: 20
+
+  jpa:
+    show-sql: false
+    generate-ddl: true
+    properties:
+      hibernate:
+        generate_statistics: false
+        dialect: org.hibernate.dialect.PostgreSQL81Dialect
+        ddl-auto: validate
+        hbm2ddl:
+          import_files:
+
+  batch:
+    job:
+      enabled: true
+
+  redis:
+      host: localhost
+      port: 6379
+
+batch:
+  chunkSize: 100
+  maxWorkers: 2
+  partitionSize:
+    ac: 1500
+    acAlloc: 1500
+    vatAc: 1500
+    vatAcAlloc: 1500
+    acGmr: 1500
+
+logging:
+  level:
+    com.pemc: DEBUG
+    com.netflix: DEBUG
+    org.springframework.cloud: DEBUG
+    org.hibernate.stat: debug

+ 84 - 0
crss-settlement-task-calculation-addtlcomp/crss-settlement-task-calculation-addtlcomp-dev2.yml

@@ -0,0 +1,84 @@
+spring:
+  crss-stl:
+    datasource:
+      jdbcUrl: jdbc:postgresql://192.168.233.9:5432/crss?currentSchema=settlement
+      username: crss_settlement
+      password: crss_settlement
+      driverClassName: org.postgresql.Driver
+      maxPoolSize: 5
+      test-on-borrow: true
+      validation-query: SELECT 1
+  crss-main:
+    datasource:
+      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-metering:
+    datasource:
+      jdbcUrl: jdbc:postgresql://192.168.233.9:5432/crss?currentSchema=metering
+      username: crss_metering
+      password: crss_metering
+      driverClassName: org.postgresql.Driver
+      maxPoolSize: 5
+      test-on-borrow: true
+      validation-query: SELECT 1
+  crss-nmms:
+    datasource:
+      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
+  crss-dataflow:
+    datasource:
+      jdbcUrl: jdbc:postgresql://192.168.233.9:5432/crss?currentSchema=dataflow
+      username: crss_dataflow
+      password: crss_dataflow
+      driverClassName: org.postgresql.Driver
+      maxPoolSize: 5
+      test-on-borrow: true
+      validation-query: SELECT 1
+  profiles:
+      include: mesos
+  cloud:
+    deployer:
+      mesos:
+        chronos:
+          apiEndpoint: http://master.mesos/service/chronos/v1
+          memory: 2048
+    task:
+      initialize:
+        enable: false
+  batch:
+    initializer:
+      enabled: false
+    job:
+      enabled: true
+
+  jpa:
+    show-sql: false
+    generate-ddl: true
+    properties:
+      hibernate:
+        generate_statistics: false
+        dialect: org.hibernate.dialect.PostgreSQL81Dialect
+        ddl-auto: validate
+        hbm2ddl:
+          import_files:
+
+  redis:
+    host: redis.marathon.l4lb.thisdcos.directory
+    port: 6379
+
+logging:
+  level:
+    com.pemc.crss.settlement.task.calculation.addtlcomp: DEBUG
+    com.netflix: DEBUG
+    org.springframework.cloud: DEBUG
+    org.hibernate.stat: debug

+ 70 - 0
crss-settlement-task-calculation-addtlcomp/crss-settlement-task-calculation-addtlcomp.yml

@@ -0,0 +1,70 @@
+spring:
+  crss-stl:
+    datasource:
+      driverClassName: com.edb.Driver
+      maxPoolSize: 2
+      test-on-borrow: true
+      validation-query: SELECT 1
+  crss-main:
+    datasource:
+      driverClassName: com.edb.Driver
+      maxPoolSize: 2
+      test-on-borrow: true
+      validation-query: SELECT 1
+  crss-metering:
+    datasource:
+      driverClassName: com.edb.Driver
+      maxPoolSize: 2
+      test-on-borrow: true
+      validation-query: SELECT 1
+  crss-nmms:
+    datasource:
+      driverClassName: com.edb.Driver
+      maxPoolSize: 2
+      test-on-borrow: true
+      validation-query: SELECT 1
+  crss-dataflow:
+    datasource:
+      driverClassName: com.edb.Driver
+      maxPoolSize: 2
+      test-on-borrow: true
+      validation-query: SELECT 1
+
+  jpa:
+    show-sql: false
+    generate-ddl: true
+    properties:
+      hibernate:
+        generate_statistics: false
+        dialect: org.hibernate.dialect.PostgreSQLDialect
+        ddl-auto: validate
+        hbm2ddl:
+          import_files:
+
+  cloud:
+    task:
+      initialize:
+        enable: false
+
+  batch:
+    initializer:
+      enabled: false
+    job:
+      enabled: true
+
+batch:
+  chunkSize: 100
+  maxWorkers: 10
+  partitionSize:
+    ac: 3000
+    acAlloc: 300
+    vatAc: 3000
+    vatAcAlloc: 1500
+    acGmr: 1500
+
+logging:
+  level:
+    com.pemc: DEBUG
+    com.netflix: DEBUG
+    org.springframework.cloud: DEBUG
+    org.hibernate.stat: debug

+ 96 - 0
crss-settlement-task-calculation/crss-settlement-task-calculation-devlocal.yml

@@ -0,0 +1,96 @@
+spring:
+  crss-stl:
+    datasource:
+      jdbcUrl: jdbc:postgresql://localhost:5432/crss_settlement
+      username: postgres
+      password: postgres
+      driverClassName: org.postgresql.Driver
+      maxPoolSize: 5
+      test-on-borrow: true
+      validation-query: SELECT 1
+  crss-main:
+    datasource:
+      jdbcUrl: jdbc:postgresql://localhost:5432/stl_crss_meterprocess
+      username: postgres
+      password: postgres
+      driverClassName: org.postgresql.Driver
+      maxPoolSize: 5
+      test-on-borrow: true
+      validation-query: SELECT 1
+  crss-metering:
+    datasource:
+      jdbcUrl: jdbc:postgresql://localhost:5432/stl_crss_metering
+      username: postgres
+      password: postgres
+      driverClassName: org.postgresql.Driver
+      maxPoolSize: 5
+      test-on-borrow: true
+      validation-query: SELECT 1
+  crss-nmms:
+    datasource:
+      jdbcUrl: jdbc:postgresql://localhost:5432/stl_crss_nmms
+      username: postgres
+      password: postgres
+      driverClassName: org.postgresql.Driver
+      maxPoolSize: 5
+      test-on-borrow: true
+      validation-query: SELECT 1
+  crss-dataflow:
+    datasource:
+      jdbcUrl: jdbc:postgresql://localhost:5432/crss_dataflow
+      username: postgres
+      password: postgres
+      driverClassName: org.postgresql.Driver
+      maxPoolSize: 20
+      test-on-borrow: true
+      validation-query: SELECT 1
+
+  jpa:
+    show-sql: false
+    generate-ddl: true
+    properties:
+      hibernate:
+        generate_statistics: false
+        dialect: org.hibernate.dialect.PostgreSQL81Dialect
+        ddl-auto: validate
+        hbm2ddl:
+          import_files:
+
+  redis:
+    host: localhost
+
+  batch:
+    job:
+      enabled: true
+
+batch:
+  resourceLocation: "file:target/libs/crss-settlement-task-calculation-2.0.0.RC6.jar"
+  chunkSize: 100
+  maxWorkers: 2
+  partitionSize:
+    retDat: 1500
+    retBcq: 1500
+    calcEta: 1500
+    disAggBcq: 1500
+    disAggBcqSeller: 1500
+    disAggBcqBuyer: 1500
+    procNss: 1500
+    nss: 1500
+    nssTot: 1500
+    rta: 1500
+    rprta: 1500
+    rcra: 1500
+    sFactor: 1500
+    runway: 1500
+    spotSeller: 1500
+    spotBuyer: 1500
+    gmr: 1500
+    energyMf: 1500
+    reserveMf: 1500
+
+logging:
+  level:
+    com.pemc.crss.settlement.task.calculation: DEBUG
+    com.netflix: DEBUG
+    org.springframework.cloud: DEBUG
+    org.hibernate.stat: debug

+ 62 - 0
crss-settlement-task-invoice-generation/crss-settlement-task-invoice-generation.yml

@@ -0,0 +1,62 @@
+spring:
+  crss-stl:
+    datasource:
+      driverClassName: com.edb.Driver
+      maxPoolSize: 2
+      test-on-borrow: true
+      validation-query: SELECT 1
+  crss-dataflow:
+    datasource:
+      driverClassName: com.edb.Driver
+      maxPoolSize: 2
+      test-on-borrow: true
+      validation-query: SELECT 1
+  crss-main:
+    datasource:
+      driverClassName: com.edb.Driver
+      maxPoolSize: 2
+      test-on-borrow: true
+      validation-query: SELECT 1
+
+  jpa:
+    show-sql: false
+    generate-ddl: true
+    properties:
+      hibernate:
+        generate_statistics: false
+        dialect: org.hibernate.dialect.PostgreSQLDialect
+        ddl-auto: validate
+        hbm2ddl:
+          import_files:
+
+  cloud:
+    task:
+      initialize:
+        enable: false
+
+  batch:
+    initializer:
+      enabled: false
+    job:
+      enabled: true
+
+logging:
+  level:
+    com.pemc: DEBUG
+    com.netflix: DEBUG
+    org.springframework.cloud: DEBUG
+    org.hibernate.stat: debug
+
+report:
+  directory:
+    base: report/
+
+sftp:
+  credentials:
+    username: pemc
+    password: 123qwe
+    host: sftp.marathon.l4lb.thisdcos.directory
+    port: 22
+    workingDirectory: /upload/stl
+    privateKey:
+

+ 72 - 0
crss-settlement-task-validation/crss-settlement-task-validation-dev.yml

@@ -0,0 +1,72 @@
+spring:
+  crss-stl:
+    datasource:
+      jdbcUrl: jdbc:postgresql://localhost:5432/crss_settlement
+      username: postgres
+      password: postgres
+      driverClassName: org.postgresql.Driver
+      connectionTimeout: 10000
+      maxPoolSize: 20
+  crss-registration:
+    datasource:
+      jdbcUrl: jdbc:postgresql://localhost:5432/crss?currentSchema=registration
+      username: postgres
+      password: postgres
+      driverClassName: org.postgresql.Driver
+      maxPoolSize: 5
+      test-on-borrow: true
+      validation-query: SELECT 1
+  crss-main:
+    datasource:
+      jdbcUrl: jdbc:postgresql://localhost:5432/stl_crss_meterprocess
+      username: postgres
+      password: postgres
+      driverClassName: org.postgresql.Driver
+      connectionTimeout: 10000
+      maxPoolSize: 20
+  crss-metering:
+    datasource:
+      jdbcUrl: jdbc:postgresql://localhost:5432/stl_crss_metering
+      username: postgres
+      password: postgres
+      driverClassName: org.postgresql.Driver
+      connectionTimeout: 10000
+      maxPoolSize: 20
+  crss-nmms:
+    datasource:
+      jdbcUrl: jdbc:postgresql://localhost:5432/stl_crss_nmms
+      username: postgres
+      password: postgres
+      driverClassName: org.postgresql.Driver
+      connectionTimeout: 10000
+      maxPoolSize: 20
+  crss-dataflow:
+    datasource:
+      jdbcUrl: jdbc:postgresql://localhost:5432/crss_dataflow
+      username: postgres
+      password: postgres
+      driverClassName: org.postgresql.Driver
+      connectionTimeout: 10000
+      maxPoolSize: 20
+
+  jpa:
+    show-sql: false
+    generate-ddl: true
+    properties:
+      hibernate:
+        generate_statistics: false
+        dialect: org.hibernate.dialect.PostgreSQL81Dialect
+        ddl-auto: validate
+        hbm2ddl:
+          import_files:
+
+  batch:
+    job:
+      enabled: true
+
+logging:
+  level:
+    com.pemc: DEBUG
+    com.netflix: DEBUG
+    org.springframework.cloud: DEBUG
+    org.hibernate.stat: debug

+ 38 - 0
crss-settlement-task-validation/crss-settlement-task-validation-dev2.yml

@@ -0,0 +1,38 @@
+spring:
+  crss-stl:
+    datasource:
+      jdbcUrl: jdbc:postgresql://192.168.233.9:5432/crss?currentSchema=settlement
+      username: crss_settlement
+      password: crss_settlement
+      driverClassName: org.postgresql.Driver
+  crss-registration:
+    datasource:
+      jdbcUrl: jdbc:postgresql://192.168.233.9:5432/crss?currentSchema=registration
+      username: crss_registration
+      password: crss_registration
+      driverClassName: org.postgresql.Driver
+  crss-main:
+    datasource:
+      jdbcUrl: jdbc:postgresql://192.168.233.9:5432/crss?currentSchema=meterprocess
+      username: crss_meterprocess
+      password: crss_meterprocess
+      driverClassName: org.postgresql.Driver
+  crss-metering:
+    datasource:
+      jdbcUrl: jdbc:postgresql://192.168.233.9:5432/crss?currentSchema=metering
+      username: crss_metering
+      password: crss_metering
+      driverClassName: org.postgresql.Driver
+  crss-nmms:
+    datasource:
+      jdbcUrl: jdbc:postgresql://192.168.233.9:5432/crss?currentSchema=nmms
+      username: crss_nmms
+      password: crss_nmms
+      driverClassName: org.postgresql.Driver
+  crss-dataflow:
+    datasource:
+      jdbcUrl: jdbc:postgresql://192.168.233.9:5432/crss?currentSchema=dataflow
+      username: crss_dataflow
+      password: crss_dataflow
+      driverClassName: org.postgresql.Driver
+

+ 65 - 0
crss-settlement-task-validation/crss-settlement-task-validation.yml

@@ -0,0 +1,65 @@
+spring:
+  crss-stl:
+    datasource:
+      driverClassName: com.edb.Driver
+      maxPoolSize: 2
+      test-on-borrow: true
+      validation-query: SELECT 1
+  crss-registration:
+    datasource:
+      driverClassName: com.edb.Driver
+      maxPoolSize: 2
+      test-on-borrow: true
+      validation-query: SELECT 1
+  crss-main:
+    datasource:
+      driverClassName: com.edb.Driver
+      maxPoolSize: 2
+      test-on-borrow: true
+      validation-query: SELECT 1
+  crss-metering:
+    datasource:
+      driverClassName: com.edb.Driver
+      maxPoolSize: 2
+      test-on-borrow: true
+      validation-query: SELECT 1
+  crss-nmms:
+    datasource:
+      driverClassName: com.edb.Driver
+      maxPoolSize: 2
+      test-on-borrow: true
+      validation-query: SELECT 1
+  crss-dataflow:
+    datasource:
+      driverClassName: com.edb.Driver
+      maxPoolSize: 2
+      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:
+  cloud:
+    task:
+      initialize:
+        enable: false
+
+  batch:
+    initializer:
+      enabled: false
+    job:
+      enabled: true
+
+logging:
+  level:
+    com.pemc: DEBUG
+    com.netflix: DEBUG
+    org.springframework.cloud: DEBUG
+    org.hibernate.stat: debug