As an administrator that is designing a workflow, I want to select input tracks for the ComposeOperationHandler based on their flavors, but further limit the selection using tags

Description

The ComposeWorkflowOperationHandler allows users to specify both source-flavor (or source-flavors) and source-tags. The operation assumes that the tracks with either matching flavor or tags should be selected.

However, there are cases where the tags could be used to filtering rather than selecting tracks. For instance, when there are several copies of the same track with the same flavor but different tags to tell them apart.

My suggestion is to include a new parameter that allows the workflow designer to select the behaviour regarding the track selection: whether a track should match either the provided flavor(s) or tags (as it is already the case) or both the provided flavors and tags (read: any of the provided flavors and any of the provided tags).

Activity

Show:
Rubén Pérez
March 18, 2017, 6:41 PM

I think the "fix version" should be 2.3.0 because I created a pull request for 2.2.0 and then I declined it because it was considered a new feature and should go in "develop". The "develop" of 2.2 is 2.3.0, AFAIK. Please correct me if I'm wrong.

Rubén Pérez
March 18, 2017, 6:39 PM

Yup. It was merged to develop a while ago. I will therefore close the issue as fixed and reviewed.

Sven Stauber
March 17, 2017, 4:40 PM

Hi Ruben, as far as I understand, this PR made it into Opencast 2.3.0.

Could you please confirm this and update the fix version and close this issue?

Fixed and reviewed

Assignee

Rubén Pérez

Reporter

Rubén Pérez