agola/internal/services/gateway/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 gateway: move run logic from api to actions 2019-05-06 00:00:45 +02:00
auth.go gateway: initial authorization 2019-05-03 23:19:23 +02:00
org.go gateway: move remaining org logic from api to actions 2019-05-05 14:36:14 +02:00
project.go gateway: project(group) create: rename parentID to parentRef 2019-05-05 17:19:23 +02:00
projectgroup.go gateway: project(group) create: rename parentID to parentRef 2019-05-05 17:19:23 +02:00
remotesource.go gateway: move remaining remotesource logic from api to actions 2019-05-05 14:54:16 +02:00
run.go *: rework run approval and annotations 2019-05-06 15:19:29 +02:00
secret.go gateway: move secret logic from api to actions 2019-05-05 14:11:29 +02:00
user.go gateway: move remaining user logic from api to actions 2019-05-05 14:45:19 +02:00
variable.go gateway: move variable logic from api to actions 2019-05-04 15:16:49 +02:00