oci-java-sdk icon indicating copy to clipboard operation
oci-java-sdk copied to clipboard

Need to have sorting parameter for ListBuckets call

Open andrejusc opened this issue 2 years ago • 6 comments

For this example and involved API: https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/2.44.0/objectstorage/ListBucketsExample.java.html

need to have an ability to provide a parameter to get results sorted by either Name or Created date, so could do retrieval of buckets of interest in more effective way.

andrejusc avatar Sep 21 '22 15:09 andrejusc

Hi @andrejusc ,

Thanks for creating the issue and requesting parameter support. We will ask the OCI Object Storage team to take a look.

KartikShrikantHegde avatar Sep 26 '22 21:09 KartikShrikantHegde

Hi @andrejusc, Currently we are not supporting sort option on listbuckets. We might plan for this for future though. Thanks for reaching us out.

meghaagarwal-dev avatar Nov 03 '22 09:11 meghaagarwal-dev

Hi @andrejusc , I am closing this ticket for now. Please feel free to re-open if you need additional help.

KartikShrikantHegde avatar Nov 04 '22 14:11 KartikShrikantHegde

@KartikShrikantHegde - I prefer that unresolved requested features to stay as open, so other users from community could see such and vote additionally. Please reopen this as I don't see any UI option to do that.

andrejusc avatar Nov 04 '22 14:11 andrejusc

@andrejusc , ok, I just re-opened it.

KartikShrikantHegde avatar Nov 04 '22 14:11 KartikShrikantHegde

Thank you for re-opening. In real-life use case - there could me many (more than 100 or so) buckets created within some compartment and even if we have overall limit for number of buckets to be retrieved - one then needs to navigate through them to check some creation time for example. So this requested feature will eliminate that and will make interaction much more efficient in achieving needed goal.

andrejusc avatar Nov 04 '22 14:11 andrejusc