summaryrefslogtreecommitdiffstats
path: root/quantum-client
diff options
context:
space:
mode:
Diffstat (limited to 'quantum-client')
-rw-r--r--quantum-client/src/main/java/com/woorea/openstack/quantum/api/NetworksResource.java5
-rw-r--r--quantum-client/src/main/java/com/woorea/openstack/quantum/api/SubnetsResource.java4
-rw-r--r--quantum-client/src/main/java/com/woorea/openstack/quantum/api/query/AbsOpenStackCmd.java10
3 files changed, 1 insertions, 18 deletions
diff --git a/quantum-client/src/main/java/com/woorea/openstack/quantum/api/NetworksResource.java b/quantum-client/src/main/java/com/woorea/openstack/quantum/api/NetworksResource.java
index e22487a..8b5ee25 100644
--- a/quantum-client/src/main/java/com/woorea/openstack/quantum/api/NetworksResource.java
+++ b/quantum-client/src/main/java/com/woorea/openstack/quantum/api/NetworksResource.java
@@ -62,10 +62,7 @@ public class NetworksResource {
public class Query extends OpenStackRequest<Networks> {
public Query(Network network) {
- //super(network);
-// target = target.path("v2.0").path("networks");
-// target = queryParam(target);
-// return target.request(MediaType.APPLICATION_JSON).get(Networks.class);
+
}
}
diff --git a/quantum-client/src/main/java/com/woorea/openstack/quantum/api/SubnetsResource.java b/quantum-client/src/main/java/com/woorea/openstack/quantum/api/SubnetsResource.java
index 81f3750..bee3743 100644
--- a/quantum-client/src/main/java/com/woorea/openstack/quantum/api/SubnetsResource.java
+++ b/quantum-client/src/main/java/com/woorea/openstack/quantum/api/SubnetsResource.java
@@ -62,10 +62,6 @@ public class SubnetsResource {
public class Query extends OpenStackRequest<Subnets> {
public Query(Subnet subnet) {
- //super(subnet);
-// target = target.path("v2.0").path("subnets");
-// target = queryParam(target);
-// return target.request(MediaType.APPLICATION_JSON).get(Subnets.class);
}
}
diff --git a/quantum-client/src/main/java/com/woorea/openstack/quantum/api/query/AbsOpenStackCmd.java b/quantum-client/src/main/java/com/woorea/openstack/quantum/api/query/AbsOpenStackCmd.java
index 900a3d2..8914ab0 100644
--- a/quantum-client/src/main/java/com/woorea/openstack/quantum/api/query/AbsOpenStackCmd.java
+++ b/quantum-client/src/main/java/com/woorea/openstack/quantum/api/query/AbsOpenStackCmd.java
@@ -82,14 +82,4 @@ public class AbsOpenStackCmd<T> extends OpenStackRequest<T> {
return resultMap;
}
- /*
- public WebTarget queryParam(WebTarget target) {
- Map<String, String> map = getObjectParamMap(this.query);
- for (String fieldName : map.keySet()) {
- target = target.queryParam(fieldName, map.get(fieldName));
- }
- return target;
- }
- */
-
}