+++ /dev/null
-/*\r
- * ============LICENSE_START=======================================================\r
- * ONAP - SO\r
- * ================================================================================\r
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.\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
- * ============LICENSE_END=========================================================\r
- */\r
-package org.openecomp.mso.bpmn.vcpe.workflow;\r
-\r
-import javax.ws.rs.Path;\r
-\r
-import org.camunda.bpm.engine.ProcessEngineServices;\r
-import org.camunda.bpm.engine.ProcessEngines;\r
-import org.openecomp.mso.bpmn.common.workflow.service.WorkflowAsyncResource;\r
-\r
-\r
-/**\r
- * \r
- * @version 1.0\r
- * Asynchronous Workflow processing using JAX RS RESTeasy implementation\r
- * Both Synchronous and Asynchronous BPMN process can benefit from this implementation since the workflow gets executed in the background\r
- * and the server thread is freed up, server scales better to process more incoming requests\r
- * \r
- * Usage: For synchronous process, when you are ready to send the response invoke the callback to write the response\r
- * For asynchronous process - the activity may send a acknowledgement response and then proceed further on executing the process\r
- */\r
-@Path("/async")\r
-public class WorkflowAsyncVcpeResource extends WorkflowAsyncResource {\r
- \r
- protected ProcessEngineServices getProcessEngineServices() {\r
- return pes4junit.orElse(ProcessEngines.getProcessEngine("vcpe"));\r
- }\r
-}\r