\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
*\r
* @param - execution\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 GenericDeleteService PreProcessRequest Process*** ", isDebugEnabled)\r
*\r
* @param - execution\r
*/\r
- public void getServiceResourceVersion(Execution execution){\r
+ public void getServiceResourceVersion(DelegateExecution execution){\r
def isDebugEnabled=execution.getVariable("isDebugLogEnabled")\r
execution.setVariable("prefix",Prefix)\r
utils.log("DEBUG", " *** STARTED GenericDeleteService GetServiceResourceVersion Process*** ", isDebugEnabled)\r
\r
String aaiResponse = response.getResponseBodyAsString()\r
aaiResponse = StringEscapeUtils.unescapeXml(aaiResponse)\r
+ aaiResponse = aaiResponse.replaceAll("&", "&")\r
execution.setVariable("GENDS_getServiceResponse", aaiResponse)\r
\r
utils.logAudit("GET Service Instance response : " + aaiResponse)\r
*\r
* @param - execution\r
*/\r
- public void deleteServiceObject(Execution execution){\r
+ public void deleteServiceObject(DelegateExecution execution){\r
def isDebugEnabled=execution.getVariable("isDebugLogEnabled")\r
execution.setVariable("prefix",Prefix)\r
utils.log("DEBUG", " *** STARTED GenericDeleteService DeleteServiceObject Process*** ", isDebugEnabled)\r