Browse Source

add reg datasource in ac file gen

Adrian Viesca 8 years ago
parent
commit
18abdaf886

+ 6 - 1
crss-settlement-task-file-gen-addtlcomp/crss-settlement-task-file-gen-addtlcomp-azure.yml

@@ -18,7 +18,12 @@ spring:
       username: crss_meterprocess
       password: crss_meterprocess
       driverClassName: "${spring.datasource.driverClassName}"
-
+  crss-registration:
+    datasource:
+      driverClassName: "${spring.datasource.driverClassName}"
+      jdbcUrl: jdbc:postgresql://10.64.0.4:5432/crss?currentSchema=registration
+      username: crss_registration
+      password: crss_registration
   jpa:
     show-sql: false
     generate-ddl: false

+ 7 - 1
crss-settlement-task-file-gen-addtlcomp/crss-settlement-task-file-gen-addtlcomp-dev.yml

@@ -17,7 +17,13 @@ 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
+      maximumPoolSize: 10
 sftp:
   credentials:
     username: pemc

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

@@ -18,6 +18,14 @@ spring:
       username: crss_meterprocess
       password: crss_meterprocess
       driverClassName: org.postgresql.Driver
+  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
 
   jpa:
     show-sql: false

+ 10 - 1
crss-settlement-task-file-gen-addtlcomp/crss-settlement-task-file-gen-addtlcomp.yml

@@ -29,7 +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
     generate-ddl: false