aboutsummaryrefslogtreecommitdiffstats
path: root/sdc-workflow-designer-server/src/main
diff options
context:
space:
mode:
authorYuanHu <yuan.hu1@zte.com.cn>2018-03-27 18:55:40 +0800
committerYuanHu <yuan.hu1@zte.com.cn>2018-03-27 18:55:40 +0800
commit53a0027afd07d532a0c5d8d51ecffbfd5995b773 (patch)
tree1001161059cbb7a1d45c469379e63b1d6da08e45 /sdc-workflow-designer-server/src/main
parent59884c775c9d06e2195401a09e08650a5cf37b20 (diff)
Fix Nexus IQ Issue.
Change org.apache.velocity's velocity to velocity's velocity Issue-ID: SDC-1127 Change-Id: I1667291e615b5121bff429a0c8cd11a33295ec98 Signed-off-by: YuanHu <yuan.hu1@zte.com.cn>
Diffstat (limited to 'sdc-workflow-designer-server/src/main')
-rw-r--r--sdc-workflow-designer-server/src/main/java/org/onap/sdc/workflowdesigner/resources/WorkflowModelerResource.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/sdc-workflow-designer-server/src/main/java/org/onap/sdc/workflowdesigner/resources/WorkflowModelerResource.java b/sdc-workflow-designer-server/src/main/java/org/onap/sdc/workflowdesigner/resources/WorkflowModelerResource.java
index 82f577b3..fe736890 100644
--- a/sdc-workflow-designer-server/src/main/java/org/onap/sdc/workflowdesigner/resources/WorkflowModelerResource.java
+++ b/sdc-workflow-designer-server/src/main/java/org/onap/sdc/workflowdesigner/resources/WorkflowModelerResource.java
@@ -115,11 +115,12 @@ public class WorkflowModelerResource {
URI srcUri = Paths.get(".", WORKFLOW_JSON_TEMP_FILE_NAME).toUri();
String processName = "plan_" + UUID.randomUUID().toString();
- String bpmn = buildBPMN(srcUri, processName);
- String jsonBpmn = insertJson2Bpmn(json, bpmn);
+ // TODO for Nexus-IQ
+// String bpmn = buildBPMN(srcUri, processName);
+// String jsonBpmn = insertJson2Bpmn(json, bpmn);
// save2SDC(json, jsonBpmn);
- FileCommonUtils.write(WORKFLOW_XML_TEMP_FILE_NAME, jsonBpmn);
+// FileCommonUtils.write(WORKFLOW_XML_TEMP_FILE_NAME, jsonBpmn);
return Response.status(Response.Status.OK).entity(json).build();
} catch (IOException e) {