Currently when we get a specification using the instantiate_spec function,
we always validate their schema and semantics over and over again.
To prevent it we add new validate parameter to a Spec class.
The validate parameter must be True when we create a workflow, workbook
or action using a mistral-api. In all other cases, it must be False.
Reviewed: https:/ /review. openstack. org/586883 /git.openstack. org/cgit/ openstack/ mistral/ commit/ ?id=4bf03d8e7df 0ecc418b7069819 cf3b59898c1eb8
Committed: https:/
Submitter: Zuul
Branch: master
commit 4bf03d8e7df0ecc 418b7069819cf3b 59898c1eb8
Author: Vitalii Solodilov <email address hidden>
Date: Sun Jul 29 18:17:51 2018 +0400
Remove extra a specification validation
Currently when we get a specification using the instantiate_spec function,
we always validate their schema and semantics over and over again.
To prevent it we add new validate parameter to a Spec class.
The validate parameter must be True when we create a workflow, workbook
or action using a mistral-api. In all other cases, it must be False.
Change-Id: Ia450ea9635bc75 c204fe031cfeeab 154f1d03862
Closes-Bug: #1738769
Signed-off-by: Vitalii Solodilov <email address hidden>