Commit 104409fa authored by Federico Sismondi's avatar Federico Sismondi

Add doc to creation entties script. Add WTP LAB sub calls to subs discover script

parent 171a4570
#!/usr/bin/env python3
"""
Creates dummy entities for IoT Platform.
Creates entities (skeleton) for NAIADES IoT Platform.
id and type of message sent should follow convention defined for URN in spreadsheet
https://telecombretagneeu-my.sharepoint.com/:x:/g/personal/federico_sismondi_telecom-bretagne_eu/Ebw_b9iHempGoSPEz__sYCcB_qPu0pwxDAgAeKXFoMu6cA?e=6uuUGD
this pushed data model to platform, yet no specific data about entities should be included here, that should be handled by components using REST API
NOTES:
- no specific data about entities should be included here, that should be handled by components using REST API
- this will overwrite existing entities
"""
import re
......
......@@ -3,6 +3,13 @@
[[ -z "$ORION_HOST" ]] && echo "Please set ORION_HOST env var. E.g. export ORION_HOST=127.0.0.1" && exit
echo "Querying context broker at: ${ORION_HOST}"
echo "--"
echo "WTP LAB suscriptions:"
curl --location --request GET \
"http://$ORION_HOST:1026/v2/subscriptions/" \
--header "Fiware-Service: wtp_lab" \
| python -mjson.tool
echo "--"
echo "Carouge suscriptions:"
curl --location --request GET \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment