Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
FIWARE Global Summit - Building Your First Smart App using FIWARE – Getting Started to FIWARE NGSI
1. Building your first Smart App with FIWARE
an introduction to NGSI
Jason Fox, Senior Technical Evangelist
FIWARE Foundation
2. Learning Goals
What is Context Data?
What is a Context Broker?
What is NGSI v2?
Introduction to harmonized data models
How to read and update context data via REST
How to assign relationships between Entities
How to register other sources as context data
How to subscribe to changes in context
1
3. Prerequisites
Docker
Docker Compose
Git
Postman
Cygwin for Windows
2
git clone https://github.com/FIWARE/tutorials.Step-
by-Step.git
cd tutorials.Step-by-Step/
git submodule update --init --recursive
https://www.docker.com/
https://docs.docker.com/compose/install
/
https://git-scm.com/downloads
https://www.getpostman.com/downloads
/
https://www.cygwin.com/install.html
4. FIWARE Catalogue
33
Data/APIManagement
PublicationMonetization
Core Context Management
(Context Broker)
Context
Processing, Analysis, Visualization
Interface to
IoT, Robotics and third party systems
Deploymenttools
3
Development of
Context-aware applications
(Orion, STH-Comet,
Cygnus, QuantumLeap, Draco)
Connection to the
Internet of Things
(IDAS, OpenMTC)
Real-time
processing of
context events
(Perseo)
Handling authorization
and access control to
APIs
(Keyrock, Wilma,
AuthZForce, APInf )
Publication and
Monetization of Context
Information
(CKAN extensions, Data/API
Biz Framework, IDRA)
Creation of
Application Dashboards
(Wirecloud)
Real-time
Processing of media
streams
(Kurento)
Business Intelligence
(Knowage)
Connection to robots
(Fast RTPS,Micro XRCE-DDS)
Big Data
Context Analysis
(Cosmos)
Cloud Edge
(FogFlow)
Documents exchange
(Domibus)
6. Data Entities and Relationships
▪A store is a real world bricks and mortar
building.
▪A shelf is a real world device to hold
objects which we wish to sell
▪A product is defined as something that we
sell - it is conceptual object.
▪An inventory item is another conceptual
entity, used to associate products, stores,
shelves and physical objects.
5
9. Summary
Context data represents the state of a physical or conceptual object which exists
in the real world.
The Orion Context Broker maintains a representation of the state of the entities:
• Entered programmatically
• Retrieved from sensors
• Augmented by other sources such as webservices, other context brokers etc.
The context broker only holds the current state - it has no memory
NGSI v2 is a vendor-neutral standardized interface for interactions within FIWARE
• Simple REST API for CRUD
• Subscriptions can be used raise events to send data to other microservices
• Registrations can be used to retrieve context from other sources
• Also supports Query Filtering + Pagination + Geoqueries
• Use the Open API Specification to generate a library
8