diff options
author | c00149107 <chenchuanyu@huawei.com> | 2017-09-19 16:07:46 +0800 |
---|---|---|
committer | c00149107 <chenchuanyu@huawei.com> | 2017-09-19 16:07:46 +0800 |
commit | 870f0cad8d076f95dc66b2dddd2c2f13d18ff4d1 (patch) | |
tree | 83034c19e58c564ce50ec8a654865c96ed1bbcd0 /adapters/mso-vfc-adapter/src/main/java/org | |
parent | 02def185d8e90385aeefe4ba23ed79942aaff921 (diff) |
Add terminate UT for vf-c adapter
Add terminate UT for vf-c adapter api
Change-Id: Iab514bb59b112f30e5911fb04c3b9d6672494ae7
Issue-ID:SO-133
Signed-off-by: c00149107 <chenchuanyu@huawei.com>
Diffstat (limited to 'adapters/mso-vfc-adapter/src/main/java/org')
-rw-r--r-- | adapters/mso-vfc-adapter/src/main/java/org/openecomp/mso/adapters/vfc/VfcAdapterRest.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/adapters/mso-vfc-adapter/src/main/java/org/openecomp/mso/adapters/vfc/VfcAdapterRest.java b/adapters/mso-vfc-adapter/src/main/java/org/openecomp/mso/adapters/vfc/VfcAdapterRest.java index 438393bc35..f4c295337a 100644 --- a/adapters/mso-vfc-adapter/src/main/java/org/openecomp/mso/adapters/vfc/VfcAdapterRest.java +++ b/adapters/mso-vfc-adapter/src/main/java/org/openecomp/mso/adapters/vfc/VfcAdapterRest.java @@ -22,6 +22,7 @@ package org.openecomp.mso.adapters.vfc; import javax.servlet.http.HttpServletRequest; import javax.ws.rs.Consumes; +import javax.ws.rs.DELETE; import javax.ws.rs.POST; import javax.ws.rs.Path; import javax.ws.rs.PathParam; @@ -92,7 +93,7 @@ public class VfcAdapterRest { * @return response * @since ONAP Amsterdam Release */ - @POST + @DELETE @Path("/ns/{nsInstanceId}") @Consumes({MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON}) @Produces({MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON}) |