yyqdbngt opened a new pull request, #3101: URL: https://github.com/apache/rocketmq-dashboard/pull/3101
### Summary Add the first unit coverage for the instance capability resolver (`InstanceCapabilityService`): - an unknown instance id yields the existing 404 `BusinessException`; - a known instance resolves its vendor provider and returns the capability list sorted by ordinal (an intentionally unordered provider set is normalized to `TOPIC_MANAGEMENT` → `CONSUMER_GROUP_MANAGEMENT`), with instance id / vendor / access type carried through. ### Why This service builds the capability contract shown on instance pages and had no automated coverage, so provider lookup and ordering regressions went unnoticed. ### Testing - `mvn -f server/pom.xml -Dtest=InstanceCapabilityServiceTest test` passes: 2/2. -- 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]
