noobaa-core
noobaa-core copied to clipboard
NSFS | Lifecycle | NooBaa accepts empty Expiration clause
Environment info
- NooBaa Version: noobaa-core-5.17.0-20241007.el9.x86_64.rpm
- Platform: RHEL 9.4 on x84
Actual behavior
- NooBaa accepts empty Expiration, NonCurrentVersion and AbortMultipartUpload clauses like this: { "ID": "no-day", "Status": "Enabled", "Filter": { "Prefix": "file" }, "Expiration": { } }
Expected behavior
- NooBaa to enforce a valid parameter for Expiration, NonCurrentVersion and AbortMultipartUpload.
Steps to reproduce
- PUT the above lifecycle configuration on a bucket and validate it using GET lifecycle configuration
More information - Screenshots / Logs / Other output
@dannyzaken and @guymguym informed about it.