thoth-station / management-api

An API service used for administration of deployed Thoth

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Thoth Core Management API

GitHub tag (latest by date) Quay - Build Codacy Badge

This API service is used for administrative and operational tasks for a Thoth deployment. For Management API interaction, one needs a token that can be obtained by contacting Thoth deployment administrator.

Installation and deployment

The service is built using OpenShift Source-to-Image and deployed automatically via Argo CD - see thoth-station/thoth-application repository.

Running Management API locally

Management API can be run locally in a mode when it still talks to the cluster. To run Management API locally, create .env file out out .env.template and adjust environment variable values as desired (see thoth-station/storages for more info):

cp .env.template .env
vim .env

Once the environment is properly setup, you can run Management API locally:

pipenv install
pipenv run gunicorn thoth.management_api.openapi_server:app --config gunicorn.conf.py

About

An API service used for administration of deployed Thoth

License:GNU General Public License v3.0


Languages

Language:Python 100.0%