浏览代码

update audit properties

jdogillo 8 年之前
父节点
当前提交
6868f34950

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

@@ -2,8 +2,8 @@ spring:
   crss-audit:
     datasource:
       jdbcUrl: jdbc:postgresql://192.168.233.9:5432/crss_audit
-      username: postgres
-      password: postgres
+      username: crss_audit
+      password: crss_audit
       driverClassName: org.postgresql.Driver
       maxPoolSize: 20
       connectionTimeout: 10000
@@ -14,9 +14,9 @@ spring:
     properties:
       hibernate:
         dialect: org.hibernate.dialect.PostgreSQLDialect
-        ddl-auto: update
+        ddl-auto: none
         hbm2ddl:
-          auto: update
+          auto: none
   redis:
     host: redis.marathon.l4lb.thisdcos.directory
     port: 6379

+ 2 - 2
crss-audit/application-pemc-uat.yml

@@ -14,9 +14,9 @@ spring:
     properties:
       hibernate:
         dialect: org.hibernate.dialect.PostgreSQLDialect
-        ddl-auto: update
+        ddl-auto: none
         hbm2ddl:
-          auto: update
+          auto: none
   redis:
     host: redis.marathon.l4lb.thisdcos.directory
     port: 6379

+ 2 - 2
crss-audit/application-pemc-uat2.yml

@@ -14,9 +14,9 @@ spring:
     properties:
       hibernate:
         dialect: org.hibernate.dialect.PostgreSQLDialect
-        ddl-auto: update
+        ddl-auto: none
         hbm2ddl:
-          auto: update
+          auto: none
   redis:
     host: redis.marathon.l4lb.thisdcos.directory
     port: 6379

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

@@ -14,9 +14,9 @@ spring:
     properties:
       hibernate:
         dialect: org.hibernate.dialect.PostgreSQLDialect
-        ddl-auto: update
+        ddl-auto: none
         hbm2ddl:
-          auto: update
+          auto: none
   redis:
     host: redis.marathon.l4lb.thisdcos.directory
     port: 6379

+ 5 - 2
crss-audit/application.yml

@@ -14,9 +14,12 @@ spring:
     properties:
       hibernate:
         dialect: org.hibernate.dialect.PostgreSQLDialect
-        ddl-auto: update
+        ddl-auto: none
         hbm2ddl:
-          auto: update
+          auto: none
+  redis:
+    host: localhost
+    port: 6379
 server:
   port: 9094
   undertow: