> +          */
> +         assertNotNull(g);
> +         assertEquals(g.getId(),"6791761b-821a-4d07-820d-0b2afc7dd7f6");
> +         assertEquals(g.getLinks().size(), 1);
> +         assertEquals(g.getLinks().get(0).getHref().toString(), 
> "https://ord.autoscale.api.rackspacecloud.com/v1.0/829409/groups/6791761b-821a-4d07-820d-0b2afc7dd7f6/";);
> +         assertEquals(g.getLinks().get(0).getRelation(), Link.Relation.SELF);
> +
> +         assertEquals(g.getScalingPolicies().get(0).getId(), 
> "dceb14ac-b2b3-4f06-aac9-a5b6cd5d40e1");
> +         assertEquals(g.getScalingPolicies().get(0).getLinks().size(), 1);
> +         
> assertEquals(g.getScalingPolicies().get(0).getLinks().get(0).getHref().toString(),
>  
> "https://ord.autoscale.api.rackspacecloud.com/v1.0/829409/groups/6791761b-821a-4d07-820d-0b2afc7dd7f6/policies/dceb14ac-b2b3-4f06-aac9-a5b6cd5d40e1/";);
> +         
> assertEquals(g.getScalingPolicies().get(0).getLinks().get(0).getRelation(), 
> Link.Relation.SELF);
> +         assertEquals(g.getScalingPolicies().get(0).getCooldown(), 0);
> +         assertEquals(g.getScalingPolicies().get(0).getTarget(), "1");
> +         assertEquals(g.getScalingPolicies().get(0).getTargetType(), 
> ScalingPolicyTargetType.INCREMENTAL);
> +         assertEquals(g.getScalingPolicies().get(0).getType(), 
> ScalingPolicyType.WEBHOOK);
> +         assertEquals(g.getScalingPolicies().get(0).getName(), "scale up by 
> 1");

I remember there were issues with that. But I have find my notes on what issues 
exactly.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-openstack/pull/59/files#r8271317

Reply via email to