Skip to content

Conversation

@tiodollar
Copy link
Contributor

Added support to dynomite REST API to search the cluester tokens https://github.com/Netflix/dynomite/wiki/REST.

@ipapapa
Copy link
Contributor

ipapapa commented Jan 13, 2017

@tiodollar this seems to fail the test cases. Any idea why? What is the case that this is needed?

@tiodollar
Copy link
Contributor Author

@ipapapa With the merge, All checks have passed.

unsuppliedPort = port;
}

public AbstractTokenMapSupplier(int port,String localZone,String localDatacenter) {
Copy link
Contributor

@ipapapa ipapapa Jun 30, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need this extra constructor? I do not see it being used in this PR.

Copy link
Contributor

@ipapapa ipapapa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be nice to add a few test cases to make sure that we have proper coverage as this is a new feature. I believe we have the HTTP based token map supplier tests that you can leverage. An example would be to create an exemplary JSON response from Dynomite and use that as the basis for testing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants