Code Fix for exception 75/70275/2
authorBalaji, Ramya (rb111y) <rb111y@att.com>
Thu, 11 Oct 2018 17:37:31 +0000 (13:37 -0400)
committerPatrick Brady <patrick.brady@att.com>
Thu, 11 Oct 2018 18:10:57 +0000 (18:10 +0000)
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) <rb111y@att.com>
appc-config/appc-flow-controller/provider/src/main/java/org/onap/appc/flow/controller/executorImpl/GraphExecutor.java

index 76e791a..7a1e582 100644 (file)
@@ -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;