From 64aef943514f2badaeb91744d1004c35a57adf4c Mon Sep 17 00:00:00 2001 From: Vidyashree Rama Date: Thu, 25 Oct 2018 09:31:30 +0530 Subject: Add authorization header in SSE request Add authorization header in SSE request to support https Issue-ID: DCAEGEN2-918 Change-Id: I64e1caf98dab34040b58454f656d65b9245c2021 Signed-off-by: Vidyashree Rama --- .../onap/dcae/collectors/restconf/restconftest/RestConfProcTest.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/test') diff --git a/src/test/java/org/onap/dcae/collectors/restconf/restconftest/RestConfProcTest.java b/src/test/java/org/onap/dcae/collectors/restconf/restconftest/RestConfProcTest.java index c86206a..3c55618 100755 --- a/src/test/java/org/onap/dcae/collectors/restconf/restconftest/RestConfProcTest.java +++ b/src/test/java/org/onap/dcae/collectors/restconf/restconftest/RestConfProcTest.java @@ -68,6 +68,10 @@ public class RestConfProcTest { p.put("sseConnectURL", "http://localhost:8080/ssevents"); p.put("subscriberId", "networkId"); p.put("responsePrefix", "restapi-result"); + p.put("restapiUrl", "https://localhost:8080/restconf/operations/" + + "ietf-subscribed-notifications:establish-subscription"); + p.put("restapiUser", "access"); + p.put("restapiPassword", "abc@123"); restConfProc.establishPersistentConnection(p, ctx); Thread.sleep(1000); -- cgit 1.2.3-korg