drydock/python/drydock_provisioner/control
SPEARS, DUSTIN (ds443n) a171f3c7a5 Add postgresql retention cronjob
Adding cronjob to purge the drydock DB based on retention day value. Additionally adding drydock API endpoint for purging the tasks and result_message tables and running vacuum full on drydock DB.

Change-Id: Ibcce61ecdafa637ca3ffec654152060aae26d4b8
2022-05-18 10:55:26 -04:00
..
__init__.py Refactor build to include Go 2018-09-04 13:13:21 -05:00
api.py Refactor build to include Go 2018-09-04 13:13:21 -05:00
base.py End user logging for audit traceabilty 2019-04-01 10:07:34 +00:00
bootaction.py (fix) Fix missing parameter for node pkg list 2018-09-26 08:57:10 -05:00
designs.py Address PEP8 Failures in Drydock 2020-05-12 18:27:06 +00:00
health.py Fix: pep8 airship-drydock-omni-test fix 2018-11-05 18:35:36 +01:00
middleware.py End user logging for audit traceabilty 2019-04-01 10:07:34 +00:00
nodes.py Refactor build to include Go 2018-09-04 13:13:21 -05:00
readme.md Refactor build to include Go 2018-09-04 13:13:21 -05:00
tasks.py Add postgresql retention cronjob 2022-05-18 10:55:26 -04:00
util.py Refactor build to include Go 2018-09-04 13:13:21 -05:00
validation.py Refactor build to include Go 2018-09-04 13:13:21 -05:00

Control

This is the external facing API service to control the rest of Drydock and query Drydock-managed data.

v1.0 Endpoints

/api/v1.0/tasks

POST - Create a new orchestration task and submit it for execution GET - Get status of a task DELETE - Cancel execution of a task if permitted

/api/v1.0/designs

POST - Create a new site design so design parts can be added

/api/v1.0/designs/{id}

GET - Get a current design if available. Param 'source=compiled' to calculate the inheritance chain and compile the effective design.

/api/v1.0/designs/{id}/parts

POST - Submit a new design part to be ingested and added to this design GET - View a currently defined design part PUT - Replace an existing design part Not Implemented

/api/v1.0/designs/{id}/parts/{kind}/{name}

GET - View a single design part. param 'source=compiled' to calculate the inheritance chain and compile the effective configuration for the design part.