agola/internal/services/gateway/common
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
..
gitsource.go configstore: add more validations 2019-05-03 12:41:49 +02:00
jwt.go gateway: initial implementation 2019-02-21 17:58:25 +01:00
run.go *: rework run approval and annotations 2019-05-06 15:19:29 +02:00
variables_test.go gateway: move variable logic from api to actions 2019-05-04 15:16:49 +02:00
variables.go gateway: move variable logic from api to actions 2019-05-04 15:16:49 +02:00