diff options
Diffstat (limited to 'mso-api-handlers')
-rw-r--r-- | mso-api-handlers/mso-api-handler-infra/WebContent/WEB-INF/web.xml | 1 | ||||
-rw-r--r-- | mso-api-handlers/mso-api-handler-infra/src/main/java/org/openecomp/mso/apihandlerinfra/E2EServiceInstances.java | 6 |
2 files changed, 4 insertions, 3 deletions
diff --git a/mso-api-handlers/mso-api-handler-infra/WebContent/WEB-INF/web.xml b/mso-api-handlers/mso-api-handler-infra/WebContent/WEB-INF/web.xml index cd4a560ad1..b8ce1a6321 100644 --- a/mso-api-handlers/mso-api-handler-infra/WebContent/WEB-INF/web.xml +++ b/mso-api-handlers/mso-api-handler-infra/WebContent/WEB-INF/web.xml @@ -85,6 +85,7 @@ <url-pattern>/properties/*</url-pattern>
<url-pattern>/api-docs/*</url-pattern>
<url-pattern>/tasks/*</url-pattern>
+ <url-pattern>/e2eServiceInstances/*</url-pattern>
</servlet-mapping>
<!-- To be replaced by AAF in the future, when Camunda scripts replacing the BPEL scripts completely -->
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) { |