Attila Doroszlai created HDDS-14534:
---------------------------------------
Summary: Refactor ObjectEndpoint get/delete to use
ObjectOperationHandler
Key: HDDS-14534
URL: https://issues.apache.org/jira/browse/HDDS-14534
Project: Apache Ozone
Issue Type: Sub-task
Components: s3gateway
Reporter: Attila Doroszlai
Continue HDDS-14398 by refactoring GET and DELETE handlers in
{{ObjectEndpoint}} to use {{ObjectOperationHandler}}.
- Move {{deleteObjectTagging}} and {{getObjectTagging}} into
{{ObjectTaggingHandler}} and implement {{handleDeleteRequest}} and
{{handleGetRequest}} in {{ObjectTaggingHandler}} using these methods.
- Override {{handleDeleteRequest}} and {{handleGetRequest}} in
{{ObjectEndpoint}}, moving existing logic from {{get}} and {{delete}}, but keep
{{OMException}} handling in the original method, and drop:
-- S3 owner check
-- logic related to object tagging
-- logic related to audit logging
- Change {{get}} and {{delete}} to delegate to {{handler}} (see {{put}} for
example).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]