You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltacloud.apache.org by "Michal Fojtik (JIRA)" <ji...@apache.org> on 2011/07/01 13:24:28 UTC
[jira] [Closed] (DTACLOUD-36) Load Balancers don't seem to be
HATEOS
[ https://issues.apache.org/jira/browse/DTACLOUD-36?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michal Fojtik closed DTACLOUD-36.
---------------------------------
Resolution: Fixed
Assignee: Michal Fojtik (was: David Lutterkort)
Link to 'register' action should be now part of load_balancer XML.
> Load Balancers don't seem to be HATEOS
> --------------------------------------
>
> Key: DTACLOUD-36
> URL: https://issues.apache.org/jira/browse/DTACLOUD-36
> Project: DeltaCloud
> Issue Type: Bug
> Components: Server
> Reporter: Chris Lalancette
> Assignee: Michal Fojtik
>
> When fetching the XML related to a load balancer, it looks like this:
> <load_balancers>
> <load_balancer href="http://localhost:3001/api/load_balancers/my-load-balancer" id="my-load-balancer">
> <actions>
> <link href="http://localhost:3001/api/load_balancers/my-load-balancer" method="delete" rel="destroy"/>
> </actions>
> ...
> </load_balancer>
> </load_balancers>
> What you'll notice about the <actions> section is that it is missing a link to "register" a new instance with this load_balancer. In order to be fully HATEOS, I would expect the XML above to have an action similar to:
> <link href="http://localhost:3001/api/load_balancers/my-load-balancer/register" method="post" rel="register"/>
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira