[16.0][MIG] storage_backend_s3: Migration to 16.0#550
Closed
[16.0][MIG] storage_backend_s3: Migration to 16.0#550
Conversation
905862a to
2250c12
Compare
- refactor the way to build the url (use a generic base_url). - make more generic the storage backend by moving specific feature in storage file - better name for variable "name" in store and retrieve method use "relative_path" instead - extra amazon S3 storage component in a separated module with test using vcrpy
…t with the specifiation of the type of file binary or base64
* support custom endpoint * refactor bucket handling * re-register vcrpy tests
Every time the selection field was loaded S3 API were called to retrieve regions. This can have a big impact on computing URLs and in any case is useless if we assume that regions do not change every now and then.
2250c12 to
feff193
Compare
39ef25a to
9bae181
Compare
Author
|
Closing to recreate from BITVAX/storage organization fork. Same changes will be submitted in a new PR. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Migration of storage_backend_s3 from 15.0 to 16.0
Changes
<=1.15.18)attrssyntax (Odoo 16 still requires it, same as storage_backend_sftp)Migration Notes
This module provides Amazon S3 storage backend support.
The
attrssyntax is kept as it's still required in Odoo 16.0 - the direct attribute syntax (invisible="expr") causes validation errors.Testing