New default planner
Co-Authored-By: Vincent Francoise <Vincent.FRANCOISE@b-com.com> Change-Id: Ide2c8fc521488e486eac8f9f89d3f808ccf4b4d7 Implements: blueprint planner-storage-action-plan
This commit is contained in:
@@ -193,7 +193,6 @@ class ActionPlan(Base):
|
||||
)
|
||||
id = Column(Integer, primary_key=True, autoincrement=True)
|
||||
uuid = Column(String(36))
|
||||
first_action_id = Column(Integer)
|
||||
audit_id = Column(Integer, ForeignKey('audits.id'), nullable=False)
|
||||
strategy_id = Column(Integer, ForeignKey('strategies.id'), nullable=False)
|
||||
state = Column(String(20), nullable=True)
|
||||
@@ -219,7 +218,7 @@ class Action(Base):
|
||||
action_type = Column(String(255), nullable=False)
|
||||
input_parameters = Column(JSONEncodedDict, nullable=True)
|
||||
state = Column(String(20), nullable=True)
|
||||
next = Column(String(36), nullable=True)
|
||||
parents = Column(JSONEncodedList, nullable=True)
|
||||
|
||||
action_plan = orm.relationship(
|
||||
ActionPlan, foreign_keys=action_plan_id, lazy=None)
|
||||
|
||||
Reference in New Issue
Block a user