We want to be able to start a datasource ingestion job manually. This feature will include;
- Adding rest end points to trigger the run e.g.
/v1/datasources/<id>/ingestions
- Add RBAC access control to ingestion resources
Acceptance Criteria
- A rest endpoint
/v1/datasources/<id>/ingestions accepting POST (create/trigger), GET (retrieve), PUT (update status e.g. STOPING the job), DELETE (deleting an ingestion... probably not a good idea).
- RBAC Policy with resource id
ingestions/*. Since ingestion is a child of a datasource, a user must have access to the datasource before they access an ingestion.
- The datasource
status must be updated of the status of the ingestion.