Procházet zdrojové kódy

add registration datasource config in stl invoice generation profiles

dmendoza před 8 roky
rodič
revize
4f1c658bb2

+ 6 - 0
crss-settlement-task-invoice-generation/crss-settlement-task-invoice-generation-azure.yml

@@ -18,6 +18,12 @@ spring:
       jdbcUrl: jdbc:postgresql://10.64.0.4:5432/crss?currentSchema=meterprocess
       username: crss_meterprocess
       password: crss_meterprocess
+  crss-registration:
+    datasource:
+      driverClassName: "${spring.datasource.driverClassName}"
+      jdbcUrl: jdbc:postgresql://10.64.0.4:5432/crss?currentSchema=registration
+      username: crss_registration
+      password: crss_registration
 
   profiles:
     include: mesos

+ 7 - 0
crss-settlement-task-invoice-generation/crss-settlement-task-invoice-generation-dev.yml

@@ -20,6 +20,13 @@ spring:
       password: postgres
       driverClassName: org.postgresql.Driver
       maximumPoolSize: 10
+  crss-registration:
+    datasource:
+      jdbcUrl: jdbc:postgresql://localhost:5432/crss?currentSchema=registration
+      username: postgres
+      password: postgres
+      driverClassName: org.postgresql.Driver
+      maximumPoolSize: 10
 
   batch:
     job:

+ 6 - 0
crss-settlement-task-invoice-generation/crss-settlement-task-invoice-generation-pemc-dev.yml

@@ -18,6 +18,12 @@ spring:
       username: crss_meterprocess
       password: D9JpfUtT
       driverClassName: org.postgresql.Driver
+  crss-registration:
+    datasource:
+      jdbcUrl: jdbc:postgresql://192.168.1.81:5432/crss?currentSchema=registration
+      username: crss_registration
+      password: crss_registration
+      driverClassName: org.postgresql.Driver
 
   profiles:
     include: mesos

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

@@ -29,6 +29,16 @@ spring:
       maximumPoolSize: 3
       test-on-borrow: true
       validation-query: SELECT 1
+  crss-registration:
+    datasource:
+      jdbcUrl: jdbc:edb://10.176.11.131:5432/crss?currentSchema=registration
+      username: crss_registration
+      password: 51UF3JA9
+      driverClassName: com.edb.Driver
+      connectionTimeout: 150000
+      maximumPoolSize: 3
+      test-on-borrow: true
+      validation-query: SELECT 1
 
   jpa:
     show-sql: false