Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 1691291

Summary: Missing "params" attribute for creating a Mistral workflow execution in openstacksdk for python
Product: Red Hat OpenStack Reporter: rohit londhe <rlondhe>
Component: openstack-mistralAssignee: RHOS Maint <rhos-maint>
Status: NEW --- QA Contact: nlevinki <nlevinki>
Severity: medium Docs Contact:
Priority: medium    
Version: 14.0 (Rocky)CC: igortiunov, jjoyce, jschluet, rhos-maint, slinaber, tvignaud
Target Milestone: ---Flags: rlondhe: needinfo? (rhos-maint)
rlondhe: needinfo? (rhos-maint)
rlondhe: needinfo? (rhos-maint)
rlondhe: needinfo? (rhos-maint)
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description rohit londhe 2019-03-21 11:03:36 UTC
Description of problem:

Proposal to add "params" attribute in Mistral workflow execution.

The v2 API of Mistral service have "params" attribute for creating workflow execution [1]. This attribute is a json object for workflow type-specific parameters. 

For example, the "env" (environment) dict can be used for installation specific parameters (dev/staging/etc..). Which we are using to split such environments but having the same logic in workflows definitions.

Currently, the openstacksdk have lost the "params" attribute [2] for some reason but it can easily be inserted in Execution class definition for example as follows:

>     #: A JSON structure defining workflow type specific parameters.
>     params = resource.Body("params")


Version-Release number of selected component (if applicable):

RHSOP13 packages.


How reproducible:

Steps to Reproduce:

Actual results:

"params" attribute in Mistral workflow execution is not present

Expected results:

We can have "params" attribute in Mistral workflow execution.

Additional info: