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

Added ranger-clients [Dependent on #42] #43

Merged
merged 4 commits into from
Jan 5, 2022

Conversation

koushikr
Copy link

This is the second part of MR #41 and an extension to MR #42. [Dependent on #42]

Change list

  • Added a ranger-client for quick initialization of a simple finder-based client and a hub-based client without having to re-write the boilerplate code again and again.
  • Added ranger-zk-client and ranger-http-client to help facilitate typed client creations.
  • Added test cases for the same.

… 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
santanusinha added a commit that referenced this pull request Jan 5, 2022
Ranger server [Dependent on PR #42, #43]
@santanusinha santanusinha merged commit 7fdeb8f into flipkart-incubator:http Jan 5, 2022
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.

2 participants