diff options
Diffstat (limited to 'heat-client/src/main/java/com')
-rw-r--r-- | heat-client/src/main/java/com/woorea/openstack/heat/Heat.java | 2 | ||||
-rw-r--r-- | heat-client/src/main/java/com/woorea/openstack/heat/StackEvents.java | 30 |
2 files changed, 16 insertions, 16 deletions
diff --git a/heat-client/src/main/java/com/woorea/openstack/heat/Heat.java b/heat-client/src/main/java/com/woorea/openstack/heat/Heat.java index e12f9f7..76991e1 100644 --- a/heat-client/src/main/java/com/woorea/openstack/heat/Heat.java +++ b/heat-client/src/main/java/com/woorea/openstack/heat/Heat.java @@ -47,7 +47,7 @@ public class Heat extends OpenStackClient { public ResourcesResource getResources() { return resources; } - + public StackEvents getEvents() { return events; } diff --git a/heat-client/src/main/java/com/woorea/openstack/heat/StackEvents.java b/heat-client/src/main/java/com/woorea/openstack/heat/StackEvents.java index ca54d73..cf680b9 100644 --- a/heat-client/src/main/java/com/woorea/openstack/heat/StackEvents.java +++ b/heat-client/src/main/java/com/woorea/openstack/heat/StackEvents.java @@ -25,22 +25,22 @@ import com.woorea.openstack.heat.model.Events; * v1/{tenant_id}/stacks/{stack_name}/{stack_id}/events */ public class StackEvents { - private final OpenStackClient client; + private final OpenStackClient client; - public StackEvents(OpenStackClient client) { - this.client = client; - } + public StackEvents(OpenStackClient client) { + this.client = client; + } - public ListEvents listEvents(String name, String id) { - return new ListEvents(name, id); - } + public ListEvents listEvents(String name, String id) { + return new ListEvents(name, id); + } - /** - * v1/{tenant_id}/stacks/{stack_name}/resources - */ - public class ListEvents extends OpenStackRequest<Events> { - public ListEvents(String name, String id) { - super(client, HttpMethod.GET, "/stacks/" + name + "/" + id + "/events", null, Events.class); - } - } + /** + * v1/{tenant_id}/stacks/{stack_name}/resources + */ + public class ListEvents extends OpenStackRequest<Events> { + public ListEvents(String name, String id) { + super(client, HttpMethod.GET, "/stacks/" + name + "/" + id + "/events", null, Events.class); + } + } } |