Visitar URL original
Add CLI command to test Blobstore by kobergj · Pull Request #12102 · owncloud/ocis · GitHub
Skip to content

Add CLI command to test Blobstore - #12102

Merged
kobergj merged 2 commits into
owncloud:masterfrom
kobergj:TestBlobstoreCli
Mar 12, 2026
Merged

kobergj merged 2 commits into
owncloud:masterfrom
kobergj:TestBlobstoreCli

Conversation

@kobergj

@kobergj kobergj commented Mar 10, 2026

Copy link
Copy Markdown
Contributor

Adds a cli command that allows to test the blobstore through GET, POST and DELETE requests.

Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds a new ocis storage-users blobstore CLI command group to help operators validate and inspect the configured blobstore for the storage-users service (ocis + s3ng drivers).

Changes:

  • Registers a new blobstore command group with check (round-trip upload/download/delete) and get (fetch by blob/space ID or parsed path).
  • Implements blobstore initialization based on existing service configuration for ocis and s3ng drivers.
  • Documents the new commands in the storage-users README and adds an unreleased changelog entry.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 5 comments.

File Description
services/storage-users/pkg/command/root.go Wires the new blobstore command group into the storage-users CLI.
services/storage-users/pkg/command/blobstore.go Implements blobstore CLI commands and helpers (path parsing, round-trip check, single-blob fetch).
services/storage-users/README.md Adds operator-facing docs and examples for blobstore check/get.
changelog/unreleased/enhancement-storage-users-blobstore-cli.md Records the enhancement in the changelog.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

Comment thread services/storage-users/README.md Resolved

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
@mmattel

mmattel commented Mar 11, 2026 •

Copy link
Copy Markdown
Contributor

Q: for option --blob-id you need to provide a value. How to get/know the value? We have a process (described in the admin docs for the space-id, so I am curios how this is for the blob-id.

@sonarqubecloud

Copy link
Copy Markdown

@kobergj
kobergj merged commit dd99e6d into owncloud:master Mar 12, 2026
5 checks passed
@kobergj
kobergj deleted the TestBlobstoreCli branch March 12, 2026 07:27
ownclouders pushed a commit that referenced this pull request Mar 12, 2026
Add CLI command to test Blobstore
@ishabaral ishabaral mentioned this pull request Jun 26, 2026
14 of 16 tasks
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.

4 participants