summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--wfenginemgrservice/src/main/java/org/onap/workflow/common/RestClient.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/wfenginemgrservice/src/main/java/org/onap/workflow/common/RestClient.java b/wfenginemgrservice/src/main/java/org/onap/workflow/common/RestClient.java
index e90da7c..5dcef70 100644
--- a/wfenginemgrservice/src/main/java/org/onap/workflow/common/RestClient.java
+++ b/wfenginemgrservice/src/main/java/org/onap/workflow/common/RestClient.java
@@ -180,7 +180,9 @@ public class RestClient {
try {
httpClient = HttpClients.createDefault();
// "http://localhost:8080/activiti-rest/service/repository/deployments/167501"
- String deleteUrl = Constants.HTTP_HEADER + ip + Constants.COLON + port + url;
+ /* String deleteUrl =
+ Constants.HTTP_HEADER + ip + Constants.COLON + port + url + "?cascade=true";*/
+ String deleteUrl = Constants.HTTP_HEADER + ip + Constants.COLON + port + url + "?cascade=true";
HttpDeleteWithBody httpDeteTest = new HttpDeleteWithBody(deleteUrl);
Gson gson = new Gson();
RequestParameters reqPa = new RequestParameters();