服务提供者增加监控中心配置

This commit is contained in:
shuzheng 2017-08-01 22:16:16 +08:00
parent be43218277
commit 15a62b5fe5
5 changed files with 10 additions and 0 deletions

View File

@ -13,6 +13,8 @@
<dubbo:protocol name="dubbo" port="20880"/> <dubbo:protocol name="dubbo" port="20880"/>
<dubbo:monitor protocol="registry"/>
<!-- API总系统 --> <!-- API总系统 -->
<bean id="apiService" class="com.zheng.api.rpc.service.impl.ApiServiceImpl"/> <bean id="apiService" class="com.zheng.api.rpc.service.impl.ApiServiceImpl"/>
<dubbo:service interface="com.zheng.api.rpc.api.ApiService" ref="apiService" timeout="10000"/> <dubbo:service interface="com.zheng.api.rpc.api.ApiService" ref="apiService" timeout="10000"/>

View File

@ -13,6 +13,8 @@
<dubbo:protocol name="dubbo" port="20882"/> <dubbo:protocol name="dubbo" port="20882"/>
<dubbo:monitor protocol="registry"/>
<!-- 文章 --> <!-- 文章 -->
<bean id="cmsArticleServiceImpl" class="com.zheng.cms.rpc.service.impl.CmsArticleServiceImpl"/> <bean id="cmsArticleServiceImpl" class="com.zheng.cms.rpc.service.impl.CmsArticleServiceImpl"/>
<dubbo:service interface="com.zheng.cms.rpc.api.CmsArticleService" ref="cmsArticleServiceImpl" timeout="10000"/> <dubbo:service interface="com.zheng.cms.rpc.api.CmsArticleService" ref="cmsArticleServiceImpl" timeout="10000"/>

View File

@ -13,6 +13,8 @@
<dubbo:protocol name="dubbo" port="20883"/> <dubbo:protocol name="dubbo" port="20883"/>
<dubbo:monitor protocol="registry"/>
<!-- 支付方式服务 --> <!-- 支付方式服务 -->
<bean id="payVendorService" class="com.zheng.pay.rpc.service.impl.PayVendorServiceImpl"/> <bean id="payVendorService" class="com.zheng.pay.rpc.service.impl.PayVendorServiceImpl"/>
<dubbo:service interface="com.zheng.pay.rpc.api.PayVendorService" ref="payVendorService" timeout="10000"/> <dubbo:service interface="com.zheng.pay.rpc.api.PayVendorService" ref="payVendorService" timeout="10000"/>

View File

@ -13,6 +13,8 @@
<dubbo:protocol name="dubbo" port="20884"/> <dubbo:protocol name="dubbo" port="20884"/>
<dubbo:monitor protocol="registry"/>
<!-- 认证方式 --> <!-- 认证方式 -->
<bean id="ucenterOauthService" class="com.zheng.ucenter.rpc.service.impl.UcenterOauthServiceImpl"/> <bean id="ucenterOauthService" class="com.zheng.ucenter.rpc.service.impl.UcenterOauthServiceImpl"/>
<dubbo:service interface="com.zheng.ucenter.rpc.api.UcenterOauthService" ref="ucenterOauthService" timeout="10000"/> <dubbo:service interface="com.zheng.ucenter.rpc.api.UcenterOauthService" ref="ucenterOauthService" timeout="10000"/>

View File

@ -13,6 +13,8 @@
<dubbo:protocol name="dubbo" port="20881"/> <dubbo:protocol name="dubbo" port="20881"/>
<dubbo:monitor protocol="registry"/>
<!-- 系统 --> <!-- 系统 -->
<bean id="upmsSystemService" class="com.zheng.upms.rpc.service.impl.UpmsSystemServiceImpl"/> <bean id="upmsSystemService" class="com.zheng.upms.rpc.service.impl.UpmsSystemServiceImpl"/>
<dubbo:service interface="com.zheng.upms.rpc.api.UpmsSystemService" ref="upmsSystemService" timeout="10000"/> <dubbo:service interface="com.zheng.upms.rpc.api.UpmsSystemService" ref="upmsSystemService" timeout="10000"/>