瀏覽代碼

Updated config for datainterface app in dev and azure

Francis Viernes 8 年之前
父節點
當前提交
24c5f4dc73

+ 1 - 1
crss-datainterface-app/crss-datainterface-app-azure.yml

@@ -6,4 +6,4 @@ spring:
       password: crss_nmms
 
 server:
-  port: 8082
+  port: 8084

+ 25 - 0
crss-datainterface-app/crss-datainterface-app-dev.yml

@@ -0,0 +1,25 @@
+spring:
+  crss-nmms:
+    datasource:
+      jdbcUrl: jdbc:postgresql://localhost:5432/crss?currentSchema=nmms
+      username: postgres
+      password: postgres
+      driverClassName: org.postgresql.Driver
+      connectionTimeout: 10000
+      maxPoolSize: 5
+  jpa:
+    show-sql: false
+    generate-ddl: true
+    properties:
+      hibernate:
+        dialect: org.hibernate.dialect.PostgreSQLDialect
+        ddl-auto: none
+        generate_statistics: true
+
+  # prevent batch job from running on app start
+  batch:
+    job:
+      enabled: false
+
+server:
+  port: 8084

+ 1 - 3
crss-datainterface-app/crss-datainterface-app.yml

@@ -1,9 +1,7 @@
 spring:
-  profiles:
-    include: client-sec
   crss-nmms:
     datasource:
-      jdbcUrl: jdbc:postgresql://localhost:5432/crss_nmms
+      jdbcUrl: jdbc:postgresql://localhost:5432/crss?currentSchema=nmms
       username: postgres
       password: postgres
       driverClassName: org.postgresql.Driver