summaryrefslogtreecommitdiffstats
path: root/ceilometer-client/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'ceilometer-client/src/main/java')
-rw-r--r--ceilometer-client/src/main/java/com/woorea/openstack/ceilometer/Ceilometer.java16
-rw-r--r--ceilometer-client/src/main/java/com/woorea/openstack/ceilometer/QueriableCeilometerCommand.java5
-rw-r--r--ceilometer-client/src/main/java/com/woorea/openstack/ceilometer/v2/api/MetersResource.java2
-rw-r--r--ceilometer-client/src/main/java/com/woorea/openstack/ceilometer/v2/api/ResourcesResource.java3
4 files changed, 12 insertions, 14 deletions
diff --git a/ceilometer-client/src/main/java/com/woorea/openstack/ceilometer/Ceilometer.java b/ceilometer-client/src/main/java/com/woorea/openstack/ceilometer/Ceilometer.java
index 6c18858..654d5c2 100644
--- a/ceilometer-client/src/main/java/com/woorea/openstack/ceilometer/Ceilometer.java
+++ b/ceilometer-client/src/main/java/com/woorea/openstack/ceilometer/Ceilometer.java
@@ -23,28 +23,28 @@ import com.woorea.openstack.ceilometer.v2.api.MetersResource;
import com.woorea.openstack.ceilometer.v2.api.ResourcesResource;
public class Ceilometer extends OpenStackClient {
-
+
private final MetersResource meters;
-
+
private final ResourcesResource resources;
-
+
public Ceilometer(String endpoint, OpenStackClientConnector connector) {
super(endpoint, connector);
meters = new MetersResource(this);
resources = new ResourcesResource(this);
}
-
+
public Ceilometer(String endpoint) {
this(endpoint, null);
-
+
}
-
+
public ResourcesResource resources() {
return resources;
}
-
+
public MetersResource meters() {
return meters;
}
-
+
}
diff --git a/ceilometer-client/src/main/java/com/woorea/openstack/ceilometer/QueriableCeilometerCommand.java b/ceilometer-client/src/main/java/com/woorea/openstack/ceilometer/QueriableCeilometerCommand.java
index d8c0ead..8c9b813 100644
--- a/ceilometer-client/src/main/java/com/woorea/openstack/ceilometer/QueriableCeilometerCommand.java
+++ b/ceilometer-client/src/main/java/com/woorea/openstack/ceilometer/QueriableCeilometerCommand.java
@@ -19,10 +19,9 @@ package com.woorea.openstack.ceilometer;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
-
import com.woorea.openstack.base.client.OpenStackRequest;
-public abstract class QueriableCeilometerCommand<T,R> extends OpenStackRequest<R> {
+public abstract class QueriableCeilometerCommand<T, R> extends OpenStackRequest<R> {
protected List<String> fields = new ArrayList<>();
@@ -61,4 +60,4 @@ public abstract class QueriableCeilometerCommand<T,R> extends OpenStackRequest<R
return filter(field, "gt", value);
}
-} \ No newline at end of file
+}
diff --git a/ceilometer-client/src/main/java/com/woorea/openstack/ceilometer/v2/api/MetersResource.java b/ceilometer-client/src/main/java/com/woorea/openstack/ceilometer/v2/api/MetersResource.java
index ae8f085..09d4346 100644
--- a/ceilometer-client/src/main/java/com/woorea/openstack/ceilometer/v2/api/MetersResource.java
+++ b/ceilometer-client/src/main/java/com/woorea/openstack/ceilometer/v2/api/MetersResource.java
@@ -77,4 +77,4 @@ public class MetersResource {
}
-} \ No newline at end of file
+}
diff --git a/ceilometer-client/src/main/java/com/woorea/openstack/ceilometer/v2/api/ResourcesResource.java b/ceilometer-client/src/main/java/com/woorea/openstack/ceilometer/v2/api/ResourcesResource.java
index 3fac7b8..afce485 100644
--- a/ceilometer-client/src/main/java/com/woorea/openstack/ceilometer/v2/api/ResourcesResource.java
+++ b/ceilometer-client/src/main/java/com/woorea/openstack/ceilometer/v2/api/ResourcesResource.java
@@ -17,7 +17,6 @@
package com.woorea.openstack.ceilometer.v2.api;
import java.util.List;
-
import com.woorea.openstack.base.client.OpenStackClient;
import com.woorea.openstack.base.client.OpenStackRequest;
import com.woorea.openstack.ceilometer.QueriableCeilometerCommand;
@@ -55,4 +54,4 @@ public class ResourcesResource {
}
-} \ No newline at end of file
+}