--- /dev/null
+/* Copyright (c) 2019 AT&T Intellectual Property. #\r
+# #\r
+# Licensed under the Apache License, Version 2.0 (the "License"); #\r
+# you may not use this file except in compliance with the License. #\r
+# You may obtain a copy of the License at #\r
+# #\r
+# http://www.apache.org/licenses/LICENSE-2.0 #\r
+# #\r
+# Unless required by applicable law or agreed to in writing, software #\r
+# distributed under the License is distributed on an "AS IS" BASIS, #\r
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #\r
+# See the License for the specific language governing permissions and #\r
+# limitations under the License. #\r
+##############################################################################*/\r
+\r
+\r
+package org.oran.otf.api.service;\r
+\r
+import io.swagger.annotations.Api;\r
+import io.swagger.v3.oas.annotations.Hidden;\r
+import io.swagger.v3.oas.annotations.tags.Tag;\r
+import java.io.InputStream;\r
+import javax.ws.rs.Consumes;\r
+import javax.ws.rs.DELETE;\r
+import javax.ws.rs.HeaderParam;\r
+import javax.ws.rs.POST;\r
+import javax.ws.rs.Path;\r
+import javax.ws.rs.PathParam;\r
+import javax.ws.rs.Produces;\r
+import javax.ws.rs.core.MediaType;\r
+import javax.ws.rs.core.Response;\r
+import org.glassfish.jersey.media.multipart.FormDataParam;\r
+\r
+@Api\r
+@Hidden\r
+@Path("/testStrategy")\r
+@Tag(name = "Test Service", description = "Deploy and delete test strategies to and from the test control unit. (This documentation will only be available to the development team)")\r
+@Produces({MediaType.APPLICATION_JSON})\r
+public interface TestStrategyService {\r
+ @POST\r
+ @Hidden\r
+ @Path("/deploy/v1")\r
+ @Consumes(MediaType.MULTIPART_FORM_DATA)\r
+ @Produces(MediaType.APPLICATION_JSON)\r
+ Response deployTestStrategy(\r
+ @FormDataParam("bpmn") InputStream bpmn,\r
+ @FormDataParam("resources") InputStream compressedResources,\r
+ @FormDataParam("testDefinitionId") String testDefinitionId,\r
+ @FormDataParam("testDefinitionDeployerId") String testDefinitionDeployerId,\r
+ @FormDataParam("definitionId") String definitionId,\r
+ @HeaderParam("Authorization") String authorization);\r
+\r
+ @DELETE\r
+ @Hidden\r
+ @Path("/delete/v1/testDefinitionId/{testDefinitionId}")\r
+ Response deleteByTestDefinitionId(\r
+ @PathParam("testDefinitionId") String testDefinitionId,\r
+ @HeaderParam("authorization") String authorization);\r
+\r
+ @DELETE\r
+ @Hidden\r
+ @Path("/delete/v1/deploymentId/{deploymentId}")\r
+ Response deleteByDeploymentId(\r
+ @PathParam("deploymentId") String deploymentId,\r
+ @HeaderParam("authorization") String authorization);\r
+}\r