--- /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
+import static javax.ws.rs.core.MediaType.APPLICATION_JSON;\r
+\r
+import javax.servlet.http.HttpServletRequest;\r
+import javax.ws.rs.Consumes;\r
+import javax.ws.rs.GET;\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.Context;\r
+import javax.ws.rs.core.Response;\r
+\r
+@Path("/tcu")\r
+public interface DeveloperService {\r
+ @POST\r
+ @Consumes(APPLICATION_JSON)\r
+ @Produces(APPLICATION_JSON)\r
+ @Path("/dev/workflowTaskCleanup/v1/{enabled}")\r
+ Response workflowTaskCleanup(@PathParam("enabled") String enabled);\r
+\r
+ @POST\r
+ @Consumes(APPLICATION_JSON)\r
+ @Produces(APPLICATION_JSON)\r
+ @Path("/dev/externalTaskWorker/v1/{enabled}")\r
+ Response externalTaskWorker(@PathParam("enabled") String enabled);\r
+\r
+ @GET\r
+ @Consumes(APPLICATION_JSON)\r
+ @Produces(APPLICATION_JSON)\r
+ @Path("/dev/printThreads/v1")\r
+ Response printThreads(@Context HttpServletRequest request);\r
+\r
+ @POST\r
+ @Consumes(APPLICATION_JSON)\r
+ @Produces(APPLICATION_JSON)\r
+ @Path("/dev/jobExecutor/v1/activate")\r
+ Response activateJobExecutor();\r
+\r
+ @POST\r
+ @Consumes(APPLICATION_JSON)\r
+ @Produces(APPLICATION_JSON)\r
+ @Path("/dev/jobExecutor/v1/deactivate")\r
+ Response deActivateJobExecutor();\r
+\r
+ @POST\r
+ @Consumes(APPLICATION_JSON)\r
+ @Produces(APPLICATION_JSON)\r
+ @Path("/dev/gracefulshutdown/v1")\r
+ Response gracefulShutdown();\r
+\r
+ @POST\r
+ @Consumes(APPLICATION_JSON)\r
+ @Produces(APPLICATION_JSON)\r
+ @Path("/dev/disableGracefulShutdown/v1")\r
+ Response disableGracefulShutdown();\r
+\r
+ @POST\r
+ @Consumes(APPLICATION_JSON)\r
+ @Produces(APPLICATION_JSON)\r
+ @Path("/dev/enableGracefulShutdown/v1")\r
+ Response enableGracefulShutdown();\r
+}\r