From 945aa46d8ac4eba41bddc8a05300c2b03cd89f40 Mon Sep 17 00:00:00 2001 From: ye shuqiu Date: Sun, 25 Jun 2017 16:44:06 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=84=E4=B8=AA=E6=9C=8D=E5=8A=A1=E5=99=A8?= =?UTF-8?q?=E4=BB=8E127.0.0.1=E6=94=B9=E4=B8=BAdbserver=EF=BC=8Crdserver?= =?UTF-8?q?=EF=BC=8Czkserver=EF=BC=8Cmqserver?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 ++++ .../META-INF/spring/applicationContext-dubbo-consumer.xml | 2 +- .../META-INF/spring/applicationContext-dubbo-provider.xml | 2 +- .../main/resources/applicationContext-dubbo-consumer.xml | 2 +- .../src/main/resources/profiles/dev.properties | 2 +- .../src/main/resources/profiles/prod.properties | 2 +- .../src/main/resources/profiles/test.properties | 2 +- .../main/resources/applicationContext-dubbo-consumer.xml | 2 +- .../src/main/resources/profiles/dev.properties | 4 ++-- .../src/main/resources/profiles/prod.properties | 4 ++-- .../src/main/resources/profiles/test.properties | 4 ++-- .../zheng-cms-dao/src/main/resources/generator.properties | 2 +- .../main/resources/applicationContext-dubbo-consumer.xml | 2 +- .../src/main/resources/profiles/dev.properties | 2 +- .../src/main/resources/profiles/prod.properties | 2 +- .../src/main/resources/profiles/test.properties | 2 +- .../src/main/assembly/conf/dubbo.properties | 2 +- .../META-INF/spring/applicationContext-dubbo-provider.xml | 2 +- .../src/main/resources/profiles/dev.properties | 6 +++--- .../src/main/resources/profiles/prod.properties | 6 +++--- .../src/main/resources/profiles/test.properties | 6 +++--- .../main/resources/applicationContext-dubbo-consumer.xml | 2 +- .../main/resources/applicationContext-dubbo-consumer.xml | 2 +- .../src/main/resources/profiles/dev.properties | 4 ++-- .../src/main/resources/profiles/prod.properties | 4 ++-- .../src/main/resources/profiles/test.properties | 4 ++-- .../src/main/assembly/conf/dubbo.properties | 2 +- .../main/resources/applicationContext-dubbo-consumer.xml | 2 +- .../src/main/resources/profiles/dev.properties | 2 +- .../src/main/resources/profiles/prod.properties | 2 +- .../src/main/resources/profiles/test.properties | 2 +- .../zheng-pay-dao/src/main/resources/generator.properties | 2 +- .../src/main/assembly/conf/dubbo.properties | 2 +- .../META-INF/spring/applicationContext-dubbo-provider.xml | 2 +- .../src/main/resources/profiles/dev.properties | 6 +++--- .../src/main/resources/profiles/prod.properties | 6 +++--- .../src/main/resources/profiles/test.properties | 6 +++--- .../src/main/resources/generator.properties | 2 +- .../src/main/assembly/conf/dubbo.properties | 2 +- .../META-INF/spring/applicationContext-dubbo-provider.xml | 2 +- .../src/main/resources/profiles/dev.properties | 6 +++--- .../src/main/resources/profiles/prod.properties | 6 +++--- .../src/main/resources/profiles/test.properties | 6 +++--- .../main/resources/applicationContext-dubbo-consumer.xml | 2 +- .../zheng-upms-dao/src/main/resources/generator.properties | 2 +- .../src/main/assembly/conf/dubbo.properties | 2 +- .../META-INF/spring/applicationContext-dubbo-provider.xml | 2 +- .../src/main/resources/profiles/dev.properties | 6 +++--- .../src/main/resources/profiles/prod.properties | 6 +++--- .../src/main/resources/profiles/test.properties | 6 +++--- .../main/resources/applicationContext-dubbo-consumer.xml | 2 +- .../src/main/resources/profiles/dev.properties | 2 +- .../src/main/resources/profiles/prod.properties | 2 +- .../src/main/resources/profiles/test.properties | 2 +- .../zheng-wechat-mp-dao/src/main/resources/redis.properties | 2 +- 55 files changed, 88 insertions(+), 84 deletions(-) diff --git a/README.md b/README.md index 00578b55d..8c7914821 100644 --- a/README.md +++ b/README.md @@ -212,6 +212,10 @@ Spring+SpringMVC+Mybatis框架集成公共模块,包括公共配置、MybatisG - 127.0.0.1 api.zhangshuzheng.cn - 127.0.0.1 oss.zhangshuzheng.cn +- 127.0.0.1   zkserver +- 127.0.0.1   rdserver +- 127.0.0.1   dbserver +- 127.0.0.1   mqserver ### 编译流程 maven编译安装zheng/pom.xml文件即可 diff --git a/zheng-api/zheng-api-rpc-service/src/main/resources/META-INF/spring/applicationContext-dubbo-consumer.xml b/zheng-api/zheng-api-rpc-service/src/main/resources/META-INF/spring/applicationContext-dubbo-consumer.xml index 2a482df45..f734158b7 100644 --- a/zheng-api/zheng-api-rpc-service/src/main/resources/META-INF/spring/applicationContext-dubbo-consumer.xml +++ b/zheng-api/zheng-api-rpc-service/src/main/resources/META-INF/spring/applicationContext-dubbo-consumer.xml @@ -7,7 +7,7 @@ http://code.alibabatech.com/schema/dubbo http://code.alibabatech.com/schema/dubbo/dubbo.xsd "> - + diff --git a/zheng-api/zheng-api-rpc-service/src/main/resources/META-INF/spring/applicationContext-dubbo-provider.xml b/zheng-api/zheng-api-rpc-service/src/main/resources/META-INF/spring/applicationContext-dubbo-provider.xml index 57c727336..63582dab8 100644 --- a/zheng-api/zheng-api-rpc-service/src/main/resources/META-INF/spring/applicationContext-dubbo-provider.xml +++ b/zheng-api/zheng-api-rpc-service/src/main/resources/META-INF/spring/applicationContext-dubbo-provider.xml @@ -9,7 +9,7 @@ - + diff --git a/zheng-api/zheng-api-server/src/main/resources/applicationContext-dubbo-consumer.xml b/zheng-api/zheng-api-server/src/main/resources/applicationContext-dubbo-consumer.xml index 0f001457c..b719a22c3 100644 --- a/zheng-api/zheng-api-server/src/main/resources/applicationContext-dubbo-consumer.xml +++ b/zheng-api/zheng-api-server/src/main/resources/applicationContext-dubbo-consumer.xml @@ -9,7 +9,7 @@ - + diff --git a/zheng-api/zheng-api-server/src/main/resources/profiles/dev.properties b/zheng-api/zheng-api-server/src/main/resources/profiles/dev.properties index 08aae205b..dabce273d 100644 --- a/zheng-api/zheng-api-server/src/main/resources/profiles/dev.properties +++ b/zheng-api/zheng-api-server/src/main/resources/profiles/dev.properties @@ -2,7 +2,7 @@ app.name=zheng-api-server profile.env=dev ##### activeMq ##### -AvtiveMQ.brokerURL=failover:(tcp://127.0.0.1:61616?wireFormat.maxInactivityDuration=0) +AvtiveMQ.brokerURL=failover:(tcp://mqserver:61616?wireFormat.maxInactivityDuration=0) ##### zheng-admin ##### zheng.admin.version=1.0.0 diff --git a/zheng-api/zheng-api-server/src/main/resources/profiles/prod.properties b/zheng-api/zheng-api-server/src/main/resources/profiles/prod.properties index aed9b1a06..c2f11b962 100644 --- a/zheng-api/zheng-api-server/src/main/resources/profiles/prod.properties +++ b/zheng-api/zheng-api-server/src/main/resources/profiles/prod.properties @@ -2,7 +2,7 @@ app.name=zheng-api-server profile.env=prod ##### activeMq ##### -AvtiveMQ.brokerURL=failover:(tcp://127.0.0.1:61616?wireFormat.maxInactivityDuration=0) +AvtiveMQ.brokerURL=failover:(tcp://mqserver:61616?wireFormat.maxInactivityDuration=0) ##### zheng-admin ##### zheng.admin.version=1.0.0 diff --git a/zheng-api/zheng-api-server/src/main/resources/profiles/test.properties b/zheng-api/zheng-api-server/src/main/resources/profiles/test.properties index 112cede2e..2b7526094 100644 --- a/zheng-api/zheng-api-server/src/main/resources/profiles/test.properties +++ b/zheng-api/zheng-api-server/src/main/resources/profiles/test.properties @@ -2,7 +2,7 @@ app.name=zheng-api-server profile.env=test ##### activeMq ##### -AvtiveMQ.brokerURL=failover:(tcp://127.0.0.1:61616?wireFormat.maxInactivityDuration=0) +AvtiveMQ.brokerURL=failover:(tcp://mqserver:61616?wireFormat.maxInactivityDuration=0) ##### zheng-admin ##### zheng.admin.version=1.0.0 diff --git a/zheng-cms/zheng-cms-admin/src/main/resources/applicationContext-dubbo-consumer.xml b/zheng-cms/zheng-cms-admin/src/main/resources/applicationContext-dubbo-consumer.xml index 272685f11..448fae649 100644 --- a/zheng-cms/zheng-cms-admin/src/main/resources/applicationContext-dubbo-consumer.xml +++ b/zheng-cms/zheng-cms-admin/src/main/resources/applicationContext-dubbo-consumer.xml @@ -9,7 +9,7 @@ - + diff --git a/zheng-cms/zheng-cms-admin/src/main/resources/profiles/dev.properties b/zheng-cms/zheng-cms-admin/src/main/resources/profiles/dev.properties index 84c0f1a09..bba86adad 100644 --- a/zheng-cms/zheng-cms-admin/src/main/resources/profiles/dev.properties +++ b/zheng-cms/zheng-cms-admin/src/main/resources/profiles/dev.properties @@ -2,7 +2,7 @@ app.name=zheng-cms-admin profile.env=dev ##### redis ##### -master.redis.ip=127.0.0.1 +master.redis.ip=rdserver master.redis.port=6379 master.redis.password=FNFl9F2O2Skb8yoKM0jhHA== master.redis.max_active=500 @@ -11,7 +11,7 @@ master.redis.max_wait=10000 master.redis.timeout=10000 ##### activeMq ##### -AvtiveMQ.brokerURL=failover:(tcp://127.0.0.1:61616?wireFormat.maxInactivityDuration=0) +AvtiveMQ.brokerURL=failover:(tcp://mqserver:61616?wireFormat.maxInactivityDuration=0) ##### zheng-admin ##### zheng.admin.version=1.0.0 diff --git a/zheng-cms/zheng-cms-admin/src/main/resources/profiles/prod.properties b/zheng-cms/zheng-cms-admin/src/main/resources/profiles/prod.properties index 5f0000bd3..d403c93c8 100644 --- a/zheng-cms/zheng-cms-admin/src/main/resources/profiles/prod.properties +++ b/zheng-cms/zheng-cms-admin/src/main/resources/profiles/prod.properties @@ -2,7 +2,7 @@ app.name=zheng-cms-admin profile.env=prod ##### redis ##### -master.redis.ip=127.0.0.1 +master.redis.ip=rdserver master.redis.port=6379 master.redis.password=FNFl9F2O2Skb8yoKM0jhHA== master.redis.max_active=500 @@ -11,7 +11,7 @@ master.redis.max_wait=10000 master.redis.timeout=10000 ##### activeMq ##### -AvtiveMQ.brokerURL=failover:(tcp://127.0.0.1:61616?wireFormat.maxInactivityDuration=0) +AvtiveMQ.brokerURL=failover:(tcp://mqserver:61616?wireFormat.maxInactivityDuration=0) ##### zheng-admin ##### zheng.admin.version=1.0.0 diff --git a/zheng-cms/zheng-cms-admin/src/main/resources/profiles/test.properties b/zheng-cms/zheng-cms-admin/src/main/resources/profiles/test.properties index de8746959..64505dc7f 100644 --- a/zheng-cms/zheng-cms-admin/src/main/resources/profiles/test.properties +++ b/zheng-cms/zheng-cms-admin/src/main/resources/profiles/test.properties @@ -2,7 +2,7 @@ app.name=zheng-cms-admin profile.env=test ##### redis ##### -master.redis.ip=127.0.0.1 +master.redis.ip=rdserver master.redis.port=6379 master.redis.password=FNFl9F2O2Skb8yoKM0jhHA== master.redis.max_active=500 @@ -11,7 +11,7 @@ master.redis.max_wait=10000 master.redis.timeout=10000 ##### activeMq ##### -AvtiveMQ.brokerURL=failover:(tcp://127.0.0.1:61616?wireFormat.maxInactivityDuration=0) +AvtiveMQ.brokerURL=failover:(tcp://mqserver:61616?wireFormat.maxInactivityDuration=0) ##### zheng-admin ##### zheng.admin.version=1.0.0 diff --git a/zheng-cms/zheng-cms-dao/src/main/resources/generator.properties b/zheng-cms/zheng-cms-dao/src/main/resources/generator.properties index 2f171bc44..332846607 100644 --- a/zheng-cms/zheng-cms-dao/src/main/resources/generator.properties +++ b/zheng-cms/zheng-cms-dao/src/main/resources/generator.properties @@ -1,4 +1,4 @@ generator.jdbc.driver=com.mysql.jdbc.Driver -generator.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true +generator.jdbc.url=jdbc\:mysql\://dbserver\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true generator.jdbc.username=root generator.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g== \ No newline at end of file diff --git a/zheng-cms/zheng-cms-job/src/main/resources/applicationContext-dubbo-consumer.xml b/zheng-cms/zheng-cms-job/src/main/resources/applicationContext-dubbo-consumer.xml index bbf61d072..e7405117a 100644 --- a/zheng-cms/zheng-cms-job/src/main/resources/applicationContext-dubbo-consumer.xml +++ b/zheng-cms/zheng-cms-job/src/main/resources/applicationContext-dubbo-consumer.xml @@ -9,7 +9,7 @@ - + diff --git a/zheng-cms/zheng-cms-job/src/main/resources/profiles/dev.properties b/zheng-cms/zheng-cms-job/src/main/resources/profiles/dev.properties index 432345468..c58b03e3e 100644 --- a/zheng-cms/zheng-cms-job/src/main/resources/profiles/dev.properties +++ b/zheng-cms/zheng-cms-job/src/main/resources/profiles/dev.properties @@ -2,4 +2,4 @@ app.name=zheng-cms-job profile.env=dev ##### activeMq ##### -AvtiveMQ.brokerURL=failover:(tcp://127.0.0.1:61616?wireFormat.maxInactivityDuration=0) \ No newline at end of file +AvtiveMQ.brokerURL=failover:(tcp://mqserver:61616?wireFormat.maxInactivityDuration=0) \ No newline at end of file diff --git a/zheng-cms/zheng-cms-job/src/main/resources/profiles/prod.properties b/zheng-cms/zheng-cms-job/src/main/resources/profiles/prod.properties index 1bda9195c..269f779d2 100644 --- a/zheng-cms/zheng-cms-job/src/main/resources/profiles/prod.properties +++ b/zheng-cms/zheng-cms-job/src/main/resources/profiles/prod.properties @@ -2,4 +2,4 @@ app.name=zheng-cms-job profile.env=prod ##### activeMq ##### -AvtiveMQ.brokerURL=failover:(tcp://127.0.0.1:61616?wireFormat.maxInactivityDuration=0) \ No newline at end of file +AvtiveMQ.brokerURL=failover:(tcp://mqserver:61616?wireFormat.maxInactivityDuration=0) \ No newline at end of file diff --git a/zheng-cms/zheng-cms-job/src/main/resources/profiles/test.properties b/zheng-cms/zheng-cms-job/src/main/resources/profiles/test.properties index a66e5305f..3c33be9cd 100644 --- a/zheng-cms/zheng-cms-job/src/main/resources/profiles/test.properties +++ b/zheng-cms/zheng-cms-job/src/main/resources/profiles/test.properties @@ -2,4 +2,4 @@ app.name=zheng-cms-job profile.env=test ##### activeMq ##### -AvtiveMQ.brokerURL=failover:(tcp://127.0.0.1:61616?wireFormat.maxInactivityDuration=0) \ No newline at end of file +AvtiveMQ.brokerURL=failover:(tcp://mqserver:61616?wireFormat.maxInactivityDuration=0) \ No newline at end of file diff --git a/zheng-cms/zheng-cms-rpc-service/src/main/assembly/conf/dubbo.properties b/zheng-cms/zheng-cms-rpc-service/src/main/assembly/conf/dubbo.properties index 6553b51c1..cbb71ff8c 100644 --- a/zheng-cms/zheng-cms-rpc-service/src/main/assembly/conf/dubbo.properties +++ b/zheng-cms/zheng-cms-rpc-service/src/main/assembly/conf/dubbo.properties @@ -1,3 +1,3 @@ #dubbo.application.name=zheng-cms-rpc-service -#dubbo.registry.address=zookeeper://127.0.0.1:2181 +#dubbo.registry.address=zookeeper://zkserver:2181 #dubbo.protocol.port=20882 \ No newline at end of file diff --git a/zheng-cms/zheng-cms-rpc-service/src/main/resources/META-INF/spring/applicationContext-dubbo-provider.xml b/zheng-cms/zheng-cms-rpc-service/src/main/resources/META-INF/spring/applicationContext-dubbo-provider.xml index 989f2d375..f1bd6007d 100644 --- a/zheng-cms/zheng-cms-rpc-service/src/main/resources/META-INF/spring/applicationContext-dubbo-provider.xml +++ b/zheng-cms/zheng-cms-rpc-service/src/main/resources/META-INF/spring/applicationContext-dubbo-provider.xml @@ -9,7 +9,7 @@ - + diff --git a/zheng-cms/zheng-cms-rpc-service/src/main/resources/profiles/dev.properties b/zheng-cms/zheng-cms-rpc-service/src/main/resources/profiles/dev.properties index 082a90a89..65240b1f0 100644 --- a/zheng-cms/zheng-cms-rpc-service/src/main/resources/profiles/dev.properties +++ b/zheng-cms/zheng-cms-rpc-service/src/main/resources/profiles/dev.properties @@ -3,16 +3,16 @@ profile.env=dev ##### jdbc ##### datasource.master.jdbc.driver=com.mysql.jdbc.Driver -datasource.master.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true +datasource.master.jdbc.url=jdbc\:mysql\://dbserver\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true datasource.master.jdbc.username=root datasource.master.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g== datasource.slave.jdbc.driver=com.mysql.jdbc.Driver -datasource.slave.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true +datasource.slave.jdbc.url=jdbc\:mysql\://dbserver\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true datasource.slave.jdbc.username=root datasource.slave.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g== ##### redis ##### -master.redis.ip=127.0.0.1 +master.redis.ip=rdserver master.redis.port=6379 master.redis.password=FNFl9F2O2Skb8yoKM0jhHA== master.redis.max_active=500 diff --git a/zheng-cms/zheng-cms-rpc-service/src/main/resources/profiles/prod.properties b/zheng-cms/zheng-cms-rpc-service/src/main/resources/profiles/prod.properties index 6b42bc81c..51fc9aa06 100644 --- a/zheng-cms/zheng-cms-rpc-service/src/main/resources/profiles/prod.properties +++ b/zheng-cms/zheng-cms-rpc-service/src/main/resources/profiles/prod.properties @@ -3,16 +3,16 @@ profile.env=prod ##### jdbc ##### datasource.master.jdbc.driver=com.mysql.jdbc.Driver -datasource.master.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true +datasource.master.jdbc.url=jdbc\:mysql\://dbserver\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true datasource.master.jdbc.username=root datasource.master.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g== datasource.slave.jdbc.driver=com.mysql.jdbc.Driver -datasource.slave.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true +datasource.slave.jdbc.url=jdbc\:mysql\://dbserver\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true datasource.slave.jdbc.username=root datasource.slave.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g== ##### redis ##### -master.redis.ip=127.0.0.1 +master.redis.ip=rdserver master.redis.port=6379 master.redis.password=FNFl9F2O2Skb8yoKM0jhHA== master.redis.max_active=500 diff --git a/zheng-cms/zheng-cms-rpc-service/src/main/resources/profiles/test.properties b/zheng-cms/zheng-cms-rpc-service/src/main/resources/profiles/test.properties index 8dd489bc3..6610ecbd5 100644 --- a/zheng-cms/zheng-cms-rpc-service/src/main/resources/profiles/test.properties +++ b/zheng-cms/zheng-cms-rpc-service/src/main/resources/profiles/test.properties @@ -3,16 +3,16 @@ profile.env=test ##### jdbc ##### datasource.master.jdbc.driver=com.mysql.jdbc.Driver -datasource.master.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true +datasource.master.jdbc.url=jdbc\:mysql\://dbserver\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true datasource.master.jdbc.username=root datasource.master.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g== datasource.slave.jdbc.driver=com.mysql.jdbc.Driver -datasource.slave.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true +datasource.slave.jdbc.url=jdbc\:mysql\://dbserver\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true datasource.slave.jdbc.username=root datasource.slave.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g== ##### redis ##### -master.redis.ip=127.0.0.1 +master.redis.ip=rdserver master.redis.port=6379 master.redis.password=FNFl9F2O2Skb8yoKM0jhHA== master.redis.max_active=500 diff --git a/zheng-cms/zheng-cms-search/src/main/resources/applicationContext-dubbo-consumer.xml b/zheng-cms/zheng-cms-search/src/main/resources/applicationContext-dubbo-consumer.xml index 247bf96bc..72d4a1086 100644 --- a/zheng-cms/zheng-cms-search/src/main/resources/applicationContext-dubbo-consumer.xml +++ b/zheng-cms/zheng-cms-search/src/main/resources/applicationContext-dubbo-consumer.xml @@ -9,7 +9,7 @@ - + diff --git a/zheng-cms/zheng-cms-web/src/main/resources/applicationContext-dubbo-consumer.xml b/zheng-cms/zheng-cms-web/src/main/resources/applicationContext-dubbo-consumer.xml index 55274a60d..d9e9ee2ec 100644 --- a/zheng-cms/zheng-cms-web/src/main/resources/applicationContext-dubbo-consumer.xml +++ b/zheng-cms/zheng-cms-web/src/main/resources/applicationContext-dubbo-consumer.xml @@ -9,7 +9,7 @@ - + diff --git a/zheng-cms/zheng-cms-web/src/main/resources/profiles/dev.properties b/zheng-cms/zheng-cms-web/src/main/resources/profiles/dev.properties index 713dec81b..40e9fec45 100644 --- a/zheng-cms/zheng-cms-web/src/main/resources/profiles/dev.properties +++ b/zheng-cms/zheng-cms-web/src/main/resources/profiles/dev.properties @@ -3,7 +3,7 @@ profile.env=dev zheng.ui.path=http://ui.zhangshuzheng.cn:1000/ ##### redis ##### -master.redis.ip=127.0.0.1 +master.redis.ip=rdserver master.redis.port=6379 master.redis.password=FNFl9F2O2Skb8yoKM0jhHA== master.redis.max_active=500 @@ -12,4 +12,4 @@ master.redis.max_wait=10000 master.redis.timeout=10000 ##### activeMq ##### -AvtiveMQ.brokerURL=failover:(tcp://127.0.0.1:61616?wireFormat.maxInactivityDuration=0) \ No newline at end of file +AvtiveMQ.brokerURL=failover:(tcp://mqserver:61616?wireFormat.maxInactivityDuration=0) \ No newline at end of file diff --git a/zheng-cms/zheng-cms-web/src/main/resources/profiles/prod.properties b/zheng-cms/zheng-cms-web/src/main/resources/profiles/prod.properties index 5390a8232..8c0262d1e 100644 --- a/zheng-cms/zheng-cms-web/src/main/resources/profiles/prod.properties +++ b/zheng-cms/zheng-cms-web/src/main/resources/profiles/prod.properties @@ -3,7 +3,7 @@ profile.env=prod zheng.ui.path=http://ui.zhangshuzheng.cn:1000/ ##### redis ##### -master.redis.ip=127.0.0.1 +master.redis.ip=rdserver master.redis.port=6379 master.redis.password=FNFl9F2O2Skb8yoKM0jhHA== master.redis.max_active=500 @@ -12,4 +12,4 @@ master.redis.max_wait=10000 master.redis.timeout=10000 ##### activeMq ##### -AvtiveMQ.brokerURL=failover:(tcp://127.0.0.1:61616?wireFormat.maxInactivityDuration=0) \ No newline at end of file +AvtiveMQ.brokerURL=failover:(tcp://mqserver:61616?wireFormat.maxInactivityDuration=0) \ No newline at end of file diff --git a/zheng-cms/zheng-cms-web/src/main/resources/profiles/test.properties b/zheng-cms/zheng-cms-web/src/main/resources/profiles/test.properties index 16f7332e3..30c0f3593 100644 --- a/zheng-cms/zheng-cms-web/src/main/resources/profiles/test.properties +++ b/zheng-cms/zheng-cms-web/src/main/resources/profiles/test.properties @@ -3,7 +3,7 @@ profile.env=test zheng.ui.path=http://ui.zhangshuzheng.cn:1000/ ##### redis ##### -master.redis.ip=127.0.0.1 +master.redis.ip=rdserver master.redis.port=6379 master.redis.password=FNFl9F2O2Skb8yoKM0jhHA== master.redis.max_active=500 @@ -12,4 +12,4 @@ master.redis.max_wait=10000 master.redis.timeout=10000 ##### activeMq ##### -AvtiveMQ.brokerURL=failover:(tcp://127.0.0.1:61616?wireFormat.maxInactivityDuration=0) \ No newline at end of file +AvtiveMQ.brokerURL=failover:(tcp://mqserver:61616?wireFormat.maxInactivityDuration=0) \ No newline at end of file diff --git a/zheng-demo/zheng-demo-rpc-service/src/main/assembly/conf/dubbo.properties b/zheng-demo/zheng-demo-rpc-service/src/main/assembly/conf/dubbo.properties index 34d80af52..b8984b0c3 100644 --- a/zheng-demo/zheng-demo-rpc-service/src/main/assembly/conf/dubbo.properties +++ b/zheng-demo/zheng-demo-rpc-service/src/main/assembly/conf/dubbo.properties @@ -1,3 +1,3 @@ #dubbo.application.name=zheng-pay-rpc-service -#dubbo.registry.address=zookeeper://127.0.0.1:2181 +#dubbo.registry.address=zookeeper://zkserver:2181 #dubbo.protocol.port=20883 \ No newline at end of file diff --git a/zheng-demo/zheng-demo-web/src/main/resources/applicationContext-dubbo-consumer.xml b/zheng-demo/zheng-demo-web/src/main/resources/applicationContext-dubbo-consumer.xml index f70dce3dc..3026d38a2 100644 --- a/zheng-demo/zheng-demo-web/src/main/resources/applicationContext-dubbo-consumer.xml +++ b/zheng-demo/zheng-demo-web/src/main/resources/applicationContext-dubbo-consumer.xml @@ -9,7 +9,7 @@ - + diff --git a/zheng-oss/zheng-oss-admin/src/main/resources/profiles/dev.properties b/zheng-oss/zheng-oss-admin/src/main/resources/profiles/dev.properties index f0e8c27f3..c5eb7929a 100644 --- a/zheng-oss/zheng-oss-admin/src/main/resources/profiles/dev.properties +++ b/zheng-oss/zheng-oss-admin/src/main/resources/profiles/dev.properties @@ -3,7 +3,7 @@ profile.env=dev zheng.admin.version=1.0.0 ##### redis ##### -master.redis.ip=127.0.0.1 +master.redis.ip=rdserver master.redis.port=6379 master.redis.password=FNFl9F2O2Skb8yoKM0jhHA== master.redis.max_active=500 diff --git a/zheng-oss/zheng-oss-admin/src/main/resources/profiles/prod.properties b/zheng-oss/zheng-oss-admin/src/main/resources/profiles/prod.properties index 50c091a44..08c412ecf 100644 --- a/zheng-oss/zheng-oss-admin/src/main/resources/profiles/prod.properties +++ b/zheng-oss/zheng-oss-admin/src/main/resources/profiles/prod.properties @@ -3,7 +3,7 @@ profile.env=prod zheng.admin.version=1.0.0 ##### redis ##### -master.redis.ip=127.0.0.1 +master.redis.ip=rdserver master.redis.port=6379 master.redis.password=FNFl9F2O2Skb8yoKM0jhHA== master.redis.max_active=500 diff --git a/zheng-oss/zheng-oss-admin/src/main/resources/profiles/test.properties b/zheng-oss/zheng-oss-admin/src/main/resources/profiles/test.properties index 9c3be7cff..867172651 100644 --- a/zheng-oss/zheng-oss-admin/src/main/resources/profiles/test.properties +++ b/zheng-oss/zheng-oss-admin/src/main/resources/profiles/test.properties @@ -3,7 +3,7 @@ profile.env=test zheng.admin.version=1.0.0 ##### redis ##### -master.redis.ip=127.0.0.1 +master.redis.ip=rdserver master.redis.port=6379 master.redis.password=FNFl9F2O2Skb8yoKM0jhHA== master.redis.max_active=500 diff --git a/zheng-pay/zheng-pay-dao/src/main/resources/generator.properties b/zheng-pay/zheng-pay-dao/src/main/resources/generator.properties index 2f171bc44..332846607 100644 --- a/zheng-pay/zheng-pay-dao/src/main/resources/generator.properties +++ b/zheng-pay/zheng-pay-dao/src/main/resources/generator.properties @@ -1,4 +1,4 @@ generator.jdbc.driver=com.mysql.jdbc.Driver -generator.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true +generator.jdbc.url=jdbc\:mysql\://dbserver\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true generator.jdbc.username=root generator.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g== \ No newline at end of file diff --git a/zheng-pay/zheng-pay-rpc-service/src/main/assembly/conf/dubbo.properties b/zheng-pay/zheng-pay-rpc-service/src/main/assembly/conf/dubbo.properties index 34d80af52..b8984b0c3 100644 --- a/zheng-pay/zheng-pay-rpc-service/src/main/assembly/conf/dubbo.properties +++ b/zheng-pay/zheng-pay-rpc-service/src/main/assembly/conf/dubbo.properties @@ -1,3 +1,3 @@ #dubbo.application.name=zheng-pay-rpc-service -#dubbo.registry.address=zookeeper://127.0.0.1:2181 +#dubbo.registry.address=zookeeper://zkserver:2181 #dubbo.protocol.port=20883 \ No newline at end of file diff --git a/zheng-pay/zheng-pay-rpc-service/src/main/resources/META-INF/spring/applicationContext-dubbo-provider.xml b/zheng-pay/zheng-pay-rpc-service/src/main/resources/META-INF/spring/applicationContext-dubbo-provider.xml index 6d82c63c1..b44fb21af 100644 --- a/zheng-pay/zheng-pay-rpc-service/src/main/resources/META-INF/spring/applicationContext-dubbo-provider.xml +++ b/zheng-pay/zheng-pay-rpc-service/src/main/resources/META-INF/spring/applicationContext-dubbo-provider.xml @@ -9,7 +9,7 @@ - + diff --git a/zheng-pay/zheng-pay-rpc-service/src/main/resources/profiles/dev.properties b/zheng-pay/zheng-pay-rpc-service/src/main/resources/profiles/dev.properties index 8ed52a373..a915221e4 100644 --- a/zheng-pay/zheng-pay-rpc-service/src/main/resources/profiles/dev.properties +++ b/zheng-pay/zheng-pay-rpc-service/src/main/resources/profiles/dev.properties @@ -3,16 +3,16 @@ profile.env=dev ##### jdbc ##### datasource.master.jdbc.driver=com.mysql.jdbc.Driver -datasource.master.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true +datasource.master.jdbc.url=jdbc\:mysql\://dbserver\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true datasource.master.jdbc.username=root datasource.master.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g== datasource.slave.jdbc.driver=com.mysql.jdbc.Driver -datasource.slave.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true +datasource.slave.jdbc.url=jdbc\:mysql\://dbserver\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true datasource.slave.jdbc.username=root datasource.slave.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g== ##### redis ##### -master.redis.ip=127.0.0.1 +master.redis.ip=rdserver master.redis.port=6379 master.redis.password=FNFl9F2O2Skb8yoKM0jhHA== master.redis.max_active=500 diff --git a/zheng-pay/zheng-pay-rpc-service/src/main/resources/profiles/prod.properties b/zheng-pay/zheng-pay-rpc-service/src/main/resources/profiles/prod.properties index 745533234..4f9b509d6 100644 --- a/zheng-pay/zheng-pay-rpc-service/src/main/resources/profiles/prod.properties +++ b/zheng-pay/zheng-pay-rpc-service/src/main/resources/profiles/prod.properties @@ -3,16 +3,16 @@ profile.env=prod ##### jdbc ##### datasource.master.jdbc.driver=com.mysql.jdbc.Driver -datasource.master.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true +datasource.master.jdbc.url=jdbc\:mysql\://dbserver\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true datasource.master.jdbc.username=root datasource.master.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g== datasource.slave.jdbc.driver=com.mysql.jdbc.Driver -datasource.slave.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true +datasource.slave.jdbc.url=jdbc\:mysql\://dbserver\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true datasource.slave.jdbc.username=root datasource.slave.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g== ##### redis ##### -master.redis.ip=127.0.0.1 +master.redis.ip=rdserver master.redis.port=6379 master.redis.password=FNFl9F2O2Skb8yoKM0jhHA== master.redis.max_active=500 diff --git a/zheng-pay/zheng-pay-rpc-service/src/main/resources/profiles/test.properties b/zheng-pay/zheng-pay-rpc-service/src/main/resources/profiles/test.properties index acafc4b92..33342e321 100644 --- a/zheng-pay/zheng-pay-rpc-service/src/main/resources/profiles/test.properties +++ b/zheng-pay/zheng-pay-rpc-service/src/main/resources/profiles/test.properties @@ -3,16 +3,16 @@ profile.env=test ##### jdbc ##### datasource.master.jdbc.driver=com.mysql.jdbc.Driver -datasource.master.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true +datasource.master.jdbc.url=jdbc\:mysql\://dbserver\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true datasource.master.jdbc.username=root datasource.master.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g== datasource.slave.jdbc.driver=com.mysql.jdbc.Driver -datasource.slave.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true +datasource.slave.jdbc.url=jdbc\:mysql\://dbserver\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true datasource.slave.jdbc.username=root datasource.slave.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g== ##### redis ##### -master.redis.ip=127.0.0.1 +master.redis.ip=rdserver master.redis.port=6379 master.redis.password=FNFl9F2O2Skb8yoKM0jhHA== master.redis.max_active=500 diff --git a/zheng-ucenter/zheng-ucenter-dao/src/main/resources/generator.properties b/zheng-ucenter/zheng-ucenter-dao/src/main/resources/generator.properties index 2f171bc44..332846607 100644 --- a/zheng-ucenter/zheng-ucenter-dao/src/main/resources/generator.properties +++ b/zheng-ucenter/zheng-ucenter-dao/src/main/resources/generator.properties @@ -1,4 +1,4 @@ generator.jdbc.driver=com.mysql.jdbc.Driver -generator.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true +generator.jdbc.url=jdbc\:mysql\://dbserver\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true generator.jdbc.username=root generator.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g== \ No newline at end of file diff --git a/zheng-ucenter/zheng-ucenter-rpc-service/src/main/assembly/conf/dubbo.properties b/zheng-ucenter/zheng-ucenter-rpc-service/src/main/assembly/conf/dubbo.properties index 7c6ed723a..b3a2f30af 100644 --- a/zheng-ucenter/zheng-ucenter-rpc-service/src/main/assembly/conf/dubbo.properties +++ b/zheng-ucenter/zheng-ucenter-rpc-service/src/main/assembly/conf/dubbo.properties @@ -1,3 +1,3 @@ #dubbo.application.name=zheng-ucenter-rpc-service -#dubbo.registry.address=zookeeper://127.0.0.1:2181 +#dubbo.registry.address=zookeeper://zkserver:2181 #dubbo.protocol.port=20884 \ No newline at end of file diff --git a/zheng-ucenter/zheng-ucenter-rpc-service/src/main/resources/META-INF/spring/applicationContext-dubbo-provider.xml b/zheng-ucenter/zheng-ucenter-rpc-service/src/main/resources/META-INF/spring/applicationContext-dubbo-provider.xml index 9b6d4ea20..06a237793 100644 --- a/zheng-ucenter/zheng-ucenter-rpc-service/src/main/resources/META-INF/spring/applicationContext-dubbo-provider.xml +++ b/zheng-ucenter/zheng-ucenter-rpc-service/src/main/resources/META-INF/spring/applicationContext-dubbo-provider.xml @@ -9,7 +9,7 @@ - + diff --git a/zheng-ucenter/zheng-ucenter-rpc-service/src/main/resources/profiles/dev.properties b/zheng-ucenter/zheng-ucenter-rpc-service/src/main/resources/profiles/dev.properties index 07740c637..438460adf 100644 --- a/zheng-ucenter/zheng-ucenter-rpc-service/src/main/resources/profiles/dev.properties +++ b/zheng-ucenter/zheng-ucenter-rpc-service/src/main/resources/profiles/dev.properties @@ -3,16 +3,16 @@ profile.env=dev ##### jdbc ##### datasource.master.jdbc.driver=com.mysql.jdbc.Driver -datasource.master.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true +datasource.master.jdbc.url=jdbc\:mysql\://dbserver\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true datasource.master.jdbc.username=root datasource.master.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g== datasource.slave.jdbc.driver=com.mysql.jdbc.Driver -datasource.slave.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true +datasource.slave.jdbc.url=jdbc\:mysql\://dbserver\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true datasource.slave.jdbc.username=root datasource.slave.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g== ##### redis ##### -master.redis.ip=127.0.0.1 +master.redis.ip=rdserver master.redis.port=6379 master.redis.password=FNFl9F2O2Skb8yoKM0jhHA== master.redis.max_active=500 diff --git a/zheng-ucenter/zheng-ucenter-rpc-service/src/main/resources/profiles/prod.properties b/zheng-ucenter/zheng-ucenter-rpc-service/src/main/resources/profiles/prod.properties index 806699e13..579c0b61a 100644 --- a/zheng-ucenter/zheng-ucenter-rpc-service/src/main/resources/profiles/prod.properties +++ b/zheng-ucenter/zheng-ucenter-rpc-service/src/main/resources/profiles/prod.properties @@ -3,16 +3,16 @@ profile.env=prod ##### jdbc ##### datasource.master.jdbc.driver=com.mysql.jdbc.Driver -datasource.master.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true +datasource.master.jdbc.url=jdbc\:mysql\://dbserver\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true datasource.master.jdbc.username=root datasource.master.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g== datasource.slave.jdbc.driver=com.mysql.jdbc.Driver -datasource.slave.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true +datasource.slave.jdbc.url=jdbc\:mysql\://dbserver\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true datasource.slave.jdbc.username=root datasource.slave.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g== ##### redis ##### -master.redis.ip=127.0.0.1 +master.redis.ip=rdserver master.redis.port=6379 master.redis.password=FNFl9F2O2Skb8yoKM0jhHA== master.redis.max_active=500 diff --git a/zheng-ucenter/zheng-ucenter-rpc-service/src/main/resources/profiles/test.properties b/zheng-ucenter/zheng-ucenter-rpc-service/src/main/resources/profiles/test.properties index 19bfdc66a..5fd86eca0 100644 --- a/zheng-ucenter/zheng-ucenter-rpc-service/src/main/resources/profiles/test.properties +++ b/zheng-ucenter/zheng-ucenter-rpc-service/src/main/resources/profiles/test.properties @@ -3,16 +3,16 @@ profile.env=test ##### jdbc ##### datasource.master.jdbc.driver=com.mysql.jdbc.Driver -datasource.master.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true +datasource.master.jdbc.url=jdbc\:mysql\://dbserver\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true datasource.master.jdbc.username=root datasource.master.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g== datasource.slave.jdbc.driver=com.mysql.jdbc.Driver -datasource.slave.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true +datasource.slave.jdbc.url=jdbc\:mysql\://dbserver\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true datasource.slave.jdbc.username=root datasource.slave.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g== ##### redis ##### -master.redis.ip=127.0.0.1 +master.redis.ip=rdserver master.redis.port=6379 master.redis.password=FNFl9F2O2Skb8yoKM0jhHA== master.redis.max_active=500 diff --git a/zheng-ucenter/zheng-ucenter-web/src/main/resources/applicationContext-dubbo-consumer.xml b/zheng-ucenter/zheng-ucenter-web/src/main/resources/applicationContext-dubbo-consumer.xml index 2b6b0d14e..f9a53668e 100644 --- a/zheng-ucenter/zheng-ucenter-web/src/main/resources/applicationContext-dubbo-consumer.xml +++ b/zheng-ucenter/zheng-ucenter-web/src/main/resources/applicationContext-dubbo-consumer.xml @@ -9,7 +9,7 @@ - + diff --git a/zheng-upms/zheng-upms-dao/src/main/resources/generator.properties b/zheng-upms/zheng-upms-dao/src/main/resources/generator.properties index 2f171bc44..332846607 100644 --- a/zheng-upms/zheng-upms-dao/src/main/resources/generator.properties +++ b/zheng-upms/zheng-upms-dao/src/main/resources/generator.properties @@ -1,4 +1,4 @@ generator.jdbc.driver=com.mysql.jdbc.Driver -generator.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true +generator.jdbc.url=jdbc\:mysql\://dbserver\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true generator.jdbc.username=root generator.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g== \ No newline at end of file diff --git a/zheng-upms/zheng-upms-rpc-service/src/main/assembly/conf/dubbo.properties b/zheng-upms/zheng-upms-rpc-service/src/main/assembly/conf/dubbo.properties index c26ef3a71..0b4761ef0 100644 --- a/zheng-upms/zheng-upms-rpc-service/src/main/assembly/conf/dubbo.properties +++ b/zheng-upms/zheng-upms-rpc-service/src/main/assembly/conf/dubbo.properties @@ -1,3 +1,3 @@ #dubbo.application.name=zheng-upms-rpc-service -#dubbo.registry.address=zookeeper://127.0.0.1:2181 +#dubbo.registry.address=zookeeper://zkserver:2181 #dubbo.protocol.port=20881 \ No newline at end of file diff --git a/zheng-upms/zheng-upms-rpc-service/src/main/resources/META-INF/spring/applicationContext-dubbo-provider.xml b/zheng-upms/zheng-upms-rpc-service/src/main/resources/META-INF/spring/applicationContext-dubbo-provider.xml index 7a993bbf2..a94d6d364 100644 --- a/zheng-upms/zheng-upms-rpc-service/src/main/resources/META-INF/spring/applicationContext-dubbo-provider.xml +++ b/zheng-upms/zheng-upms-rpc-service/src/main/resources/META-INF/spring/applicationContext-dubbo-provider.xml @@ -9,7 +9,7 @@ - + diff --git a/zheng-upms/zheng-upms-rpc-service/src/main/resources/profiles/dev.properties b/zheng-upms/zheng-upms-rpc-service/src/main/resources/profiles/dev.properties index 6d1c5eba6..e3e7079e7 100644 --- a/zheng-upms/zheng-upms-rpc-service/src/main/resources/profiles/dev.properties +++ b/zheng-upms/zheng-upms-rpc-service/src/main/resources/profiles/dev.properties @@ -3,16 +3,16 @@ profile.env=dev ##### jdbc ##### datasource.master.jdbc.driver=com.mysql.jdbc.Driver -datasource.master.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true +datasource.master.jdbc.url=jdbc\:mysql\://dbserver\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true datasource.master.jdbc.username=root datasource.master.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g== datasource.slave.jdbc.driver=com.mysql.jdbc.Driver -datasource.slave.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true +datasource.slave.jdbc.url=jdbc\:mysql\://dbserver\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true datasource.slave.jdbc.username=root datasource.slave.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g== ##### redis ##### -master.redis.ip=127.0.0.1 +master.redis.ip=rdserver master.redis.port=6379 master.redis.password=FNFl9F2O2Skb8yoKM0jhHA== master.redis.max_active=500 diff --git a/zheng-upms/zheng-upms-rpc-service/src/main/resources/profiles/prod.properties b/zheng-upms/zheng-upms-rpc-service/src/main/resources/profiles/prod.properties index 0321b1915..b95f87637 100644 --- a/zheng-upms/zheng-upms-rpc-service/src/main/resources/profiles/prod.properties +++ b/zheng-upms/zheng-upms-rpc-service/src/main/resources/profiles/prod.properties @@ -3,16 +3,16 @@ profile.env=prod ##### jdbc ##### datasource.master.jdbc.driver=com.mysql.jdbc.Driver -datasource.master.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true +datasource.master.jdbc.url=jdbc\:mysql\://dbserver\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true datasource.master.jdbc.username=root datasource.master.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g== datasource.slave.jdbc.driver=com.mysql.jdbc.Driver -datasource.slave.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true +datasource.slave.jdbc.url=jdbc\:mysql\://dbserver\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true datasource.slave.jdbc.username=root datasource.slave.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g== ##### redis ##### -master.redis.ip=127.0.0.1 +master.redis.ip=rdserver master.redis.port=6379 master.redis.password=FNFl9F2O2Skb8yoKM0jhHA== master.redis.max_active=500 diff --git a/zheng-upms/zheng-upms-rpc-service/src/main/resources/profiles/test.properties b/zheng-upms/zheng-upms-rpc-service/src/main/resources/profiles/test.properties index 387938dd4..ebe4a2698 100644 --- a/zheng-upms/zheng-upms-rpc-service/src/main/resources/profiles/test.properties +++ b/zheng-upms/zheng-upms-rpc-service/src/main/resources/profiles/test.properties @@ -3,16 +3,16 @@ profile.env=test ##### jdbc ##### datasource.master.jdbc.driver=com.mysql.jdbc.Driver -datasource.master.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true +datasource.master.jdbc.url=jdbc\:mysql\://dbserver\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true datasource.master.jdbc.username=root datasource.master.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g== datasource.slave.jdbc.driver=com.mysql.jdbc.Driver -datasource.slave.jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true +datasource.slave.jdbc.url=jdbc\:mysql\://dbserver\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true datasource.slave.jdbc.username=root datasource.slave.jdbc.password=rWd3Hb+AzNg3IXF1b5vD+g== ##### redis ##### -master.redis.ip=127.0.0.1 +master.redis.ip=rdserver master.redis.port=6379 master.redis.password=FNFl9F2O2Skb8yoKM0jhHA== master.redis.max_active=500 diff --git a/zheng-upms/zheng-upms-server/src/main/resources/applicationContext-dubbo-consumer.xml b/zheng-upms/zheng-upms-server/src/main/resources/applicationContext-dubbo-consumer.xml index e209e3499..a5b7ee3a7 100644 --- a/zheng-upms/zheng-upms-server/src/main/resources/applicationContext-dubbo-consumer.xml +++ b/zheng-upms/zheng-upms-server/src/main/resources/applicationContext-dubbo-consumer.xml @@ -9,7 +9,7 @@ - + diff --git a/zheng-upms/zheng-upms-server/src/main/resources/profiles/dev.properties b/zheng-upms/zheng-upms-server/src/main/resources/profiles/dev.properties index ee1fecab1..2393eac44 100644 --- a/zheng-upms/zheng-upms-server/src/main/resources/profiles/dev.properties +++ b/zheng-upms/zheng-upms-server/src/main/resources/profiles/dev.properties @@ -2,7 +2,7 @@ app.name=zheng-upms-server profile.env=dev ##### redis ##### -master.redis.ip=127.0.0.1 +master.redis.ip=rdserver master.redis.port=6379 master.redis.password=FNFl9F2O2Skb8yoKM0jhHA== master.redis.max_active=500 diff --git a/zheng-upms/zheng-upms-server/src/main/resources/profiles/prod.properties b/zheng-upms/zheng-upms-server/src/main/resources/profiles/prod.properties index e303a1de2..c48be0913 100644 --- a/zheng-upms/zheng-upms-server/src/main/resources/profiles/prod.properties +++ b/zheng-upms/zheng-upms-server/src/main/resources/profiles/prod.properties @@ -2,7 +2,7 @@ app.name=zheng-upms-server profile.env=prod ##### redis ##### -master.redis.ip=127.0.0.1 +master.redis.ip=rdserver master.redis.port=6379 master.redis.password=FNFl9F2O2Skb8yoKM0jhHA== master.redis.max_active=500 diff --git a/zheng-upms/zheng-upms-server/src/main/resources/profiles/test.properties b/zheng-upms/zheng-upms-server/src/main/resources/profiles/test.properties index d53452f37..a604450c4 100644 --- a/zheng-upms/zheng-upms-server/src/main/resources/profiles/test.properties +++ b/zheng-upms/zheng-upms-server/src/main/resources/profiles/test.properties @@ -2,7 +2,7 @@ app.name=zheng-upms-server profile.env=test ##### redis ##### -master.redis.ip=127.0.0.1 +master.redis.ip=rdserver master.redis.port=6379 master.redis.password=FNFl9F2O2Skb8yoKM0jhHA== master.redis.max_active=500 diff --git a/zheng-wechat/zheng-wechat-mp/zheng-wechat-mp-dao/src/main/resources/redis.properties b/zheng-wechat/zheng-wechat-mp/zheng-wechat-mp-dao/src/main/resources/redis.properties index 2dad97d0b..377a89a19 100644 --- a/zheng-wechat/zheng-wechat-mp/zheng-wechat-mp-dao/src/main/resources/redis.properties +++ b/zheng-wechat/zheng-wechat-mp/zheng-wechat-mp-dao/src/main/resources/redis.properties @@ -1,4 +1,4 @@ -master.redis.ip=127.0.0.1 +master.redis.ip=rdserver master.redis.port=6379 master.redis.password=FNFl9F2O2Skb8yoKM0jhHA== master.redis.max_active=500