Skip to content

HDDS-14756. Implement delegation and auditing for BucketOperationHandler#10057

Merged
peterxcli merged 1 commit intoapache:masterfrom
adoroszlai:HDDS-14756
Apr 9, 2026
Merged

HDDS-14756. Implement delegation and auditing for BucketOperationHandler#10057
peterxcli merged 1 commit intoapache:masterfrom
adoroszlai:HDDS-14756

Conversation

@adoroszlai
Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

  • Create implementations of BucketOperationHandler for auditing and chain-of-responsibility (like similar implementations of ObjectOperationHandler).
  • Extract BucketEndpoint.listMultipartUploads into its own handler class (ListMultipartUploadsHandler).
  • Let BucketEndpoint also be a BucketOperationHandler (at the end of the chain).
  • Minor code layout change in BucketEndpoint.handleGetRequest to keep line count below 150 (avoid the need for suppression).

https://issues.apache.org/jira/browse/HDDS-14756

How was this patch tested?

https://github.com/adoroszlai/ozone/actions/runs/24078478672

@adoroszlai adoroszlai self-assigned this Apr 7, 2026
@adoroszlai adoroszlai added the s3 S3 Gateway label Apr 7, 2026
Copy link
Copy Markdown
Contributor

@ivandika3 ivandika3 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 the patch, now both object and bucket endpoint seem to have been fully refactored. LGTM +1.

Copy link
Copy Markdown
Member

@peterxcli peterxcli left a comment

Choose a reason for hiding this comment

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

+1. Thanks @adoroszlai

@peterxcli peterxcli merged commit ab71c6a into apache:master Apr 9, 2026
45 checks passed
@peterxcli
Copy link
Copy Markdown
Member

Thanks @adoroszlai for the patch, @ivandika3 for the review!

@adoroszlai
Copy link
Copy Markdown
Contributor Author

Thanks @ivandika3, @peterxcli for the review.

@adoroszlai adoroszlai deleted the HDDS-14756 branch April 9, 2026 05:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

s3 S3 Gateway

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants