Explorar o código

decreased maxPool size in uat-sit config

Jejomar Dimayuga %!s(int64=8) %!d(string=hai) anos
pai
achega
c9ad9bd425

+ 1 - 1
crss-audit/application-pemc-uat-sit.yml

@@ -5,7 +5,7 @@ spring:
       username: crss_audit
       password: crss_audit
       driverClassName: org.postgresql.Driver
-      maxPoolSize: 20
+      maxPoolSize: 5
       connectionTimeout: 10000
       test-on-borrow: true
       validation-query: SELECT 1

+ 1 - 1
crss-dataflow-app/crss-dataflow-app-pemc-uat-sit.yml

@@ -5,7 +5,7 @@ spring:
       username: crss_dataflow
       password: crss_dataflow
       driverClassName: org.postgresql.Driver
-      maxPoolSize: 20
+      maxPoolSize: 5
       connectionTimeout: 10000
       test-on-borrow: true
       validation-query: SELECT 1

+ 3 - 3
crss-datainterface-task-ingest/crss-datainterface-task-ingest-pemc-uat-sit.yml

@@ -12,7 +12,7 @@ spring:
       password: crss_dataflow
       driverClassName: org.postgresql.Driver
       connectionTimeout: 10000
-      maxPoolSize: 5
+      maxPoolSize: 2
   crss-nmms:
     datasource:
       jdbcUrl: jdbc:postgresql://10.176.23.24:5432/crss_sit?currentSchema?nmms
@@ -20,14 +20,14 @@ spring:
       password: crss_nmms
       driverClassName: org.postgresql.Driver
       connectionTimeout: 10000
-      maxPoolSize: 5
+      maxPoolSize: 2
   crss-registration:
     datasource:
       jdbcUrl: jdbc:postgresql://10.176.23.24:5432/crss_sit?currentSchema=registration
       username: crss_registration
       password: crss_registration
       driverClassName: org.postgresql.Driver
-      maxPoolSize: 5
+      maxPoolSize: 2
       test-on-borrow: true
       validation-query: SELECT 1
   jpa:

+ 1 - 1
crss-metering/crss-metering-pemc-uat-sit.yml

@@ -6,4 +6,4 @@ spring:
     password: crss_metering
     hikari:
       connectionTimeout: 10000
-      maximumPoolSize: 20
+      maximumPoolSize: 5

+ 3 - 3
crss-meterprocess-stream-daily-sink/crss-meterprocess-stream-daily-sink-pemc-uat-sit.yml

@@ -5,7 +5,7 @@ spring:
       username: crss_meterprocess
       password: crss_meterprocess
       driverClassName: org.postgresql.Driver
-      maxPoolSize: 5
+      maxPoolSize: 2
       test-on-borrow: true
       validation-query: SELECT 1
   crss-metering:
@@ -14,7 +14,7 @@ spring:
       username: crss_metering
       password: crss_metering
       driverClassName: org.postgresql.Driver
-      maxPoolSize: 5
+      maxPoolSize: 2
       test-on-borrow: true
       validation-query: SELECT 1
   crss-registration:
@@ -23,7 +23,7 @@ spring:
       username: crss_registration
       password: crss_registration
       driverClassName: org.postgresql.Driver
-      maxPoolSize: 5
+      maxPoolSize: 2
       test-on-borrow: true
       validation-query: SELECT 1
   jpa:

+ 2 - 2
crss-meterprocess-stream-mapper/crss-meterprocess-stream-mapper-pemc-uat-sit.yml

@@ -10,7 +10,7 @@ spring:
       username: crss_registration
       password: crss_registration
       driverClassName: org.postgresql.Driver
-      maxPoolSize: 5
+      maxPoolSize: 2
       test-on-borrow: true
       validation-query: SELECT 1
   crss-main:
@@ -19,7 +19,7 @@ spring:
       username: crss_meterprocess
       password: crss_meterprocess
       driverClassName: org.postgresql.Driver
-      maxPoolSize: 5
+      maxPoolSize: 2
       test-on-borrow: true
       validation-query: SELECT 1
 

+ 3 - 3
crss-meterprocess-stream-processor-daily-validate/crss-meterprocess-stream-processor-daily-validate-pemc-uat-sit.yml

@@ -5,7 +5,7 @@ spring:
       username: crss_meterprocess
       password: crss_meterprocess
       driverClassName: org.postgresql.Driver
-      maxPoolSize: 5
+      maxPoolSize: 2
       test-on-borrow: true
       validation-query: SELECT 1
   crss-metering:
@@ -14,7 +14,7 @@ spring:
       username: crss_metering
       password: crss_metering
       driverClassName: org.postgresql.Driver
-      maxPoolSize: 5
+      maxPoolSize: 2
       test-on-borrow: true
       validation-query: SELECT 1
   crss-registration:
@@ -23,7 +23,7 @@ spring:
       username: crss_registration
       password: crss_registration
       driverClassName: org.postgresql.Driver
-      maxPoolSize: 5
+      maxPoolSize: 2
       test-on-borrow: true
       validation-query: SELECT 1
 

+ 3 - 3
crss-meterprocess-stream-source-daily-raw/crss-meterprocess-stream-source-daily-raw-pemc-uat-sit.yml

@@ -6,7 +6,7 @@ spring:
     password: crss_metering
     username: crss_metering
     url: jdbc:postgresql://10.176.23.24:5432/crss_sit?currentSchema=metering
-    maxPoolSize: 5
+    maxPoolSize: 2
     test-on-borrow: true
     validation-query: SELECT 1
   cloud:
@@ -36,7 +36,7 @@ spring:
     password: crss_metering
     username: crss_metering
     url: jdbc:postgresql://10.176.23.24:5432/crss_sit?currentSchema=metering
-    maxPoolSize: 5
+    maxPoolSize: 2
     test-on-borrow: true
     validation-query: SELECT 1
   cloud:
@@ -65,7 +65,7 @@ spring:
     password: crss_metering
     username: crss_metering
     url: jdbc:postgresql://10.176.23.24:5432/crss_sit?currentSchema=metering
-    maxPoolSize: 5
+    maxPoolSize: 2
     test-on-borrow: true
     validation-query: SELECT 1
   cloud:

+ 4 - 4
crss-meterprocess-task-stlready/crss-meterprocess-task-stlready-pemc-uat-sit.yml

@@ -5,7 +5,7 @@ spring:
       username: crss_dataflow
       password: crss_dataflow
       driverClassName: org.postgresql.Driver
-      maxPoolSize: 5
+      maxPoolSize: 2
       test-on-borrow: true
       validation-query: SELECT 1
   crss-main:
@@ -14,7 +14,7 @@ spring:
       username: crss_meterprocess
       password: crss_meterprocess
       driverClassName: org.postgresql.Driver
-      maxPoolSize: 5
+      maxPoolSize: 2
       test-on-borrow: true
       validation-query: SELECT 1
   crss-nmms:
@@ -23,7 +23,7 @@ spring:
         username: crss_nmms
         password: crss_nmms
         driverClassName: org.postgresql.Driver
-        maxPoolSize: 5
+        maxPoolSize: 2
         test-on-borrow: true
         validation-query: SELECT 1
   jpa:
@@ -57,7 +57,7 @@ spring:
         config: ehcache3.xml
 
   redis:
-    database: 5
+    database: 4
 
 logging:
   level:

+ 4 - 4
crss-mtr/crss-mtr-pemc-uat-sit.yml

@@ -5,7 +5,7 @@ spring:
       username: crss_dataflow
       password: crss_dataflow
       driverClassName: org.postgresql.Driver
-      maxPoolSize: 5
+      maxPoolSize: 2
       test-on-borrow: true
       validation-query: SELECT 1
   crss-main:
@@ -14,7 +14,7 @@ spring:
       username: crss_meterprocess
       password: crss_meterprocess
       driverClassName: org.postgresql.Driver
-      maxPoolSize: 5
+      maxPoolSize: 2
       test-on-borrow: true
       validation-query: SELECT 1
   crss-registration:
@@ -23,7 +23,7 @@ spring:
       username: crss_registration
       password: crss_registration
       driverClassName: org.postgresql.Driver
-      maxPoolSize: 5
+      maxPoolSize: 2
       test-on-borrow: true
       validation-query: SELECT 1
   jpa:
@@ -53,7 +53,7 @@ spring:
       enabled: false
 
   redis:
-    database: 5
+    database: 4
 
 logging:
   level:

+ 6 - 6
crss-settlement-task-calculation-addtlcomp/application-pemc-uat.yml

@@ -6,7 +6,7 @@ spring:
       password: crss_settlement
       driverClassName: org.postgresql.Driver
       connectionTimeout: 10000
-      maxPoolSize: 20
+      maxPoolSize: 2
   # for removal after ITER 7 stl testing
   crss-meterprocess:
     datasource:
@@ -15,7 +15,7 @@ spring:
       password: crss_settlement
       driverClassName: org.postgresql.Driver
       connectionTimeout: 10000
-      maxPoolSize: 20
+      maxPoolSize: 2
   crss-main:
     datasource:
       jdbcUrl: jdbc:postgresql://10.176.23.24:5432/stl_crss_meterprocess
@@ -23,7 +23,7 @@ spring:
       password: crss_settlement
       driverClassName: org.postgresql.Driver
       connectionTimeout: 10000
-      maxPoolSize: 20
+      maxPoolSize: 2
   crss-metering:
     datasource:
       jdbcUrl: jdbc:postgresql://10.176.23.24:5432/stl_crss_metering
@@ -31,7 +31,7 @@ spring:
       password: crss_settlement
       driverClassName: org.postgresql.Driver
       connectionTimeout: 10000
-      maxPoolSize: 20
+      maxPoolSize: 2
   crss-nmms:
     datasource:
       jdbcUrl: jdbc:postgresql://10.176.23.24:5432/stl_crss_nmms
@@ -39,7 +39,7 @@ spring:
       password: crss_settlement
       driverClassName: org.postgresql.Driver
       connectionTimeout: 10000
-      maxPoolSize: 20
+      maxPoolSize: 2
   crss-dataflow:
     datasource:
       jdbcUrl: jdbc:postgresql://10.176.23.24:5432/crss_dataflow
@@ -47,7 +47,7 @@ spring:
       password: crss_dataflow
       driverClassName: org.postgresql.Driver
       connectionTimeout: 10000
-      maxPoolSize: 20
+      maxPoolSize: 2
 
   jpa:
     show-sql: false

+ 6 - 6
crss-settlement-task-calculation/crss-settlement-task-calculation-pemc-uat-sit.yml

@@ -6,7 +6,7 @@ spring:
       password: crss_settlement
       driverClassName: org.postgresql.Driver
       connectionTimeout: 10000
-      maxPoolSize: 20
+      maxPoolSize: 2
   # for removal after ITER 7 stl testing
   crss-meterprocess:
     datasource:
@@ -15,7 +15,7 @@ spring:
       password: crss_meterprocess
       driverClassName: org.postgresql.Driver
       connectionTimeout: 10000
-      maxPoolSize: 20
+      maxPoolSize: 2
   crss-main:
     datasource:
       jdbcUrl: jdbc:postgresql://10.176.23.24:5432/crss_sit?currentSchema=meterprocess
@@ -23,7 +23,7 @@ spring:
       password: crss_meterprocess
       driverClassName: org.postgresql.Driver
       connectionTimeout: 10000
-      maxPoolSize: 20
+      maxPoolSize: 2
   crss-metering:
     datasource:
       jdbcUrl: jdbc:postgresql://10.176.23.24:5432/crss_sit?currentSchema=metering
@@ -31,7 +31,7 @@ spring:
       password: crss_metering
       driverClassName: org.postgresql.Driver
       connectionTimeout: 10000
-      maxPoolSize: 20
+      maxPoolSize: 2
   crss-nmms:
     datasource:
       jdbcUrl: jdbc:postgresql://10.176.23.24:5432/crss_sit?currentSchema=nmms
@@ -39,7 +39,7 @@ spring:
       password: crss_nmms
       driverClassName: org.postgresql.Driver
       connectionTimeout: 10000
-      maxPoolSize: 20
+      maxPoolSize: 2
   crss-dataflow:
     datasource:
       jdbcUrl: jdbc:postgresql://10.176.23.24:5432/crss_sit?currentSchema=dataflow
@@ -47,7 +47,7 @@ spring:
       password: crss_dataflow
       driverClassName: org.postgresql.Driver
       connectionTimeout: 10000
-      maxPoolSize: 20
+      maxPoolSize: 2
 
   jpa:
     show-sql: false

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

@@ -6,7 +6,7 @@ spring:
       password: crss_settlement
       driverClassName: org.postgresql.Driver
       connectionTimeout: 10000
-      maxPoolSize: 20
+      maxPoolSize: 2
   crss-dataflow:
     datasource:
       jdbcUrl: jdbc:postgresql://10.176.23.24:5432/crss_dataflow
@@ -14,7 +14,7 @@ spring:
       password: crss_dataflow
       driverClassName: org.postgresql.Driver
       connectionTimeout: 10000
-      maxPoolSize: 20
+      maxPoolSize: 2
   # for removal after ITER 7 stl testing
   crss-meterprocess:
     datasource:
@@ -23,7 +23,7 @@ spring:
       password: crss_settlement
       driverClassName: org.postgresql.Driver
       connectionTimeout: 10000
-      maxPoolSize: 20
+      maxPoolSize: 2
   crss-main:
     datasource:
       jdbcUrl: jdbc:postgresql://10.176.23.24:5432/stl_crss_meterprocess
@@ -31,7 +31,7 @@ spring:
       password: crss_settlement
       driverClassName: org.postgresql.Driver
       connectionTimeout: 10000
-      maxPoolSize: 20
+      maxPoolSize: 2
 
   jpa:
     show-sql: false

+ 4 - 4
crss-settlement-task-invoice-generation/crss-settlement-task-invoice-generation-pemc-uat-sit.yml

@@ -6,7 +6,7 @@ spring:
       password: crss_settlement
       driverClassName: org.postgresql.Driverhd
       connectionTimeout: 10000
-      maxPoolSize: 20
+      maxPoolSize: 2
   crss-dataflow:
     datasource:
       jdbcUrl: jdbc:postgresql://10.176.23.24:5432/crss_sit?currentSchema=dataflow
@@ -14,7 +14,7 @@ spring:
       password: crss_dataflow
       driverClassName: org.postgresql.Driver
       connectionTimeout: 10000
-      maxPoolSize: 20
+      maxPoolSize: 2
   # for removal after ITER 7 stl testing
   crss-meterprocess:
     datasource:
@@ -23,7 +23,7 @@ spring:
       password: crss_meterprocess
       driverClassName: org.postgresql.Driver
       connectionTimeout: 10000
-      maxPoolSize: 20
+      maxPoolSize: 2
   crss-main:
     datasource:
       jdbcUrl: jdbc:postgresql://10.176.23.24:5432/crss_sit?currentSchema=meterprocess
@@ -31,7 +31,7 @@ spring:
       password: crss_meterprocess
       driverClassName: org.postgresql.Driver
       connectionTimeout: 10000
-      maxPoolSize: 20
+      maxPoolSize: 2
 
   jpa:
     show-sql: false

+ 6 - 6
crss-settlement-task-validation/application-pemc-uat.yml

@@ -6,7 +6,7 @@ spring:
       password: crss_settlement
       driverClassName: org.postgresql.Driver
       connectionTimeout: 10000
-      maxPoolSize: 20
+      maxPoolSize: 2
   crss-registration:
     datasource:
       jdbcUrl: jdbc:postgresql://10.176.23.24:5432/crss_reg
@@ -24,7 +24,7 @@ spring:
       password: crss_settlement
       driverClassName: org.postgresql.Driver
       connectionTimeout: 10000
-      maxPoolSize: 20
+      maxPoolSize: 2
   crss-main:
     datasource:
       jdbcUrl: jdbc:postgresql://10.176.23.24:5432/stl_crss_meterprocess
@@ -32,7 +32,7 @@ spring:
       password: crss_settlement
       driverClassName: org.postgresql.Driver
       connectionTimeout: 10000
-      maxPoolSize: 20
+      maxPoolSize: 2
   crss-metering:
     datasource:
       jdbcUrl: jdbc:postgresql://10.176.23.24:5432/stl_crss_metering
@@ -40,7 +40,7 @@ spring:
       password: crss_settlement
       driverClassName: org.postgresql.Driver
       connectionTimeout: 10000
-      maxPoolSize: 20
+      maxPoolSize: 2
   crss-nmms:
     datasource:
       jdbcUrl: jdbc:postgresql://10.176.23.24:5432/stl_crss_nmms
@@ -48,7 +48,7 @@ spring:
       password: crss_settlement
       driverClassName: org.postgresql.Driver
       connectionTimeout: 10000
-      maxPoolSize: 20
+      maxPoolSize: 2
   crss-dataflow:
     datasource:
       jdbcUrl: jdbc:postgresql://10.176.23.24:5432/crss_dataflow
@@ -56,7 +56,7 @@ spring:
       password: crss_dataflow
       driverClassName: org.postgresql.Driver
       connectionTimeout: 10000
-      maxPoolSize: 20
+      maxPoolSize: 2
 
   jpa:
     show-sql: false