You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2018/10/24 08:01:52 UTC

[GitHub] xp-git commented on issue #162: 可以看到提供者,看不到消费者的信息。

xp-git commented on issue #162: 可以看到提供者,看不到消费者的信息。
URL: https://github.com/apache/incubator-dubbo-ops/issues/162#issuecomment-432553758
 
 
   嗯。有的。改了一个地方,就显出出来了。
   看了之前issue的回答。
   
   后台查询逻辑存在问题,路径/api/service/detail的后台方法不应该将配置的application作为条件查询,
   因为消费者和生产者所配置的applicatioin名称不一样,
   将org.apache.dubbo.admin.controller.ServiceController文件的serviceDetail方法中providerService.findByAppandService(app, service)改成providerService.findByService(service),
   同时将consumerService.findByAppandService(app, service)改成consumerService.findByService(service)即可正常显示。
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org