agola/internal/services/runservice/scheduler/api
Simone Gotti 643dfe4072 runservice api: improve response handling
* Command: use ErrBadRequest
* Always return a json message also on error. For internal errors return a
generic "internal server error" message to not leak the real internal error to
clients
* Return 201 Created on resource creation
* Return 204 No Content on resource deletion and other action with no json
output
2019-04-08 18:04:42 +02:00
..
api.go runservice api: improve response handling 2019-04-08 18:04:42 +02:00
client.go client: fix content type header case 2019-04-08 12:28:15 +02:00
executor.go runservice: initial commit 2019-02-21 15:54:50 +01:00