--- /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.service;\r
+\r
+\r
+import org.glassfish.jersey.media.multipart.FormDataParam;\r
+\r
+import javax.ws.rs.*;\r
+import javax.ws.rs.core.Response;\r
+\r
+import java.io.InputStream;\r
+\r
+import static javax.ws.rs.core.MediaType.APPLICATION_JSON;\r
+import static javax.ws.rs.core.MediaType.MULTIPART_FORM_DATA;\r
+\r
+@Path("/tcu")\r
+public interface TestDefinitionDeploymentService {\r
+\r
+ @POST\r
+ @Path("/deploy-test-strategy-zip/v1")\r
+ @Consumes(MULTIPART_FORM_DATA)\r
+ @Produces(APPLICATION_JSON)\r
+ Response deployTestStrategyWithResources(@FormDataParam("bpmn") InputStream bpmn,\r
+ @FormDataParam("resources") InputStream resourcesZip);\r
+\r
+ @GET\r
+ @Path("/testDefinition/v1/processDefinitionKey/{processDefinitionKey}")\r
+ @Consumes(APPLICATION_JSON)\r
+ @Produces(APPLICATION_JSON)\r
+ Response isProcessDefinitionDeployed(@PathParam("processDefinitionKey") String processDefinitionKey);\r
+\r
+}\r