summaryrefslogtreecommitdiffstats
path: root/restconf-client
diff options
context:
space:
mode:
authorjanani b <janani.b@huawei.com>2018-11-26 12:59:03 +0530
committerjanani b <janani.b@huawei.com>2018-11-26 12:59:03 +0530
commit88628ba71be31e9a9863accd450472aa3f3c51f8 (patch)
treed1633d4d767aa7acf4be201c4ed89f30c2f38aac /restconf-client
parent01de875afad6920a65b7ee266437595558d41395 (diff)
Restconf Discovery Node bug fix
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>
Diffstat (limited to 'restconf-client')
-rw-r--r--restconf-client/provider/src/main/java/org/onap/ccsdk/sli/plugins/restconfdiscovery/EventProcessor.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/restconf-client/provider/src/main/java/org/onap/ccsdk/sli/plugins/restconfdiscovery/EventProcessor.java b/restconf-client/provider/src/main/java/org/onap/ccsdk/sli/plugins/restconfdiscovery/EventProcessor.java
index e46e47a9..0eed42c6 100644
--- a/restconf-client/provider/src/main/java/org/onap/ccsdk/sli/plugins/restconfdiscovery/EventProcessor.java
+++ b/restconf-client/provider/src/main/java/org/onap/ccsdk/sli/plugins/restconfdiscovery/EventProcessor.java
@@ -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;