markap14 commented on PR #7965: URL: https://github.com/apache/nifi/pull/7965#issuecomment-1790832184
Yeah, I think it's better to solve this at the framework level as well. The approach I would recommend would probably be to update the Registry Client Node object so that when validation is performed, if it goes from INVALID to VALID, we call any method annotated with `@OnEnabled`. That way, if a Controller Service that it uses were to be disabled and re-enabled, it would call the `@OnEnabled` method and that, in turn, would be responsible for recreating the underlying client based on the new SSL Context configuration. -- 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]
