oracle / oci-java-sdk

Oracle Cloud Infrastructure SDK for Java
https://cloud.oracle.com/cloud-infrastructure
Other
200 stars 156 forks source link

Need to have sorting parameter for ListBuckets call #441

Open andrejusc opened 2 years ago

andrejusc commented 2 years ago

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.

KartikShrikantHegde commented 1 year ago

Hi @andrejusc ,

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

meghaagarwal-dev commented 1 year ago

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

KartikShrikantHegde commented 1 year ago

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

andrejusc commented 1 year ago

@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.

KartikShrikantHegde commented 1 year ago

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

andrejusc commented 1 year ago

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.