Orion Contextbroker PROF. DR. SERGIO TAKEO KOFUJI PROF. MS. FÁBIO H. CABRINI PSI – 5120 – TÓPICOS EM COMPUTAÇÃO EM NUVEM - 2015.

Slides:



Advertisements
Similar presentations
Building RESTful Interfaces
Advertisements

This product includes material developed by the Globus Project ( Introduction to Grid Services and GT3.
Approaches to EJB Replication. Overview J2EE architecture –EJB, components, services Replication –Clustering, container, application Conclusions –Advantages.
Presentation 7 part 2: SOAP & WSDL. Ingeniørhøjskolen i Århus Slide 2 Outline Building blocks in Web Services SOA SOAP WSDL (UDDI)
NextGRID & OGSA Data Architectures: Example Scenarios Stephen Davey, NeSC, UK ISSGC06 Summer School, Ischia, Italy 12 th July 2006.
Presented by IBM developer Works ibm.com/developerworks/ 2006 January – April © 2006 IBM Corporation. Making the most of Creating Eclipse plug-ins.
Peoplesoft: Building and Consuming Web Services
Nikolay Tomitov Technical Trainer SoftAcad.bg.  What are Amazon Web services (AWS) ?  What’s cool when developing with AWS ?  Architecture of AWS 
SQL Forms Engine Koifman Eran Egri Ozi Supervisor: Ilana David.
A Study in NoSQL & Distributed Database Systems John Hawkins.
INTRODUCTION TO WEB DATABASE PROGRAMMING
IT 210 The Internet & World Wide Web introduction.
Software Engineer, #MongoDBDays.
Database System Concepts and Architecture Lecture # 3 22 June 2012 National University of Computer and Emerging Sciences.
Building service testbeds on FIRE D5.2.5 Virtual Cluster on Federated Cloud Demonstration Kit August 2012 Version 1.0 Copyright © 2012 CESGA. All rights.
Evolution to CIMI Charles (Cal) Loomis & Mohammed Airaj LAL, Univ. Paris-Sud, CNRS/IN2P3 29 August 2013.
CST203-2 Database Management Systems Lecture 2. One Tier Architecture Eg: In this scenario, a workgroup database is stored in a shared location on a single.
OASIS ebXML Registry Standard Open Forum 2003 on Metadata Registries 10:30 – 11:15 January 20, 2003 Kathryn Breininger The Boeing Company Chair, OASIS.
The New Zealand Institute for Plant & Food Research Limited Matthew Laurenson Web Services: Introduction & Design Considerations.
WEB API: WHY THEY MATTER ECOL 453/ Nirav Merchant
Goodbye rows and tables, hello documents and collections.
The FI-WARE Project – Core Platform of the Future Internet FI-WARE NGSI Overview Juanjo Hierro, FI-WARE Chief Architect June 2012
Open Data Protocol * Han Wang 11/30/2012 *
FI-WARE NGSI Overview Juanjo Hierro Telefonica Digital, Coordinator and Chief Architect, FI-WARE
Kelly Boccia Abi Natarajan Konstantin Livitski Senthil Anand Subbanan Meyyappan 1.
FI-CORE Data Context Media Management Chapter Release 4.1 & Sprint Review.
SENSEI - CONFIDENTIAL SENSEI system overview RWI discussion material Alex Gluhak – University of Surrey 07. April 2010.
1 Schema Registries Steven Hughes, Lou Reich, Dan Crichton NASA 21 October 2015.
DISTRIBUTED SYSTEMS RESEARCH GROUP CHARLES UNIVERSITY PRAGUE Faculty of Mathematics and Physics Lubomír Bulej Java Performance.
MobileMAN Internal meetingHelsinki, June 8 th 2004 NETikos activity in MobileMAN project Veronica Vanni NETikos S.p.A.
VICTORIA UNIVERSITY OF WELLINGTON Te Whare Wananga o te Upoko o te Ika a Maui SWEN 432 Advanced Database Design and Implementation MongoDB Architecture.
MongoDB is a database management system designed for web applications and internet infrastructure. The data model and persistence strategies are built.
A FIRST TOUCH ON NOSQL SERVERS: COUCHDB GENOVEVA VARGAS SOLAR, JAVIER ESPINOSA CNRS, LIG-LAFMIA, FRANCE
1 Database Management Systems (DBMS). 2 Database Management Systems (DBMS) n Overview of: ä Database Management Components ä Database Systems Architecture.
Alternative Architecture for Information in Digital Libraries Onno W. Purbo
Facebook API Kelly Orser. Client Libraries Client libraries will simplify the calls to the platform by reducing the amount of code you have to write.
API Crash Course CWU Startup Club. OUTLINE What is an API? Why are API’s useful? What is HTTP? JSON? XML? What is a RESTful API? How do we consume an.
© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/3 JSP Application Models.
ICM – API Server & Forms Gary Ratcliffe.
RESTful Web Services What is RESTful?
ICM – API Server Gary Ratcliffe. 2 Agenda Webinar Programme API Server Overview JSON-RPC iCM API Service API Server and Forms New services under.
Web Services Martin Nečaský, Ph.D. Faculty of Mathematics and Physics Charles University in Prague, Czech Republic Summer 2014.
The ODMG Standard for Object Databases
Web Services An Introduction Copyright © Curt Hill.
Web Technologies Lecture 10 Web services. From W3C – A software system designed to support interoperable machine-to-machine interaction over a network.
Integrating Big Data into the Computing Curricula 02/2015 Achmad Benny Mutiara
OASIS ebXML Registry Standard Open Forum 2003 on Metadata Registries 10:30 – 11:15 January 20, 2003 Kathryn Breininger The Boeing Company Chair, OASIS.
ODATA DESIGN PRINCIPLES July 26, BUILD ON HTTP, REST OData is a RESTful HTTP Protocol Build on HTTP Entities modeled as Resources Relationships.
Apache Solr Dima Ionut Daniel. Contents What is Apache Solr? Architecture Features Core Solr Concepts Configuration Conclusions Bibliography.
Feeling RESTful? Well, first we’ll define a Web Service –A web page meant to be consumed by a computer via an autonomous program as opposed to a web browser.
1 Analysis on the performance of graph query languages: Comparative study of Cypher, Gremlin and native access in Neo4j Athiq Ahamed, ITIS, TU-Braunschweig.
Introduction to Database Programming with Python Gary Stewart
AMSA TO 4 Advanced Technology for Sensor Clouds 09 May 2012 Anabas Inc. Indiana University.
WP2: Data Management Gavin McCance University of Glasgow.
CS240: Advanced Programming Concepts
The Client-Server Model
MongoDB Er. Shiva K. Shrestha ME Computer, NCIT
Open Source distributed document DB for an enterprise
Unit – 5 JAVA Web Services
DSRA -Relative Web technology clarification in Technology Architecture
NOSQL databases and Big Data Storage Systems
New Mexico State University
CS6604 Digital Libraries IDEAL Webpages Presented by
Overview of big data tools
$, $$, $$$ API testing Edition
CS4961 Software Design Laboratory Understand Aquila Backend
Week 05 Node.js Week 05
WCF Data Services and Silverlight
Chengyu Sun California State University, Los Angeles
Server & Tools Business
Presentation transcript:

Orion Contextbroker PROF. DR. SERGIO TAKEO KOFUJI PROF. MS. FÁBIO H. CABRINI PSI – 5120 – TÓPICOS EM COMPUTAÇÃO EM NUVEM

Generic Enablers

FiwareLab - Cloud

Orion ContexBroker Architecture The Orion Context Broker is an implementation of the Publish/Subscribe Context Broker GE, providing the NGSI9 and NGSI10 interfaces. Using these interfaces, clients can do several operations: Register context producer applications, e.g. a temperature sensor within a room; Update context information, e.g. send updates of temperature; Being notified when changes on context information take place (e.g. the temperature has changed) or with a given frequency (e.g. get the temperature each minute); Query context information. The Orion Context Broker stores context information updated from applications, so queries are resolved based on that information.

Orion integration

MongoDB What is MongoDB MongoDB is an open-source document database that provides high performance, high availability, and automatic scaling. Document Database A record in MongoDB is a document, which is a data structure composed of field and value pairs. MongoDB documents are similar to JSON objects. The values of fields may include other documents, arrays, and arrays of documents.

MongoDB The advantages of using documents are: Documents (i.e. objects) correspond to native data types in many programming languages. Embedded documents and arrays reduce need for expensive joins. Dynamic schema supports fluent polymorphism.

MongoDB Key Features High Performance MongoDB provides high performance data persistence. In particular, Support for embedded data models reduces I/O activity on database system. Indexes support faster queries and can include keys from embedded documents and arrays. High Availability To provide high availability, MongoDB’s replication facility, called replica sets, provide: Automatic failover; Data redundancy.

MongoDB Key Features Automatic Scaling MongoDB provides horizontal scalability as part of its core functionality. Automatic sharding distributes data across a cluster of machines. Replica sets can provide eventually-consistent reads for low-latency high throughput deployments.

Json JSON (JavaScript Object Notation) is a lightweight data-interchange format. It is easy for humans to read and write. It is easy for machines to parse and generate. JSON is a text format that is completely language independent but uses conventions that are familiar to programmers of the C-family of languages, including C, C++, C#, Java, JavaScript, Perl, Python, and many others. These properties make JSON an ideal data-interchange language.

VM – Linux Centos 6.6 Network Interface Configuration

VM – Linux Centos 6.6 Service Status

VM – Linux Centos 6.6 Port Status

NGSI Context Management Technical Details – Overview The Context Management component provides the NGSI-9 and NGSI-10 interfaces to manage Context Information about Context Entities. Through these interfaces, a Context Management component will provide its context management services to actors outside of a single network. These actors can: Provide Context Information (update operations) Consume Context Information (query and subscribe/notify operations) Discover context entities through query or notifications (register and discover operations)

NGSI-9 Context Entity Discovery Interface Register Context Entity Operation The RegisterContextEntity operation enables the Context Management component to allow registering and updating Context Entities, their attributes and availability.

NGSI-9 Context Entity Discovery Interface Discover Context Entity Operation The DiscoverContextEntity operation enables an actor to discover available Context Entities and their attributes.

NGSI-9 Context Entity Discovery Interface Subscribe and Notify based Context Entity Discovery Operation SubscribeNotifyContextEntity operation enables an application (application 1) to issue a subscription to the Context Management component on behalf of application 2, such that application 2 receives the respective notification upon the availability of new Context Entities or changes to available Context Entities and their attributes.

NGSI-10 Context Information Interface Update Context Operation The update operation enables an application acting as a context producer to provide or update Context Information to the Context Management component.

NGSI-10 Context Information Interface Query Operation The Query operation enables applications acting as context consumers to query for Context Information of: Explicitly listed Context Entities using their Context Entity id Context Entities which are specified by patterns of entity id and/or attributes.

NGSI-10 Context Information Interface Subscription and Notification Operation The Subscription operation enables an application (application 1) to issue a subscription to the Context Management component on behalf of application 2, such that application 2 receives the respective notifications for changes of context attribute values.

NGSI-9/10 Schema of REST resources Summary of NGSI10 standard operations URLs Each standard operation has a unique URL. All of them use the POST method. The summary is below: /v1/updateContext /v1/queryContext /v1/subscribeContext /v1/updateContextSubscription /v1/unsubscribeContext

NGSI-9/10 Schema of REST resources Summary of NGSI10 convenience operations URLs Convenience operations use a URL to identify the resource and a HTTP verb to identify the operation on that resource following the usual REST convention: GET is used to retrieve information; POST is used to create new information; PUT is used to update information; DELETE is used to destroy information.

NGSI Json or XML message

Hands on Description: You'll create entities and manipulate environment information at the Orion ContexBroker using the Postman Chrome Complement and Json messages. Parameters: Type: char Temperature: float Humidity: integer Pressure: integer PS: You’ll use the Orion Virtual Machine based on Linux.

Links /index.php/Publish/Subscribe_Broker_- _Orion_Context_Broker_- _User_and_Programmers_Guidehttps://forge.fiware.org/plugins/mediawiki/wiki/fiware /index.php/Publish/Subscribe_Broker_- _Orion_Context_Broker_- _User_and_Programmers_Guide /index.php/Publish/Subscribe_Broker_- _Orion_Context_Broker_- _Installation_and_Administration_Guidehttps://forge.fiware.org/plugins/mediawiki/wiki/fiware /index.php/Publish/Subscribe_Broker_- _Orion_Context_Broker_- _Installation_and_Administration_Guide ase_program/docs/NGSI/V1_ A/OMA-TS- NGSI_Context_Management-V1_ A.pdfhttp://technical.openmobilealliance.org/Technical/rele ase_program/docs/NGSI/V1_ A/OMA-TS- NGSI_Context_Management-V1_ A.pdf O3jRjNalGE11lFLQixnfCENMV6dc54wUCCg/edit#gid=0https://docs.google.com/spreadsheets/d/1f4m624nm O3jRjNalGE11lFLQixnfCENMV6dc54wUCCg/edit#gid=0