aboutsummaryrefslogtreecommitdiffstats
path: root/plans/dcaegen2-pmmapper
diff options
context:
space:
mode:
authorrajendrajaiswal <rajendra.jaiswal@ericsson.com>2019-03-06 11:47:06 +0000
committerroot <rajendra.jaiswal@ericsson.com>2019-03-06 16:15:18 +0000
commit84f3d0c1952dd39603ab1ad3662b39d47fc7b471 (patch)
tree5a7e1f0758d5ba683e2a99c07107c4c0d0d8d111 /plans/dcaegen2-pmmapper
parent3396b7536f5ef986df20788c87470c12bb95123a (diff)
Net test to test Pushed PM data from Data Router
Change-Id: I9af1e027f428594cf589baeb01bbc30cd49dc402 Issue-ID: INT-863 Signed-off-by: root <rajendra.jaiswal@ericsson.com>
Diffstat (limited to 'plans/dcaegen2-pmmapper')
-rw-r--r--plans/dcaegen2-pmmapper/pmmapper/assets/config.json2
-rwxr-xr-xplans/dcaegen2-pmmapper/pmmapper/dmaapbc.sh13
-rw-r--r--plans/dcaegen2-pmmapper/pmmapper/setup.sh2
3 files changed, 14 insertions, 3 deletions
diff --git a/plans/dcaegen2-pmmapper/pmmapper/assets/config.json b/plans/dcaegen2-pmmapper/pmmapper/assets/config.json
index 56629e09..5eec4380 100644
--- a/plans/dcaegen2-pmmapper/pmmapper/assets/config.json
+++ b/plans/dcaegen2-pmmapper/pmmapper/assets/config.json
@@ -1,5 +1,5 @@
{
- "pm-mapper-filter": "{ \"filters\":[]}",
+ "pm-mapper-filter": { "filters":[]},
"streams_subscribes": {
"dmaap_subscriber": {
"type": "data_router",
diff --git a/plans/dcaegen2-pmmapper/pmmapper/dmaapbc.sh b/plans/dcaegen2-pmmapper/pmmapper/dmaapbc.sh
index bb8c6f26..14051121 100755
--- a/plans/dcaegen2-pmmapper/pmmapper/dmaapbc.sh
+++ b/plans/dcaegen2-pmmapper/pmmapper/dmaapbc.sh
@@ -53,7 +53,18 @@ cat << EOF > $JSON
"feedVersion": "1",
"feedDescription":"PM Mapper Feed",
"owner":"bulkpm",
-"asprClassification": "unclassified"
+"asprClassification": "unclassified",
+"pubs": [
+ {
+ "dcaeLocationName": "csit-pmmapper",
+ "feedId": "1",
+ "lastMod": "2015-01-01T15:00:00.000Z",
+ "pubId": "10",
+ "status": "EMPTY",
+ "username": "pmmapper",
+ "userpwd": "pmmapper"
+ }
+ ]
}
EOF
echo "Initializing /feeds endpoint"
diff --git a/plans/dcaegen2-pmmapper/pmmapper/setup.sh b/plans/dcaegen2-pmmapper/pmmapper/setup.sh
index 806728d5..071213ef 100644
--- a/plans/dcaegen2-pmmapper/pmmapper/setup.sh
+++ b/plans/dcaegen2-pmmapper/pmmapper/setup.sh
@@ -145,4 +145,4 @@ docker exec buscontroller /bin/sh -c "cat /opt/app/dmaapbc/logs/ONAP/application
curl -k https://$DR_PROV_IP:8443/internal/prov
#Pass any variables required by Robot test suites in ROBOT_VARIABLES
-ROBOT_VARIABLES="-v DR_PROV_IP:${DR_PROV_IP} -v DMAAPBC_IP:${DMAAPBC_IP} -v DMAAP_MR_IP:${DMAAP_MR_IP} -v CBS_IP:${CBS_IP} -v PMMAPPER_IP:${PMMAPPER_IP}" \ No newline at end of file
+ROBOT_VARIABLES="-v DR_PROV_IP:${DR_PROV_IP} -v DMAAPBC_IP:${DMAAPBC_IP} -v DMAAP_MR_IP:${DMAAP_MR_IP} -v CBS_IP:${CBS_IP} -v PMMAPPER_IP:${PMMAPPER_IP} -v DR_NODE_IP:${DR_NODE_IP}" \ No newline at end of file