From 80bb680c6ac93d8007630b5070cb58138a551711 Mon Sep 17 00:00:00 2001 From: "Balaji, Ramya (rb111y)" Date: Thu, 11 Oct 2018 13:37:31 -0400 Subject: Code Fix for exception Removed code added for debug purposes to show parameters in payload as it causes exception at run-time. Issue-ID: APPC-1215 Change-Id: Ib20b7616a3a24beb540910a58a1fb582788fbe57 Signed-off-by: Balaji, Ramya (rb111y) --- .../org/onap/appc/flow/controller/executorImpl/GraphExecutor.java | 8 -------- 1 file changed, 8 deletions(-) (limited to 'appc-config/appc-flow-controller') diff --git a/appc-config/appc-flow-controller/provider/src/main/java/org/onap/appc/flow/controller/executorImpl/GraphExecutor.java b/appc-config/appc-flow-controller/provider/src/main/java/org/onap/appc/flow/controller/executorImpl/GraphExecutor.java index 76e791a6e..7a1e58284 100644 --- a/appc-config/appc-flow-controller/provider/src/main/java/org/onap/appc/flow/controller/executorImpl/GraphExecutor.java +++ b/appc-config/appc-flow-controller/provider/src/main/java/org/onap/appc/flow/controller/executorImpl/GraphExecutor.java @@ -86,14 +86,6 @@ public class GraphExecutor implements FlowExecutorInterface { String payload = transaction.getPayload(); log.debug("payload:" + payload); - JSONObject json = new JSONObject(payload); - for (Object key : json.keySet()) { - String keyStr = (String)key; - Object keyvalue = json.get(keyStr); - String value= keyvalue.toString(); - ctx.setAttribute(keyStr, value); - log.debug("key: "+ keyStr + " value: " + keyvalue); - } Properties parms = new Properties(); for (Object key : ctx.getAttributeKeySet()) { String parmName = (String) key; -- cgit 1.2.3-korg