Can not get cron trigger instance by id

Bug #1684469 reported by int32bit
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mistral
Fix Released
High
int32bit

Bug Description

Currently, we can only get/delete a trigger by its name via API, and also we can't create a cron trigger instance with same name even though in different tenant. I think it may be not a good practice to use `name` as uniq field, I think use `id` is better.

anil (anil-setti)
Changed in mistral:
assignee: nobody → anil (anil-setti)
int32bit (int32bit)
Changed in mistral:
assignee: anil (anil-setti) → int32bit (int32bit)
Changed in mistral:
status: New → In Progress
Revision history for this message
Nikolay Makhotkin (nmakhotkin) wrote :
Changed in mistral:
importance: Undecided → High
milestone: none → queens-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to mistral (master)

Reviewed: https://review.openstack.org/496157
Committed: https://git.openstack.org/cgit/openstack/mistral/commit/?id=f84952a3b13d8b4a3eca07c558e7bed7378ebd62
Submitter: Jenkins
Branch: master

commit f84952a3b13d8b4a3eca07c558e7bed7378ebd62
Author: int32bit <email address hidden>
Date: Tue Aug 22 16:36:38 2017 +0800

    Add get cron-trigger by id support

    Currently we can only do a CURD action on a cron-trigger by name.
    This patch refer to workflow implementation and re-encapsulate
    DB API so that users can manage a cron-trigger by id or name.

    Closes-Bug: 1684469

    Change-Id: I9ff657b2604647e734b5539e9bd6a524a3a20efb

Changed in mistral:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/mistral 6.0.0.0b1

This issue was fixed in the openstack/mistral 6.0.0.0b1 development milestone.

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.