drydock/drydock_provisioner/control
Scott Hussey cff7420cff Support links for task status
- Some status changes in a task may have additional information that
  is referenced by a URI link. Support describing these links and
  returning them via API.
- Refactor alembic stuff to better handle table schema updates
- Add unit tests

Change-Id: Iae63a9716f2522578be0244925fc274a4338eac4
2018-07-27 20:16:24 -05:00
..
__init__.py Orchestration of MaaS enlistment (#42) 2017-06-15 20:42:53 -07:00
api.py Update Formatting with YAPF 2018-06-08 13:24:26 +00:00
base.py Update Formatting with YAPF 2018-06-08 13:24:26 +00:00
bootaction.py Update Formatting with YAPF 2018-06-08 13:24:26 +00:00
designs.py Create schemas for Drydock YAML docs 2017-11-20 11:14:04 -06:00
health.py Use new validator model for validation 2018-03-14 14:12:51 -05:00
middleware.py [390773] Support SRIOV fields in definition profiles 2018-03-14 14:12:51 -05:00
nodes.py Update Formatting with YAPF 2018-06-08 13:24:26 +00:00
readme.md Merge branch 'master' into module_rename 2017-06-23 07:54:14 -05:00
tasks.py Update Formatting with YAPF 2018-06-08 13:24:26 +00:00
util.py Support links for task status 2018-07-27 20:16:24 -05:00
validation.py Use new validator model for validation 2018-03-14 14:12:51 -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.