aboutsummaryrefslogtreecommitdiffstats
path: root/plans
diff options
context:
space:
mode:
Diffstat (limited to 'plans')
-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