... | ... | @@ -89,6 +89,33 @@ The following table describes which partners have managed to test successfully c |
|
|
[Q] how to we integrate our module to the platform? \
|
|
|
[A] you can either push the code to the git repo (different branch from master) and provide the `Dockerfile` describing how to build and run the service, or you can push directly the docker image to dockerhub and then we will pull the image from there :)
|
|
|
|
|
|
4.
|
|
|
[Q] How do I create an entity and push historical records to the historical API?\
|
|
|
[A]\
|
|
|
step1. define your entity id, it should follow the conventions:
|
|
|
`udn:ngsi-ld:<dataType>:<string>`
|
|
|
e.g
|
|
|
`urn:ngsi-ld:WaterQualityObserved:fountain-1`
|
|
|
|
|
|
step2. create entity, use script example named `watering_01_create_entity.sh`
|
|
|
|
|
|
step3. ask historical DB to start tracking a certain entity (start saving records in historic DB)
|
|
|
please use as template script `historic_01_set_up.sh`, you will need to update the `description` and the `type` as minimal modifications
|
|
|
|
|
|
|
|
|
step4. test it
|
|
|
please use as template script `historic_02_api_query.sh`
|
|
|
|
|
|
DOESNT IT WORK?
|
|
|
- check again step 3 and 4 .sh examples
|
|
|
- remeber to include the headers in the requyest:
|
|
|
|
|
|
```
|
|
|
--header "Fiware-Service: carouge"
|
|
|
--header "Fiware-ServicePath: /"
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## TODO :
|
... | ... | |