-
Notifications
You must be signed in to change notification settings - Fork 4
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
feat: support bucket region for all routes #35
Conversation
…PublicAccess) - also enable default CORS rules on bucket creation - support API param dynamic change of bucket name - fix fileGetUrl support expire time and bucket region
upgrade to uuid v9 was not taken into account in code use
stack trace is insufficient in plugin calling point to identify which step is causing a crash when creating a bucket
…ucket request params - this is not handled at the moment because we need to disable block public request before setting a bucket policy that makes access public. - it is then currently advided to first create the bucket, then disable blockPublicAccess, then put bucket policies in order to make sure bucket permissions are set in the right order. - it could be a feature to support proper/automatic disable of block public access based on bucket policies ? see roadmap for this plugin
… enable buckets use by default
a30b154
to
1158a80
Compare
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.
Globally, why not use typescript in this plugin ?
I 100% agree it should, unfortunately, this PR is required ASAP and I cannot take time to do so |
39690ad
to
18d4326
Compare
🎉 This PR is included in version 2.2.0-beta.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Modularized Controllers, Bucket Controller, and Testing Migration
Summary
This PR introduces significant structural changes and enhancements to the
kuzzle-plugin-s3
project. It modularizes controllers, adds a dedicated bucket controller with full CRUD capabilities, migrates tests tojest
, and enforces stricter configuration requirements.Key Changes
Controller Refactoring:
Bucket Controller:
Testing Framework Migration:
jest
, replacing the existing framework.Breaking Changes:
bucketName
andbucketRegion
are now required for all applicable API calls.Migration Notes
bucketName
andbucketRegion
where required.kuzzlerc
and other configuration files to match the new format. Example configurations for multiple regions are provided in the updated documentation.Benefits
Testing and Validation
jest
.Additional Notes
This is a breaking change. Ensure that configurations and client integrations are updated accordingly.
For a detailed view of changes, refer to the diff view.