-
Notifications
You must be signed in to change notification settings - Fork 81
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
Added restriction to limit the ID length to 255 characters in bucket lifecycle rules #8628
Conversation
Hey @achouhan09
|
Hi @romayalon Added issue link and tests. Thanks |
Could you test it in AWS and attach the results here? |
|
replied to comment |
For NooBaa, we will only get
|
@shirady updated the error msg. Thanks |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
(added a minor comment if you want to change)
…lifecycle rules Signed-off-by: Aayush Chouhan <[email protected]>
Explain the changes
Issues: Fixed #xxx / Gap #xxx
Testing Instructions:
AWS_ACCESS_KEY_ID=<access-id> AWS_SECRET_ACCESS_KEY=<secret-key> aws s3api --no-verify-ssl --endpoint-url <endpoint-url> put-bucket-lifecycle-configuration --bucket <bucket-name> --lifecycle-configuration '{ "Rules": [ { "ID": "JiLekqcxZ6q0W0kKmiCLtVUYgyurIKmmUixcgHrkVKHyo6MfRU3EwPDD4NFBNWfA1Ej4qnuqSwS1NPRBvIn2x11aEf5kCK1GOjwp6SdTi17wivc9f7Zt44vaXkf73mME0PG1HwI8vGhzHfo9EptdWwdqG9J7mUYcGTbh63aUShPbjRAtLgIHYs2MyTTocohssHQ2cSnQiZjtLXi1j8h4AzFNFx5PzaPInmWqCiMrQPY6npbnbZrNKv7scXcLd0zkszxktHmgoPLLimJYHwaH0a2GRZqw6icnXUmSY4oXMzU1XAYBSJwQ3S3n42RlrVQK11JnZvKYYpKcB1cHz5oYNrGyRczopsgRvn6vPZ8TK9JfxTrDkwMB5o7vfQoXynZPkjeH4uX0N3TLqmEBUUcFGBPJND6vOMgfTiZDtMsBQPTtAepimZCbcRAmJ8F5GPj4ZQtjaXPgEFrEHWRpeEXknZBaBKZYaf8CQpi8WF3fHbnFbZK1G6x1oYG2gtn1MgHU", "Status": "enabled", "Filter": { "Prefix": "test/" }, "Expiration": { "Date": "2020-01-02T00:00:00.000Z" } } ] }'