Skip to content

Commit

Permalink
[eclipse-kanto#63] Ensured AMQP connectivity for the Hono sandbox ten…
Browse files Browse the repository at this point in the history
…ants

Added an explicit messaging configuration set to AMQP for the provisioned Hono tenants
that are to be used by the quickstart and how-to Kanto Python scripts.

Signed-off-by: Konstantina Gramatova <[email protected]>
  • Loading branch information
konstantina-gramatova committed Jul 25, 2022
1 parent 05f3bc3 commit 4a04996
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quickstart/hono_provisioning.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export AUTH_ID=
# A password for the device to authenticate with
export PWD=

curl -i -X POST http://$HONO_EP:28080/v1/tenants/$TENANT
curl -i -X POST http://$HONO_EP:28080/v1/tenants/$TENANT -H "content-type: application/json" --data-binary '{"ext": {"messaging-type": "amqp"}}'
curl -i -X POST http://$HONO_EP:28080/v1/devices/$TENANT/$DEVICE_ID -H "content-type: application/json" --data-binary '{"authorities":["auto-provisioning-enabled"]}'
curl -i -X PUT -H "content-type: application/json" --data-binary '[{
"type": "hashed-password",
Expand Down

0 comments on commit 4a04996

Please sign in to comment.