[
https://issues.apache.org/jira/browse/HDDS-657?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16650113#comment-16650113
]
Elek, Marton commented on HDDS-657:
-----------------------------------
Patch is uploaded.
Most of the patch is just delete/rename as I moved all the realted
bucket/object methods to the same jaxrs resource class (which is a jaxrs
requirement). As the methods are simple enough we don't need it (yet) to
separate them to different classes, especially as it requires more complex
initialization (you can't use simple JAXRS/CDI injection).
DeleteBucket/GetBucket/ListBucket also updated to use the volume based
approaches (togethere with unit tests).
Robot framework tests are added and simplified (all the initialization are
moved to the __init__.robot file.)
test.sh didn't work very well with custom tests in a subdirectory (test.sh
--env ozones3 s3/../....robot). I removed one character to make it work.
IsoDate converter is also fixed.
But from high level no big code changes. I kept the same logic/code just moved
them (and fixed the volume handling).
> Remove {volume} path segments from all the remaining rest endpoints
> -------------------------------------------------------------------
>
> Key: HDDS-657
> URL: https://issues.apache.org/jira/browse/HDDS-657
> Project: Hadoop Distributed Data Store
> Issue Type: Sub-task
> Reporter: Elek, Marton
> Assignee: Elek, Marton
> Priority: Major
> Attachments: HDDS-657-ozone-0.3.001.patch
>
>
> In the recent jiras (HDDS-577 and HDDS-522 and HDDS-606 ) we moved to a model
> where the ozone volume name is calculated based on a naming convention (s3 +
> username). With this approach we don't need to add the volume to the path. We
> can remove it from everywhere.
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]