fiware / tutorials.getting-started Goto Github PK
View Code? Open in Web Editor NEW:blue_book: FIWARE 101: An Introduction to the FIWARE Platform
Home Page: https://www.fiware.org/developers/
License: MIT License
:blue_book: FIWARE 101: An Introduction to the FIWARE Platform
Home Page: https://www.fiware.org/developers/
License: MIT License
I started following this series of tutorials to learn more about NGSI-LD but the link to import the postman collection at the begining has expired.
In the second request (barn creation) of the "Creating Data Entities" section, the option --d has a dash left over. In NGSI-LD branch
According to the tutorial the services
script can be used to validate data models:
./services validate [file]
However, services
contained in this repo does not know this command:
tutorials.NGSI-LD/tutorials.Getting-Started$ ./services validate
Command not Found.
usage: services [create|orion|scorpio|stellio|stellio|stop]
for instance
docker rmi $(docker images -a -q)
In the architecture section, it speaks that it consists of three elements but four elements are being presented and in the 'tutorial application' element (which would be the fourth), no content appears, unlike the same tutorial in https://ngsi-ld-tutorials.readthedocs.io/en/latest/working-with-%40context.html#ngsi-ld-rules that does have content. In NGSI-LD branch
Hi,
I tried to replace the ngsi-cintext.jsonld file with my own context file. To do this, I replaced the file in the data-models folder. After starting the service, I tried to query this file at http://localhost:3000/data-models/ngsi-context.jsonld. But here I get the file from the FIWARE tutorial and not my own. It is not clear to me where this file comes from or how to include my own file.
Maybe someone can help me to solve this problem.
we want to encourage developers to use GeoJSON. Furthermore, the NGSI-LD standard only allows GeoJSON.
The url https://uri.fiware.org/ns/data-models that is the base for the fiware is not accessible
So the linked data does not work ie.
"fiware": "https://uri.fiware.org/ns/data-models#",
"Building": "fiware:Building",
The stoppingContainers function in the services script does not filter based on labels and therefore removes all containers and volumes on the machine.
In the request of the section "filter context data by querying metadata" the header 'rel="http://www.w3.org/ns/json-ld#context";' is repeated twice, missing even the double closing quotation mark in the first repetition. In NGSI-LD branch
As I've been going through the tutorial (great postman samples btw), I got stuck on how to register an IoT Agent, meaning how do I get/generate tokens etc?
Hi,
I am trying to use the Getting Started guide on the NGSI-LD branch and I have the following error when trying to launch the services:
tutorials.Getting-Started on NGSI-LD [$]
➜ ./services orion
Stopping containers
Unable to parse logging level: compose
I have the same error when running ./services stop
or ./services create
.
Any idea?
Yo Jason, here are some initial comments:
I was not able to connect to orion ("curl: (7) Failed to connect to localhost port 1026: Connection refused"), had to change the command to "curl -X GET http://$(docker-machine ip default):1026/version"
had to change all the following commands because the localhost or 0.0.0.0 didn't work
the outputs of GET commands should be in a json format, but shown in the console as plain text. To get the output shown in the tutorial I had to use the following command:
"curl -X GET http://$(docker-machine ip default):1026/v2/entities/urn:ngsi-ld:Store:001?options=keyValues | python -m json.tool" (this also doesn't work for all GET commands, no idea why)
my output was not UTF-8, but something like "Bornholmer Stra\u00dfe 65". I didn't bother to change it, but probably this should be mentioned.
perhaps the parameter/flag -X should be discussed
for this command: "curl -X GET http://$(docker-machine ip default):1026/v2/entities?type=Store&georel=near;maxDistance:1500&geometry=point&coords=52.5162,13.3777" I get a confusing output:
[1] 3876
[2] 3877
[3] 3878
-bash: maxDistance:1500: command not found
[4] 3880
[2] Done georel=near
[3] Exit 127 maxDistance:1500
[4]+ Done geometry=point
Filips-MacBook-Air:~ flemic$ [{"id":"urn:ngsi-ld:Store:001","type":"Store","address":{"type":"PostalAddress","value":{"streetAddress":"Bornholmer Straße 65","addressRegion":"Berlin","addressLocality":"Prenzlauer Berg","postalCode":"10439"},"metadata":{}},"location":{"type":"geo:json","value":{"type":"Point","coordinates":[13.3986,52.5547]},"metadata":{}},"name":{"type":"Text","value":"Bösebrücke Einkauf","metadata":{}}},{"id":"urn:ngsi-ld:Store:002","type":"Store","address":{"type":"PostalAddress","value":{"streetAddress":"Friedrichstraße 44","addressRegion":"Berlin","addressLocality":"Kreuzberg","postalCode":"10969"},"metadata":{}},"location":{"type":"geo:json","value":{"type":"Point","coordinates":[13.3903,52.5075]},"metadata":{}},"name":{"type":"Text","value":"Checkpoint Markt","metadata":{}}}]
Cheers!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.