oci-java-sdk
oci-java-sdk copied to clipboard
Need to have sorting parameter for ListBuckets call
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.
Hi @andrejusc ,
Thanks for creating the issue and requesting parameter support. We will ask the OCI Object Storage team to take a look.
Hi @andrejusc, Currently we are not supporting sort option on listbuckets. We might plan for this for future though. Thanks for reaching us out.
Hi @andrejusc , I am closing this ticket for now. Please feel free to re-open if you need additional help.
@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 , ok, I just re-opened it.
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.