Browse Source

cleanup audit config

Jejomar Dimayuga 8 years ago
parent
commit
b967e6647d

+ 5 - 4
crss-audit/crss-audit-pemc-uat.yml → crss-audit/crss-audit-dev.yml

@@ -1,9 +1,10 @@
 spring:
   crss-audit:
     datasource:
-      jdbcUrl: jdbc:postgresql://10.176.23.24:5432/crss_audit
-  redis:
-    host: redis.marathon.l4lb.thisdcos.directory
+      jdbcUrl: jdbc:postgresql://192.168.233.9:5432/crss_audit
+      username: crss_audit
+      password: crss_audit
+      driverClassName: org.postgresql.Driver
 
 security:
   oauth2:
@@ -11,4 +12,4 @@ security:
       accessTokenUri: http://crssadmin-service.marathon.l4lb.thisdcos.directory:8080/oauth/access_token
       userAuthorizationUri: http://crssadmin-service.marathon.l4lb.thisdcos.directory:8080/oauth/authorize
     resource:
-      userInfoUri: http://crssadmin-service.marathon.l4lb.thisdcos.directory:8080/user
+      userInfoUri: http://crssadmin-service.marathon.l4lb.thisdcos.directory:8080/user

+ 4 - 5
crss-audit/crss-audit-dev2.yml

@@ -1,11 +1,10 @@
 spring:
   crss-audit:
     datasource:
-      jdbcUrl: jdbc:postgresql://192.168.233.9:5432/crss_audit
-      username: crss_audit
-      password: crss_audit
-  redis:
-    host: redis.marathon.l4lb.thisdcos.directory
+      jdbcUrl: jdbc:postgresql://localhost:5432/crss_audit
+      username: postgres
+      password: postgres
+      driverClassName: org.postgresql.Driver
 
 security:
   oauth2:

+ 2 - 3
crss-audit/crss-audit-pemc-uat-default.yml

@@ -4,11 +4,10 @@ spring:
       jdbcUrl: jdbc:postgresql://10.176.23.24:5432/crss_uat?currentSchema=audit
       username: crss_audit
       password: crss_audit
+      driverClassName: org.postgresql.Driver
       maxPoolSize: 5
   redis:
-    host: redis.marathon.l4lb.thisdcos.directory
-    database: 5
-
+      database: 5
 
 security:
   oauth2:

+ 1 - 2
crss-audit/crss-audit-pemc-uat-sit.yml

@@ -4,10 +4,9 @@ spring:
       jdbcUrl: jdbc:postgresql://10.176.23.24:5432/crss_sit?currentSchema=audit
       username: crss_audit
       password: crss_audit
+      driverClassName: org.postgresql.Driver
       maxPoolSize: 5
-
   redis:
-    host: redis.marathon.l4lb.thisdcos.directory
     database: 4
 
 

+ 0 - 14
crss-audit/crss-audit-pemc-uat2.yml

@@ -1,14 +0,0 @@
-spring:
-  crss-audit:
-    datasource:
-      jdbcUrl: jdbc:postgresql://10.176.23.24:5432/crss_audit
-  redis:
-    host: redis.marathon.l4lb.thisdcos.directory
-
-security:
-  oauth2:
-    client:
-      accessTokenUri: http://crssadmin-service.marathon.l4lb.thisdcos.directory:8080/oauth/access_token
-      userAuthorizationUri: http://crssadmin-service.marathon.l4lb.thisdcos.directory:8080/oauth/authorize
-    resource:
-      userInfoUri: http://crssadmin-service.marathon.l4lb.thisdcos.directory:8080/user

+ 1 - 2
crss-audit/crss-audit-qa.yml

@@ -4,8 +4,7 @@ spring:
       jdbcUrl: jdbc:postgresql://postgresql.marathon.l4lb.thisdcos.directory:5432/crss_audit
       username: admin
       password: password
-  redis:
-    host: redis.marathon.l4lb.thisdcos.directory
+      driverClassName: org.postgresql.Driver
 
 security:
   oauth2:

+ 0 - 1
crss-audit/crss-audit-top-sit.yml

@@ -4,7 +4,6 @@ spring:
       jdbcUrl: jdbc:edb://10.176.11.23:5432/crss_sit?currentSchema=audit
       username: crss_sit_audit
       password: ZP476xLC
-      driverClassName: com.edb.Driver
 
 security:
   oauth2:

+ 0 - 2
crss-audit/crss-audit-top.yml

@@ -4,8 +4,6 @@ spring:
       jdbcUrl: jdbc:edb://10.176.11.23:5432/crss?currentSchema=audit
       username: crss_audit
       password: S0CuFyj6
-  redis:
-    host: redis.marathon.l4lb.thisdcos.directory
 
 security:
   oauth2:

+ 1 - 7
crss-audit/crss-audit.yml

@@ -1,10 +1,6 @@
 spring:
   crss-audit:
     datasource:
-      jdbcUrl: jdbc:postgresql://localhost:5432/crss_audit
-      username: postgres
-      password: postgres
-      driverClassName: org.postgresql.Driver
       maxPoolSize: 2
       connectionTimeout: 10000
       test-on-borrow: true
@@ -17,9 +13,7 @@ spring:
         ddl-auto: none
         hbm2ddl:
           auto: none
-  redis:
-    host: localhost
-    port: 6379
+
 server:
   port: 9094
   undertow: