summaryrefslogtreecommitdiffstats
path: root/src/test
diff options
context:
space:
mode:
authorVidyashree Rama <vidyashree.rama@huawei.com>2018-10-25 09:31:30 +0530
committerVidyashree Rama <vidyashree.rama@huawei.com>2018-10-25 11:15:13 +0530
commit64aef943514f2badaeb91744d1004c35a57adf4c (patch)
tree7e3b4980823b2f41739cabf5c34d35c2bdb4638e /src/test
parent9165e505c8352023a0d97ffc4ad5ea2fd3a1fd24 (diff)
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 <vidyashree.rama@huawei.com>
Diffstat (limited to 'src/test')
-rwxr-xr-xsrc/test/java/org/onap/dcae/collectors/restconf/restconftest/RestConfProcTest.java4
1 files changed, 4 insertions, 0 deletions
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);