HDDS-15190. Add ScmInvoker subclasses for CertificateStore and RootCARotationHandler#10226
Conversation
Russole
left a comment
There was a problem hiding this comment.
Thanks @YutaLin for the patch. Overall LGTM.
One small suggestion: RootCARotationHandlerInvoker is marked as generated code, but the method order in newProxy() differs from ScmInvokerCodeGenerator output. It would be better to keep the generated order for consistency with the other ScmInvoker implementations.
I generated the equivalent change here:
Russole@b0decc7
This is not a functional change, only method ordering plus the generator main method in RootCARotationHandler.
|
Thanks @Russole for the review! |
|
Thanks @YutaLin. Could you also apply this small consistency update before merge? Since |
Agreed. @Russole if you ask for changes please don't trigger CI, since it will have to be re-run after patch is updated |
|
Thanks @adoroszlai, noted. I’ll avoid triggering CI when requesting changes. |
|
HI @Russole @adoroszlai |
szetszwo
left a comment
There was a problem hiding this comment.
+1 the change looks good.
|
Thanks @adoroszlai for the merge! |
What changes were proposed in this pull request?
CertificateStore and RootCARotationHandler have Replicate.InvocationType.CLIENT methods. We need to add a new method ScmInvoker.invokeReplicateClient(..), which is similar to SCMHAInvocationHandler.invokeRatisClient(..).
CertificationStoreInvoker,RootCARotationHandlerInvokerTestSCMCertStoreWhat is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-15190
How was this patch tested?
CI (https://github.com/YutaLin/ozone/actions/runs/25616356321)