Gargi Jaiswal created HDDS-15509:
------------------------------------
Summary: Add protobuf schema and OmBucketInfo storage for S3
bucket tags
Key: HDDS-15509
URL: https://issues.apache.org/jira/browse/HDDS-15509
Project: Apache Ozone
Issue Type: Sub-task
Affects Versions: 2.2.0
Reporter: Gargi Jaiswal
Assignee: Gargi Jaiswal
Introduce protocol definitions required for {*}S3 {{{}PutBucketTagging{}}},
{{{}GetBucketTagging{}}}, and {{DeleteBucketTagging}}{*}.
No OM request handlers or S3 endpoints in this PR — only the persistence/schema
layer so later PRs can build on a stable contract.
* {{*OmClientProtocol.proto*}}
** Add {color:#de350b}{{{}PutBucketTagging{}}}, {{{}GetBucketTagging{}}},
{{DeleteBucketTagging}}{color} to {{Type}} enum
** Add request/response messages
** Add {{{color:#de350b}repeated KeyValue{color} {color:#de350b}tags =
23{color}}} to {{BucketInfo}}
** Add {{{color:#de350b}repeated KeyValue tags{color} {color:#de350b}=
13{color}}} to {{BucketArgs}}
* *{{OmBucketInfo.java}} —* store/serialize/deserialize {{tags}} map
* *{{OmBucketArgs.java}} —* carry tags in bucket args
* {{*OzoneManagerVersion.java*}} *—* add
{color:#de350b}{{S3_BUCKET_TAGGING_API(13, ...)}}{color}
* {{*OmUtils.java*}} *—* classify {{PutBucketTagging}} /
{{DeleteBucketTagging}} as write
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]