soonway
soonway
后台的应用接口服务代码有吗?包括数据库脚本?
根据ServicesController这里定义的URI:/services/$service/providers 在dubbo服务分组时拿到的$service其实是包含了group的URI,但是并没有做包含group的URI映射处理。 比如group是news,则这个URL就像下面的样子 http://xxx.xxx.xxx.xxx/governance/services/news/com.xxx.xxx.facade.service.IconFacede:1.0/providers 我试着在2.5.3的war包里面运行,在服务分组的情况下也是正常的。
@gaoyuear thanks a lot.
新版本里面关于配置的部分说明不够。 里面的几个配置项新增的分别是做什么用的? dubbo.registry.group=dubbo dubbo.configcenter=zookeeper://127.0.0.1:2181 dubbo.apollo.token=e16e5cd903fd0c97a116c873b448544b9d086de9 dubbo.apollo.appId=test dubbo.apollo.env=dev dubbo.apollo.cluster=default dubbo.apollo.namespace=dubbo 问题: 1、生产用application-production.properties,开发用application.properties这个吗? 2、dubbo.configcenter是不是应该写成dubbo.config.center? 3、后面dubbo.apollo相关的项可以不用吗?分别是做什么用?