GithubHelp home page GithubHelp logo

switchport-provisioning-api's Introduction

Switchport Provisioning API

Overview

A simple switchport provisioning API

Components

This project uses the following technologies

  • Swagger - Swagger is the world’s largest framework of API developer tools for the OpenAPI Specification(OAS), enabling development across the entire API lifecycle, from design and documentation, to test and deployment.
  • Connexion - Connexion is a framework on top of Flask that automagically handles HTTP requests based on OpenAPI 2.0 Specification (formerly known as Swagger Spec)
  • MongoDB - MongoDB 3.4 is the latest release of the leading database for modern applications, a culmination of native database features and enhancements that will allow you to easily evolve your solutions to address emerging challenges and use cases.
  • nginx - reverse proxy server, also used for ssl termination.
  • Docker - ties a nice pretty bow around the project

Requirements

Python 3.5.2+

Docker Usage

Docker is the recommended way to get started using this project.

To run the server, please execute the following from the root directory:

docker-compose up -d

and open your browser to here:

https://localhost/

Your Swagger definition lives here:

https://localhost/api/swagger.json

NOTE: in the docker version, we've included an SSL cert for convenience, however, some REST clients do not like these self signed certificates at all, while others may allow you to disable cert verification (python requests w/ verify=False)

If your client doesn't allow this, or you just dont want to mess with it you have two options

  1. Install a valid certificate (preferred)
  2. Use http

Development / Testing

To launch the integration tests, use tox:

sudo pip install tox
tox

switchport-provisioning-api's People

Contributors

kecorbin avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.