Browse Source

added config set for task file gen addtlcomp

Jejomar Dimayuga 8 năm trước cách đây
mục cha
commit
d385e9008b

+ 71 - 0
crss-settlement-task-file-gen-addtlcomp/application-dev.yml

@@ -0,0 +1,71 @@
+spring:
+  crss-stl:
+    datasource:
+      jdbcUrl: jdbc:postgresql://192.168.236.2:5432/crss_settlement
+      username: admin
+      password: password
+      driverClassName: org.postgresql.Driver
+      connectionTimeout: 10000
+      maxPoolSize: 20
+  crss-dataflow:
+    datasource:
+      jdbcUrl: jdbc:postgresql://192.168.236.2:5432/crss_dataflow
+      username: admin
+      password: password
+      driverClassName: org.postgresql.Driver
+      connectionTimeout: 10000
+      maxPoolSize: 20
+  # for removal after ITER 7 stl testing
+  crss-meterprocess:
+    datasource:
+      jdbcUrl: jdbc:postgresql://192.168.236.2:5432/stl_crss_meterprocess
+      username: postgres
+      password: postgres
+      driverClassName: org.postgresql.Driver
+      maxPoolSize: 5
+      test-on-borrow: true
+      validation-query: SELECT 1
+  crss-main:
+    datasource:
+      jdbcUrl: jdbc:postgresql://192.168.236.2:5432/stl_crss_meterprocess
+      username: postgres
+      password: postgres
+      driverClassName: org.postgresql.Driver
+      maxPoolSize: 5
+      test-on-borrow: true
+      validation-query: SELECT 1
+
+  jpa:
+    show-sql: false
+    generate-ddl: true
+    properties:
+      hibernate:
+        generate_statistics: true
+        dialect: org.hibernate.dialect.PostgreSQL81Dialect
+        ddl-auto: validate
+        hbm2ddl:
+          import_files:
+
+  batch:
+    job:
+      enabled: true
+
+  redis:
+    host: redis.marathon.l4lb.thisdcos.directory
+    port: 6379
+
+logging:
+  level:
+    com.pemc: DEBUG
+    com.netflix: DEBUG
+    org.springframework.cloud: DEBUG
+    org.hibernate.stat: debug
+
+sftp:
+  credentials:
+    username: pemc
+    password: 123qwe
+    host: sftp.marathon.l4lb.thisdcos.directory
+    port: 22
+    workingDirectory: /upload/stl
+    privateKey:

+ 71 - 0
crss-settlement-task-file-gen-addtlcomp/application-dev2.yml

@@ -0,0 +1,71 @@
+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
+  # for removal after ITER 7 stl testing
+  crss-meterprocess:
+    datasource:
+      jdbcUrl: jdbc:postgresql://192.168.233.9:5432/stl_crss_meterprocess
+      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/stl_crss_meterprocess
+      username: crss_settlement
+      password: crss_settlement
+      driverClassName: org.postgresql.Driver
+      maxPoolSize: 5
+      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:
+
+  batch:
+    job:
+      enabled: true
+
+  redis:
+    host: redis.marathon.l4lb.thisdcos.directory
+    port: 6379
+
+logging:
+  level:
+    com.pemc: DEBUG
+    com.netflix: DEBUG
+    org.springframework.cloud: DEBUG
+    org.hibernate.stat: debug
+
+sftp:
+  credentials:
+    username: pemc
+    password: 123qwe
+    host: sftp.marathon.l4lb.thisdcos.directory
+    port: 22
+    workingDirectory: /upload/stl
+    privateKey:

+ 73 - 0
crss-settlement-task-file-gen-addtlcomp/application-devlocal.yml

@@ -0,0 +1,73 @@
+spring:
+  crss-stl:
+    datasource:
+      jdbcUrl: jdbc:postgresql://localhost:5432/crss_settlement
+      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
+  # for removal after ITER 7 stl testing
+  crss-meterprocess:
+    datasource:
+      jdbcUrl: jdbc:postgresql://localhost:5432/stl_crss_meterprocess
+      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
+
+  redis:
+      host: localhost
+      port: 6379
+
+  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
+
+report:
+  directory:
+    base: report/
+
+sftp:
+  credentials:
+    username: pemc
+    password: 123qwe
+    host: pemc-storage.southeastasia.cloudapp.azure.com
+    port: 22
+    workingDirectory: /home/pemc/stl/upload
+    privateKey:

+ 37 - 0
crss-settlement-task-file-gen-addtlcomp/application-devoracle.yml

@@ -0,0 +1,37 @@
+spring:
+  crss-stl:
+    datasource:
+      jdbcUrl: jdbc:oracle:thin:@localhost:1521:xe
+      username: crss_settlement
+      password: crss_settlement
+      driverClassName: oracle.jdbc.driver.OracleDriver
+      connectionTimeout: 10000
+      maxPoolSize: 20
+  crss-dataflow:
+    datasource:
+      jdbcUrl: jdbc:oracle:thin:@localhost:1521:xe
+      username: crss_dataflow
+      password: crss_dataflow
+      driverClassName: oracle.jdbc.driver.OracleDriver
+      connectionTimeout: 10000
+      maxPoolSize: 20
+
+  jpa:
+    show-sql: false
+    generate-ddl: true
+    properties:
+      hibernate:
+        dialect: org.hibernate.dialect.Oracle10gDialect
+        ddl-auto: validate
+        hbm2ddl:
+          import_files:
+
+  batch:
+    job:
+      enabled: true
+
+logging:
+  level:
+    com.pemc: DEBUG
+    com.netflix: DEBUG
+    org.springframework.cloud: DEBUG

+ 73 - 0
crss-settlement-task-file-gen-addtlcomp/application-pemc-uat.yml

@@ -0,0 +1,73 @@
+spring:
+  crss-stl:
+    datasource:
+      jdbcUrl: jdbc:postgresql://10.176.23.24:5432/crss_settlement
+      username: crss_settlement
+      password: crss_settlement
+      driverClassName: org.postgresql.Driver
+      connectionTimeout: 10000
+      maxPoolSize: 20
+  crss-dataflow:
+    datasource:
+      jdbcUrl: jdbc:postgresql://10.176.23.24:5432/crss_dataflow
+      username: crss_dataflow
+      password: crss_dataflow
+      driverClassName: org.postgresql.Driver
+      connectionTimeout: 10000
+      maxPoolSize: 20
+  # for removal after ITER 7 stl testing
+  crss-meterprocess:
+    datasource:
+      jdbcUrl: jdbc:postgresql://10.176.23.24:5432/stl_crss_meterprocess
+      username: crss_settlement
+      password: crss_settlement
+      driverClassName: org.postgresql.Driver
+      connectionTimeout: 10000
+      maxPoolSize: 20
+  crss-main:
+    datasource:
+      jdbcUrl: jdbc:postgresql://10.176.23.24:5432/stl_crss_meterprocess
+      username: crss_settlement
+      password: crss_settlement
+      driverClassName: org.postgresql.Driver
+      connectionTimeout: 10000
+      maxPoolSize: 20
+
+  jpa:
+    show-sql: false
+    generate-ddl: true
+    properties:
+      hibernate:
+        generate_statistics: true
+        dialect: org.hibernate.dialect.PostgreSQL81Dialect
+        ddl-auto: validate
+        hbm2ddl:
+          import_files:
+
+  batch:
+    job:
+      enabled: true
+
+  redis:
+    host: redis.marathon.l4lb.thisdcos.directory
+    port: 6379
+
+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:

+ 73 - 0
crss-settlement-task-file-gen-addtlcomp/application-qa.yml

@@ -0,0 +1,73 @@
+spring:
+  crss-stl:
+    datasource:
+      jdbcUrl: jdbc:postgresql://postgresql.marathon.l4lb.thisdcos.directory:5432/crss_settlement
+      username: admin
+      password: password
+      driverClassName: org.postgresql.Driver
+      connectionTimeout: 10000
+      maxPoolSize: 20
+  crss-dataflow:
+    datasource:
+      jdbcUrl: jdbc:postgresql://postgresql.marathon.l4lb.thisdcos.directory:5432/crss_dataflow
+      username: admin
+      password: password
+      driverClassName: org.postgresql.Driver
+      connectionTimeout: 10000
+      maxPoolSize: 20
+  # for removal after ITER 7 stl testing
+  crss-meterprocess:
+    datasource:
+      jdbcUrl: jdbc:postgresql://postgresql.marathon.l4lb.thisdcos.directory:5432/stl_crss_meterprocess
+      username: admin
+      password: password
+      driverClassName: org.postgresql.Driver
+      connectionTimeout: 10000
+      maxPoolSize: 20
+  crss-main:
+    datasource:
+      jdbcUrl: jdbc:postgresql://postgresql.marathon.l4lb.thisdcos.directory:5432/stl_crss_meterprocess
+      username: admin
+      password: password
+      driverClassName: org.postgresql.Driver
+      connectionTimeout: 10000
+      maxPoolSize: 20
+
+  jpa:
+    show-sql: false
+    generate-ddl: true
+    properties:
+      hibernate:
+        generate_statistics: true
+        dialect: org.hibernate.dialect.PostgreSQL81Dialect
+        ddl-auto: validate
+        hbm2ddl:
+          import_files:
+
+  batch:
+    job:
+      enabled: true
+
+  redis:
+    host: redis.marathon.l4lb.thisdcos.directory
+    port: 6379
+
+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: /home/pemc/stl/upload
+    privateKey:

+ 71 - 0
crss-settlement-task-file-gen-addtlcomp/application.yml

@@ -0,0 +1,71 @@
+spring:
+  crss-stl:
+    datasource:
+      jdbcUrl: jdbc:postgresql://localhost:5432/crss_settlement
+      username: postgres
+      password: postgres
+      driverClassName: org.postgresql.Driver
+      connectionTimeout: 10000
+      maxPoolSize: 2000
+  crss-dataflow:
+    datasource:
+      jdbcUrl: jdbc:postgresql://localhost:5432/crss_dataflow
+      username: postgres
+      password: postgres
+      driverClassName: org.postgresql.Driver
+      connectionTimeout: 10000
+      maxPoolSize: 2000
+  # for removal after ITER 7 stl testing
+  crss-meterprocess:
+    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-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
+
+  jpa:
+    show-sql: false
+    generate-ddl: true
+    properties:
+      hibernate:
+        generate_statistics: true
+        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
+
+report:
+  directory:
+    base: report/
+
+sftp:
+  credentials:
+    username: pemc
+    password: 123qwe
+    host: pemc-storage.southeastasia.cloudapp.azure.com
+    port: 22
+    workingDirectory: /home/pemc/stl/upload
+    privateKey: