Skip to content

PVC Events API #1409

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

Merged
merged 4 commits into from
Jan 25, 2022
Merged

PVC Events API #1409

merged 4 commits into from
Jan 25, 2022

Conversation

adfost
Copy link
Contributor

@adfost adfost commented Jan 18, 2022

API for getting events of PVCs

Copy link
Collaborator

@dvaldivia dvaldivia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A lot of these changes seem to be removing things recently added by the update to swagger v0.28.0 make sure you are generating the new stubs with the latest swagger

➜ swagger version
version: v0.28.0
commit: 48a66e4bdbcde02c8c6c95ff9a08f64fe40b1b50
(base)  console git:(update-swagger) ✗ 

@dvaldivia
Copy link
Collaborator

please also rebase

Copy link
Collaborator

@dvaldivia dvaldivia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm getting a 404 when calling the API

➜ curl 'http://localhost:9090/api/v1/namespaces/ns-1/tenants/new-tenant/pvcs/data0-new-tenant-pool-0-3/events' \
-X 'GET' \
-H 'Cookie: token=AYz9aZn1XU3ojFK798xSG6qbO9E2ZVoozMOKN2vV9egRFbc/KUu/K8YE9Jf+GKgVkhADcQJdh0/G95OWAaQR6VDvJin55Q=='

response

{"code":404,"message":"path /api/v1/namespaces/ns-1/tenants/new-tenant/pvcs/data0-new-tenant-pool-0-3/events was not found"}%    

Copy link
Collaborator

@dvaldivia dvaldivia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested. LGTM.

@adfost adfost mentioned this pull request Jan 25, 2022
Copy link
Collaborator

@bexsoft bexsoft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dvaldivia dvaldivia merged commit 9e7874c into minio:master Jan 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants