Coder Social home page Coder Social logo

fiware / tutorials.subscriptions Goto Github PK

View Code? Open in Web Editor NEW
4.0 9.0 5.0 2.19 MB

:blue_book: FIWARE 106: Subscribing to Changes in Context

Home Page: https://fiware-orion.rtfd.io/

License: MIT License

Shell 100.00%
tutorial fiware fiware-orion contextual-data ngsi notification subscription publish-subscribe

tutorials.subscriptions's Introduction

FIWARE Banner

FIWARE Core Context Management License: MIT Support badge

These tutorials teach FIWARE users about how to create and manage context data subscriptions. The tutorials build on the entities and Stock Management / Smart Farm applications created in previous tutorials to enable users to fully understand the NGSI Subscribe/Notify paradigm and how to use NGSI subscriptions within their own code.

The tutorial refers to actions made within the browser combined with cUrl commands. The cUrl commands are also available as Postman documentation

Start-Up

NGSI-v2 Smart Supermarket

NGSI-v2 offers JSON based interoperability used in individual Smart Systems. To run this tutorial with NGSI-v2, use the NGSI-v2 branch.

git clone https://github.com/FIWARE/tutorials.Subscriptions.git
cd tutorials.Subscriptions
git checkout NGSI-v2

./services create
./services start
NGSI v2 ๐Ÿ“š Documentation Postman Collection

NGSI-LD Smart Farm

NGSI-LD offers JSON-LD based interoperability used for Federations and Data Spaces. To run this tutorial with NGSI-LD, use the NGSI-LD branch.

git clone https://github.com/FIWARE/tutorials.Subscriptions.git
cd tutorials.Subscriptions
git checkout NGSI-LD

./services create
./services start
NGSI LD ๐Ÿ“š Documentation Postman Collection

License

MIT ยฉ 2018-2024 FIWARE Foundation e.V.

tutorials.subscriptions's People

Contributors

actions-user avatar fisuda avatar jason-fox avatar stbnrivas avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tutorials.subscriptions's Issues

Orion-ld crashes several times during the start of the example

Dear colleagues, when executing the "sudo ./service orion legacy" command, orion-ld serially exits with code 1. Obviously, the health check of the application is triggered. This can be understood from the following log.
image
Orion-ld must be restarted with "sudo docker start" many times before it returns a 200 code.
image

Cannot delete subscriptions

Hi, following the tutorial it is impossible to delete a subscription, because Orion replies:

{"error":"BadRequest","description":"Orion accepts no payload for GET/DELETE requests. HTTP header Content-Type is thus
forbidden"}

This should be an error because it happens also without any header set, also using the correspondent collection in Postman kindly provided here. Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.