Yannick Payot
d17d229b13
Change CI to GitHub actions
...
Use copier template from oca/oca-addons-repo-template
Apply linting
2023-05-24 18:22:55 +02:00
Patrick Tombez
1f0a6974fa
[FIX] attachment modules: remove base64 encoding when reading files from storage
2020-11-04 10:41:26 +01:00
Patrick Tombez
3655bce3ae
[MIG] attachment_swift: Migration to 14.0
2020-11-03 15:30:48 +01:00
Akim Juillerat
7bd76d3cd0
Fix authentication to Keystone v3
...
- Use newer version from python lib.
- Define project_domain_id + user_domain_id in auth
2020-03-09 13:01:43 +01:00
Mussie Sirak and Patrick Tombez
426d7cbe87
Use keystoneauth v3 for Swift attachments
2020-03-04 10:17:02 +01:00
Tonow-c2c
be6a79fa87
BSRD-286: MIG V13 attachement_swift
2019-12-03 10:51:59 +01:00
Guewen Baconnier
c6456a58f7
attachment_swift: share a session for all connections
...
OVH's Swift applies a rate limit on the authentication.
attachment_swift authenticates again each time it has to read/write an
attachment. When running upgrades on upgrades of files or installing a
new DB, at some point, we get rejected with HTTP 429.
This commit introduces a shared storage for Swift Session. All
connections will reuses the same authentication token created the first
time a connection needs a Session.
Note: needs python-swiftclient>=3.7.0 to have
https://github.com/openstack/python-swiftclient/commit/1971ef880ff225379d4a91f00f89f323a1605eeb
2019-05-09 10:10:58 +02:00
jcoux
5c43e3547e
fixup! Migration to 12.0
2018-11-23 09:31:46 +01:00
jcoux
7eac1013eb
Migration to 12.0
2018-10-24 12:44:45 +02:00
Guewen Baconnier
529c4066fa
Propagage region_name to swift connection
...
Otherwise, the bucket will be in the incorrect region
2018-03-16 09:10:58 +01:00
jcoux and Guewen Baconnier
8eaa15df7b
[11.0] Fix connection errors when we read attachment
2018-01-11 10:41:26 +01:00
Guewen Baconnier
abe34fcaa2
Return empty result on file read error
...
This is how the core implementation works
2017-09-20 15:42:25 +02:00
Guewen Baconnier
cbef735c76
Abstract object storage in attachment_s3
...
Using the base_attachment_object_storage module, the same way
attachment_swift is done. Fixed a few issues along the way in
attachment_swift.
2017-09-20 15:42:25 +02:00
Guewen Baconnier
81196a8058
Various small changes after review
2017-09-20 12:43:38 +02:00
Thierry Ducrest and Guewen Baconnier
dd8f2fc5c8
Add auth v2.0 for swift connection
2017-09-20 12:43:38 +02:00
Thierry Ducrest and Guewen Baconnier
fea698057a
Create base_attachment_object_storage to extract common code to store implementations
2017-09-01 11:14:21 +02:00
Thierry Ducrest
beea07d44f
Add implementation of reading writing on the Swift object store
2017-08-30 09:01:00 +02:00
Thierry Ducrest
017e1c7bd9
Create the module for Swift attachment
2017-08-25 16:34:12 +02:00