From 725b781b36bb8a8e9f75a7fcb08ccb245ad54c08 Mon Sep 17 00:00:00 2001 From: Seshu-Kumar-M Date: Thu, 21 Sep 2017 10:20:07 +0530 Subject: Changing the version and Rest Path for E2E Service IssueId: SO-151 Change-Id: I267c81464a2ae42474516a79f9711b370b3ba5ca Signed-off-by: Seshu-Kumar-M --- .../java/org/openecomp/mso/apihandlerinfra/E2EServiceInstances.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mso-api-handlers/mso-api-handler-infra/src/main/java/org/openecomp') diff --git a/mso-api-handlers/mso-api-handler-infra/src/main/java/org/openecomp/mso/apihandlerinfra/E2EServiceInstances.java b/mso-api-handlers/mso-api-handler-infra/src/main/java/org/openecomp/mso/apihandlerinfra/E2EServiceInstances.java index 46a7d43acc..6b6cfc3390 100644 --- a/mso-api-handlers/mso-api-handler-infra/src/main/java/org/openecomp/mso/apihandlerinfra/E2EServiceInstances.java +++ b/mso-api-handlers/mso-api-handler-infra/src/main/java/org/openecomp/mso/apihandlerinfra/E2EServiceInstances.java @@ -55,7 +55,7 @@ import org.openecomp.mso.requestsdb.InfraActiveRequests; import org.openecomp.mso.requestsdb.RequestsDatabase; import org.openecomp.mso.utils.UUIDChecker; -@Path("/") +@Path("/e2eServiceInstances") public class E2EServiceInstances { private HashMap instanceIdMap = new HashMap(); @@ -67,7 +67,7 @@ public class E2EServiceInstances { } @POST - @Path("e2eServiceInstances/{version:[vV][2-3]}") + @Path("/{version:[vV][3-5]}") @Consumes(MediaType.APPLICATION_JSON) @Produces(MediaType.APPLICATION_JSON) public Response createE2EServiceInstance(String request, @PathParam("version") String version) { @@ -78,7 +78,7 @@ public class E2EServiceInstances { } @DELETE - @Path("e2eServiceInstances/{version:[vV][2-3]}/{serviceId}") + @Path("/{version:[vV][3-5]}/{serviceId}") @Consumes(MediaType.APPLICATION_JSON) @Produces(MediaType.APPLICATION_JSON) public Response deleteE2EServiceInstance(String request, @PathParam("version") String version) { -- cgit 1.2.3-korg