Russole opened a new pull request, #10180: URL: https://github.com/apache/ozone/pull/10180
## What changes were proposed in this pull request? * Updated `ScmInvokerCodeGenerator` to generate `Message`-returning `invokeLocal` methods for HDDS-14974. * Changed generated local invocation handling so non-void methods store `returnType`/`returnValue` and encode the result with `SCMRatisResponse.encode(...)`. * Changed generated void local invocations to return `Message.EMPTY`. * Added generated `invokeLocal` support for overloaded API methods by grouping methods by name and dispatching by argument count/type. * Added API-aware class name generation to avoid proto nested class name conflicts such as `HddsProtos.ContainerID` vs `ContainerID`. * Added generated invokers for `ContainerStateManager` and `PipelineStateManager`. * Switched `ContainerStateManagerImpl` and `PipelineStateManagerImpl` to use the generated invokers. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-15053 ## How was this patch tested? - All CI checks passed - https://github.com/Russole/ozone/actions/runs/25267404850 -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
