summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhaoxing <meng.zhaoxing1@zte.com.cn>2017-11-06 15:25:18 +0800
committerZhaoxing <meng.zhaoxing1@zte.com.cn>2017-11-06 15:25:18 +0800
commit03c91b5b325a3110ef256a8d934d80950132a53d (patch)
treefca6cdcbe91133ac9a294d230ef3e71619a3f093
parent1efc786e8d10edf728b8442ca98b36b681da29d8 (diff)
Fix the docker build error for vfc-nfvo-wfenginev1.0.01.0.0-ONAP1.0.0-Amsterdam
Change-Id: I5e6b1cd5021bd2a01ee42288f969297bbdd12595 Issue-id: VFC-445 Signed-off-by: Zhaoxing <meng.zhaoxing1@zte.com.cn>
-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();