* ONAP - SO\r
* ================================================================================\r
* Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.\r
+ * Copyright (C) 2017 Huawei Technologies Co., Ltd. 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
\r
import org.apache.commons.lang3.*\r
import org.camunda.bpm.engine.delegate.BpmnError\r
-import org.camunda.bpm.engine.runtime.Execution\r
+import org.camunda.bpm.engine.delegate.DelegateExecution\r
import org.openecomp.mso.rest.APIResponse\r
import org.springframework.web.util.UriUtils\r
\r
* @param - execution\r
*\r
*/\r
- public void preProcessRequest(Execution execution) {\r
+ public void preProcessRequest(DelegateExecution execution) {\r
def isDebugEnabled = execution.getVariable("isDebugLogEnabled")\r
execution.setVariable("prefix",Prefix)\r
utils.log("DEBUG", " *** STARTED GenericGetService PreProcessRequest Process*** ", isDebugEnabled)\r
*\r
* @param - execution\r
*/\r
- public void obtainServiceInstanceUrlById(Execution execution){\r
+ public void obtainServiceInstanceUrlById(DelegateExecution execution){\r
def isDebugEnabled=execution.getVariable("isDebugLogEnabled")\r
execution.setVariable("prefix",Prefix)\r
utils.log("DEBUG", " *** STARTED GenericGetService ObtainServiceInstanceUrlById Process*** ", isDebugEnabled)\r
*\r
* @param - execution\r
*/\r
- public void obtainServiceInstanceUrlByName(Execution execution){\r
+ public void obtainServiceInstanceUrlByName(DelegateExecution execution){\r
def isDebugEnabled=execution.getVariable("isDebugLogEnabled")\r
execution.setVariable("prefix",Prefix)\r
utils.log("DEBUG", " *** STARTED GenericGetService ObtainServiceInstanceUrlByName Process*** ", isDebugEnabled)\r
*\r
* @param - execution\r
*/\r
- public void getServiceObject(Execution execution){\r
+ public void getServiceObject(DelegateExecution execution){\r
def isDebugEnabled=execution.getVariable("isDebugLogEnabled")\r
execution.setVariable("prefix",Prefix)\r
utils.log("DEBUG", " *** STARTED GenericGetService GetServiceObject Process*** ", isDebugEnabled)\r