Skip to main content

Minimal SQuaRE API wrapper for ci.lsst.codes build status

Project description

[![Build Status](https://travis-ci.org/lsst-sqre/sqre-apikit.svg?branch=master)](https://travis-ci.org/lsst-sqre/sqre-apikit)

# sqre-uservice-status

LSST DM SQuaRE microservice wrapper for `status.lsst.codes`; more
generally, a minimal viable example for how to use the `apikit`
interfaces to create a SQuaRE-compliant microservice.

## Usage

Create a Flask app (preferably using :class:`apikit.APIFlask`). If you
have used `APIFlask`, it will already have a metadata route (but if you
are using Kubernetes ingress, you will want to specify the additional
route behind api.lsst.codes (or wherever) as one of the arguments to
route.

Hook your app up with whatever authenticator to Github it needs (if
any), and whatever secrets the authenticator requires.

If you're planning on hosting in a container via Kubernetes, create a
service and a deployment for it (look in `kubernetes`), and then if you
are standing up the front end too, set up an ingress with TLS
certificate and key. If one already exists (e.g. `api.lsst.codes`) you
just need to add a path to the existing ingress.


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sqre-uservice-buildstatus-0.0.2.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

sqre_uservice_buildstatus-0.0.2-py2.py3-none-any.whl (5.4 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file sqre-uservice-buildstatus-0.0.2.tar.gz.

File metadata

File hashes

Hashes for sqre-uservice-buildstatus-0.0.2.tar.gz
Algorithm Hash digest
SHA256 8f4e467134eec1c21a4e10aeb08dadfb5e6e2b7946b0b22e7ab4cc145a357bfe
MD5 1e0d16bf0c83e1c5775e5e14e65f670b
BLAKE2b-256 ae89017b224ec80192b394fb63be07967702952af788fd1b059ee5b1988d5c98

See more details on using hashes here.

File details

Details for the file sqre_uservice_buildstatus-0.0.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for sqre_uservice_buildstatus-0.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 86b2d51e5f3f0690030716e4c1c4e78ee952198b10354d14f8b6c98924f5987d
MD5 b1b9b63250c8ec5c53fec281ecf4c1fe
BLAKE2b-256 bde3146b163dce688ff8612681c96eed9ae31837013a95cae29dfe3583d1a9eb

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page