[
https://issues.apache.org/jira/browse/HDDS-14534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Attila Doroszlai updated HDDS-14534:
------------------------------------
Description:
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}} and {{handlePutRequest}} for example.
was:
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).
> 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
> Priority: Major
>
> 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}} and {{handlePutRequest}} 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]