Jump to: navigation, search

Heat/ConvergenceDesign

< Heat
Revision as of 10:10, 18 September 2014 by Ishant (talk | contribs) (Stack Create Flow)

Convergence Design

This page proposes the design for the convergence blueprints.
Note: Currently this page does not address design for 3rd blueprint "Convergence continuous observer"

Flow Diagrams

Flowchart

Flowchart.png


Sequence

Sequence.png


Data Model Change

Data model for persisting the graph

Add a new table 'resource_graph'

Column name Type Constraint
resource_id varchar(36) NOT NULL ForeignKey resource.id
needed_by varchar(36) NULL ForeignKey resource.id
stack_id varchar(36) NOT NULL ForeignKey stack.id
retry_count Integer Default (0)
observed_ready Boolean Default False

Stack Create Flow

  1. Heat engine parses the template and upon successful validation it persists the template, stack ,all the resources and the graph. [Currently only stack and template are stored as part of stack.store() ]
Header text Header text Header text
Example Example Example
Example Example Example
Example Example Example
{| class="wikitable"

|- ! Header text !! Header text !! Header text |- | Example || Example || Example |- | Example || Example || Example |- | Example || Example || Example |}