robocanic opened a new issue, #1430: URL: https://github.com/apache/dubbo-admin/issues/1430
> 中文版本 ## 背景 目前服务的list接口会返回providerAppName,这是因为目前list接口搜索的是`ServiceProviderMetadata`,一个`ServiceProviderMetadata`与providerAppName是一一对应的且必须要有providerAppName才能找到对应的`ServiceProviderMetadata`。但从dubbo领域模型的角度来看,一个服务的唯一标识是由`serviceName:version:group`来组成的。一个服务可能由多个provider提供,因此服务的list接口/detail接口需要重构,随之变动的还有后端的数据链路。 <img width="2224" height="1046" alt="Image" src="https://github.com/user-attachments/assets/d0ec538c-d389-4bff-81a0-f2e4888ac0c6" /> ## 改动点 目前后端的`Service`(api/mesh/v1alpha1/service.proto)这个资源还没有用到,本次改动会将`Service`作为服务的入口,`Service`中会记录服务的serviceName,version,group。`Service`这个资源将通过EventBus的事件,与`ServiceProviderMetadata`资源保持数据一致。 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
