luigidemasi opened a new pull request, #31364: URL: https://github.com/apache/camel/pull/31364
PR #31357 added interface discovery for plain-name A2A consumers. Its request-derived response set `Cache-Control: no-store` on the Camel exchange, but the default HTTP header filters removed it before it reached clients. The consumer now sends `Vary: *` on request-derived discovery responses. A cache must revalidate before reuse. The HTTP tests check the headers received by the client on both a card response and a discovery error. [CAMEL-28107](https://issues.apache.org/jira/browse/CAMEL-28107) · [RFC 9111 §4.1](https://www.rfc-editor.org/rfc/rfc9111.html#section-4.1) The component resolves the producer and consumer cards from the same merged declarations. For a legacy card URL on a JSON-RPC endpoint, `${a2a:card}` now reports JSON-RPC in the consumer route. The producer retains its HTTP+JSON fallback. Existing public resolver overloads delegate to the same implementation. The upgrade guide explains when a proxy or wildcard bind address requires a publicly reachable `supportedInterfaces` entry. The component guide covers the transport-provided URL, Netty's configured address, and how to configure skills and capabilities. The REST discovery test covers root and mounted paths. - [x] Targets `main` and includes regression tests and the regenerated catalog documentation. - [x] All 602 `camel-a2a` tests passed. - [x] A live client received `Vary: *` on discovery from Vert.x, Netty HTTP, Undertow, and Jetty. Paul King's Spring AI stock-lookup client completed its request. - [x] Ran the full root reactor with `mvn clean install -DskipTests`. - [x] The signed commit includes AI co-authorship and a Signed-off-by trailer. Generated by OpenAI Codex via /oss-address-review on behalf of Luigi De Masi (@luigidemasi). -- 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]
