TritonDataCenter / java-manta

Java Manta Client SDK
Mozilla Public License 2.0
16 stars 26 forks source link

Add MANTA_BUCKETS_ENABLED Configuration Parameter #536

Closed indianwhocodes closed 5 years ago

indianwhocodes commented 5 years ago

Goals

Pending

Implementation

Correctness

dekobon commented 5 years ago

I believe that the approach specified in this PR is not a good approach. Buckets is a feature of the server-side API and should not require being enabled in the SDK. Adding this increases the burden placed upon the users of the SDK and doesn't provide any apparent benefit.

If users attempt to use buckets features against a Manta install that does not support them, then the SDK should error and ideally inform them that the Manta install doesn't support buckets.

indianwhocodes commented 5 years ago

Based on

I believe that the approach specified in this PR is not a good approach. Buckets is a feature of the server-side API and should not require being enabled in the SDK. Adding this increases the burden placed upon the users of the SDK and doesn't provide any apparent benefit.

If users attempt to use buckets features against a Manta install that does not support them, then the SDK should error and ideally inform them that the Manta install doesn't support buckets.

That makes sense, we should probably just configure the existing integration tests in such a way that it works both for buckets and directories.

I am gonna go ahead and close PR #536