LSST DM SQuaRE microservice wrapper for determining whether products listed at keeper.lsst.codes are responding to their published endpoint.
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.