[ 
https://issues.apache.org/jira/browse/HDDS-8014?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mladjan Gadzic updated HDDS-8014:
---------------------------------
    Summary: [Snapshot] Implement Native Acl Integration tests for Snapshotting 
 (was: Implement Native Acl Integration tests for Snapshotting)

> [Snapshot] Implement Native Acl Integration tests for Snapshotting
> ------------------------------------------------------------------
>
>                 Key: HDDS-8014
>                 URL: https://issues.apache.org/jira/browse/HDDS-8014
>             Project: Apache Ozone
>          Issue Type: Sub-task
>            Reporter: Mladjan Gadzic
>            Assignee: Mladjan Gadzic
>            Priority: Minor
>              Labels: gr, pull-request-available, snapshot
>
> Invoke each of the following methods in the OzoneManager, to read data from a 
> snapshot protected by a KEY based acl.
> {code:java}
> public OmKeyInfo lookupKey(OmKeyArgs args) throws IOException
> public KeyInfoWithVolumeContext getKeyInfo(final OmKeyArgs args,boolean 
> assumeS3Context) throws IOException
> public List<OzoneFileStatus> listStatus(OmKeyArgs args, boolean recursive,
> String startKey, long numEntries, boolean allowPartialPrefixes) throws 
> IOException
> public OmKeyInfo lookupFile(OmKeyArgs args) throws IOException 
> public List<OmKeyInfo> listKeys(String volumeName, String bucketName, String 
> startKey, String keyPrefix, int maxKeys) throws IOException 
> public List<OzoneAcl> getAcl(OzoneObj obj) throws IOException
> {code}
> It should be done with junit5, (not junit4.)
> Run each with as many of the 3 bucket types as possible, (some methods might 
> not work on certain bucket types.)
> Each should also be run as two different users so the acl passes one time and 
> fails one time.
> Each method can be invoked with "cluster.getOzoneManager()" like so: 
> [!https://github.com/fluidicon.png!ozone/TestCloseContainerHandlingByClient.java
>  at master · 
> apache/ozone|https://github.com/apache/ozone/blob/master/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/client/rpc/TestCloseContainerHandlingByClient.java#L154]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to