blob: ffb1686c318236d108dbab54febb707011359791 [file] [log] [blame]
rajendrajaiswal8f0afd82019-02-11 12:30:26 +00001#!/bin/bash
2
3# $1 is the IP address of the buscontroller
4# INITIALIZE: dmaap object
5JSON=/tmp/prov.dmaap
6cat << EOF > $JSON
7{
8"version": "1",
9"topicNsRoot": "org.onap.dmaap",
10"drProvUrl": "https://dmaap-dr-prov:8443",
11"dmaapName": "onapCSIT",
12"bridgeAdminTopic": "MM_AGENT_PROV"
13
14}
15EOF
16
17echo "Initializing /dmaap endpoint"
18curl -v -X POST -d @${JSON} -H "Content-Type: application/json" http://$1:8080/webapi/dmaap