Closed chaitanyachavali closed 2 years ago
@santanusinha : Can you please review the above? I have proposed 'em changes, so don't want to merge it myself, that would be counterproductive :)
I have reviewed LGTM ..
@santanusinha Can you please merge and release these changes?
Package naming fix
io.appform.ranger.zk.server.bundle
toio.appform.ranger.server.bundle
Make
ServiceFinderHub
ready to use when startedServiceFinder
exists for eachService
initialRefreshCompleted
within eachServiceFinder.serviceRegistry
initialRefreshCompleted
fromServiceRegistryUpdater
intoServiceRegistry
because we have multiple services being refreshed togetherServiceFinderHub#start
rather than toRangerServerBundle.run
or maybe as a refresher signal? Wanted to enforce this check as we would guarantee that hub is ready for use as it get started and with refresher or other choices it may go away as there can be other custom clients that can be made and replaced.ServiceFinderHub#updateRegistry
? This is getting executed asynchronously via monitor method, need to have blocking call till everything is get's ready.