[Feature] What about adding a new feature like 'service catalog' to metadata center
I have read codes and blogs about metadata center which was created in dubbo 2.7. The new feature is very useful for service mock, testing and so on. And I have a suggestion about this module. In big companies, there are thousands of services in various applications. It is important to make it convenient to find certain service and its description(tell users how to use this service, who own this service and so on). For example, I want to find a service which contains methods about consumer account management. If dubbo supports service catalog feature, I can find certain service with search by key word "consumer account". And service (such as "ConsumerManagementService") catalog can shown me its methods(such as "findAccountById") list and description(such as "/**
- @MethodDesc("Find account info by id")
- @RequestParams( @Param(name="Id", desc="accountId"))
- @ResponseParam( desc="Account info dto list") */ ") about every method.
This feature will help to improve development efficiency and avoid repeated coding and is also useful for service testing.
I think implement of this feature has two parts: 1. In Dubbo, add annotations for application, service and method. And put these information to metadata center with metadata report. 2. In Dubbo-Admin, add search and display functions.
What about adding this feature? If this feature is necessary, I can develop for it.
@beiwei30 @chickenlj @mercyblitz