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

[QA] CLI test for storage-users uploads sessions command #10167

Open
saw-jan opened this issue Sep 26, 2024 · 0 comments
Open

[QA] CLI test for storage-users uploads sessions command #10167

saw-jan opened this issue Sep 26, 2024 · 0 comments

Comments

@saw-jan
Copy link
Member

saw-jan commented Sep 26, 2024

Implementation:

Available commands:

# List all upload sessions
ocis storage-users uploads sessions

# List upload sessions that are currently in postprocessing
ocis storage-users uploads sessions --processing

# List upload sessions that are infected by viruses
ocis storage-users uploads sessions --has-virus

# Clean expired uploads
ocis storage-users uploads sessions --expired --clean

# Clean upload sessions that are not processing and are not virus infected
ocis storage-users uploads sessions --processing=false --has-virus=false --clean

# Restart upload sessions that are currently in postprocessing
ocis storage-users uploads sessions --processing --restart

# Restart one specific upload
ocis storage-users uploads sessions --id=<uploadID> --restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant