Plan REST API Refinements for Template Backed Storage

Registered by Jay Dobies

This feature covers the changes to the REST API to handle the basic workflow of creating a deployment plan, assigning one or more roles to it, saving the plan's configuration, and generating the template necessary to send to Heat to create a stack from the plan.

It does not cover the create/update/delete API calls for custom roles.

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
Jay Dobies
Direction:
Needs approval
Assignee:
Jay Dobies
Definition:
Drafting
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

Spec currently out for review: https://review.openstack.org/#/c/94720/5

Gerrit topic: https://review.openstack.org/#q,topic:bp/tripleo-juno-tuskar-plan-rest-api,n,z

Addressed by: https://review.openstack.org/106388
    [WIP] Adds GET /v2/plans endpoint to API

Addressed by: https://review.openstack.org/106779
    [WIP] Adds GET /v2/plans/<plan-uuid> endpoint

Addressed by: https://review.openstack.org/106780
    [WIP] Adds DELETE /v2/plans/<plan-uuid> endpoint

Addressed by: https://review.openstack.org/106781
    [WIP] Adds POST /v2/plans endpoint to API

Addressed by: https://review.openstack.org/107450
    [WIP] Adds GET /v2/roles endpoint to API

Addressed by: https://review.openstack.org/107451
    [WIP] Adds POST /v2/plans/:plan_uuid/roles endpoint

Addressed by: https://review.openstack.org/107452
    [WIP] Adds GET /v2/plans/:plan_uuid/templates endpoint

Addressed by: https://review.openstack.org/106853
    Added template combination functionality

Addressed by: https://review.openstack.org/108467
    Adds set_value syntactic sugar to the plan model

Addressed by: https://review.openstack.org/108676
    [WIP] Adds DELETE /v2/plans/:plan_uuid/:role_name/:role_version endpoint

Addressed by: https://review.openstack.org/108697
    Added plan parameter data model

Addressed by: https://review.openstack.org/110090
    Added support for parameter groups

Addressed by: https://review.openstack.org/110664
    Add scaling logic to the deployment plan

Addressed by: https://review.openstack.org/110666
    Adds PATCH /v2/plans/:plan_uuid endpoint

Addressed by: https://review.openstack.org/111299
    Sets the plan parameter value to the def default

Addressed by: https://review.openstack.org/112997
    Adds logic layer for handling plans

Addressed by: https://review.openstack.org/113271
    Adds logic layer for handling roles

Gerrit topic: https://review.openstack.org/#q,topic:periodic_task,n,z

Addressed by: https://review.openstack.org/113609
    WIP: Wires up REST API stubs to real logic

Addressed by: https://review.openstack.org/113869
    Changes DELETE Role from Plan to use role_uuid

Addressed by: https://review.openstack.org/113986
    Add set value functionality to plans manager

Addressed by: https://review.openstack.org/113988
    Wires up REST API to underlying Tuskar logic

Gerrit topic: https://review.openstack.org/#q,topic:empty-all-plans-to-transfer-plans,n,z

Addressed by: https://review.openstack.org/117313
    Implements plan template retrieval API

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.