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

feat: add MoveObject to json and grpc #706

Merged
merged 5 commits into from
Jan 14, 2025

Conversation

ddelgrosso1
Copy link
Contributor

Fixes #<issue_number_goes_here>

It's a good idea to open an issue first for discussion.

  • Tests pass
  • Appropriate changes to README are included in PR

@ddelgrosso1 ddelgrosso1 requested a review from a team as a code owner January 14, 2025 17:46
Copy link
Contributor

@cojenco cojenco left a comment

Choose a reason for hiding this comment

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

Thanks for working on this. Reading through the api design doc, IIUC MoveObject is for HNS-enabled buckets only.

HNS and storage control are not typically within the scope of the testbench. If this PR is necessary for testing MoveObject, happy to merge it in. I simply wanted to highlight that the testbench lacks HNS support, which may present limitations for feature expansions.

testbench/grpc_server.py Outdated Show resolved Hide resolved
@@ -805,6 +805,40 @@ def RestoreObject(self, request, context):
)
return blob.metadata

@retry_test(method="storage.objects.move")
Copy link
Contributor

Choose a reason for hiding this comment

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

Could we remove the retry_test decorators here and in rest_server and also add comments that this is partially supported only to test single object, thanks!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

Copy link
Contributor

@cojenco cojenco left a comment

Choose a reason for hiding this comment

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

Thanks Denis for adding the clarifying comments!

@ddelgrosso1 ddelgrosso1 merged commit b23ddff into googleapis:main Jan 14, 2025
10 checks passed
@ddelgrosso1 ddelgrosso1 deleted the move-object branch January 14, 2025 22:45
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.

2 participants