agola/internal/services/runservice/scheduler/action
Simone Gotti afae185e11 *: rework run approval and annotations
* runservice: use generic task annotations instead of approval annotations
* runservice: add method to set task annotations

* gateway: when an user call the run task approval action, it will set in the
task annotations the approval users ids. The task won't be approved.

* scheduler: when the number of approvers meets the required minimum number
(currently 1) call the runservice to approve the task

In this way we could easily implement some approval features like requiring a
minimum number of approvers (saved in the task annotations) before marking the
run as approved in the runservice.
2019-05-06 15:19:29 +02:00
..
action.go *: rework run approval and annotations 2019-05-06 15:19:29 +02:00
action_test.go runservice: rename command(handler) to action(handler) 2019-05-03 23:59:21 +02:00