[CLI] Workflows don't have tags but there is such column in CLI command output

Bug #1373295 reported by Anastasia Kuznetsova
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mistral
Fix Released
Medium
Renat Akhmerov

Bug Description

After user execute: mistral workflow-create <path-to-definition> he will see:

+--------+-----------+-----------------------------------------+----------------+
| Name | Tags | Created at | Updated at |
+--------+-----------+-----------------------------------------+----------------+
| wf2 | <none> | 2014-09-24 08:10:31.869032 | None |
| wf1 | <none> | 2014-09-24 08:10:31.871058 | None |
+--------+-----------+-----------------------------------------+----------------+

In the output there is column 'Tags', also there is a condition https://github.com/stackforge/python-mistralclient/blob/master/mistralclient/commands/v2/workflows.py#L38 where we check if tags is present or not.

But we don't have 'tags' property in workflow spec: https://github.com/stackforge/mistral/blob/150a1b9f0b73567d07506edcd8220c7541bc02e2/mistral/workbook/v2/workflows.py#L21 and we can't send tags via api call : https://github.com/stackforge/python-mistralclient/blob/master/mistralclient/api/v2/workflows.py#L30

eed to remove mentions about tags at all or add ability to use tags for workflows

Changed in mistral:
status: New → Confirmed
Changed in mistral:
importance: Undecided → Medium
Changed in mistral:
assignee: nobody → Renat Akhmerov (rakhmerov)
Changed in mistral:
status: Confirmed → In Progress
Changed in mistral:
milestone: none → 0.1.1
Changed in mistral:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to mistral (master)

Reviewed: https://review.openstack.org/124195
Committed: https://git.openstack.org/cgit/stackforge/mistral/commit/?id=840765ec960b70d0540092544ef819454c090555
Submitter: Jenkins
Branch: master

commit 840765ec960b70d0540092544ef819454c090555
Author: Renat Akhmerov <email address hidden>
Date: Thu Sep 25 14:43:24 2014 -0700

    Adding 'tags' to workflow and action specs

    Closes-Bug: #1373295

    Change-Id: Iba70efc4b0a7b44a4d39b2ea648045f86dd92889

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Reviewed: https://review.openstack.org/124199
Committed: https://git.openstack.org/cgit/stackforge/mistral/commit/?id=914bbcd8c726acb54013f44d11b745be90eebb87
Submitter: Jenkins
Branch: master

commit 914bbcd8c726acb54013f44d11b745be90eebb87
Author: Renat Akhmerov <email address hidden>
Date: Thu Sep 25 14:56:47 2014 -0700

    Modifying workflow and action services to save 'tags'

    Closes-Bug: #1373295

    Change-Id: I6812675d47cfc1d9f5108d2fe4466abaa7e2e40f

Changed in mistral:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.