agola/internal/services/gateway/api
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
..
api.go util/errors: add ErrForbidden 2019-05-03 23:18:51 +02:00
client.go * api: accept both ids or names in the same endpoint 2019-05-03 11:07:53 +02:00
oauth2.go gateway: move remaining user logic from api to actions 2019-05-05 14:45:19 +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
remoterepo.go gateway: rename command(handler) to action(handler) 2019-05-03 23:48:49 +02:00
remotesource.go gateway: move remaining remotesource logic from api to actions 2019-05-05 14:54:16 +02:00
repos.go */api: Use helpers for error handling 2019-04-09 14:53:00 +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