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

Slides:



Advertisements
Similar presentations
Software Frameworks for Acquisition and Control European PhD – 2009 Horácio Fernandes.
Advertisements

February Semantion Privately owned, founded in 2000 First commercial implementation of OASIS ebXML Registry and Repository.
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.
PLATFORM TO EASE THE DEPLOYMENT AND IMPROVE THE AVAILABILITY OF TRENCADIS INFRASTRUCTURE IberGrid 2013 Miguel Caballer GRyCAP – I3M - UPV.
Ansible and Ansible Tower 1 A simple IT automation platform November 2015 Leandro Fernandez and Blaž Zupanc.
Trimantra Software Solution Offshore Software Development Outsourcing Company Visit :
Status Report Hans Wenzel Geant4 Validation repository weekly meeting 13 th April 2016.
Project Cumulus Overview March 15, End Goal Unified Public & Private PaaS for GlassFish/Java EE Simplify deployment of Java EE Apps on top of.
Project Tacker Open Platform for NFV Orchestration OPNFV Design Summit.
Getting Started as an EdgeX Developer
SDN-O LCM for Mercury Release Key Points and Overview
Open-O SFC.Mgr Proposal
ONAP Management Requirements
PaaS services for Computing and Storage
The Holmes Platform and Applications
ONAP CLI (Command-Line Interface ) Architecture
Open-O CLI (Command-Line Interface ) Architecture
Joonas Sirén, Technology Architect, Emerging Technologies Accenture
Open-O Client Project Proposal
Agenda:- DevOps Tools Chef Jenkins Puppet Apache Ant Apache Maven Logstash Docker New Relic Gradle Git.
Documentation Guidelines
Open-O Integration Project Introduction
Swagger-SDK ONAP Paris Developer Event 25 –
Open-O Client Project Proposal
Maven 04 March
Android Development 陆俊敏 F
Leading New ICT, Making eFinance More Effective.
Ed-Fi ODS/API v3.0 Pre-Read Information for Technical Congress.
A&AI Component Diagram
Getting Started with Alfresco Development
CLI PTL ONAP Paris Developer Event 25 –
Infrastructure Orchestration to Optimize Testing
Google App Engine Mandeep Singh (37926)
Open-O CLI One Command to command whole Open-O v1.0
Documentation Guidelines
Getting Started as an EdgeX Developer
Multi-VIM/Cloud High Level Architecture
The Enterprise API Integration Platform Prepared for
Configuration Store in ONAP using Distributed KV Store (As part of making ONAP carrier grade) Consul.
ONAP Run-time Catalog Project
Open-O Client Project Proposal
Open-O GUI Project Proposal
Centralize Image Management for ONAP
Getting started with Alfresco Development
NA4 Test Team Status Test meeting, 07/09/04
Advanced Integration and Deployment Techniques
VF-C R2 Feature Planning & Implementation Yan Yang
Agenda Where we are (Amsterdam Architecture)
API Documentation Guidelines
ONAP Amsterdam Architecture
Consideration of Modeling Evolution in ONAP Michela Bevilacqua Peter Wörndle and Tara Cummings 13 December , 2017.
Ucsmsdk v UCS Python SDK.
ETSI Multi-access Edge Computing:
ONAP Beijing Architecture Chris Donley 1/9/18
Simplified Development Toolkit
Micro-service Orchestration for Serverless Cloud Computing Cathy Zhang, Distinguished Engineer, Huawei Louis Fourie, Senior Staff Engineer, Huawei.
Defining ONAP VNF Package Model
Appcelerator Arrow: Build APIs in Minutes. Connect to Any Data Source
Patricia NXT.
Testing RESTful Web APIs
Open Automation Software
Azure Cosmos DB with SQL API .Net SDK
Distributed System using Web Services
Open Source Projects Collaborations with ONAP
Node.js Test Automation using Oracle Developer Cloud- Simplified
Vitrage Project Update, OpenStack Summit Berlin
Distributed System using Web Services
Server Management and Automation Windows Server 2012 R2
TN19-TCI: Integration and API management using TIBCO Cloud™ Integration
Presentation transcript:

Swagger-SDK Kanagaraj.Manickam@huawei.com CLI PTL 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. Auto generate the client sdk code, using swagger.json in different language 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. If we want sdk in different languages 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 http://localhost:8080/xxx/v1/swagger.json 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. No manual implementation No maintenance Save money, time 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

Kanagaraj Manickam Contact Sr. System Architect in Huawei OpenStack Core-reviewer for OpenStack HEAT & TACKER OpenStack Presentations Heat Orchestration Template (HOT) Monasca based Auto-scaling Namos (OpenStack inventory controller) ONAP CLI PTL VFC committer Domain Experiences Data-center storage, server Management & Orchestration (7 yrs) OpenStack Cloud (4 yrs) NFV MANO (2 yrs) Contact Kanagaraj.manickam@huawei.com IRC: KanagarajM @mrkanag