BILLYisavailable opened a new pull request, #16: URL: https://github.com/apache/rocketmq-ai/pull/16
An AgentCard can advertise RocketMQ as its preferred transport while providing an empty `additionalInterfaces` list. `parseAgentCardAddition` currently rejects that card before examining its preferred transport, so constructing the RocketMQ transport fails even though the primary URL is valid. Check the preferred transport first, and only require additional interfaces when falling back to them. The regression tests cover an empty list, an omitted list, primary-interface precedence, fallback discovery, an empty namespace, and invalid/missing RocketMQ interfaces. Validation (JDK 17, Maven 3.9.11): `mvn -B test --file rocketmq-a2a/pom.xml` passes all 10 tests. With the same new tests and the original production code, the empty-additional-interfaces regression fails. -- 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]
