Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a basic Flask server #5

Open
onlyjus opened this issue Jul 13, 2021 · 0 comments
Open

Create a basic Flask server #5

onlyjus opened this issue Jul 13, 2021 · 0 comments
Assignees
Labels

Comments

@onlyjus
Copy link
Collaborator

onlyjus commented Jul 13, 2021

Create a basic flask server that:

  • Has a database of unique users with usernames and passwords and access levels (user/admin)
  • Has a database of workflows with specified user access.
  • Generates unique API keys for each user
  • Create stub REST endpoints with controlled access:
call action access
/api/v1/status get the status of the Orchestrator public
/api/v1/workflow/get download the selected workflow user
/api/v1/workflow/publish upload the selected workflow user
/api/v1/workflow/execute execute the selected workflow user
/api/v1/workflow/cancel stop execution of the selected workflow user
/api/v1/workflow/status get the status of the selected workflow user
/api/v1/workflow/history get the git history of the selected workflow user
/api/v1/workflow/delete delete the selected workflow user
/api/v1/queue/status get the status of the queue user
/api/v1/queue/clear remove all tasks from the queue user
/api/v1/runners/status get the status of the runners user
/api/v1/runners/register register a runner user
/api/v1/runners/cancel cancel runner job user
/api/v1/runners/shutdown shutdown a runner user
/api/v1/events/status get the status of events user
/api/v1/events/push push a new event user
/api/v1/timers/status get the status of a timer user
/api/v1/timers/start start a new timer user
/api/v1/admin/cancel_all cancel all workflows, clear all tasks from the queue admin
/api/v1/admin/shutdown cancel all workflows and shutdown admin
@PhuongPham7112 PhuongPham7112 self-assigned this Jul 15, 2021
@derockenthis derockenthis self-assigned this Jul 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants