influxdb/task/backend
Lyon Hill a8d7870689
feat(task): impersonate user on task execution (#14675)
* feat(task): impersonate user on task execution

Passing tokens to tasks is cumbersome and we needed a way to more easily create tasks. With this change we no longer need a token on task create. We take the user that created the task and pass that in as the "owner". As far as the task is concerned the owner is the source of permissions.

This is done by adding an additional field on task create that is OwnerID. We will no longer respect the token passed in and it will be deprecated soon.

Things to do still:
Task updates need to allow for owners to be set.
2019-08-15 18:31:52 -06:00
..
coordinator chore(tasks): use pointers for task errors (#14343) 2019-07-15 13:57:51 -07:00
executor feat(task): impersonate user on task execution (#14675) 2019-08-15 18:31:52 -06:00
scheduler feat(task): Build interfaces for a generic scheduler. (#14163) 2019-06-21 10:31:43 -06:00
analytical_storage.go feat(task): impersonate user on task execution (#14675) 2019-08-15 18:31:52 -06:00
analytical_storage_test.go fix(task): add logging into the task analytical store (#14124) 2019-06-12 20:01:41 -06:00
error_test.go chore: rename imports from platform to influxdb 2019-01-09 20:51:47 -08:00
read_table_test.go test(tasks): add test for ReadTable in analytical store (#14428) 2019-07-23 14:26:21 -07:00
scheduler.go push task backend logging messages back to debug 2019-07-25 17:17:19 -05:00
scheduler_metrics.go feat(task): Track queue duration (#13805) 2019-05-07 10:03:30 -06:00
scheduler_test.go chore(tasks): use pointers for task errors (#14343) 2019-07-15 13:57:51 -07:00
task.go feat(task): Create a new task executor for the new modular scheduler (#14252) 2019-07-08 08:13:29 -06:00
task_service_checkpointer.go feat(tasks): add last and checkpoint functions 2019-07-08 14:06:15 -07:00
task_service_checkpointer_test.go feat(tasks): add last and checkpoint functions 2019-07-08 14:06:15 -07:00