From: Zhaoxing Date: Mon, 6 Nov 2017 07:25:18 +0000 (+0800) Subject: Fix the docker build error for vfc-nfvo-wfengine X-Git-Tag: v1.0.0^0 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=03c91b5b325a3110ef256a8d934d80950132a53d;p=vfc%2Fnfvo%2Fwfengine.git Fix the docker build error for vfc-nfvo-wfengine Change-Id: I5e6b1cd5021bd2a01ee42288f969297bbdd12595 Issue-id: VFC-445 Signed-off-by: Zhaoxing --- 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();