An open API service indexing awesome lists of open source software.

https://github.com/aaronhmiller/planets-workspace

Demonstrate how an OpenAPI Specification -> Kong Mock -> Insomnia -> inso/decK -> Kong Gateway APIOps flow works from end to end.
https://github.com/aaronhmiller/planets-workspace

apiops declarative-pipeline oas3

Last synced: 8 months ago
JSON representation

Demonstrate how an OpenAPI Specification -> Kong Mock -> Insomnia -> inso/decK -> Kong Gateway APIOps flow works from end to end.

Awesome Lists containing this project

README

          

[![CI](https://github.com/aaronhmiller/planets-workspace/actions/workflows/main-tests.yaml/badge.svg)](https://github.com/aaronhmiller/planets-workspace/actions/workflows/main-tests.yaml)
# API Spec workspace and Flask App for demoing APIOps

It's OK Pluto

This application contains: one flask app in `app.py`. It serves up data about planets from [NASA data](https://solarsystem.nasa.gov/moons/in-depth/) at `/planets` and `/planets/`. It's used in an end-to-end demonstration of Kong and should be imported into [Insomnia](https://insomnia.rest) for full-effect.

It's based on work by the amazing [Lorna Jane Mitchell](https://github.com/lornajane) and its beauty is in its simplicity & clarity. It's a training ground for originating API ideas as a specification before implementation. It has been augmented with Kong and Insomnia to show how APIOps can be leveraged to make the API Lifecycle more efficient, clear, and reliable.

API Lifecycle

## Running

```
FLASK_APP=app.py python -mflask run
```

In its more portable form, run it as a Docker Container:
```
docker run -d --name planets -p 5000:5000 kongaaron/flask-planets
```

## Building your own
To build and tag a new image (see deploy.sh), clone this repo and:
```
docker build -t /flask-planets:1.0 -t /flask-planets:latest .
```
Once you tag and build, upload to `hub.docker.com`:
`docker push /flask-planets`