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,delete}_object_lock_config APIs #985

Conversation

balamurugana
Copy link
Member

@balamurugana balamurugana commented Oct 2, 2020

No description provided.

@balamurugana balamurugana marked this pull request as draft October 2, 2020 05:03
@balamurugana balamurugana force-pushed the add-set-get-delete_object_lock_config-apis branch from d90957d to df33308 Compare October 2, 2020 13:55
@balamurugana balamurugana force-pushed the add-set-get-delete_object_lock_config-apis branch from df33308 to 15b30f7 Compare October 13, 2020 14:28
@balamurugana balamurugana marked this pull request as ready for review October 13, 2020 14:32
@kannappanr
Copy link
Collaborator

do we need to add functional tests for these APIs?

@balamurugana
Copy link
Member Author

do we need to add functional tests for these APIs?

Many existing APIs do not have functional tests. Not sure whether tests are needed for these APIs.

@balamurugana balamurugana force-pushed the add-set-get-delete_object_lock_config-apis branch 2 times, most recently from 57b0faf to c84527c Compare October 15, 2020 20:48
<Years>3</Years>
</DefaultRetention>
</Rule>
</ObjectLockConfiguration>""",
Copy link
Contributor

Choose a reason for hiding this comment

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

please fix the indentation here

Copy link
Member Author

Choose a reason for hiding this comment

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

What do you mean by fixing indentation? Could you point me where exactly the problem?

Copy link
Contributor

Choose a reason for hiding this comment

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

if you view the file xml is not indented ok

Copy link
Member Author

Choose a reason for hiding this comment

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

The multi-lined string is indented correctly to python. Please print the string and let me know if I am missing it.

minio/objectlockconfig.py Outdated Show resolved Hide resolved
@balamurugana balamurugana force-pushed the add-set-get-delete_object_lock_config-apis branch 7 times, most recently from ccf35b9 to 012bece Compare October 20, 2020 14:45
@balamurugana balamurugana force-pushed the add-set-get-delete_object_lock_config-apis branch from 012bece to e3cf139 Compare October 20, 2020 14:49
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 84ea173 into minio:master Oct 21, 2020
@balamurugana balamurugana deleted the add-set-get-delete_object_lock_config-apis branch October 21, 2020 06:12
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