Swagger-SDK Kanagaraj.Manickam@huawei.com ONAP Paris Developer Event 25 – 09 - 2017.

Slides:



Advertisements
Similar presentations
Extending Web-Protégé to Support Reasoning
Advertisements

Introduction to Maven 2.0 An open source build tool for Enterprise Java projects Mahen Goonewardene.
Modern app development Continuous value delivery and rapid response to change.
What is a Programming Language? The computer operates using binary numbers. The computer only knows about 1’s and 0’s. Humans can also use 1’s and 0’s,
6/11/2015Page 1 Web Services-based Distributed System B. Ramamurthy.
Software Frameworks for Acquisition and Control European PhD – 2009 Horácio Fernandes.
Presented by IBM developer Works ibm.com/developerworks/ 2006 January – April © 2006 IBM Corporation. Making the most of Creating Eclipse plug-ins.
FileSecure Implementation Training Patch Management Version 1.1.
© 2002 IBM Corporation Confidential | Date | Other Information, if necessary June, 2011 Made available under the Eclipse Public License v Mobile.
WINDOWS AZURE MOBILE SERVICES AN INTRODUCTION Bret Stateham Technical Evangelist
RESTful Microservices In Java With Jersey Jakub Podlešák Software Engineer Oracle, Application Server Group September 29, 2014 Copyright © 2014, Oracle.
Web Services using PHP. web services (recap) Web services today are frequently just Application Programming Interfaces (API) or web APIs that can be accessed.
Software Deployment & Release 26/03/2015 1EN-ICE.
DDM Central Catalogs and Central Database Pedro Salgado.
Maven. Introduction Using Maven (I) – Installing the Maven plugin for Eclipse – Creating a Maven Project – Building the Project Understanding the POM.
1 Punishment Through Continuous Delivery If it hurts, do it more often…
Status Report Hans Wenzel Geant4 Validation repository weekly meeting 13 th April 2016.
Portlet Development Konrad Rokicki (SAIC) Manav Kher (SemanticBits) Joshua Phillips (SemanticBits) Arch/VCDE F2F November 28, 2008.
Platform & Maven2 David Šimonek. Certified Engineer Course Agenda What is Maven? Why Maven? NB IDE & Maven NB Platform & Maven.
XNAT 1.7: Getting Started 6 June, Introduction In this presentation we’ll discuss:  Features and functions in XNAT 1.7  Requirements  Installing.
Integrated ALM with Cross-Tool Reporting Kovair Marketing Kovair Software Copyright ©
Getting Started as an EdgeX Developer
The Holmes Platform and Applications
ONAP CLI (Command-Line Interface ) Architecture
Open-O CLI (Command-Line Interface ) Architecture
Microservice Bus Tutorial Huabing Zhao
Getting & Running EdgeX Docker Containers
Joonas Sirén, Technology Architect, Emerging Technologies Accenture
Open-O Client Project Proposal
Documentation Guidelines
Open-O Integration Project Introduction
Open-O Client Project Proposal
Maven 04 March
Android Development 陆俊敏 F
Advanced Programing practices
Ed-Fi ODS/API v3.0 Pre-Read Information for Technical Congress.
Software Tango Meeting - May 2011 N. Leclercq on behalf of the SOLEIL Computing Team.
A&AI Component Diagram
Getting Started with Alfresco Development
CLI PTL ONAP Paris Developer Event 25 –
Google App Engine Mandeep Singh (37926)
Swagger-SDK CLI PTL ONAP Paris Developer Event 25 –
Open-O CLI One Command to command whole Open-O v1.0
Documentation Guidelines
Outline SOAP and Web Services in relation to Distributed Objects
Getting Started as an EdgeX Developer
Configuration Store in ONAP using Distributed KV Store (As part of making ONAP carrier grade) Consul.
Open-O Client Project Proposal
Outline SOAP and Web Services in relation to Distributed Objects
Getting started with Alfresco Development
Embedding the Reporting Engine Version 3.5
NA4 Test Team Status Test meeting, 07/09/04
Advanced Integration and Deployment Techniques
API Documentation Guidelines
Automated Automation of REST APIs
Ucsmsdk v UCS Python SDK.
DWR: Direct Web Remoting
ESIS Consulting LLC (C) ESIS Consulting LLC. All rights reserved
Patricia NXT.
Objectives In this lesson you will learn about: Need for servlets
Testing RESTful Web APIs
Presented by : Chirag Dani & Dhaval Shah
Advanced Programing practices
Open Automation Software
Distributed System using Web Services
Enterprise Java Beans.
Node.js Test Automation using Oracle Developer Cloud- Simplified
Distributed System using Web Services
Progress in CMA on GSICS Collaboration Servers Synchronisation
Java Code Review with CheckStyle
Presentation transcript:

Swagger-SDK Kanagaraj.Manickam@huawei.com ONAP Paris Developer Event 25 – 09 - 2017

What is Swagger? Micro-service Swagger helps to Define REST API based on OAS standard, as swagger.json Auto generate the REST service code, using swagger.json with swagger annotations. Provides readable REST API document using swagger.json Micro-service Provides REST API (mostly) Most recommended to use swagger technology for impl. it

Today’s problem in micro-service development Develop first, Latter adopt with swagger Manual authoring API document in-consistency with code Manual impl. Of client sdk. Effort, money + time. Later detection of change in depending service REST API. Any change in Service B REST API, detected only during system testing Increases the development cycle (some time, during deployment) Service A Client SDK B Service B JAVA HTTP Owned By Team A Owned By Team B

Swagger-sdk Build-Time support Run-Time support Set of Maven plug-ins For already swagger annotated services, auto generate swagger.json Install it in maven repository [ Project Maven Group-id] ::[ Project maven artifact-id]-swagger-schema :: [project maven version]. Deploy it remote maven repository (TBD) MSB already supported For already swagger.json enabled services, auto generates java sdk [ Project Maven Group-id] ::[ Project maven artifact-id]-java-sdk ::  Run-Time support Tiny REST controller to provide swagger.json at std. URI Tested in Open-O,

Early detection of change in depending service REST API Service A should use Service B’s auto-generated java sdk instead of manual written java sdk. When B REST API changes, auto-generated java sdk interfaces will get updated with new changes. So Service A will start to report complier error automatically. No need to wait till System testing Service A Auto generated java sdk B Service B JAVA HTTP Owned By Team A Owned By Team B

Thank you Wiki : https://wiki.onap.org/display/DW/swagger-sdk