Преглед на файлове

initial commit ph2 top profile

jdogillo преди 8 години
родител
ревизия
8233ace7dd

+ 79 - 0
crss-meterprocess-stream-source-daily-raw/application-top.yml

@@ -0,0 +1,79 @@
+#daily extract
+spring:
+  profiles: dailyExtract
+  datasource:
+    url: jdbc:edb://10.176.11.23:5432/crss?currentSchema=metering
+    username: crss_meterprocess
+    password: Fh7UcXpW
+    maxPoolSize: 5
+    test-on-borrow: true
+    validation-query: SELECT 1
+  cloud:
+    stream:
+      bindings:
+        output:
+          content-type: application/json
+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);"
+
+trigger:
+  fixed-delay: 5
+  time-unit: SECONDS
+
+logging:
+  level:
+    com.pemc: DEBUG
+
+---
+
+#Monthly extract
+spring:
+  profiles: monthlyExtract
+  datasource:
+    url: jdbc:edb://10.176.11.23:5432/crss?currentSchema=metering
+    username: crss_meterprocess
+    password: Fh7UcXpW
+    maxPoolSize: 5
+    test-on-borrow: true
+    validation-query: SELECT 1
+  cloud:
+    stream:
+      bindings:
+        output:
+          content-type: application/json
+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);"
+
+trigger:
+  fixed-delay: 5
+  time-unit: SECONDS
+
+logging:
+  level:
+    com.pemc: DEBUG
+
+---
+
+# default
+spring:
+  datasource:
+    url: jdbc:edb://10.176.11.23:5432/crss?currentSchema=metering
+    username: crss_meterprocess
+    password: Fh7UcXpW
+    maxPoolSize: 5
+    test-on-borrow: true
+    validation-query: SELECT 1
+  cloud:
+    stream:
+      bindings:
+        output:
+          content-type: application/json
+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);"
+
+trigger:
+  fixed-delay: 5
+  time-unit: SECONDS

+ 67 - 0
crss-meterprocess-task-stlready/application-top.yml

@@ -0,0 +1,67 @@
+spring:
+  crss-dataflow:
+    datasource:
+      jdbcUrl: jdbc:edb://10.176.11.23:5432/crss?currentSchema=dataflow
+      username: crss_dataflow
+      password: crss_dataflow
+      driverClassName: org.postgresql.Driver
+      maxPoolSize: 5
+      test-on-borrow: true
+      validation-query: SELECT 1
+  crss-main:
+    datasource:
+      jdbcUrl: jdbc:edb://10.176.11.23: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-nmms:
+      datasource:
+        jdbcUrl: jdbc:edb://10.176.11.23:5432/crss?currentSchema=nmms
+        username: crss_meterprocess
+        password: crss_meterprocess
+        driverClassName: org.postgresql.Driver
+        maxPoolSize: 5
+        test-on-borrow: true
+        validation-query: SELECT 1
+  jpa:
+    show-sql: false
+    generate-ddl: false
+    open-in-view: false
+    properties:
+      hibernate:
+        # dialect: org.hibernate.dialect.PostgreSQLDialect
+        ddl-auto: none
+        hbm2ddl:
+          auto: none
+  profiles:
+    include: mesos
+  cloud:
+    deployer:
+      mesos:
+        chronos:
+          apiEndpoint: http://master.mesos/service/chronos/v1
+          memory: 1024
+    task:
+      initialize:
+        enable: false
+  batch:
+    initializer:
+      enabled: false
+
+  cache:
+      jcache:
+        config: ehcache3.xml
+
+  redis:
+    host: redis.marathon.l4lb.thisdcos.directory
+    port: 6379
+
+batch:
+  # resourceLocation: ${resourceLocation} - property expansion defaulted in app's application.yml
+  chunkSize: 100
+  maxWorkers: 10
+  partitionSize:
+    stl: 10000

+ 78 - 0
crss-mq-computation/application-top.yml

@@ -0,0 +1,78 @@
+spring:
+  crss-dataflow:
+    datasource:
+      jdbcUrl: jdbc:edb://10.176.11.23:5432/crss?currentSchema=dataflow
+      username: crss_dataflow
+      password: crss_dataflow
+      maxPoolSize: 5
+      test-on-borrow: true
+      validation-query: SELECT 1
+  crss-main:
+    datasource:
+      jdbcUrl: jdbc:edb://10.176.11.23:5432/crss?currentSchema=meterprocess
+      username: crss_meterprocess
+      password: crss_meterprocess
+      maxPoolSize: 5
+      test-on-borrow: true
+      validation-query: SELECT 1
+  crss-registration:
+    dataSource:
+      jdbcUrl: jdbc:edb://10.176.11.23:5432/crss?currentSchema=registration
+      username: crss_reg
+      password: 51UF3JA9
+      maxPoolSize: 5
+      test-on-borrow: true
+      validation-query: SELECT 1
+  jpa:
+    generate-ddl: false
+    open-in-view: false
+    properties:
+      hibernate:
+        # dialect: org.hibernate.dialect.PostgreSQLDialect
+        ddl-auto: none
+        hbm2ddl:
+          auto: none
+  profiles:
+    include: mesos
+  cloud:
+    deployer:
+      mesos:
+        chronos:
+          apiEndpoint: http://master.mesos/service/chronos/v1
+          memory: 4096
+    task:
+      initialize:
+        enable: false
+  batch:
+    initializer:
+      enabled: false
+
+  redis:
+    host: redis.marathon.l4lb.thisdcos.directory
+    port: 6379
+
+  cache:
+    jcache:
+      config: ehcache3.xml
+
+batch:
+  # resourceLocation: ${resourceLocation} - property expansion defaulted in app's application.yml
+  chunkSize: 100
+  maxWorkers: 20
+  partitionSize:
+    gap: 5000
+    mq: 10000
+    ssla: 5000
+    report: 1
+
+mqreport:
+  directory: /tmp/
+
+sftp:
+  credentials:
+    username: pemc
+    password: 123qwe
+    host: sftp.marathon.l4lb.thisdcos.directory
+    port: 22
+    workingDirectory: /upload/mq
+    privateKey:

+ 55 - 0
crss-settlement-app/application-top.yml

@@ -0,0 +1,55 @@
+spring:
+  crss-stl:
+    datasource:
+      jdbcUrl: jdbc:edb://10.176.11.23:5432/crss?currentSchema=settlement
+      username: crss_settlement
+      password: crss_settlement
+      connectionTimeout: 10000
+      maxPoolSize: 20
+  jpa:
+    show-sql: false
+    generate-ddl: false
+    properties:
+      hibernate:
+        # dialect: org.hibernate.dialect.PostgreSQL81Dialect
+        ddl-auto: validate
+        hbm2ddl:
+          import_files:
+
+  batch:
+    job:
+      enabled: true
+
+  redis:
+    host: redis.marathon.l4lb.thisdcos.directory
+    port: 6379
+
+server:
+  port: 8082
+  undertow:
+    accesslog:
+      dir: target
+      enabled: true
+      pattern: combined
+  compression:
+    enabled: true
+    min-response-size: 1
+
+dataflow:
+  url: http://spring-cloud-data-flow.marathon.l4lb.thisdcos.directory:9393
+
+job:
+  maxRun: 1
+
+report:
+  directory:
+    base: report/
+
+sftp:
+  credentials:
+    username: pemc
+    password: 123qwe
+    host: sftp.marathon.l4lb.thisdcos.directory
+    port: 22
+    workingDirectory: /upload/stl
+    privateKey:

+ 54 - 0
crss-settlement-task-calculation-addtlcomp/application-top.yml

@@ -0,0 +1,54 @@
+spring:
+  crss-stl:
+    datasource:
+      jdbcUrl: jdbc:edb://10.176.11.23:5432/crss?currentSchema=settlement
+      username: crss_settlement
+      password: crss_settlement
+      connectionTimeout: 10000
+      maxPoolSize: 20
+  crss-registration:
+    datasource:
+      jdbcUrl: jdbc:edb://10.176.11.23:5432/crss?currentSchema=registration
+      username: crss_reg
+      password: 51UF3JA9
+      connectionTimeout: 10000
+      maxPoolSize: 20
+  crss-metering:
+    datasource:
+      jdbcUrl: jdbc:edb://10.176.11.23:5432/crss?currentSchema=metering
+      username: crss_metering
+      password: Fh7UcXpW
+      connectionTimeout: 10000
+      maxPoolSize: 20
+  crss-nmms:
+    datasource:
+      jdbcUrl: jdbc:edb://10.176.11.23:5432/crss?currentSchema=nmms
+      username: crss_settlement
+      password: crss_settlement
+      connectionTimeout: 10000
+      maxPoolSize: 20
+  crss-dataflow:
+    datasource:
+      jdbcUrl: jdbc:edb://10.176.11.23:5432/crss?currentSchema=dataflow
+      username: crss_dataflow
+      password: crss_dataflow
+      connectionTimeout: 10000
+      maxPoolSize: 20
+
+  jpa:
+    show-sql: false
+    generate-ddl: false
+    properties:
+      hibernate:
+        # dialect: org.hibernate.dialect.PostgreSQL81Dialect
+        ddl-auto: validate
+        hbm2ddl:
+          import_files:
+
+  batch:
+    job:
+      enabled: true
+
+  redis:
+    host: redis.marathon.l4lb.thisdcos.directory
+    port: 6379

+ 54 - 0
crss-settlement-task-calculation/application-top.yml

@@ -0,0 +1,54 @@
+spring:
+  crss-stl:
+    datasource:
+      jdbcUrl: jdbc:edb://10.176.11.23:5432/crss?currentSchema=settlement
+      username: crss_settlement
+      password: crss_settlement
+      connectionTimeout: 10000
+      maxPoolSize: 20
+  crss-registration:
+    datasource:
+      jdbcUrl: jdbc:edb://10.176.11.23:5432/crss?currentSchema=registration
+      username: crss_reg
+      password: 51UF3JA9
+      connectionTimeout: 10000
+      maxPoolSize: 20
+  crss-metering:
+    datasource:
+      jdbcUrl: jdbc:edb://10.176.11.23:5432/crss?currentSchema=metering
+      username: crss_metering
+      password: Fh7UcXpW
+      connectionTimeout: 10000
+      maxPoolSize: 20
+  crss-nmms:
+    datasource:
+      jdbcUrl: jdbc:edb://10.176.11.23:5432/crss?currentSchema=nmms
+      username: crss_settlement
+      password: crss_settlement
+      connectionTimeout: 10000
+      maxPoolSize: 20
+  crss-dataflow:
+    datasource:
+      jdbcUrl: jdbc:edb://10.176.11.23:5432/crss?currentSchema=dataflow
+      username: crss_dataflow
+      password: crss_dataflow
+      connectionTimeout: 10000
+      maxPoolSize: 20
+
+  jpa:
+    show-sql: false
+    generate-ddl: false
+    properties:
+      hibernate:
+        # dialect: org.hibernate.dialect.PostgreSQL81Dialect
+        ddl-auto: validate
+        hbm2ddl:
+          import_files:
+
+  batch:
+    job:
+      enabled: true
+
+  redis:
+    host: redis.marathon.l4lb.thisdcos.directory
+    port: 6379

+ 67 - 0
crss-settlement-task-invoice-generation/application-top.yml

@@ -0,0 +1,67 @@
+spring:
+  crss-stl:
+    datasource:
+      jdbcUrl: jdbc:edb://10.176.11.23:5432/crss?currentSchema=settlement
+      username: crss_settlement
+      password: crss_settlement
+      connectionTimeout: 10000
+      maxPoolSize: 20
+  crss-registration:
+    datasource:
+      jdbcUrl: jdbc:edb://10.176.11.23:5432/crss?currentSchema=registration
+      username: crss_reg
+      password: 51UF3JA9
+      connectionTimeout: 10000
+      maxPoolSize: 20
+  crss-metering:
+    datasource:
+      jdbcUrl: jdbc:edb://10.176.11.23:5432/crss?currentSchema=metering
+      username: crss_metering
+      password: Fh7UcXpW
+      connectionTimeout: 10000
+      maxPoolSize: 20
+  crss-nmms:
+    datasource:
+      jdbcUrl: jdbc:edb://10.176.11.23:5432/crss?currentSchema=nmms
+      username: crss_settlement
+      password: crss_settlement
+      connectionTimeout: 10000
+      maxPoolSize: 20
+  crss-dataflow:
+    datasource:
+      jdbcUrl: jdbc:edb://10.176.11.23:5432/crss?currentSchema=dataflow
+      username: crss_dataflow
+      password: crss_dataflow
+      connectionTimeout: 10000
+      maxPoolSize: 20
+
+  jpa:
+    show-sql: false
+    generate-ddl: false
+    properties:
+      hibernate:
+        # dialect: org.hibernate.dialect.PostgreSQL81Dialect
+        ddl-auto: validate
+        hbm2ddl:
+          import_files:
+
+  batch:
+    job:
+      enabled: true
+
+  redis:
+    host: redis.marathon.l4lb.thisdcos.directory
+    port: 6379
+
+report:
+  directory:
+    base: report/
+
+sftp:
+  credentials:
+    username: pemc
+    password: 123qwe
+    host: sftp.marathon.l4lb.thisdcos.directory
+    port: 22
+    workingDirectory: /upload/stl
+    privateKey:

+ 54 - 0
crss-settlement-task-validation/application-top.yml

@@ -0,0 +1,54 @@
+spring:
+  crss-stl:
+    datasource:
+      jdbcUrl: jdbc:edb://10.176.11.23:5432/crss?currentSchema=settlement
+      username: crss_settlement
+      password: crss_settlement
+      connectionTimeout: 10000
+      maxPoolSize: 20
+  crss-registration:
+    datasource:
+      jdbcUrl: jdbc:edb://10.176.11.23:5432/crss?currentSchema=registration
+      username: crss_reg
+      password: 51UF3JA9
+      connectionTimeout: 10000
+      maxPoolSize: 20
+  crss-metering:
+    datasource:
+      jdbcUrl: jdbc:edb://10.176.11.23:5432/crss?currentSchema=metering
+      username: crss_metering
+      password: Fh7UcXpW
+      connectionTimeout: 10000
+      maxPoolSize: 20
+  crss-nmms:
+    datasource:
+      jdbcUrl: jdbc:edb://10.176.11.23:5432/crss?currentSchema=nmms
+      username: crss_settlement
+      password: crss_settlement
+      connectionTimeout: 10000
+      maxPoolSize: 20
+  crss-dataflow:
+    datasource:
+      jdbcUrl: jdbc:edb://10.176.11.23:5432/crss?currentSchema=dataflow
+      username: crss_dataflow
+      password: crss_dataflow
+      connectionTimeout: 10000
+      maxPoolSize: 20
+
+  jpa:
+    show-sql: false
+    generate-ddl: false
+    properties:
+      hibernate:
+        # dialect: org.hibernate.dialect.PostgreSQL81Dialect
+        ddl-auto: validate
+        hbm2ddl:
+          import_files:
+
+  batch:
+    job:
+      enabled: true
+
+  redis:
+    host: redis.marathon.l4lb.thisdcos.directory
+    port: 6379