Browse Source

add meterprocess dependency to reg for billing period

Karen Kho 8 years ago
parent
commit
23386e99d7

+ 2 - 1
.gitignore

@@ -1,3 +1,4 @@
 .idea/
 *.iml
-*.DS_Store
+*.DS_Store
+.gradle

+ 7 - 0
crss-reg/crss-reg-azure.yml

@@ -20,6 +20,13 @@ spring:
       url: jdbc:postgresql://10.64.0.4:5432/crss_external?currentSchema=xdfcontrol
       username: crss_xdfcontrol
       password: crss_xdfcontrol
+  crss-main:
+    datasource:
+      driverClassName: org.postgresql.Driver
+      jdbcUrl: jdbc:postgresql://10.64.0.4:5432/crss?currentSchema=meterprocess
+      username: crss_meterprocess
+      password: crss_meterprocess
+      maximumPoolSize: 2
 
 crss:
   docmgt:

+ 8 - 0
crss-reg/crss-reg-dev.yml

@@ -18,6 +18,14 @@ spring:
       url: jdbc:postgresql://localhost:5432/dor_rt
       username: dor_rt
       password: dor_rt
+  crss-main:
+    datasource:
+      jdbcUrl: jdbc:postgresql://localhost:5432/crss_meterprocess
+      username: postgres
+      password: postgres
+      driverClassName: org.postgresql.Driver
+      connectionTimeout: 10000
+      maxPoolSize: 20
 
 server:
   port: 8081

+ 9 - 0
crss-reg/crss-reg-dev2.yml

@@ -20,6 +20,15 @@ spring:
       url: jdbc:postgresql://192.168.233.9:5432/crss_external?currentSchema=xdfcontrol
       username: crss_xdfcontrol
       password: crss_xdfcontrol
+  crss-main:
+    datasource:
+      jdbcUrl: jdbc:postgresql://192.168.233.9:5432/crss_table_partitioning?currentSchema=meterprocess
+      username: crss_meterprocess
+      password: crss_meterprocess
+      driverClassName: org.postgresql.Driver
+      maximumPoolSize: 2
+      test-on-borrow: true
+      validation-query: SELECT 1
 
 crss:
   docmgt:

+ 9 - 0
crss-reg/crss-reg-pemc-dev.yml

@@ -20,6 +20,15 @@ spring:
       url: jdbc:postgresql://192.168.1.120:5432/crss_external?currentSchema=xdfcontrol
       username: crss_xdfcontrol
       password: crss_xdfcontrol
+  crss-main:
+    datasource:
+      jdbcUrl: jdbc:postgresql://192.168.1.120:5432/crss?currentSchema=meterprocess
+      username: crss_meterprocess
+      password: D9JpfUtT
+      driverClassName: org.postgresql.Driver
+      maximumPoolSize: 2
+      test-on-borrow: true
+      validation-query: SELECT 1
 
 crss:
   docmgt:

+ 10 - 0
crss-reg/crss-reg.yml

@@ -20,6 +20,16 @@ spring:
        #username: DOR_RT
        #password: DOR_RT
        #driverClassName: oracle.jdbc.OracleDriver
+  crss-main:
+    datasource:
+      jdbcUrl: jdbc:edb://10.176.11.131:5432/crss?currentSchema=meterprocess
+      username: crss_meterprocess
+      password: D9JpfUtT
+      driverClassName: com.edb.Driver
+      connectionTimeout: 150000
+      maximumPoolSize: 3
+      test-on-borrow: true
+      validation-query: SELECT 1
   profiles.include: audit, client-sec
   jpa:
     properties: