From 95f1a7591627ebd61d4537a7407754efb594a869 Mon Sep 17 00:00:00 2001 From: wangchao Date: Fri, 25 Sep 2020 11:17:36 +0800 Subject: [PATCH] =?UTF-8?q?data-stats=E6=9C=8D=E5=8A=A1=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E7=A7=AF=E5=88=86=E6=95=B0=E6=8D=AE=E6=BA=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../epmet/constant/DataSourceConstant.java | 1 + .../data-statistical-server/pom.xml | 24 +++++++++++++++++++ .../src/main/resources/bootstrap.yml | 5 ++++ 3 files changed, 30 insertions(+) diff --git a/epmet-module/data-statistical/data-statistical-client/src/main/java/com/epmet/constant/DataSourceConstant.java b/epmet-module/data-statistical/data-statistical-client/src/main/java/com/epmet/constant/DataSourceConstant.java index b20619837c..064104b9b2 100644 --- a/epmet-module/data-statistical/data-statistical-client/src/main/java/com/epmet/constant/DataSourceConstant.java +++ b/epmet-module/data-statistical/data-statistical-client/src/main/java/com/epmet/constant/DataSourceConstant.java @@ -14,4 +14,5 @@ public interface DataSourceConstant { String EVALUATION_INDEX = "evaluationIndex"; String PARTY_MEMBER = "partyMember"; String EPMET_HEART="epmetHeart"; + String EPMET_POINT = "epmetPoint"; } diff --git a/epmet-module/data-statistical/data-statistical-server/pom.xml b/epmet-module/data-statistical/data-statistical-server/pom.xml index 9c12e8d5e5..e40e69ed9f 100644 --- a/epmet-module/data-statistical/data-statistical-server/pom.xml +++ b/epmet-module/data-statistical/data-statistical-server/pom.xml @@ -216,6 +216,12 @@ epmet_heart_user EpmEt-db-UsEr + + + + epmet_point_user + EpmEt-db-UsEr + 0 192.168.1.130 @@ -326,6 +332,12 @@ epmet_heart_user EpmEt-db-UsEr + + + + epmet_point_user + EpmEt-db-UsEr + 0 192.168.1.130 @@ -436,6 +448,12 @@ epmet elink@833066 + + + + epmet + elink@833066 + 0 r-m5eoz5b6tkx09y6bpz.redis.rds.aliyuncs.com @@ -542,6 +560,12 @@ epmet_heart_user EpmEt-db-UsEr + + + + epmet_point_user + EpmEt-db-UsEr + 0 r-m5ez3n1j0qc3ykq2ut.redis.rds.aliyuncs.com diff --git a/epmet-module/data-statistical/data-statistical-server/src/main/resources/bootstrap.yml b/epmet-module/data-statistical/data-statistical-server/src/main/resources/bootstrap.yml index ccb02b714f..8f22922df8 100644 --- a/epmet-module/data-statistical/data-statistical-server/src/main/resources/bootstrap.yml +++ b/epmet-module/data-statistical/data-statistical-server/src/main/resources/bootstrap.yml @@ -180,6 +180,11 @@ dynamic: url: @datasource.druid.epmetHeart.url@ username: @datasource.druid.epmetHeart.username@ password: @datasource.druid.epmetHeart.password@ + epmetPoint: + driver-class-name: com.mysql.cj.jdbc.Driver + url: @datasource.druid.epmetPoint.url@ + username: @datasource.druid.epmetPoint.username@ + password: @datasource.druid.epmetPoint.password@ thread: # 线程池配置