-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement Endpoints for User and Admin Workflow Management (#21)
* feat: add endpoint GET /user/workflow_jobs to fetch workflow_job_ids for specific user * fix: correct typing for return value in db_get_all_job_ids_by_user * Update: GET /user/workflow_jobs - that returns all workflow jobs submitted by that specific user. * Update: CHange functions signature. * Fix: CIrcular IMport Error * fix circular import * Feat: Add start_date and end_date for getting jobs in selected date range. * Add: GET /user/worspaces - that returns all workspaces submitted by that specific user. * Update: Remove debugging code * Add: GET /user/workflows - that returns all workflows submitted by that specific user. * Add: GET /admin/{user_id}/workflow_jobs - admin can list all workflow jobs for a specific user identified with user_id * Add: GET /admin/{user_id}/workspaces - admin can list all workspaces for a specific user identified with user_id * Add: GET /admin/{user_id}/workflows - admin can list all workflows for a specific user identified with user_id --------- Co-authored-by: Mehmed Mustafa <[email protected]>
- Loading branch information
1 parent
5ae5db8
commit a6b4842
Showing
6 changed files
with
261 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.