소스 검색

Remove crss-reg ds duplicate config

Monte Cillo Co 8 년 전
부모
커밋
821d802789
5개의 변경된 파일5개의 추가작업 그리고 42개의 파일을 삭제
  1. 1 12
      crss-reg/crss-reg-dcos.yml
  2. 1 12
      crss-reg/crss-reg-dev.yml
  3. 0 6
      crss-reg/crss-reg-staging.yml
  4. 2 8
      crss-reg/crss-reg-uat.yml
  5. 1 4
      crss-reg/crss-reg.yml

+ 1 - 12
crss-reg/crss-reg-dcos.yml

@@ -1,20 +1,9 @@
 spring:
   datasource:
-    platform: postgres
     url: jdbc:postgresql://postgresql.marathon.l4lb.thisdcos.directory:5432/crss_registration
     username: crss_reg
     password: crss_reg
-    driverClassName: org.postgresql.Driver
-  jpa:
-    database: POSTGRESQL
-    show-sql: false
-    properties:
-      hibernate:
-        dialect: org.hibernate.dialect.PostgreSQL94Dialect
-   #we dont need spring mvc here
-  freemarker:
-    enabled: false
-    template-loader-path: classpath:/mail/templates
+
 crss:
   docmgt:
     root-dir: /crss/docmgt

+ 1 - 12
crss-reg/crss-reg-dev.yml

@@ -1,20 +1,9 @@
 spring:
   datasource:
-    platform: postgres
     url: jdbc:postgresql://localhost:5432/crss_reg
     username: crss_reg
     password: crss_reg
-    driverClassName: org.postgresql.Driver
-  jpa:
-    database: POSTGRESQL
-    show-sql: false
-    properties:
-      hibernate:
-        dialect: org.hibernate.dialect.PostgreSQL94Dialect
-   #we dont need spring mvc here
-  freemarker:
-    enabled: false
-    template-loader-path: classpath:/mail/templates
+
 server:
   port: 8081
 crss:

+ 0 - 6
crss-reg/crss-reg-staging.yml

@@ -3,15 +3,9 @@ spring:
     url: jdbc:postgresql://192.168.241.62:5432/crss_reg
     username: crss_reg
     password: crss_reg
-    driverClassName: org.postgresql.Driver
     hikari:
       connectionTimeout: 10000
       maximumPoolSize: 20
-  jpa:
-    database: POSTGRESQL
-    properties:
-      hibernate:
-        dialect: org.hibernate.dialect.PostgreSQL94Dialect
 
 crss:
   xdf:

+ 2 - 8
crss-reg/crss-reg-uat.yml

@@ -3,12 +3,6 @@ spring:
     url: jdbc:postgresql://192.168.235.6:5432/crss_reg
     username: crss_reg
     password: crss_reg
-    driverClassName: org.postgresql.Driver
-    hikari:
+|    hikari:
       connectionTimeout: 10000
-      maximumPoolSize: 20
-  jpa:
-    database: POSTGRESQL
-    properties:
-      hibernate:
-        dialect: org.hibernate.dialect.PostgreSQL94Dialect
+      maximumPoolSize: 20

+ 1 - 4
crss-reg/crss-reg.yml

@@ -2,12 +2,8 @@ spring:
   profiles.include: audit
 
   jpa:
-    database: ORACLE
-    show-sql: false
     properties:
-      jadira.usertype.autoRegisterUserTypes: true
       hibernate:
-        dialect: org.hibernate.dialect.Oracle10gDialect
         integration.envers.enabled: true
   http:
     multipart:
@@ -16,6 +12,7 @@ spring:
   resources:
     chain:
       gzipped: true
+
 crss:
   docmgt:
     root-dir: /crss/docmgt