feat(storage): Implement deleteSourceObjects for Compose Operation#12873
feat(storage): Implement deleteSourceObjects for Compose Operation#12873nidhiii-27 wants to merge 5 commits intomainfrom
Conversation
Added deleteSourceObjects to Storage.ComposeRequest and Builder. Updated StorageImpl, GrpcStorageImpl and HttpStorageRpc to support the flag. Added unit test in StorageImplMockitoTest and integration test in ITObjectTest. Co-authored-by: nidhiii-27 <224584462+nidhiii-27@users.noreply.github.com>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
There was a problem hiding this comment.
Code Review
This pull request introduces a deleteSourceObjects flag to the ComposeRequest in Google Cloud Storage, enabling automatic deletion of source blobs after a successful compose operation. The changes update the gRPC and HTTP storage implementations and add corresponding unit and integration tests. Review feedback recommends including the new field in the ComposeRequest boilerplate methods and optimizing the RPC options map logic to improve performance and code clarity.
- Added deleteSourceObjects to Storage.ComposeRequest and Builder. - Updated StorageImpl, GrpcStorageImpl, and HttpStorageRpc to support the flag. - Added unit tests in StorageImplMockitoTest. - Added integration test in ITObjectTest. - Addressed PR feedback by directly setting the field in transport implementations. Co-authored-by: nidhiii-27 <224584462+nidhiii-27@users.noreply.github.com>
Implemented the
deleteSourceObjectsfeature for thecomposeoperation in the Google Cloud Storage Java client.Changes:
deleteSourceObjectsfield toComposeRequestand itsBuilder.DELETE_SOURCE_OBJECTSoption.composeto propagate the new option.ComposeObjectRequestproto.ComposeRequestmodel.PR created automatically by Jules for task 10602500430278326901 started by @nidhiii-27