Browse Source

Change staging datasource to edb

Monte Cillo Co 8 years ago
parent
commit
72ab5b81b5

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

@@ -2,9 +2,9 @@ spring:
   profiles:
     include: ldap
   datasource:
-    url: jdbc:postgresql://192.168.241.62:5432/crss_admin
+    url: jdbc:edb://192.168.241.185:5433/crss?currentSchema=admin
     username: crss_admin
-    password: crss_admin
+    password: CrssAdmin
   mail:
     host: 192.168.241.62
     port: 3025

+ 9 - 12
crss-data/crss-data-staging.yml

@@ -1,10 +1,8 @@
 spring:
   datasource:
-    # TODO: Should be replaced with psql after UAT
-    url: jdbc:postgresql://192.168.241.62:5432/crss_data
-#    url: jdbc:oracle:thin:@192.168.241.62:1521:ORCL
-    username: crss_data
-    password: crss_data
+    url: jdbc:edb://192.168.241.185:5433/crss?currentSchema=dataextraction
+    username: crss_dataextraction
+    password: CrssDataExtraction
     hikari:
       connectionTimeout: 10000
       maximumPoolSize: 5
@@ -13,12 +11,11 @@ spring:
       maxLifetime: 600000 # 10 min
 
 crss:
-  # TODO: renaming of datasource name must also update the binding in data-extraction service and kettle files
   metadata:
     datasource:
-      url: jdbc:postgresql://192.168.241.62:5432/crss_data
-      username: crss_data
-      password: crss_data
+      url: jdbc:edb://192.168.241.185:5433/crss?currentSchema=dataextraction
+      username: crss_dataextraction
+      password: CrssDataExtraction
       hikari:
         connectionTimeout: 10000
         maximumPoolSize: 5
@@ -38,9 +35,9 @@ crss:
         minimumIdle: 2
   registration:
      datasource:
-       url: jdbc:postgresql://192.168.241.62:5432/crss_reg
-       username: crss_reg
-       password: crss_reg
+       url: jdbc:edb://192.168.241.185:5433/crss?currentSchema=registration
+       username: crss_registration
+       password: CrssRegistration
        hikari:
          connectionTimeout: 10000
          maximumPoolSize: 5

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

@@ -1,9 +1,9 @@
 spring:
   profiles.include: pg-query
   datasource:
-    url: jdbc:postgresql://192.168.241.62:5432/crss_metering
+    url: jdbc:edb://192.168.241.185:5433/crss?currentSchema=metering
     username: crss_metering
-    password: crss_metering
+    password: CrssMetering
     hikari:
       connectionTimeout: 10000
       maximumPoolSize: 20

+ 3 - 3
crss-reg/crss-reg-staging.yml

@@ -1,8 +1,8 @@
 spring:
   datasource:
-    url: jdbc:postgresql://192.168.241.62:5432/crss_reg
-    username: crss_reg
-    password: crss_reg
+    url: jdbc:edb://192.168.241.185:5433/crss?currentSchema=registration
+    username: crss_registration
+    password: CrssRegistration
     hikari:
       connectionTimeout: 10000
       maximumPoolSize: 20

+ 3 - 3
crss-sched/crss-sched-staging.yml

@@ -1,9 +1,9 @@
 spring:
   profiles.include: metronome
   datasource:
-    url: jdbc:postgresql://192.168.241.62:5432/crss_sched
-    username: crss_sched
-    password: crss_sched
+    url: jdbc:edb://192.168.241.185:5433/crss?currentSchema=scheduler
+    username: crss_scheduler
+    password: CrssScheduler
     hikari:
       connectionTimeout: 10000
       maximumPoolSize: 5