summaryrefslogtreecommitdiffstats
path: root/etc
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 /etc
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 'etc')
-rwxr-xr-xetc/access-token.json4
-rwxr-xr-xetc/collector.properties6
-rwxr-xr-xetc/establish-subscription-input-template.json4
3 files changed, 12 insertions, 2 deletions
diff --git a/etc/access-token.json b/etc/access-token.json
new file mode 100755
index 0000000..6fc9fbb
--- /dev/null
+++ b/etc/access-token.json
@@ -0,0 +1,4 @@
+{
+ "userName" : "test123",
+ "password" : "Changeme_123"
+}
diff --git a/etc/collector.properties b/etc/collector.properties
index a013578..6907e88 100755
--- a/etc/collector.properties
+++ b/etc/collector.properties
@@ -20,3 +20,9 @@ responsePrefix=restapi-result
skipSending=false
sseConnectURL=http://10.0.4.1:8080/RestConfServer/rest/ssevents; http://10.0.4.2:8080/RestConfServer/rest/ssevents
format=json
+restapiUser=access
+restapiPassword=Huawei@123
+trustStoreFileName=./etc/truststore1.openecomp.client.jks;./etc/truststore2.openecomp.client.jks
+trustStorePassword=adminadmin
+keyStoreFileName=./etc/sotn1.p12;./etc/ctrl2.p12
+keyStorePassword=adminadmin
diff --git a/etc/establish-subscription-input-template.json b/etc/establish-subscription-input-template.json
index c47ba01..5273683 100755
--- a/etc/establish-subscription-input-template.json
+++ b/etc/establish-subscription-input-template.json
@@ -1,5 +1,5 @@
{
- "ietf-subscribed-notification:input": {
- "encoding": "encoding-json"
+ "ietf-subscribed-notifications:input": {
+ "encoding": "encode-json"
}
}