Browse Source

[stl-calculation] add crss-registration datasource props

dmendoza 7 years ago
parent
commit
36313e9e19

+ 6 - 0
crss-settlement-task-calculation/crss-settlement-task-calculation-dev.yml

@@ -29,6 +29,12 @@ spring:
       username: postgres
       password: postgres
       driverClassName: org.postgresql.Driver
+  crss-registration:
+    datasource:
+      jdbcUrl: jdbc:postgresql://localhost:5432/crss?currentSchema=registration
+      username: postgres
+      password: postgres
+      driverClassName: org.postgresql.Driver
 
   redis:
     host: localhost

+ 9 - 0
crss-settlement-task-calculation/crss-settlement-task-calculation-dev2.yml

@@ -45,6 +45,15 @@ spring:
       connectionTimeout: 300000
       test-on-borrow: true
       validation-query: SELECT 1
+  crss-registration:
+    datasource:
+      jdbcUrl: jdbc:postgresql://192.168.233.9:5432/crss?currentSchema=registration
+      username: crss_registration
+      password: crss_registration
+      maximumPoolSize: 1
+      connectionTimeout: 60000
+      driverClassName: org.postgresql.Driver
+
   profiles:
     include: mesos
   cloud:

+ 7 - 0
crss-settlement-task-calculation/crss-settlement-task-calculation-pemc-dev.yml

@@ -45,6 +45,13 @@ spring:
       connectionTimeout: 300000
       test-on-borrow: true
       validation-query: SELECT 1
+  crss-registration:
+    datasource:
+      jdbcUrl: jdbc:postgresql://192.168.1.120:5432/crss?currentSchema=registration
+      username: crss_registration
+      password: 51UF3JA9
+      driverClassName: org.postgresql.Driver
+
   profiles:
     include: mesos
   cloud:

+ 10 - 0
crss-settlement-task-calculation/crss-settlement-task-calculation.yml

@@ -49,6 +49,16 @@ spring:
       maximumPoolSize: 5
       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