瀏覽代碼

add meterprocess datasource config in st app

Adrian Viesca 7 年之前
父節點
當前提交
79d90a5161
共有 1 個文件被更改,包括 9 次插入0 次删除
  1. 9 0
      crss-settlement-app/crss-settlement-app-dev2.yml

+ 9 - 0
crss-settlement-app/crss-settlement-app-dev2.yml

@@ -11,6 +11,15 @@ spring:
       jdbcUrl: jdbc:postgresql://192.168.233.10:5432/crss?currentSchema=worklist
       username: crss_worklist
       password: crss_worklist
+  crss-main:
+    datasource:
+      jdbcUrl: jdbc:postgresql://192.168.233.10:5432/crss?currentSchema=meterprocess
+      username: crss_meterprocess
+      password: crss_meterprocess
+      driverClassName: org.postgresql.Driver
+      maximumPoolSize: 2
+      test-on-borrow: true
+      validation-query: SELECT 1
 
 server:
   port: 8082