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

Add dynamic links and fix Filters compile error #6

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

Conversation

Ramblurr
Copy link

@Ramblurr Ramblurr commented Apr 24, 2017

Fixes #4 and #5.

The dynamic links uses the @Url annotation from Retrofit. Links can bet fetched like so:

Service service = getSomeService();
String instancesLink = service.getInstancesLink();  // the server rendered link to the instances for the service
// fetch the instances for the service
Response<TypeCollection<Instance>> response = instanceService.getLinkInstances(instancesLink).execute();

Casey Link and others added 5 commits April 24, 2017 14:08
* Adds helper methods to the Type classes to return the dynamic link
* Adds method to the Service classes to fetch the link contents with type safety
* Fix the Makefile
Fix rancher home page url
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