Ver Fonte

add devlocal profile

Karen Kho há 8 anos atrás
pai
commit
45eb530553

+ 30 - 4
crss-settlement-task-invoice-generation/crss-settlement-task-invoice-generation-devlocal.yml

@@ -1,25 +1,51 @@
 spring:
   crss-stl:
     datasource:
+      jdbcUrl: jdbc:postgresql://localhost:5432/crss_settlement
+      username: postgres
+      password: postgres
+      driverClassName: org.postgresql.Driver
       maxPoolSize: 20
   crss-dataflow:
     datasource:
+      jdbcUrl: jdbc:postgresql://localhost:5432/crss_dataflow
+      username: postgres
+      password: postgres
+      driverClassName: org.postgresql.Driver
       maxPoolSize: 20
   # for removal after ITER 7 stl testing
   crss-meterprocess:
     datasource:
+      jdbcUrl: jdbc:postgresql://localhost:5432/stl_crss_meterprocess
+      username: postgres
+      password: postgres
+      driverClassName: org.postgresql.Driver
       connectionTimeout: 10000
       maxPoolSize: 20
   crss-main:
     datasource:
+      jdbcUrl: jdbc:postgresql://localhost:5432/crss_settlement
+      username: postgres
+      password: postgres
+      driverClassName: org.postgresql.Driver
       connectionTimeout: 10000
       maxPoolSize: 20
 
+  batch:
+    job:
+      enabled: true
+
   redis:
       host: localhost
       port: 6379
-
   jpa:
-    properties:
-      hibernate:
-        generate_statistics: false
+    show-sql: false
+    generate-ddl: false
+
+  cloud:
+    deployer:
+      local:
+        deleteFilesOnExit: false
+
+batch:
+  resourceLocation: "file:target/libs/crss-settlement-task-invoice-generation-2.0.0.RC6.jar"