aboutsummaryrefslogtreecommitdiffstats
path: root/plans/usecases
diff options
context:
space:
mode:
authoregernug <gerard.nugent@est.tech>2019-02-06 15:16:54 +0000
committeregernug <gerard.nugent@est.tech>2019-02-06 15:16:54 +0000
commit6f2874b67ba9d42995dc96a04fc8d665e09b72f6 (patch)
treef67c63d050f58e5d843fd424d7b8d9a930b0d087 /plans/usecases
parentbeebb966c899819159d6a7bf57a146cc6ad844f5 (diff)
Amended tests for replacing of ATT Headers
Change-Id: If9b57fceb404e12f3d2dd1be33403817f8e17dd3 Issue-ID: DMAAP-998 Signed-off-by: egernug <gerard.nugent@est.tech>
Diffstat (limited to 'plans/usecases')
-rw-r--r--plans/usecases/5G-bulkpm/setup.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/plans/usecases/5G-bulkpm/setup.sh b/plans/usecases/5G-bulkpm/setup.sh
index 64ffac17..012c7330 100644
--- a/plans/usecases/5G-bulkpm/setup.sh
+++ b/plans/usecases/5G-bulkpm/setup.sh
@@ -140,9 +140,9 @@ docker cp $WORKSPACE/plans/usecases/5G-bulkpm/assets/xNF.pm.xml.gz sftp:/home/ad
# Data Router Configuration:
# Create default feed and create file consumer subscriber on data router
-curl -v -X POST -H "Content-Type:application/vnd.att-dr.feed" -H "X-ATT-DR-ON-BEHALF-OF:dradmin" --data-ascii @$WORKSPACE/plans/usecases/5G-bulkpm/assets/createFeed.json --post301 --location-trusted -k https://${DR_PROV_IP}:8443
+curl -v -X POST -H "Content-Type:application/vnd.dmaap-dr.feed" -H "X-DMAAP-DR-ON-BEHALF-OF:dradmin" --data-ascii @$WORKSPACE/plans/usecases/5G-bulkpm/assets/createFeed.json --post301 --location-trusted -k https://${DR_PROV_IP}:8443
cp $WORKSPACE/plans/usecases/5G-bulkpm/assets/addSubscriber.json /tmp/addSubscriber.json
sed -i 's/fileconsumer/'${DR_SUBSCIBER_IP}'/g' /tmp/addSubscriber.json
-curl -v -X POST -H "Content-Type:application/vnd.att-dr.subscription" -H "X-ATT-DR-ON-BEHALF-OF:dradmin" --data-ascii @/tmp/addSubscriber.json --post301 --location-trusted -k https://${DR_PROV_IP}:8443/subscribe/1
+curl -v -X POST -H "Content-Type:application/vnd.dmaap-dr.subscription" -H "X-DMAAP-DR-ON-BEHALF-OF:dradmin" --data-ascii @/tmp/addSubscriber.json --post301 --location-trusted -k https://${DR_PROV_IP}:8443/subscribe/1
sleep 10
curl -k https://$DR_PROV_IP:8443/internal/prov