SNOWTAM Trial: REST Interface. AIXM XML Developers' Seminar 2 Contents Digital-SNOWTAM Trial Introduction REST Introduction REST in the Digital-SNOWTAM.

Slides:



Advertisements
Similar presentations
Pierre-Johan CHARTRE Java EE - JAX-RS - Pierre-Johan CHARTRE
Advertisements

Give it a REST already Arnon Rotem-Gal-Oz VP R&D xsights
System Wide Information Management (SWIM)
REST - Representational State Transfer
REST Vs. SOAP.
REST Introduction 吴海生 博克软件(杭州)有限公司.
The European Organisation for the Safety of Air Navigation REST and WFS Interfaces Usage in Digital SNOWTAM Trial.
REST (Representational State Transfer)
Building RESTful Interfaces
The European Organisation for the Safety of Air Navigation Digital NOTAM Concept AIXM XML Developers’ Seminar #5 23 March 2010.
Chapter 3: Programming Web Services Service-Oriented Computing: Semantics, Processes, Agents – Munindar P. Singh and Michael N. Huhns, Wiley, 2005.
World Wide Web1 Applications World Wide Web. 2 Introduction What is hypertext model? Use of hypertext in World Wide Web (WWW) – HTML. WWW client-server.
EUROCONTROL’s Efforts with AIXM
Service-Oriented Programming
RESTful Web Development With Nodejs and Express. REST Stands for REpresentational State Transfer Has the following constraints: ◦Client-Server ◦Stateless.
1 Topics raised Implementation of the Digital NOTAM system Mapping the information to AIXM how to generate a minimum subset of the aixm model to generate.
IT 210 The Internet & World Wide Web introduction.
EUROCONTROL Digital NOTAM Project
Chapter 16 The World Wide Web Chapter Goals Compare and contrast the Internet and the World Wide Web Describe general Web processing Describe several.
Designing and Implementing Web Data Services in Perl
Web Architecture & Services (2) Representational State Transfer (REST)
REST.  REST is an acronym standing for Representational State Transfer  A software architecture style for building scalable web services  Typically,
Postacademic Interuniversity Course in Information Technology – Module C1p1 Contents Data Communications Applications –File & print serving –Mail –Domain.
Chapter 1: Introduction to Web Applications. This chapter gives an overview of the Internet, and where the World Wide Web fits in. It then outlines the.
Open Data Protocol * Han Wang 11/30/2012 *
Digital Airport Surface NOTAMs. Introduction What are NOTAMs? –Notices to Airmen (NOTAM) are used to alert pilots about temporary changes affecting the.
The European Organisation for the Safety of Air Navigation EUROCONTROL’s Efforts with AIXM AIXM 5.1 XML Developers' Seminar #4 – Mar 2010.
Presented to: By: FAA Aeronautical Information Management Date: March 23, 2010 Federal Aviation Administration Federal NOTAM System (FNS) AIXM 5.1 XML.
The Inter-network is a big network of networks.. The five-layer networking model for the internet.
Nadir Saghar, Tony Pan, Ashish Sharma REST for Data Services.
REST - Introduction Based on material from InfoQ.com (Stefan Tilkov) And slides from MindTouch.com (Steve Bjorg) 1.
1 CS 502: Computing Methods for Digital Libraries Lecture 19 Interoperability Z39.50.
SNOWTAM Trial: REST Interface. AIXM XML Developers' Seminar 2 Contents Digital-SNOWTAM Trial Introduction REST Introduction REST in the Digital-SNOWTAM.
1 Seminar on Service Oriented Architecture Principles of REST.
World Wide Web “WWW”, "Web" or "W3". World Wide Web “WWW”, "Web" or "W3"
2007cs Servers on the Web. The World-Wide Web 2007 cs CSS JS HTML Server Browser JS CSS HTML Transfer of resources using HTTP.
1 WWW. 2 World Wide Web Major application protocol used on the Internet Simple interface Two concepts –Point –Click.
IS-907 Java EE World Wide Web - Overview. World Wide Web - History Tim Berners-Lee, CERN, 1990 Enable researchers to share information: Remote Access.
Advanced Web Technologies Lecture #4 By: Faraz Ahmed.
Representational State Transfer (REST). What is REST? Network Architectural style Overview: –Resources are defined and addressed –Transmits domain-specific.
Module: Software Engineering of Web Applications Chapter 2: Technologies 1.
RESTful Web Services What is RESTful?
GEO PLACES EXPLORER PRESENTED BY KHUSHBOO BAGHADIYA SUMANA VENKATESH.
REST By: Vishwanath Vineet.
Web Technologies Lecture 10 Web services. From W3C – A software system designed to support interoperable machine-to-machine interaction over a network.
The Internet Salihu Ibrahim Dasuki (PhD) CSC102 INTRODUCTION TO COMPUTER SCIENCE.
General Architecture of Retrieval Systems 1Adrienn Skrop.
Representational State Transfer COMP6017 Topics on Web Services Dr Nicholas Gibbins –
Programming for RESTful-SOA An introduction to building a SOA System with light-weighted RESTful Web Services (Web Services without SOAP or WSDL) Xiong.
REST API Design. Application API API = Application Programming Interface APIs expose functionality of an application or service that exists independently.
1 Chapter 1 INTRODUCTION TO WEB. 2 Objectives In this chapter, you will: Become familiar with the architecture of the World Wide Web Learn about communication.
RESTful Sevices Distributed Objects Presented by: Shivank Malik
WEB SERVICES From Chapter 19 of Distributed Systems Concepts and Design,4th Edition, By G. Coulouris, J. Dollimore and T. Kindberg Published by Addison.
REST- Representational State Transfer Enn Õunapuu
Contents Digital-SNOWTAM Trial Introduction REST Introduction
Contents Digital-SNOWTAM Trial Introduction REST Introduction
Introduction Web Environments
Representational State Transfer
WEB API.
$, $$, $$$ API testing Edition
Service-Oriented Computing: Semantics, Processes, Agents
Creating a Distributed System with Remote Procedure Calls and Web Services Ch.5 B.Ramamurthy 2/17/2019 B.Ramamurthy.
4/4/2019.
RESTful Web Services.
Introduction to World Wide Web
WEB SERVICES From Chapter 19, Distributed Systems
Week 05 Node.js Week 05
Chengyu Sun California State University, Los Angeles
REST API Design Borrowed heavily from:
Presentation transcript:

SNOWTAM Trial: REST Interface

AIXM XML Developers' Seminar 2 Contents Digital-SNOWTAM Trial Introduction REST Introduction REST in the Digital-SNOWTAM Trial Why it is used Architecture How it is used Example

Digital-SNOWTAM Trial Introduction

Digital SNOWTAM Trial SNOWTAM Message Sample ESSA S ESSA S0 C)01L F)71/71/71 G)01/01/01 H)69/63/60 SFH N)71/GOOD C)08 F)71/71/71 G)01/01/01 H)62/65/68 SFH N)71/GOOD C)01R F)71/71/71 G)01/01/01 H)70/66/68 SFH N)71/GOOD R)7/MEDIUM-GOOD T)RWYS AND TWYS CONT 10 PER CENT. APRONS CONT 25 PER CENT

Scope Originator (Digital NOTAM) Service provider - Briefing - FPL - chart - FMS data - etc. End user - Pilot - Airline OPS - ATC - etc. AIXM 5 (Digital NOTAM) Image Text Application xNOTAM Trial (origination only) xSNOWTAM Trial (end-to-end) Execution: Winter

Trial – application architecture

Digital SNOWTAM Trial ( )

REST Introduction

AIXM XML Developers' Seminar 9 REST Representational State Transfer An architectural style A technology agnostic abstraction The Web is RESTful

AIXM XML Developers' Seminar 10 Key principles Identifiable Resources Representations Hypermedia Uniform Interface Actions – Verbs Client-server Transparency and layering Type of data

AIXM XML Developers' Seminar 11 Resources A resource is a real thing that can be acted upon with a request Anything that can be named and identified can be a resource They are found/identified using URIs Unified Resource Identifier = network address ~ URL Collection URI (../airports ) Member URI ( /airports/732d64d4-cd11 )

AIXM XML Developers' Seminar 12 Resources and time Resources can vary over time. The only thing that must be static is the semantic of the mapping (name).

AIXM XML Developers' Seminar 13 Representations Resources are always accessed through a representation Captures the current or intended state of the resource There can be more than one (html, xml, pdf…) HTTP provides well known/standardized content types and content negotiation

AIXM XML Developers' Seminar 14 Hypermedia Allows access to related resources Master-detail and other connections URIs in hypertext links Links should always be provided by the server Enables seemless evolution and distribution Different application and servers

AIXM XML Developers' Seminar 15 Uniform Interface Once you know a resource’s ID, you can interact with it in a single standard way Limited set of operations (verbs) in HTTP: GET, PUT, POST, DELETE Pre-defined semantics allows for optimizations

AIXM XML Developers' Seminar 16 Actions GET Used to read a resource or as a query Should be side-effect free POST Creates a new resource or invoke arbitrary processing PUT Updates the resource with new data and create it if necessary DELETE Removes the resource

AIXM XML Developers' Seminar 17 Client Server Interactions Interactions in both directions: from and to the server Interactions are stateless: no client context stored on the server between requests

AIXM XML Developers' Seminar 18 Transparency / Layering An application can interact with a resource by knowing two things: the identifier of the resource and the action required. That’s all! How the representation is found should be transparent to the user

REST in the Digital- SNOWTAM Trial

AIXM XML Developers' Seminar 20 Why it is used Support the provision of AIXM 5.1 data to end-user applications The REST interface shall enable digital users to: Query the Digital SNOWTAM database for the list of airports contained in the database and select one of these airports; Get the list of airport’s features for a selected airport; Get the surface contamination records for each such feature; Get the related feature through xlink:href; Get the SNOWTAM text and the free text translation associated with an Airport.

AIXM XML Developers' Seminar 21 Architecture The REST framework used is Struts 2 REST plugin. See for more information.

AIXM XML Developers' Seminar 22 Implementation Only GET is needed for the trial.

AIXM XML Developers' Seminar 23 Workflow In order to interrogate the database: request the list of airports select one airport and use the xlink:href to get the details about this airport select a related feature and use the corresponding xlink:href to get the details about it The xlink:href is a URL compliant to the Digital SNOWTAM REST request structure Use the UUID for subsequent calls

AIXM XML Developers' Seminar 24 Base URL Base: / E.g. Then add a Suffix: /

AIXM XML Developers' Seminar 25 Find Airports Suffix: /airportheliports[?designator= ] There are about airports/heliports in the database so… Optional Parameter: The pattern is of the form [A-Z*]{1,4} where * is the wildcard character. Pattern samples: EB* matches any designator beginning with EB *BBR matches any designator ending in BBR E*R matches any designator beginning with E and ending with R

AIXM XML Developers' Seminar 26 Query an Airport Suffix: /airportheliports/ [?features=yes/no&conta minations=yes/no&date= ] Mandatory parameter: gml:identifier – UUID Optional parameters: date - is the search date&time features - specify if xlink:href pointing to related features must be included in the results, e.g. runways, taxiways, etc contaminations - specify if contaminations must be included or not in the result

Examples

AIXM XML Developers' Seminar 28 1 – Create Contamination Use Bromma to create a contamination

AIXM XML Developers' Seminar 29 2 – Use REST to find the airport accept/airportheliports?designator=ESSBhttp://l-accept-04.pulsar.be/ec-xsnowtam-rest- accept/airportheliports?designator=ESSB

AIXM XML Developers' Seminar 30 3 – Find SNOWTAM Text accept/airportheliports/77a0de0e-277a-4824-a561- 2ba779a3658c?features=yes&contaminations=yeshttp://l-accept-04.pulsar.be/ec-xsnowtam-rest- accept/airportheliports/77a0de0e-277a-4824-a561- 2ba779a3658c?features=yes&contaminations=yes snowtam-icao SW** ESSB (SNOWTAM A)ESSB B) C)12 F)3/2/2 G)1/1/1 H)2/3/3 BRD )

AIXM XML Developers' Seminar 31 4 – Get Airport data accept/airportheliports/77a0de0e-277a-4824-a561- 2ba779a3658c?features=yeshttp://l-accept-04.pulsar.be/ec-xsnowtam-rest- accept/airportheliports/77a0de0e-277a-4824-a561- 2ba779a3658c?features=yes … …

AIXM XML Developers' Seminar Get Runway contamination accept/runways/58ea128d-1bbe-47f6-92fe- a8961b4bf5ee?contaminations=yeshttp://l-accept-04.pulsar.be/ec-xsnowtam-rest- accept/runways/58ea128d-1bbe-47f6-92fe- a8961b4bf5ee?contaminations=yes T09:00:00Z 1 MEDIUM BRD NO 1 WATER 2_THIRD

AIXM XML Developers' Seminar Time based accept/runways/58ea128d-1bbe-47f6-92fe- a8961b4bf5ee?date=9/10/2009%2009:00&contaminations=yes

AIXM XML Developers' Seminar 34 AIXM 5.1 TEMPDELTA and a BASELINE