Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Microservices with Swagger Flask and Docker

dhilipsiva
November 12, 2016

Microservices with Swagger Flask and Docker

My slides for "Microservices with Swagger Flask and Docker" for Bangalore Open Source Meetup (BOSM )

dhilipsiva

November 12, 2016
Tweet

More Decks by dhilipsiva

Other Decks in Programming

Transcript

  1. Microservices with Swagger, Flask and Docker BOSM - Bangalore Open

    Source Meetup @dhilipsiva Tech Lead, Full-Stack & DevOps - @Appknox http://dhilipsiva.com [email protected]
  2. @dhilipsiva Tech Lead, Full-Stack & DevOps - @Appknox I code

    for Web, Mobile, Embedded & IoT. Open- Source Fanatic. Big Data & Machine Learning Enthusiast. Dad. Atheist So primarily a Developer + little bit of this & that Jack of all trades & Master of none
  3. The Open API Speci cation - V2.0 (f.k.a. Swagger Speci

    cation) The OpenAPI Speci cation (originally known as the Swagger Speci cation) is a speci cation for machine- readable interface les for describing, producing, consuming, and visualizing RESTful web services. (Quoted from Wikipedia) Swagger™ is a project used to describe and document RESTful APIs. https://github.com/OAI/OpenAPI-Speci cation
  4. Uses Language Neutral & Machine Readable Format APIs can be

    de ned in JSON or YAML API-First Development Tooling Support (core, UI, codegen, editor)
  5. History 2010: Tony Tam @Wordnik founded Swagger 2010-2014: Development, Growth,

    Adoption, Tooling, Community Early 2015: Swagger acquired by SmartBear Late 2015: Swagger donated to "Linux Foundation" as“OpenAPI Speci cation”
  6. Hands On Connection Example Repo: https://github.com/ds- forks/connexion-example swagger-codegen generate -i

    swagger.yaml -l java -o /tmp/swag connexion run swagger.yaml --stub --debug
  7. Docker $ docker build -t connexion-example . $ docker run

    -d -p 8080:8080 connexion-example $ ./test.sh # do some test HTTP requests
  8. Thanks! https://github.com/dhilipsiva/talks Copyright © 2016 dhilipsiva This copy is released

    under the MIT License Source Code SlideShare Link Questions http://dhilipsiva.com