Эх сурвалжийг харах

update dev profile - 1 db multi schema

Adrian Viesca 7 жил өмнө
parent
commit
612e642f31
22 өөрчлөгдсөн 77 нэмэгдсэн , 77 устгасан
  1. 2 2
      crss-admin/crss-admin-dev.yml
  2. 2 2
      crss-audit/crss-audit-dev.yml
  3. 4 4
      crss-data/crss-data-dev.yml
  4. 3 3
      crss-datainterface-task-ingest/crss-datainterface-task-ingest-dev.yml
  5. 2 2
      crss-metering/crss-metering-dev.yml
  6. 3 3
      crss-meterprocess-stream-daily-sink/crss-meterprocess-stream-daily-sink-dev.yml
  7. 2 2
      crss-meterprocess-stream-mapper/crss-meterprocess-stream-mapper-dev.yml
  8. 3 3
      crss-meterprocess-stream-processor-daily-validate/crss-meterprocess-stream-processor-daily-validate-dev.yml
  9. 3 3
      crss-meterprocess-stream-source-daily-raw/crss-meterprocess-stream-source-daily-raw-dev.yml
  10. 4 4
      crss-meterprocess-task-stlready/crss-meterprocess-task-stlready-dev.yml
  11. 9 9
      crss-mq-computation/crss-mq-computation-dev.yml
  12. 3 3
      crss-mtr/crss-mtr-dev.yml
  13. 7 7
      crss-reg/crss-reg-dev.yml
  14. 2 2
      crss-sched/crss-sched-dev.yml
  15. 2 2
      crss-settlement-app/crss-settlement-app-dev.yml
  16. 5 5
      crss-settlement-task-calculation-addtlcomp/crss-settlement-task-calculation-addtlcomp-dev.yml
  17. 5 5
      crss-settlement-task-calculation/crss-settlement-task-calculation-dev.yml
  18. 3 3
      crss-settlement-task-file-gen-addtlcomp/crss-settlement-task-file-gen-addtlcomp-dev.yml
  19. 3 3
      crss-settlement-task-invoice-generation/crss-settlement-task-invoice-generation-dev.yml
  20. 5 5
      crss-settlement-task-validation/crss-settlement-task-validation-dev.yml
  21. 2 2
      crss-uaa/crss-uaa-dev.yml
  22. 3 3
      crss-worklist-app/crss-worklist-app-dev.yml

+ 2 - 2
crss-admin/crss-admin-dev.yml

@@ -1,8 +1,8 @@
 spring:
   datasource:
     url: jdbc:postgresql://localhost:5432/crss?currentSchema=admin
-    username: crss_admin
-    password: CrssAdmin
+    username: postgres
+    password: postgres
   mail:
     host: 127.0.0.1
     port: 3025

+ 2 - 2
crss-audit/crss-audit-dev.yml

@@ -3,8 +3,8 @@ spring:
   crss-audit:
     datasource:
       jdbcUrl: jdbc:postgresql://localhost:5432/crss?currentSchema=audit
-      username: crss
-      password: crss
+      username: postgres
+      password: postgres
       driverClassName: org.postgresql.Driver
 
 #security:

+ 4 - 4
crss-data/crss-data-dev.yml

@@ -1,8 +1,8 @@
 spring:
   datasource:
     url: jdbc:postgresql://localhost:5432/crss?currentSchema=dataextraction
-    username: crss_dataextraction
-    password: CrssDataExtraction
+    username: postgres
+    password: postgres
 server:
   port: 8086
 kettle:
@@ -26,5 +26,5 @@ crss:
   registration:
      datasource:
        url: jdbc:postgresql://localhost:5432/crss?currentSchema=registration
-       username: crss_registration
-       password: CrssRegistration
+       username: postgres
+       password: postgres

+ 3 - 3
crss-datainterface-task-ingest/crss-datainterface-task-ingest-dev.yml

@@ -7,19 +7,19 @@ spring:
       password: 123qwe
   crss-dataflow:
     datasource:
-      jdbcUrl: jdbc:postgresql://localhost:5432/crss_dataflow
+      jdbcUrl: jdbc:postgresql://localhost:5432/crss?currentSchema=dataflow
       username: postgres
       password: postgres
       driverClassName: org.postgresql.Driver
   crss-nmms:
     datasource:
-      jdbcUrl: jdbc:postgresql://localhost:5432/crss_nmms
+      jdbcUrl: jdbc:postgresql://localhost:5432/crss?currentSchema=nmms
       username: postgres
       password: postgres
       driverClassName: org.postgresql.Driver
   crss-registration:
     datasource:
-      jdbcUrl: jdbc:postgresql://localhost:5432/crss_reg
+      jdbcUrl: jdbc:postgresql://localhost:5432/crss?currentSchema=registration
       username: postgres
       password: postgres
       driverClassName: org.postgresql.Driver

+ 2 - 2
crss-metering/crss-metering-dev.yml

@@ -2,7 +2,7 @@ spring:
   profiles.include: pg-query
   datasource:
     url: jdbc:postgresql://localhost:5432/crss?currentSchema=metering
-    username: crss_metering
-    password: CrssMetering
+    username: postgres
+    password: postgres
 server:
   port: 8084

+ 3 - 3
crss-meterprocess-stream-daily-sink/crss-meterprocess-stream-daily-sink-dev.yml

@@ -1,19 +1,19 @@
 spring:
   crss-main:
     datasource:
-      jdbcUrl: jdbc:postgresql://localhost:5432/crss_meterprocess
+      jdbcUrl: jdbc:postgresql://localhost:5432/crss?currentSchema=meterprocess
       username: postgres
       password: postgres
       driverClassName: org.postgresql.Driver
   crss-metering:
     datasource:
-      jdbcUrl: jdbc:postgresql://localhost:5432/crss_metering
+      jdbcUrl: jdbc:postgresql://localhost:5432/crss?currentSchema=metering
       username: postgres
       password: postgres
       driverClassName: org.postgresql.Driver
   crss-registration:
     datasource:
-      jdbcUrl: jdbc:postgresql://localhost:5432/crss_reg
+      jdbcUrl: jdbc:postgresql://localhost:5432/crss?currentSchema=registration
       username: postgres
       password: postgres
       driverClassName: org.postgresql.Driver

+ 2 - 2
crss-meterprocess-stream-mapper/crss-meterprocess-stream-mapper-dev.yml

@@ -1,13 +1,13 @@
 spring:
   crss-registration:
     dataSource:
-      jdbcUrl: jdbc:postgresql://localhost:5432/crss_reg
+      jdbcUrl: jdbc:postgresql://localhost:5432/crss?currentSchema=registration
       username: postgres
       password: postgres
       driverClassName: org.postgresql.Driver
   crss-main:
     datasource:
-      jdbcUrl: jdbc:postgresql://localhost:5432/crss_meterprocess
+      jdbcUrl: jdbc:postgresql://localhost:5432/crss?currentSchema=meterprocess
       username: postgres
       password: postgres
       driverClassName: org.postgresql.Driver

+ 3 - 3
crss-meterprocess-stream-processor-daily-validate/crss-meterprocess-stream-processor-daily-validate-dev.yml

@@ -1,19 +1,19 @@
 spring:
   crss-main:
     datasource:
-      jdbcUrl: jdbc:postgresql://localhost:5432/crss_meterprocess
+      jdbcUrl: jdbc:postgresql://localhost:5432/crss?currentSchema=meterprocess
       username: postgres
       password: postgres
       driverClassName: org.postgresql.Driver
   crss-metering:
     datasource:
-      jdbcUrl: jdbc:postgresql://localhost:5432/crss_metering
+      jdbcUrl: jdbc:postgresql://localhost:5432/crss?currentSchema=metering
       username: postgres
       password: postgres
       driverClassName: org.postgresql.Driver
   crss-registration:
     datasource:
-      jdbcUrl: jdbc:postgresql://localhost:5432/crss_reg
+      jdbcUrl: jdbc:postgresql://localhost:5432/crss?currentSchema=registration
       username: postgres
       password: postgres
       driverClassName: org.postgresql.Driver

+ 3 - 3
crss-meterprocess-stream-source-daily-raw/crss-meterprocess-stream-source-daily-raw-dev.yml

@@ -2,7 +2,7 @@
 spring:
   profiles: dailyExtract
   datasource:
-    url: jdbc:postgresql://localhost:5432/crss_metering
+    url: jdbc:postgresql://localhost:5432/crss?currentSchema=metering
     username: postgres
     password: postgres
     driver-class-name: org.postgresql.Driver
@@ -17,7 +17,7 @@ jdbc:
 spring:
   profiles: monthlyExtract
   datasource:
-    url: jdbc:postgresql://localhost:5432/crss_metering
+    url: jdbc:postgresql://localhost:5432/crss?currentSchema=metering
     username: postgres
     password: postgres
     driver-class-name: org.postgresql.Driver
@@ -32,7 +32,7 @@ jdbc:
 # default
 spring:
   datasource:
-    url: jdbc:postgresql://localhost:5432/crss_metering
+    url: jdbc:postgresql://localhost:5432/crss?currentSchema=metering
     username: postgres
     password: postgres
     driver-class-name: org.postgresql.Driver

+ 4 - 4
crss-meterprocess-task-stlready/crss-meterprocess-task-stlready-dev.yml

@@ -1,25 +1,25 @@
 spring:
   crss-dataflow:
     datasource:
-      jdbcUrl: jdbc:postgresql://localhost:5432/crss_dataflow
+      jdbcUrl: jdbc:postgresql://localhost:5432/crss?currentSchema=dataflow
       username: postgres
       password: postgres
       driverClassName: org.postgresql.Driver
   crss-main:
     datasource:
-      jdbcUrl: jdbc:postgresql://localhost:5432/crss_meterprocess
+      jdbcUrl: jdbc:postgresql://localhost:5432/crss?currentSchema=meterprocess
       username: postgres
       password: postgres
       driverClassName: org.postgresql.Driver
   crss-nmms:
       datasource:
-        jdbcUrl: jdbc:postgresql://localhost:5432/crss_nmms
+        jdbcUrl: jdbc:postgresql://localhost:5432/crss?currentSchema=nmms
         username: postgres
         password: postgres
         driverClassName: org.postgresql.Driver
   crss-registration:
       dataSource:
-        jdbcUrl: jdbc:postgresql://localhost:5432/crss_reg
+        jdbcUrl: jdbc:postgresql://localhost:5432/crss?currentSchema=registration
         username: postgres
         password: postgres
         driverClassName: org.postgresql.Driver

+ 9 - 9
crss-mq-computation/crss-mq-computation-dev.yml

@@ -1,19 +1,19 @@
 spring:
   crss-dataflow:
     datasource:
-      jdbcUrl: jdbc:postgresql://192.168.236.2:5432/crss_dataflow
-      username: admin
-      password: password
+      jdbcUrl: jdbc:postgresql://localhost:5432/crss?currentSchema=dataflow
+      username: postgres
+      password: postgres
   crss-main:
     datasource:
-      jdbcUrl: jdbc:postgresql://192.168.236.2:5432/crss_meterprocess
-      username: admin
-      password: password
+      jdbcUrl: jdbc:postgresql://localhost:5432/crss?currentSchema=meterprocess
+      username: postgres
+      password: postgres
   crss-registration:
     dataSource:
-      jdbcUrl: jdbc:postgresql://192.168.236.2:5432/crss_reg
-      username: admin
-      password: password
+      jdbcUrl: jdbc:postgresql://localhost:5432/crss?currentSchema=registration
+      username: postgres
+      password: postgres
   jpa:
     show-sql: true
     generate-ddl: true

+ 3 - 3
crss-mtr/crss-mtr-dev.yml

@@ -1,19 +1,19 @@
 spring:
   crss-dataflow:
     datasource:
-      jdbcUrl: jdbc:postgresql://localhost:5432/crss_dataflow
+      jdbcUrl: jdbc:postgresql://localhost:5432/crss?currentSchema=dataflow
       username: postgres
       password: postgres
       driverClassName: org.postgresql.Driver
   crss-main:
     datasource:
-      jdbcUrl: jdbc:postgresql://localhost:5432/crss_meterprocess
+      jdbcUrl: jdbc:postgresql://localhost:5432/crss?currentSchema=meterprocess
       username: postgres
       password: postgres
       driverClassName: org.postgresql.Driver
   crss-registration:
     dataSource:
-      jdbcUrl: jdbc:postgresql://localhost:5432/crss_reg
+      jdbcUrl: jdbc:postgresql://localhost:5432/crss?currentSchema=registration
       username: postgres
       password: postgres
       driverClassName: org.postgresql.Driver

+ 7 - 7
crss-reg/crss-reg-dev.yml

@@ -1,28 +1,28 @@
 spring:
   datasource:
     url: jdbc:postgresql://localhost:5432/crss?currentSchema=registration
-    username: crss_registration
-    password: CrssRegistration
+    username: postgres
+    password: postgres
   crss-stl:
     datasource:
-      jdbcUrl: jdbc:postgresql://localhost:5432/crss_settlement
+      jdbcUrl: jdbc:postgresql://localhost:5432/crss?currentSchema=settlement
       username: postgres
       password: postgres
   crss-dataflow:
     datasource:
-      jdbcUrl: jdbc:postgresql://localhost:5432/crss_dataflow
+      jdbcUrl: jdbc:postgresql://localhost:5432/crss?currentSchema=dataflow
       username: postgres
       password: postgres
   crss-meterprocess:
     datasource:
-      jdbcUrl: jdbc:postgresql://localhost:5432/crss_meterprocess
+      jdbcUrl: jdbc:postgresql://localhost:5432/crss?currentSchema=meterprocess
       username: postgres
       password: postgres
   xdf-control:
     datasource:
       url: jdbc:postgresql://localhost:5432/dor_rt
-      username: dor_rt
-      password: dor_rt
+      username: postgres
+      password: postgres
 
   jpa:
       show-sql: false

+ 2 - 2
crss-sched/crss-sched-dev.yml

@@ -2,7 +2,7 @@ spring:
   profiles.include: metronome
   datasource:
     url: jdbc:postgresql://localhost:5432/crss?currentSchema=scheduler
-    username: crss_scheduler
-    password: CrssScheduler
+    username: postgres
+    password: postgres
 server:
   port: 8085

+ 2 - 2
crss-settlement-app/crss-settlement-app-dev.yml

@@ -1,13 +1,13 @@
 spring:
   crss-stl:
     datasource:
-      jdbcUrl: jdbc:postgresql://localhost:5432/crss_settlement
+      jdbcUrl: jdbc:postgresql://localhost:5432/crss?currentSchema=settlement
       username: postgres
       password: postgres
       driverClassName: org.postgresql.Driver
   crss-worklist:
     datasource:
-      jdbcUrl: jdbc:postgresql://localhost:5432/crss_worklist
+      jdbcUrl: jdbc:postgresql://localhost:5432/crss?currentSchema=worklist
       username: postgres
       password: postgres
       driverClassName: org.postgresql.Driver

+ 5 - 5
crss-settlement-task-calculation-addtlcomp/crss-settlement-task-calculation-addtlcomp-dev.yml

@@ -1,7 +1,7 @@
 spring:
   crss-stl:
     datasource:
-      jdbcUrl: jdbc:postgresql://localhost:5432/crss_settlement
+      jdbcUrl: jdbc:postgresql://localhost:5432/crss?currentSchema=settlement
       username: postgres
       password: postgres
       driverClassName: org.postgresql.Driver
@@ -9,7 +9,7 @@ spring:
       maxPoolSize: 20
   crss-main:
     datasource:
-      jdbcUrl: jdbc:postgresql://localhost:5432/stl_crss_meterprocess
+      jdbcUrl: jdbc:postgresql://localhost:5432/crss?currentSchema=meterprocess
       username: postgres
       password: postgres
       driverClassName: org.postgresql.Driver
@@ -17,7 +17,7 @@ spring:
       maxPoolSize: 20
   crss-metering:
     datasource:
-      jdbcUrl: jdbc:postgresql://localhost:5432/stl_crss_metering
+      jdbcUrl: jdbc:postgresql://localhost:5432/crss?currentSchema=metering
       username: postgres
       password: postgres
       driverClassName: org.postgresql.Driver
@@ -25,7 +25,7 @@ spring:
       maxPoolSize: 20
   crss-nmms:
     datasource:
-      jdbcUrl: jdbc:postgresql://localhost:5432/stl_crss_nmms
+      jdbcUrl: jdbc:postgresql://localhost:5432/crss?currentSchema=nmms
       username: postgres
       password: postgres
       driverClassName: org.postgresql.Driver
@@ -33,7 +33,7 @@ spring:
       maxPoolSize: 20
   crss-dataflow:
     datasource:
-      jdbcUrl: jdbc:postgresql://localhost:5432/crss_dataflow
+      jdbcUrl: jdbc:postgresql://localhost:5432/crss?currentSchema=dataflow
       username: postgres
       password: postgres
       driverClassName: org.postgresql.Driver

+ 5 - 5
crss-settlement-task-calculation/crss-settlement-task-calculation-dev.yml

@@ -1,31 +1,31 @@
 spring:
   crss-stl:
     datasource:
-      jdbcUrl: jdbc:postgresql://localhost:5432/crss_settlement
+      jdbcUrl: jdbc:postgresql://localhost:5432/crss?currentSchema=settlement
       username: postgres
       password: postgres
       driverClassName: org.postgresql.Driver
   crss-main:
     datasource:
-      jdbcUrl: jdbc:postgresql://localhost:5432/stl_crss_meterprocess
+      jdbcUrl: jdbc:postgresql://localhost:5432/crss?currentSchema=meterprocess
       username: postgres
       password: postgres
       driverClassName: org.postgresql.Driver
   crss-metering:
     datasource:
-      jdbcUrl: jdbc:postgresql://localhost:5432/stl_crss_metering
+      jdbcUrl: jdbc:postgresql://localhost:5432/crss?currentSchema=metering
       username: postgres
       password: postgres
       driverClassName: org.postgresql.Driver
   crss-nmms:
     datasource:
-      jdbcUrl: jdbc:postgresql://localhost:5432/stl_crss_nmms
+      jdbcUrl: jdbc:postgresql://localhost:5432/crss?currentSchema=nmms
       username: postgres
       password: postgres
       driverClassName: org.postgresql.Driver
   crss-dataflow:
     datasource:
-      jdbcUrl: jdbc:postgresql://localhost:5432/crss_dataflow
+      jdbcUrl: jdbc:postgresql://localhost:5432/crss?currentSchema=dataflow
       username: postgres
       password: postgres
       driverClassName: org.postgresql.Driver

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

@@ -1,19 +1,19 @@
 spring:
   crss-stl:
     datasource:
-      jdbcUrl: jdbc:postgresql://localhost:5432/crss_settlement
+      jdbcUrl: jdbc:postgresql://localhost:5432/crss?currentSchema=settlement
       username: postgres
       password: postgres
       driverClassName: org.postgresql.Driver
   crss-dataflow:
     datasource:
-      jdbcUrl: jdbc:postgresql://localhost:5432/crss_dataflow
+      jdbcUrl: jdbc:postgresql://localhost:5432/crss?currentSchema=dataflow
       username: postgres
       password: postgres
       driverClassName: org.postgresql.Driver
   crss-main:
     datasource:
-      jdbcUrl: jdbc:postgresql://localhost:5432/stl_crss_meterprocess
+      jdbcUrl: jdbc:postgresql://localhost:5432/crss?currentSchema=meterprocess
       username: postgres
       password: postgres
       driverClassName: org.postgresql.Driver

+ 3 - 3
crss-settlement-task-invoice-generation/crss-settlement-task-invoice-generation-dev.yml

@@ -1,21 +1,21 @@
 spring:
   crss-stl:
     datasource:
-      jdbcUrl: jdbc:postgresql://localhost:5432/crss_settlement
+      jdbcUrl: jdbc:postgresql://localhost:5432/crss?currentSchema=settlement
       username: postgres
       password: postgres
       driverClassName: org.postgresql.Driver
       maximumPoolSize: 10
   crss-dataflow:
     datasource:
-      jdbcUrl: jdbc:postgresql://localhost:5432/crss_dataflow
+      jdbcUrl: jdbc:postgresql://localhost:5432/crss?currentSchema=dataflow
       username: postgres
       password: postgres
       driverClassName: org.postgresql.Driver
       maximumPoolSize: 10
   crss-main:
     datasource:
-      jdbcUrl: jdbc:postgresql://localhost:5432/stl_crss_meterprocess
+      jdbcUrl: jdbc:postgresql://localhost:5432/crss?currentSchema=meterprocess
       username: postgres
       password: postgres
       driverClassName: org.postgresql.Driver

+ 5 - 5
crss-settlement-task-validation/crss-settlement-task-validation-dev.yml

@@ -1,7 +1,7 @@
 spring:
   crss-stl:
     datasource:
-      jdbcUrl: jdbc:postgresql://localhost:5432/crss_settlement
+      jdbcUrl: jdbc:postgresql://localhost:5432/crss?currentSchema=settlement
       username: postgres
       password: postgres
       driverClassName: org.postgresql.Driver
@@ -18,7 +18,7 @@ spring:
       validation-query: SELECT 1
   crss-main:
     datasource:
-      jdbcUrl: jdbc:postgresql://localhost:5432/stl_crss_meterprocess
+      jdbcUrl: jdbc:postgresql://localhost:5432/crss?currentSchema=meterprocess
       username: postgres
       password: postgres
       driverClassName: org.postgresql.Driver
@@ -26,7 +26,7 @@ spring:
       maxPoolSize: 20
   crss-metering:
     datasource:
-      jdbcUrl: jdbc:postgresql://localhost:5432/stl_crss_metering
+      jdbcUrl: jdbc:postgresql://localhost:5432/crss?currentSchema=metering
       username: postgres
       password: postgres
       driverClassName: org.postgresql.Driver
@@ -34,7 +34,7 @@ spring:
       maxPoolSize: 20
   crss-nmms:
     datasource:
-      jdbcUrl: jdbc:postgresql://localhost:5432/stl_crss_nmms
+      jdbcUrl: jdbc:postgresql://localhost:5432/crss?currentSchema=nmms
       username: postgres
       password: postgres
       driverClassName: org.postgresql.Driver
@@ -42,7 +42,7 @@ spring:
       maxPoolSize: 20
   crss-dataflow:
     datasource:
-      jdbcUrl: jdbc:postgresql://localhost:5432/crss_dataflow
+      jdbcUrl: jdbc:postgresql://localhost:5432/crss?currentSchema=dataflow
       username: postgres
       password: postgres
       driverClassName: org.postgresql.Driver

+ 2 - 2
crss-uaa/crss-uaa-dev.yml

@@ -1,8 +1,8 @@
 spring:
   datasource:
     url: jdbc:postgresql://localhost:5432/crss?currentSchema=admin
-    username: crss_admin
-    password: CrssAdmin
+    username: postgres
+    password: postgres
   profiles:
     include: embedded-ldap
   jpa:

+ 3 - 3
crss-worklist-app/crss-worklist-app-dev.yml

@@ -1,7 +1,7 @@
 spring:
   crss-worklist:
     datasource:
-      jdbcUrl: jdbc:postgresql://localhost:5432/crss_worklist
+      jdbcUrl: jdbc:postgresql://localhost:5432/crss?currentSchema=worklist
       username: postgres
       password: postgres
       driverClassName: org.postgresql.Driver
@@ -9,13 +9,13 @@ spring:
       maximumPoolSize: 5
   crss-stl:
     datasource:
-      jdbcUrl: jdbc:postgresql://localhost:5432/crss_settlement
+      jdbcUrl: jdbc:postgresql://localhost:5432/crss?currentSchema=settlement
       username: postgres
       password: postgres
       driverClassName: org.postgresql.Driver
   crss-main:
     datasource:
-      jdbcUrl: jdbc:postgresql://localhost:5432/crss_meterprocess
+      jdbcUrl: jdbc:postgresql://localhost:5432/crss?currentSchema=meterprocess
       username: postgres
       password: postgres
       driverClassName: org.postgresql.Driver