Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bucket Lifecycle configuration APIs(Get, Set, Remove) #507

Merged
merged 1 commit into from
Jan 19, 2021

Conversation

BigUstad
Copy link
Contributor

@BigUstad BigUstad commented Jan 5, 2021

Args, Examples & Functional test

@BigUstad BigUstad force-pushed the 1-minio-dotnet-lifecycle branch 2 times, most recently from 13809e1 to f330071 Compare January 5, 2021 08:16
@@ -0,0 +1,54 @@
/*
* MinIO .NET Library for Amazon S3 Compatible Cloud Storage, (C) 2020 MinIO, Inc.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* MinIO .NET Library for Amazon S3 Compatible Cloud Storage, (C) 2020 MinIO, Inc.
* MinIO .NET Library for Amazon S3 Compatible Cloud Storage, (C) 2021 MinIO, Inc.

@@ -0,0 +1,38 @@
/*
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't this be under ilm folder?

@@ -430,6 +430,9 @@ public override RestRequest BuildRequest(RestRequest request)
request.AddQueryParameter("tagging","");
string body = this.BucketTags.MarshalXML();
request.AddParameter(new Parameter("text/xml", body, ParameterType.RequestBody));
request.AddOrUpdateParameter("Content-MD5",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this computed for all operations?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All operations with XML configuration attached, we get an exception if 'Content-MD5' is missing

@BigUstad BigUstad force-pushed the 1-minio-dotnet-lifecycle branch 7 times, most recently from 6287cee to 2f13b7d Compare January 11, 2021 21:48
Copy link
Contributor

@kannappanr kannappanr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kannappanr kannappanr merged commit 8c6ed36 into minio:master Jan 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants