drydock/python/drydock_provisioner/control
Sergiy Markin 108a3c1ee4 Fix deprecated code
This PS replaces deprecared module pkg_resources,
also fixes the schema validation by adding
specific schema draft to choose in order to
prevent the processor to fall back to use the
latest draft that may potentially cause issues.

Also switched to quay.io/airshipit for base ubuntu
image

Change-Id: I687ef267ee3b027e80815e8852c8edcab5b5b727
2024-12-23 20:55:29 +00:00
..
__init__.py Refactor build to include Go 2018-09-04 13:13:21 -05:00
api.py Drydock focal related upgrades 2023-04-26 22:32:49 +00:00
base.py Drydock focal related upgrades 2023-04-26 22:32:49 +00:00
bootaction.py Fix deprecated code 2024-12-23 20:55:29 +00:00
designs.py Drydock focal related upgrades 2023-04-26 22:32:49 +00:00
health.py Drydock focal related upgrades 2023-04-26 22:32:49 +00:00
middleware.py Drydock focal related upgrades 2023-04-26 22:32:49 +00:00
nodes.py Drydock focal related upgrades 2023-04-26 22:32:49 +00:00
readme.md Refactor build to include Go 2018-09-04 13:13:21 -05:00
tasks.py Drydock focal related upgrades 2023-04-26 22:32:49 +00:00
util.py Drydock focal related upgrades 2023-04-26 22:32:49 +00:00
validation.py Drydock focal related upgrades 2023-04-26 22:32:49 +00: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.