summaryrefslogtreecommitdiffstats
path: root/mso-api-handlers/mso-api-handler-infra/src/main/java
diff options
context:
space:
mode:
authorSeshu-Kumar-M <seshu.kumar.m@huawei.com>2017-09-21 10:20:07 +0530
committerSeshu-Kumar-M <seshu.kumar.m@huawei.com>2017-09-21 10:20:07 +0530
commit725b781b36bb8a8e9f75a7fcb08ccb245ad54c08 (patch)
tree22a471e511fe9ff270a83ed0c68849d4835b203a /mso-api-handlers/mso-api-handler-infra/src/main/java
parent0df37ac0a9c648527f3a93f4f9ee58128cd4ae05 (diff)
Changing the version and Rest Path for E2E Service
IssueId: SO-151 Change-Id: I267c81464a2ae42474516a79f9711b370b3ba5ca Signed-off-by: Seshu-Kumar-M <seshu.kumar.m@huawei.com>
Diffstat (limited to 'mso-api-handlers/mso-api-handler-infra/src/main/java')
-rw-r--r--mso-api-handlers/mso-api-handler-infra/src/main/java/org/openecomp/mso/apihandlerinfra/E2EServiceInstances.java6
1 files changed, 3 insertions, 3 deletions
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<String, String> instanceIdMap = new HashMap<String,String>();
@@ -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) {