{"action":"created","issue":{"url":"https://api.github.com/repos/opencast/opencast/issues/149","repository_url":"https://api.github.com/repos/opencast/opencast","labels_url":"https://api.github.com/repos/opencast/opencast/issues/149/labels{/name}","comments_url":"https://api.github.com/repos/opencast/opencast/issues/149/comments","events_url":"https://api.github.com/repos/opencast/opencast/issues/149/events","html_url":"https://github.com/opencast/opencast/pull/149","id":306827622,"number":149,"title":"MH-12759 More Control Over Workflows","user":{"login":"krinnewitz","id":1727976,"avatar_url":"https://avatars2.githubusercontent.com/u/1727976?v=4","gravatar_id":"","url":"https://api.github.com/users/krinnewitz","html_url":"https://github.com/krinnewitz","followers_url":"https://api.github.com/users/krinnewitz/followers","following_url":"https://api.github.com/users/krinnewitz/following{/other_user}","gists_url":"https://api.github.com/users/krinnewitz/gists{/gist_id}","starred_url":"https://api.github.com/users/krinnewitz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krinnewitz/subscriptions","organizations_url":"https://api.github.com/users/krinnewitz/orgs","repos_url":"https://api.github.com/users/krinnewitz/repos","events_url":"https://api.github.com/users/krinnewitz/events{/privacy}","received_events_url":"https://api.github.com/users/krinnewitz/received_events","type":"User","site_admin":false},"labels":[{"id":843360799,"url":"https://api.github.com/repos/opencast/opencast/labels/feature","name":"feature","color":"bfd657","default":false}],"state":"open","locked":false,"assignee":{"login":"rute-santos","id":9451622,"avatar_url":"https://avatars0.githubusercontent.com/u/9451622?v=4","gravatar_id":"","url":"https://api.github.com/users/rute-santos","html_url":"https://github.com/rute-santos","followers_url":"https://api.github.com/users/rute-santos/followers","following_url":"https://api.github.com/users/rute-santos/following{/other_user}","gists_url":"https://api.github.com/users/rute-santos/gists{/gist_id}","starred_url":"https://api.github.com/users/rute-santos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rute-santos/subscriptions","organizations_url":"https://api.github.com/users/rute-santos/orgs","repos_url":"https://api.github.com/users/rute-santos/repos","events_url":"https://api.github.com/users/rute-santos/events{/privacy}","received_events_url":"https://api.github.com/users/rute-santos/received_events","type":"User","site_admin":false},"assignees":[{"login":"rute-santos","id":9451622,"avatar_url":"https://avatars0.githubusercontent.com/u/9451622?v=4","gravatar_id":"","url":"https://api.github.com/users/rute-santos","html_url":"https://github.com/rute-santos","followers_url":"https://api.github.com/users/rute-santos/followers","following_url":"https://api.github.com/users/rute-santos/following{/other_user}","gists_url":"https://api.github.com/users/rute-santos/gists{/gist_id}","starred_url":"https://api.github.com/users/rute-santos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rute-santos/subscriptions","organizations_url":"https://api.github.com/users/rute-santos/orgs","repos_url":"https://api.github.com/users/rute-santos/repos","events_url":"https://api.github.com/users/rute-santos/events{/privacy}","received_events_url":"https://api.github.com/users/rute-santos/received_events","type":"User","site_admin":false}],"milestone":null,"comments":13,"created_at":"2018-03-20T11:32:59Z","updated_at":"2018-03-23T16:27:01Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/opencast/opencast/pulls/149","html_url":"https://github.com/opencast/opencast/pull/149","diff_url":"https://github.com/opencast/opencast/pull/149.diff","patch_url":"https://github.com/opencast/opencast/pull/149.patch"},"body":"This patch adds the possibility to stop running workflows as\r\nwell as deleting old workflows from within the admin UI.\r\n\r\nPreviously, it was already possible to resume events which were in PAUSED\r\nstate due to failed operations. Resuming could be done with or without\r\nretrying the failed operation.\r\n\r\nJust like these actions, the new ones can be found in the \"Actions\"\r\ncolumn of the workflow table under \"Event Details\" -> \"Workflows\":\r\n\r\n![screenshot-2018-3-21 opencast](https://user-images.githubusercontent.com/1727976/37701976-5a043492-2cf1-11e8-80d3-e2e48def1322.png)\r\n\r\nWhile deleting workflows should only be relevant to admins,\r\nregular users might find it helpful to be able to stop workflows. Hence,\r\ndeleting workflows requires the correspong access role.\r\n\r\nThis work is sponsored by SWITCH.\r\n\r\nFYI: The \"Resume\" feature was introduced by [this](https://bitbucket.org/opencast-community/opencast/pull-requests/1545/mh-12244-as-an-administrator-i-would-like/diff) PR."},"comment":{"url":"https://api.github.com/repos/opencast/opencast/issues/comments/375722490","html_url":"https://github.com/opencast/opencast/pull/149#issuecomment-375722490","issue_url":"https://api.github.com/repos/opencast/opencast/issues/149","id":375722490,"user":{"login":"staubesv","id":1590263,"avatar_url":"https://avatars0.githubusercontent.com/u/1590263?v=4","gravatar_id":"","url":"https://api.github.com/users/staubesv","html_url":"https://github.com/staubesv","followers_url":"https://api.github.com/users/staubesv/followers","following_url":"https://api.github.com/users/staubesv/following{/other_user}","gists_url":"https://api.github.com/users/staubesv/gists{/gist_id}","starred_url":"https://api.github.com/users/staubesv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/staubesv/subscriptions","organizations_url":"https://api.github.com/users/staubesv/orgs","repos_url":"https://api.github.com/users/staubesv/repos","events_url":"https://api.github.com/users/staubesv/events{/privacy}","received_events_url":"https://api.github.com/users/staubesv/received_events","type":"User","site_admin":false},"created_at":"2018-03-23T16:27:01Z","updated_at":"2018-03-23T16:27:01Z","author_association":"CONTRIBUTOR","body":"Hi @rute-santos\r\n\r\n> I believe this could be easily implemented by keeping the 'NONE' strategy as before and creating the error-resolution operation with fail-on-error=true to make it fail the workflow. What do you think?\r\n\r\nNot in the scope of this ticket, but it would make sense to not remove the 'NONE' strategy then.\r\n\r\nI suggest the following: @krinnewitz reverts the removal of the \"None\" Action. To solve the usability problem with users being present two similar icons for \"paused\" workflows, we simply don't show the stop icon in case that the workflow is paused. As for the moment, the only reason a workflow can be paused seems the retry strategy and in this case, we don't need the ability to stop a workflow as it is actually not \"paused\" but rather \"failing\".\r\n\r\nWhat do you think?\r\n\r\n"}}
{"actor":{"display_login":"staubesv"}}