drydock/drydock_provisioner/control
Scott Hussey 72adce3d38 Add Task persistence and KOTH
Implement logic to use SQLalchemy to persist and query
task information as well as manage multiple instances
with a king-of-the-hill algorithm via Postgres

- Implement leadership claim
- Implement task insert/update/query
- Implement status message inserts
- Implement integration tests w/ Postgres

Change-Id: Ic657afef3c7e1eb678629fb8b30969fa9f52585e
2017-10-26 14:56:13 -05:00
..
__init__.py Orchestration of MaaS enlistment (#42) 2017-06-15 20:42:53 -07:00
api.py Add node enquiry API 2017-10-18 16:18:06 -05:00
base.py Add Task persistence and KOTH 2017-10-26 14:56:13 -05:00
bootdata.py Node storage configuration support 2017-09-21 10:04:18 -05:00
designs.py Fix issues failing CI pipeline 2017-08-24 10:18:11 -05:00
middleware.py Fix issues failing CI pipeline 2017-08-24 10:18:11 -05:00
nodes.py Additional fields in enquiry API 2017-10-26 13:39:51 -05:00
readme.md Merge branch 'master' into module_rename 2017-06-23 07:54:14 -05:00
tasks.py Fix issues failing CI pipeline 2017-08-24 10:18:11 -05:00

readme.md

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.