summaryrefslogtreecommitdiffstats
path: root/heat-client/src/main/java
diff options
context:
space:
mode:
authorSmokowski, Steve (ss835w) <ss835w@us.att.com>2019-05-02 09:42:55 -0400
committerSmokowski, Steve (ss835w) <ss835w@us.att.com>2019-05-07 10:02:17 -0400
commit3f9a0c3183480d150089c0d5a6e507c877f7d121 (patch)
treeb3db04cbe2cef23f81503177a50edc5360ffa486 /heat-client/src/main/java
parente153f0adfbed711ce1e215748594a4d04fd1edaf (diff)
Enhance Openstack Client
Update Openstack Client to support additional fields Updat all formatting issues Issue-ID: SO-1844 Change-Id: I1369e0c18cc25274db8df7e12855a020b8da38da Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
Diffstat (limited to 'heat-client/src/main/java')
-rw-r--r--heat-client/src/main/java/com/woorea/openstack/heat/Heat.java2
-rw-r--r--heat-client/src/main/java/com/woorea/openstack/heat/StackEvents.java30
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);
+ }
+ }
}