summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBalaji, Ramya (rb111y) <rb111y@att.com>2018-10-11 13:37:31 -0400
committerPatrick Brady <patrick.brady@att.com>2018-10-11 18:10:57 +0000
commit80bb680c6ac93d8007630b5070cb58138a551711 (patch)
tree5904d210888394ee61793598473ba605ad25d619
parent7ee4094673456823709217c769e75b73109680d2 (diff)
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) <rb111y@att.com>
-rw-r--r--appc-config/appc-flow-controller/provider/src/main/java/org/onap/appc/flow/controller/executorImpl/GraphExecutor.java8
1 files changed, 0 insertions, 8 deletions
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;