Tags: PowerDNS/asu
Tags
black: apply style to tests Signed-off-by: Paul Spooren <[email protected]>
api: add /api/v1/stats/profile_installations Counts how many time a profile was build Signed-off-by: Paul Spooren <[email protected]>
api: fixup build request example Signed-off-by: Paul Spooren <[email protected]>
asu: switch to connexion Using connexion allows to use OpenAPI definitions to design the API and automatically validate parts of it. This should improve testing and documentation at once. Signed-off-by: Paul Spooren <[email protected]>
fixup tests for new mapping Signed-off-by: Paul Spooren <[email protected]>
config: branches as dict
Represent branches as dict rather than a list to avoid mapping each
time.
Also forward calls to /api/latest and /api/branches to
/json/{latest,branches}.json to allow static hosting, future clients
should request these files directly.
Also add some more testcases
Signed-off-by: Paul Spooren <[email protected]>
api: queue_position only if queued This is a cleaner API call, no queue position means it's currently running, -1 means it's not supported by the server, e.g. old Redis version. Signed-off-by: Paul Spooren <[email protected]>
api: store snapshots for only 15 minutes 15 minutes allow to upgrade a "fleet" of routers without rebuilding every single time while staying fairly up to date if there's a new snapshot imagebuilder available Signed-off-by: Paul Spooren <[email protected]>
asu: always host json and store folders in production this should be hosted by a real server Signed-off-by: Paul Spooren <[email protected]>
PreviousNext