Skip to content

Add dynamic links and fix Filters compile error#6

Open
Ramblurr wants to merge 5 commits intoimproving-minnesota:masterfrom
Cropster:master
Open

Add dynamic links and fix Filters compile error#6
Ramblurr wants to merge 5 commits intoimproving-minnesota:masterfrom
Cropster:master

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