Browse Source

Revert "Point staging profile database to another postgres service"

This reverts commit e94a175920363fc51890b1aa74131c22db60f107.
Monte Cillo Co 8 years ago
parent
commit
8bb96995f0

+ 8 - 7
crss-admin/crss-admin-staging.yml

@@ -1,18 +1,19 @@
 spring:
   profiles.include: ldap
+  jpa:
+    database: ORACLE
+    properties:
+      hibernate:
+        dialect: org.hibernate.dialect.Oracle10gDialect
   datasource:
-    url: jdbc:postgresql://crss_postgres:5432/crss_admin
+    platform: oracle
+    url: jdbc:oracle:thin:@192.168.241.62:1521:ORCL
     username: crss_admin
     password: crss_admin
-    driverClassName: org.postgresql.Driver
+    driverClassName: oracle.jdbc.OracleDriver
     hikari:
       connectionTimeout: 10000
       maximumPoolSize: 20
-  jpa:
-    database: POSTGRESQL
-    properties:
-      hibernate:
-        dialect: org.hibernate.dialect.PostgreSQL94Dialect
   mail:
     host: 192.168.241.61
     port: 3025

+ 1 - 1
crss-metering/application-staging.yml

@@ -1,7 +1,7 @@
 spring:
   profiles.include: pg-query
   datasource:
-    url: jdbc:postgresql://crss_postgres:5432/crss_metering
+    url: jdbc:postgresql://192.168.241.62:5432/crss_metering
     username: crss_metering
     password: crss_metering
     driverClassName: org.postgresql.Driver

+ 9 - 7
crss-reg/crss-reg-staging.yml

@@ -1,17 +1,19 @@
 spring:
+  jpa:
+    database: ORACLE
+    properties:
+      hibernate:
+        dialect: org.hibernate.dialect.Oracle10gDialect
   datasource:
-    url: jdbc:postgresql://crss_postgres:5432/crss_reg
+    platform: oracle
+    url: jdbc:oracle:thin:@192.168.241.62:1521:ORCL
     username: crss_reg
     password: crss_reg
-    driverClassName: org.postgresql.Driver
+    driverClassName: oracle.jdbc.OracleDriver
     hikari:
       connectionTimeout: 10000
       maximumPoolSize: 20
-  jpa:
-    database: POSTGRESQL
-    properties:
-      hibernate:
-        dialect: org.hibernate.dialect.PostgreSQL94Dialect
+
 app:
   xdf:
     client-type: sftp

+ 1 - 1
crss-sched/crss-sched.yml

@@ -23,7 +23,7 @@ server:
 spring:
   profiles: staging
   datasource:
-    url: jdbc:postgresql://crss_postgres:5432/crss_sched
+    url: jdbc:postgresql://192.168.241.62:5432/crss_sched
     username: crss_sched
     password: crss_sched
     driverClassName: org.postgresql.Driver