Restconf Discovery Node bug fix 05/73505/1
authorjanani b <janani.b@huawei.com>
Mon, 26 Nov 2018 07:29:03 +0000 (12:59 +0530)
committerjanani b <janani.b@huawei.com>
Mon, 26 Nov 2018 07:29:03 +0000 (12:59 +0530)
COLON removal while updating to ctx param from JSON reply of notification

Issue-ID: CCSDK-745

Change-Id: I4af4de47a550a7f6b47216409484d9a0ab3acdfb
Signed-off-by: janani b <janani.b@huawei.com>
restconf-client/provider/src/main/java/org/onap/ccsdk/sli/plugins/restconfdiscovery/EventProcessor.java

index e46e47a..0eed42c 100644 (file)
@@ -27,7 +27,7 @@ import org.slf4j.LoggerFactory;
 
 import java.util.Map;
 
-import static org.onap.ccsdk.sli.plugins.prop.JsonParser.convertToProperties;
+import static org.onap.ccsdk.sli.plugins.restapicall.JsonParser.convertToProperties;
 import static org.slf4j.LoggerFactory.getLogger;
 
 /**
@@ -38,8 +38,8 @@ class EventProcessor implements Runnable {
     private static final Logger log = getLogger(EventProcessor.class);
     private RestconfDiscoveryNode node;
 
-    private static final String EVENT_SUBSCRIPTION_ID = "ietf-restconf:" +
-            "notification.ietf-yang-push:push-change-update.subscription-id";
+    private static final String EVENT_SUBSCRIPTION_ID = "notification." +
+            "push-change-update.subscription-id";
 
     public EventProcessor(RestconfDiscoveryNode node) {
         this.node = node;