From ef89f49ce09a16fd0c893cb22817ba6013056a3e Mon Sep 17 00:00:00 2001 From: litao Date: Tue, 27 Jun 2017 19:47:46 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E7=A7=A6=E7=9A=87=E5=B2=9B?= =?UTF-8?q?=20=E5=BE=B7=E5=B7=9E=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- regional-etl/src/main/resources/application-dz.yml | 14 ++++++++++++++ regional-etl/src/main/resources/application-qhd.yml | 14 ++++++++++++++ regional-etl/src/main/resources/application.properties | 2 +- 3 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 regional-etl/src/main/resources/application-dz.yml create mode 100644 regional-etl/src/main/resources/application-qhd.yml diff --git a/regional-etl/src/main/resources/application-dz.yml b/regional-etl/src/main/resources/application-dz.yml new file mode 100644 index 0000000..bcae619 --- /dev/null +++ b/regional-etl/src/main/resources/application-dz.yml @@ -0,0 +1,14 @@ +spring: + datasource: + url: jdbc:mysql://192.168.200.119:3306/platform?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8 + username: platform + password: platform123 + driver-class-name: com.mysql.jdbc.Driver + + data: + mongodb: + host: 192.168.200.119 + port: 27017 + database: platform + username: platform + password: platform123 diff --git a/regional-etl/src/main/resources/application-qhd.yml b/regional-etl/src/main/resources/application-qhd.yml new file mode 100644 index 0000000..eb49162 --- /dev/null +++ b/regional-etl/src/main/resources/application-qhd.yml @@ -0,0 +1,14 @@ +spring: + datasource: + url: jdbc:mysql://localhost:3306/platform_dev?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8 + username: root + password: + driver-class-name: com.mysql.jdbc.Driver + + data: + mongodb: + host: localhost + port: 27017 + database: platform + username: platform + password: platform123 diff --git a/regional-etl/src/main/resources/application.properties b/regional-etl/src/main/resources/application.properties index 28dd6a9..b780649 100644 --- a/regional-etl/src/main/resources/application.properties +++ b/regional-etl/src/main/resources/application.properties @@ -22,4 +22,4 @@ mybatis.typeAliasesPackage=com.lyms.etl.model mybatis.mapperLocations=classpath:mappers/*.xml #spring.profiles.active=prod, etl -spring.profiles.active=prod, patient \ No newline at end of file +spring.profiles.active=dz, patient \ No newline at end of file -- 1.8.3.1