Details
-
Type:
Monitor
-
Status: Closed
-
Priority:
Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: FIWARE-TECH-HELP
-
Labels:
Description
Created question in FIWARE Q/A platform on 13-01-2022 at 15:01
Please, ANSWER this question AT https://stackoverflow.com/questions/70699337/how-to-implement-a-fiware-project
Question:
How to implement a FIWARE project
Description:
Hello everyone, after completing the tutorials on NGSI-LD at:
https://github.com/fiware/tutorials.NGSI-LD/
I am currently trying to implement my datamodel and facing multpile issues.
First I know what JSON, JSON-LD and NGSI-LD is and the basics of how the context broker and the MongoDB work together.
My Problem is how to setup such a project. I didn't find any tutorials on how to setup a project. The main points i need to know are:
How to setup the orion context broker
How to provide the context File to the Context Broker
How to setup MongoDB
How to connect all of the above together to a project
For now I have tried to convert my datamodel to json-ld and ngsi-ld using the tutorial at:
https://github.com/FIWARE/tutorials.Understanding-At-Context/tree/ba6ac22ce329ed8eaac6ef5f01266048dc84d244
Afterwards I deleted the datamodel from a tutorial like CRUD-OPerations and inserted my datamodel. But when I start the tutorial and make a POST request it accepts any data, ignoring the datamodel. I could create entities which do not exist in the datamodel with non-existing attributes. The same problem occurs if i start one tutorial with the default datamodel. So it seems to always ignoring the context-File.
Further after i have written some data with POST and read with GET (which both worked perfectly) and close the project the next problem occurs. After I restart the tutorial all data i have written is deleted.
Am I not really getting the whole point of FIWARE or did I do something wrong?
I would appreciate any info from links to detailed explanation.
Activity
- All
- Comments
- History
- Activity
- Transitions