Patrick Tombez and Yannick Vaucher
2d6b54df47
[13.0][ADD] monitoring_prometheus ( #239 )
...
[13.0][ADD] monitoring_prometheus
2021-12-07 10:42:11 +01:00
Yannick Vaucher
328f9e08c1
attachment_swift: Restore 9.0 compat in test
...
Restore import to openerp and py2.7 compat
2021-12-07 10:42:11 +01:00
Yannick Vaucher and GitHub
92bf8210ef
Merge pull request #299 from camptocamp/9.0-bp-cloud-abstract
...
[9.0] Backport of cloud abstraction
2021-11-15 17:22:19 +01:00
Florent Xicluna and Yannick Vaucher
eb06321284
Align readme with PR #244
2021-11-15 16:11:37 +01:00
Patrick Tombez and Yannick Vaucher
1349eb06e0
[13.0][FIX] cloud_platform: Fix Redis checks
2021-11-15 16:11:37 +01:00
Alexandre Fayolle and Yannick Vaucher
3ea80ea7d4
[FIX] cloud_platform_ovh uses swift
2021-11-15 16:11:37 +01:00
Patrick Tombez and Yannick Vaucher
cd4fec96ee
[13.0][IMP] Make cloud_platform fully abstract + update related modules ( #244 )
2021-11-15 16:11:37 +01:00
Yannick Vaucher
8a4e636d94
Travis build only on master branches
...
Avoid duplicate build on branches created for pull requests
2021-11-15 12:37:01 +01:00
Yannick Vaucher and GitHub
da05c26f87
Merge pull request #303 from camptocamp/9.0-bp-redis-url
...
[9.0][IMP] session_redis: allow configuring Redis URL instead of host & port.
2021-11-15 10:17:33 +01:00
Miku Laitinen and Yannick Vaucher
557a91d111
[IMP] session_redis: allow configuring Redis URL instead of host & port.
...
Back-porting from [13] branch
2021-11-11 19:54:58 +01:00
Yannick Vaucher and GitHub
57bbf92c17
Merge pull request #286 from nilshamerlinck/9.0-backport-attachment_azure
...
[MIG] attachment_azure: Backport from 10.0 to 9.0
2021-11-11 18:40:06 +01:00
Nils Hamerlinck
4519f4e515
[MIG] attachment_azure: Backport from 10.0 to 9.0
2021-11-09 20:28:31 +07:00
Nils Hamerlinck
d0db524425
[MIG] attachment_azure: Backport from 11.0 to 10.0
2021-11-09 19:04:21 +07:00
Nils Hamerlinck
b7b15b1572
[MIG] attachment_azure: Backport from 12.0 to 11.0
2021-11-09 19:04:21 +07:00
Nils Hamerlinck
9aa54025b0
[12.0][IMP] attachment_azure: don't get blob content if we only need its size
2021-11-09 19:04:21 +07:00
Nils Hamerlinck
e5a6ed4e67
[MIG] attachment_azure: Backport from 13.0 to 12.0
2021-11-09 19:04:21 +07:00
Nils Hamerlinck
ead50c44f1
[13.0][FIX] attachment_azure: in 13.0, _file_read() is expected to return base64 encoded data
2021-11-09 19:04:21 +07:00
Patrick Tombez and Nils Hamerlinck
94609a0ddc
[MIG] attachment_azure: Backport from 14.0 to 13.0
2021-11-09 19:04:21 +07:00
Patrick Tombez and Nils Hamerlinck
470c4b40d5
[14.0][IMP] attachment_azure: Allow storage name override
2021-11-09 19:04:21 +07:00
Vincent Renaville and Nils Hamerlinck
81f7aeca08
[IMP] Add identity ( #238 )
...
* [IMP] can use ad identity to access storage
2021-11-09 19:04:21 +07:00
Nils Hamerlinck
824668f4c5
[FIX] attachment_azure: clean dbname to fit with container naming rules
2021-11-09 19:04:21 +07:00
Nils Hamerlinck
89f7a2a707
[FIX] attachment_azure: higher level of permissions needed to create container and upload blobs when using the SAS token
2021-11-09 19:04:21 +07:00
Hiren Pattani and Nils Hamerlinck
6f56f791cb
[ADD] attachment_azure
2021-11-09 19:04:21 +07:00
Guewen Baconnier and GitHub
3cc4e93375
Merge pull request #137 from camptocamp/9-fixes
...
cloud_platform: fix default config
2020-06-22 07:38:37 +02:00
Patrick Tombez and GitHub
e368c8c5a1
Merge pull request #172 from p-tombez/9.0-s3_boto3
...
[9.0] attachment_s3: Migrate to boto3
2020-04-07 12:24:48 +02:00
Akim Juillerat and Patrick Tombez
aacffc0434
attachment_s3: Migrate to boto3
2020-03-10 11:39:43 +01:00
Akim Juillerat and GitHub
cd33d12527
Merge pull request #167 from grindtildeath/9.0-fix_auth_to_keystone_v3
...
[9.0] attachment_swift: Fix authentication to Keystone v3
2020-03-09 13:33:28 +01:00
Akim Juillerat
e68423bc54
Fix authentication to Keystone v3
...
- Use newer version from python lib.
- Define project_domain_id + user_domain_id in auth
2020-03-09 13:10:23 +01:00
Akim Juillerat and GitHub
99a4e59d35
Merge pull request #150 from grindtildeath/9.0_dev_attachments
...
[9.0] Require AWS_BUCKETNAME for prod, integration and labs environments only
2020-03-05 10:01:12 +01:00
Patrick Tombez and GitHub
2c23459778
Merge pull request #155 from p-tombez/9.0-keystoneauth_v3
...
[9.0] Use keystoneauth v3 for Swift attachments
2020-03-04 11:21:31 +01:00
Mussie Sirak and Patrick Tombez
d319b42fce
Use keystoneauth v3 for Swift attachments
2020-03-04 11:09:55 +01:00
Akim Juillerat
c657507a4b
Require AWS_BUCKETNAME for prod, integration and labs environments only
...
AWS_BUCKETNAME is only needed in order to write on the bucket, but
read-only access should be allowed for other environments.
Fixes bug introduced by 6c3b610610
2020-02-25 16:02:11 +01:00
Simone Orsi
4e0d582cd0
cloud_platform: fix default config
...
`_config_by_server_env` should always retutn a `PlatformConfig` instance
2020-02-04 13:40:58 +01:00
Patrick Tombez and GitHub
d214e82a46
Merge pull request #132 from p-tombez/9.0-anon_redis_session
...
[9.0] Add anonymous redis session expiration configuration
2020-01-31 11:15:33 +01:00
Patrick Tombez
5a07cc4f60
Add anonymous redis session expiration configuration
2020-01-29 16:42:39 +01:00
Guewen Baconnier and GitHub
477480df42
Merge pull request #103 from camptocamp/revert-98-9.0-monitoring_check_db_connection
...
Revert "[9.0] [IMP] monitoring_status: check the db is reachable"
2019-11-18 13:50:38 +01:00
Guewen Baconnier and GitHub
e1a516615c
Revert "[9.0] [IMP] monitoring_status: check the db is reachable"
2019-10-29 17:31:01 +01:00
Simone Orsi and GitHub
51527cd253
Merge pull request #98 from gurneyalex/9.0-monitoring_check_db_connection
...
[9.0] [IMP] monitoring_status: check the db is reachable
2019-10-28 08:09:35 +01:00
Alexandre Fayolle
1a56848a46
[IMP] monitoring_status: check the db is reachable
...
make a real SQL query on GET /monitoring/status and return a 503
if the query failed.
2019-10-25 14:52:58 +02:00
Simone Orsi and GitHub
57e03f1a6c
Merge pull request #76 from guewen/9.0-monitoring_status-ignore-http
...
[9.0] Ignore HTTP version in monitoring_status filter
2019-08-09 11:56:03 +02:00
Simone Orsi and Guewen Baconnier
1b10458d98
Ignore HTTP version in monitoring_status filter
2019-08-09 11:44:24 +02:00
Guewen Baconnier and Simone Orsi
cca0ba6bd8
[9.0] Filter /monitoring/status werkzeug logs ( #68 )
...
* Filter /monitoring/status werkzeug logs
With healtchecks, they constitute 95% of our logs. Let's stop wasting
resources and shut them up.
2019-07-19 15:34:23 +02:00
Timon Tschanz and GitHub
8332929cb4
Merge pull request #64 from tschanzt/fix_inverse_datas
...
Fix inverse datas for swift storage
2019-06-18 17:09:13 +02:00
Timon Tschanz
f5fdc3a7cf
Fix inverse datas for swift storage
2019-05-31 18:03:47 +02:00
Guewen Baconnier and GitHub
92ca087101
Merge pull request #55 from guewen/swift-auth-session
...
attachment_swift: share a session for all connections
2019-05-07 15:29:16 +02:00
Guewen Baconnier
3e20f1563f
Pin PyYAML version because 5.x does not work with Odoo
...
It would raise ConstructorError: could not determine a constructor for the tag '!record'
2019-05-02 16:45:59 +02:00
Guewen Baconnier
4e919d85cb
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-02 16:13:04 +02:00
Guewen Baconnier
85d32e44c6
Add missing variable in documentation example
2019-05-02 15:29:16 +02:00
Guewen Baconnier
6d27097ca9
Add setuptools files
2018-12-03 10:04:53 +01:00
Guewen Baconnier
5d9a51ef8c
Edit readme
2018-12-03 10:04:33 +01:00