drydock/drydock_provisioner/control
Scott Hussey d12ef71f9f Refactor orchestrator
Refactor orchestrator to break large
monolithic functions into small functions
per action.

- Update orchestrator to match new statemgmt API
- Pull most code out of __init__.py files
- Create action classes for Orchestrator actions
- Create action classes for Driver actions
- Orchestrator consumes tasks from database queue
- Additional encapsulation of task functionality into Task class
- Create shared integration test fixtures
- Fix Sphinx entrypoint so package install works
- Disable bootdata API until BootAction implementation
- Bring codebase into PEP8 compliance
- Update documentation reflect code changes
- Mark SQL #nosec for bandit

Change-Id: Id9a7bdedcdd5bbf07aeabbdb52db0f0b71f1e4a4
2017-10-26 15:00:39 -05:00
..
__init__.py Orchestration of MaaS enlistment (#42) 2017-06-15 20:42:53 -07:00
api.py Refactor orchestrator 2017-10-26 15:00:39 -05:00
base.py Add Task persistence and KOTH 2017-10-26 14:56:13 -05:00
bootdata.py Refactor orchestrator 2017-10-26 15:00:39 -05:00
designs.py Refactor orchestrator 2017-10-26 15:00:39 -05:00
middleware.py Refactor orchestrator 2017-10-26 15:00:39 -05:00
nodes.py Refactor orchestrator 2017-10-26 15:00:39 -05:00
readme.md Merge branch 'master' into module_rename 2017-06-23 07:54:14 -05:00
tasks.py Refactor orchestrator 2017-10-26 15:00:39 -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.