import javax.xml.parsers.DocumentBuilderFactory\r
\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.json.JSONObject;\r
import org.json.JSONArray;\r
import org.apache.commons.lang3.*\r
ExceptionUtil exceptionUtil = new ExceptionUtil()\r
JsonUtils jsonUtil = new JsonUtils()\r
\r
- public void preProcessRequest (Execution execution) {\r
+ public void preProcessRequest (DelegateExecution execution) {\r
//only for dug\r
execution.setVariable("isDebugLogEnabled","true")\r
execution.setVariable("unit_test", "true")\r
utils.log("INFO", "Exited " + method, isDebugEnabled)\r
}\r
\r
- public void postProcessAAIGET(Execution execution) {\r
+ public void postProcessAAIGET(DelegateExecution execution) {\r
def isDebugEnabled=execution.getVariable("isDebugLogEnabled")\r
utils.log("INFO"," ***** postProcessAAIGET ***** ", isDebugEnabled)\r
String msg = ""\r
}\r
\r
\r
- public void preInitResourcesOperStatus(Execution execution){\r
+ public void preInitResourcesOperStatus(DelegateExecution execution){\r
def isDebugEnabled = execution.getVariable("isDebugLogEnabled")\r
\r
utils.log("INFO", " ======== STARTED preInitResourcesOperStatus Process ======== ", isDebugEnabled)\r
/**\r
* Init the service Operation Status\r
*/\r
- public void preUpdateServiceOperationStatus(Execution execution){\r
+ public void preUpdateServiceOperationStatus(DelegateExecution execution){\r
def method = getClass().getSimpleName() + '.preUpdateServiceOperationStatus(' +'execution=' + execution.getId() +')'\r
def isDebugEnabled = execution.getVariable("isDebugLogEnabled")\r
utils.log("INFO","Entered " + method, isDebugEnabled)\r
utils.log("INFO", "Exited " + method, isDebugEnabled)\r
}\r
\r
- public void postResourcesOperStatus(Execution execution) {\r
+ public void postResourcesOperStatus(DelegateExecution execution) {\r
def isDebugEnabled=execution.getVariable("isDebugLogEnabled")\r
\r
}\r
\r
- public void preCompareModelVersions(Execution execution) {\r
+ public void preCompareModelVersions(DelegateExecution execution) {\r
def isDebugEnabled=execution.getVariable("isDebugLogEnabled")\r
\r
}\r
\r
- public void postCompareModelVersions(Execution execution) {\r
+ public void postCompareModelVersions(DelegateExecution execution) {\r
def isDebugEnabled=execution.getVariable("isDebugLogEnabled")\r
}\r
\r
- public void preProcessForAddResource(Execution execution) {\r
+ public void preProcessForAddResource(DelegateExecution execution) {\r
def isDebugEnabled=execution.getVariable("isDebugLogEnabled")\r
\r
}\r
\r
- public void postProcessForAddResource(Execution execution) {\r
+ public void postProcessForAddResource(DelegateExecution execution) {\r
def isDebugEnabled=execution.getVariable("isDebugLogEnabled")\r
\r
}\r
\r
- public void preProcessForDeleteResource(Execution execution) {\r
+ public void preProcessForDeleteResource(DelegateExecution execution) {\r
def isDebugEnabled=execution.getVariable("isDebugLogEnabled")\r
\r
}\r
\r
- public void postProcessForDeleteResource(Execution execution) {\r
+ public void postProcessForDeleteResource(DelegateExecution execution) {\r
def isDebugEnabled=execution.getVariable("isDebugLogEnabled")\r
\r
} \r