commit | 27fc3f7088abb2784a9c1d8346432113e86d2edb | [log] [tgz] |
---|---|---|
author | Hyunsun Moon <hyunsun.moon@gmail.com> | Thu Apr 28 17:33:41 2016 -0500 |
committer | Gerrit Code Review <gerrit@onlab.us> | Fri Apr 29 16:21:34 2016 +0000 |
tree | 62c9ff6992afdc721be9de03b8305b5902af611c | |
parent | 810326467ce2e813553bed964254326b2b33aaed [diff] |
Fixed to allow json media type header for ML2 delete postcommits Change-Id: I7f90214d0c13dfa0c91cf9066b26ca21058226e8
diff --git a/src/main/java/org/onosproject/cordvtn/rest/NeutronMl2NetworksWebResource.java b/src/main/java/org/onosproject/cordvtn/rest/NeutronMl2NetworksWebResource.java index c5c3181..57c16d9 100644 --- a/src/main/java/org/onosproject/cordvtn/rest/NeutronMl2NetworksWebResource.java +++ b/src/main/java/org/onosproject/cordvtn/rest/NeutronMl2NetworksWebResource.java
@@ -58,6 +58,7 @@ @DELETE @Path("{id}") + @Consumes(MediaType.APPLICATION_JSON) @Produces(MediaType.APPLICATION_JSON) public Response deleteNetwork(@PathParam("id") String id) { log.trace(String.format(NETWORKS_MESSAGE, "delete"));
diff --git a/src/main/java/org/onosproject/cordvtn/rest/NeutronMl2PortsWebResource.java b/src/main/java/org/onosproject/cordvtn/rest/NeutronMl2PortsWebResource.java index 1d29594..1c37a2d 100644 --- a/src/main/java/org/onosproject/cordvtn/rest/NeutronMl2PortsWebResource.java +++ b/src/main/java/org/onosproject/cordvtn/rest/NeutronMl2PortsWebResource.java
@@ -108,6 +108,7 @@ @Path("{id}") @DELETE + @Consumes(MediaType.APPLICATION_JSON) @Produces(MediaType.APPLICATION_JSON) public Response deletePorts(@PathParam("id") String id) { log.trace(String.format(PORTS_MESSAGE, "delete"));
diff --git a/src/main/java/org/onosproject/cordvtn/rest/NeutronMl2SubnetsWebResource.java b/src/main/java/org/onosproject/cordvtn/rest/NeutronMl2SubnetsWebResource.java index c54b04f..75de452 100644 --- a/src/main/java/org/onosproject/cordvtn/rest/NeutronMl2SubnetsWebResource.java +++ b/src/main/java/org/onosproject/cordvtn/rest/NeutronMl2SubnetsWebResource.java
@@ -60,6 +60,7 @@ @DELETE @Path("{id}") + @Consumes(MediaType.APPLICATION_JSON) @Produces(MediaType.APPLICATION_JSON) public Response deleteSubnet(@PathParam("id") String id) { log.trace(String.format(SUBNETS_MESSAGE, "delete"));