diff options
author | Seshu Kumar M <seshu.kumar.m@huawei.com> | 2017-09-21 06:34:49 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2017-09-21 06:34:49 +0000 |
commit | 419f4630b5f714af34d3a020babc8291a882cddc (patch) | |
tree | d506783e2283f7b53ad8c8cb5cd9b63252fffc54 /mso-api-handlers/mso-api-handler-infra | |
parent | a19cbb1d4bd74dd74149c058f4959941bc18e46e (diff) | |
parent | 725b781b36bb8a8e9f75a7fcb08ccb245ad54c08 (diff) |
Merge "Changing the version and Rest Path for E2E Service"
Diffstat (limited to 'mso-api-handlers/mso-api-handler-infra')
-rw-r--r-- | mso-api-handlers/mso-api-handler-infra/src/main/java/org/openecomp/mso/apihandlerinfra/E2EServiceInstances.java | 6 |
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) { |