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

add {set,get}_object_retention() APIs #986

Merged

Conversation

balamurugana
Copy link
Member

@balamurugana balamurugana commented Oct 2, 2020

No description provided.

@balamurugana balamurugana force-pushed the add-set-get_object_retention-apis branch from 510835e to c35407f Compare October 13, 2020 14:44
@balamurugana balamurugana marked this pull request as draft October 13, 2020 14:52
@balamurugana balamurugana force-pushed the add-set-get_object_retention-apis branch 3 times, most recently from 58e96d0 to b30c28f Compare October 19, 2020 10:06
@kannappanr
Copy link
Collaborator

@balamurugana can this be reviewed?

@balamurugana
Copy link
Member Author

@balamurugana can this be reviewed?

Depends on #985

@balamurugana balamurugana force-pushed the add-set-get_object_retention-apis branch 5 times, most recently from f16466a to d6d7bfd Compare October 22, 2020 16:48
@balamurugana balamurugana marked this pull request as ready for review October 22, 2020 16:54
minio/api.py Outdated
self, bucket_name, object_name, config, version_id=None,
):
"""
Set retention configuration to an object.
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
Set retention configuration to an object.
Set retention configuration on an object.

Copy link
Member Author

Choose a reason for hiding this comment

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

Done

# See the License for the specific language governing permissions and
# limitations under the License.

"""Request/response of PutBucketReplication and GetBucketReplication APIs."""
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
"""Request/response of PutBucketReplication and GetBucketReplication APIs."""
"""Request/response of PutObjectRetention and GetObjectRetention APIs."""

Copy link
Member Author

Choose a reason for hiding this comment

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

Done

poornas
poornas previously approved these changes Oct 23, 2020
Copy link
Contributor

@poornas poornas left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@poornas poornas left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Collaborator

@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

@balamurugana balamurugana merged commit eebcfe1 into minio:master Oct 23, 2020
@balamurugana balamurugana deleted the add-set-get_object_retention-apis branch October 23, 2020 05:54
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