davsclaus opened a new pull request, #31047: URL: https://github.com/apache/camel/pull/31047
Doc-only change, no JIRA. The `serializablePackages`, `protocol` and `protocolClassName` options of an Avro RPC endpoint, and the `instanceClassName`, schema and `serializablePackages` options of the Avro data format, add packages to the trust sets of `AvroClassSecuritySupport`. These go into Avro's `ClassSecurityValidator`, which is one for the whole JVM (`setGlobal`). So a package trusted by one endpoint or data format is trusted for all Avro class resolution in the JVM, and stays trusted until the JVM is restarted. Changes: - avro-rpc: the descriptions of `serializablePackages`, `protocol` and `protocolClassName` say so. - A short "Trusted packages apply to the whole JVM" section on the Avro RPC component page and the Avro data format page. - Regenerated the component JSON, the catalog copies and the endpoint/component DSL. The data format option description lives in `camel-core-model` (with copies in the XSDs and the YAML DSL schemas), so it is left as it is; the data format page has the new section. Related: [CAMEL-27725](https://issues.apache.org/jira/browse/CAMEL-27725) _Claude Code on behalf of davsclaus_ 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- 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]
