X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=README.md;h=97b35af891d8fd05b56d0a76feb3da55a40a0b69;hb=ee6fa61e2cd7df99891092709765235b6166a041;hp=6e45867a8641a5d47864b0db8f9b03d6a0f98d2f;hpb=ce73ff52ce9aafb07d1aa4c28405328d83c816b9;p=dmaap%2Fdatarouter.git diff --git a/README.md b/README.md index 6e45867a..97b35af8 100644 --- a/README.md +++ b/README.md @@ -79,7 +79,7 @@ What the Data Router is NOT: ## BUILD -Datarouter can be cloned and repository and builb using Maven +After Datarouter repository is cloned it can be built using Maven In the repository Go to datarouter-prov in the root @@ -117,11 +117,11 @@ Curl Commands to test: create a feed: -curl -v -X POST -H "Content-Type : application/vnd.att-dr.feed" -H "X-ATT-DR-ON-BEHALF-OF: rs873m" --data-ascii @/opt/app/datartr/addFeed3.txt --post301 --location-trusted -k https://dmaap-dr-prov:8443 +curl -v -X POST -H "Content-Type : application/vnd.dmaap-dr.feed" -H "X-DMAAP-DR-ON-BEHALF-OF: rs873m" --data-ascii @/opt/app/datartr/addFeed3.txt --post301 --location-trusted -k https://dmaap-dr-prov:8443 Subscribe to feed: -curl -v -X POST -H "Content-Type: application/vnd.att-dr.subscription" -H "X-ATT-DR-ON-BEHALF-OF: rs873m" --data-ascii @/opt/app/datartr/addSubscriber.txt --post301 --location-trusted -k https://dmaap-dr-prov:8443/subscribe/1 +curl -v -X POST -H "Content-Type: application/vnd.dmaap-dr.subscription" -H "X-DMAAP-DR-ON-BEHALF-OF: rs873m" --data-ascii @/opt/app/datartr/addSubscriber.txt --post301 --location-trusted -k https://dmaap-dr-prov:8443/subscribe/1 Publish to feed: