Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTTP Based finders #31

Open
wants to merge 86 commits into
base: master
Choose a base branch
from
Open

HTTP Based finders #31

wants to merge 86 commits into from

Conversation

santanusinha
Copy link
Collaborator

@santanusinha santanusinha commented Dec 16, 2019

  • Signal generators to trigger updates
  • Seperation between Node data source and sink and connector
  • NodeDataSource abstracted and implemented for ZK and HTTP
  • NodeDataSink implemented for ZK
  • Registry cleaned up as pure data registry
  • Updater is pure signal based updater and uses data source to fetch data
  • Service Hub introduced for easy access to any service in the registry

* Signal generators to trigger updates
* NodeDataSource abstracted and implemented for ZK
* Registry cleaned up as pure data registry
* Updater is pure signal based updater and uses data source to fetch data
@santanusinha santanusinha changed the title Abstracted out node data source HTTP Based finders Feb 29, 2020
@santanusinha santanusinha requested a review from r0goyal February 29, 2020 06:38
@santanusinha santanusinha marked this pull request as ready for review March 2, 2020 03:24
… ListBasedServiceRegistry along with the MapBased one

1) Added a criteria interface in the ShardSelector to keep it seperate from the T in ServiceNode and trickled the changes upstream to whereever ShardSelector is getting built.
2) Added test cases to the new criteria interface
3) Added Http serivceNodeProvider and serviceFinders, along with the HttpServiceFinderHub
4) Added tests for Http interfaces as well.
5) Added license to the missing files
6) Fixed sonar issues
…for when it has to be latter passed down as an arg to a function.

b) .equalsIgnoreCase in selector tests has crept in during the previous sonar lints, corrected the same.
c) Addressed sonar lint issues on license block
…rce formatting c) Reverted the version change to have the APIs begin with a version
…ctions and added http and zk clients respectively with required test cases. This will help end-clients not replicate the same boiler plate code again and again
koushikr and others added 30 commits December 21, 2021 13:16
…uld both contain namespace and that is missing
…gCriteria in the rangerClients - simple & hub
Removed the unnecessary error in GenericResponse
…g it for future, while not completely nailing down how a serviceProvider's errors may be manifested is not a good option, imo.

In the case of a finderHub though, since there could be any of the hubs that may error out (and the errors are getting logged at the point whey they error out), one responseCode won't cut it. I don't think it is future provisioning as well, if anything this will hinder our ability to add proper error blocks in the future, when the need arises
Ranger server [Dependent on PR #42, #43]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants