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

rest: expose CPU and HDD quotas usage through REST API #279

Closed
diegodelemos opened this issue Sep 18, 2020 · 0 comments · Fixed by #281, reanahub/reana-db#84 or reanahub/reana-workflow-controller#334
Assignees
Projects

Comments

@diegodelemos
Copy link
Member

diegodelemos commented Sep 18, 2020

Two possible solutions:

  1. Extend the existing /api/you endpoint to include quota usage (currently used to retrieve user information such as token status, email, username..)
  2. Revive the /api/users endpoint which is currently not being used and it is admin only.

(1.) is MVP solution whereas (2.) would be a nice analogy with /api/workflows endpoint and could be used in admin interfaces. Eventually, both could coexist, one user-oriented, the other admin-oriented.

Note:

@diegodelemos diegodelemos added this to Ready for work in User-Quotas Sep 18, 2020
@audrium audrium moved this from Ready for work to In work in User-Quotas Sep 21, 2020
@audrium audrium self-assigned this Sep 21, 2020
audrium added a commit to audrium/reana-server that referenced this issue Sep 21, 2020
audrium added a commit to audrium/reana-server that referenced this issue Sep 21, 2020
@audrium audrium moved this from In work to In review in User-Quotas Sep 21, 2020
audrium added a commit to audrium/reana-db that referenced this issue Sep 22, 2020
audrium added a commit to audrium/reana-server that referenced this issue Sep 22, 2020
audrium added a commit to audrium/reana-workflow-controller that referenced this issue Sep 22, 2020
audrium added a commit to audrium/reana-db that referenced this issue Sep 22, 2020
audrium added a commit to audrium/reana-server that referenced this issue Sep 22, 2020
audrium added a commit to audrium/reana-workflow-controller that referenced this issue Sep 22, 2020
audrium added a commit to audrium/reana-server that referenced this issue Sep 23, 2020
audrium added a commit to audrium/reana-db that referenced this issue Sep 23, 2020
audrium added a commit to audrium/reana-server that referenced this issue Sep 23, 2020
audrium added a commit to audrium/reana-db that referenced this issue Sep 24, 2020
audrium added a commit to audrium/reana-db that referenced this issue Sep 24, 2020
User-Quotas automation moved this from In review to Done Sep 24, 2020
@diegodelemos diegodelemos moved this from Done to In review in User-Quotas Sep 24, 2020
audrium added a commit to audrium/reana-server that referenced this issue Sep 24, 2020
audrium added a commit to audrium/reana-server that referenced this issue Sep 24, 2020
audrium added a commit to audrium/reana-workflow-controller that referenced this issue Sep 24, 2020
@diegodelemos diegodelemos moved this from In review to Done in User-Quotas Sep 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment