371 Commits

Author SHA1 Message Date
Tonow-c2c c9c25df645 Merge pull request #92 from Tonow-c2c/BSRD-286_MIG-13.0_session_redis
BSRD-286: MIG V13 session_redis
2019-11-08 08:20:00 +01:00
Tonow-c2c e079271cbc Merge pull request #91 from Tonow-c2c/BSRD-286_MIG-13.0_monitoring_status
BSRD-286: MIG V13 monitoring_status
2019-11-08 08:19:49 +01:00
Tonow-c2c 2d634eb77e Merge pull request #94 from Tonow-c2c/BSRD-286_MIG-13.0_monitoring_log_requests
BSRD-286: MIG V13 monitoring_log_requests
2019-11-08 08:19:19 +01:00
Tonow-c2c c8bd7c1440 Merge pull request #89 from Tonow-c2c/BSRD-286_MIG-13.0_logging_json
Bsrd 286 mig 13.0 logging json
2019-11-08 08:18:55 +01:00
Guewen Baconnier e5cd6a8f87 Revert "[13.0] [IMP] monitoring_status: check the db is reachable" 2019-10-29 17:32:39 +01:00
Tonow-c2c 622d56b8cf Merge pull request #88 from Tonow-c2c/BSRD-286_MIG-13.0_cloud_platform_exoscale
BSRD-286: MIG V13 cloud_platform_exoscale
2019-10-28 16:41:01 +01:00
Tonow-c2c 6b90dcaf92 Merge pull request #87 from Tonow-c2c/BSRD-286_MIG-13.0_cloud_platform
BSRD-286: MIG V13 cloud_platform
2019-10-28 16:40:38 +01:00
Tonow-c2c 6b8b2da4a3 Merge pull request #83 from grindtildeath/13.0-mig-base_attachment_object_storage
[MIG] base_attachment_object_storage: Migration to 13.0
2019-10-28 16:40:17 +01:00
Tonow-c2c 41c3bae719 Merge pull request #82 from Tonow-c2c/BSRD-286_MIG-13.0_attachment_s3
Bsrd 286 mig 13.0 attachment s3
2019-10-28 16:39:53 +01:00
Simone Orsi 2c6b11763e Merge pull request #101 from gurneyalex/13.0-monitoring_check_db_connection
[13.0] [IMP] monitoring_status: check the db is reachable
2019-10-28 08:13:38 +01:00
Alexandre Fayolle 7a4f43d1fa [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 16:25:54 +02:00
Tonow-c2c 702b8c2039 BSRD-286: MIG V13 monitoring_statsd 2019-10-08 18:18:58 +02:00
Tonow-c2c c1c76144d2 BSRD-286: MIG V13 logging_json 2019-10-08 18:17:31 +02:00
Tonow-c2c e9add2fa96 BSRD-286: MIG V13 session_redis 2019-10-08 17:19:13 +02:00
Tonow-c2c a24ec00441 BSRD-286: MIG V13 monitoring_status 2019-10-08 17:18:52 +02:00
Tonow-c2c 6a2d8748b9 BSRD-286: MIG V13 monitoring_log_requests 2019-10-08 17:18:22 +02:00
Tonow-c2c b785582aa2 BSRD-286: MIG V13 cloud_platform_exoscale 2019-10-08 17:17:26 +02:00
Tonow-c2c c07adcd69e BSRD-286: MIG V13 cloud_platform 2019-10-08 17:16:36 +02:00
Tonow-c2c 37a3852c80 BSRD-286: MIG V13 attachement_s3 2019-10-08 17:13:34 +02:00
Akim Juillerat a7e364f93b [MIG] base_attachment_object_storage: Migration to 13.0 2019-10-08 17:10:36 +02:00
Akim Juillerat 529ae1052f Merge pull request #95 from grindtildeath/13.0_fix_travis_version
Fix travis.yml VERSION
2019-10-08 16:43:38 +02:00
Akim Juillerat f65cb0ab19 Fix travis.yml VERSION 2019-10-08 16:10:10 +02:00
Tonow-c2c ca78a983e7 Merge pull request #81 from Tonow-c2c/13.0
BSRD-286: Set the addons to uninstallable
2019-10-07 15:40:07 +02:00
Tonow-c2c 21c62cbd53 BSRD-286: rm test in travis.yml 2019-10-07 14:09:06 +02:00
Tonow-c2c cbff157fdd BSRD-286: Set the addons to uninstallable 2019-10-07 12:16:06 +02:00
CharlineDumontet 9655641f22 Merge pull request #80 from Tonow-c2c/change_re_check_prod
cloud_platform: support client name w/ number
2019-09-09 09:25:55 +02:00
Tonow-c2c 6b87b1c604 cloud_platform: support client name w/ number 2019-09-08 15:48:23 +02:00
Guewen Baconnier 84e00f5f14 Merge pull request #73 from camptocamp/simahawk-patch-1
monitoring_status filter: ignore HTTP version
2019-08-09 09:54:33 +02:00
Simone Orsi 0686ae7ec4 Update main.py 2019-08-02 09:14:16 +02:00
Simone Orsi 764a77ff60 Update main.py 2019-08-02 08:30:49 +02:00
Simone Orsi 9cf63f60a5 Merge pull request #72 from simahawk/12-imp
cloud_platform: support client name w/ multiple `-`
2019-07-30 15:52:43 +02:00
Simone Orsi 50cb368704 cloud_platform: support client name w/ multiple - 2019-07-30 14:20:12 +02:00
Simone Orsi 379141112c Merge pull request #65 from guewen/filter-monitoring-status-log
[12.0] Filter /monitoring/status werkzeug logs
2019-07-12 11:58:09 +02:00
Guewen Baconnier ad3a962931 Filter /monitoring/status werkzeug logs
With healtchecks, they constitute 95% of our logs. Let's stop wasting
resources and shut them up.
2019-07-12 10:07:20 +02:00
Akim Juillerat 665976930b Merge pull request #58 from guewen/12.0-swift-auth-session
[12.0] attachment_swift: share a session for all connections
2019-05-20 15:44:47 +02:00
Guewen Baconnier 580eff0062 Override dependencies with different name and pin versions
The name of the libs and python packages are different, Odoo expects
the inner python package in the manifest, but setuptools cannot find the
libs in pypi, overrides them with the libs names.
2019-05-09 10:10:58 +02:00
Guewen Baconnier d032e518ba 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-09 10:10:58 +02: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
Guewen Baconnier 339876236e Add missing variable in documentation example 2019-05-07 15:51:36 +02:00
Yannick Vaucher 486f15095f Merge pull request #53 from p-tombez/12.0-fix_s3_name_check
Fix S3 bucket name check to allow numbers
2019-05-01 16:24:28 +02:00
Patrick Tombez dc0029cfda Fix S3 bucket name check to allow numbers 2019-04-24 12:08:42 +02:00
Simone Orsi affe86d5aa Merge pull request #51 from yvaucher/fix-aws-host-empty
Fix use of aws where hostname is not required
2019-04-17 15:24:37 +02:00
Yannick Vaucher 8ccddefd06 Fix use of aws where hostname is not required
This fixes an error with endpoint computed as https://None while
we want to let boto compute the AWS endpoint
2019-04-17 14:51:46 +02:00
Yannick Vaucher c3310cbd9f Merge pull request #45 from Numigi/12.0-monitoring_log_requests_dispatch_classmethod
12.0: monitorin_log_request: _dispatch is a classmethod
2019-04-16 15:10:11 +02:00
Jordi Riera 060975fdfb monitorin_log_request: _dispatch is a classmethod 2019-04-15 17:55:03 -04:00
Yannick Vaucher b05413f020 Merge pull request #49 from grindtildeath/12.0_add_base_fileurl_field
[12.0] Add base_fileurl_field
2019-04-08 17:04:53 +02:00
Akim Juillerat 9df4251b3c Merge pull request #50 from grindtildeath/12.0_hostname_scheme
[12.0] Add https scheme if not present in AWS_HOST env var
2019-04-03 15:53:44 +02:00
Akim Juillerat 58d526d8cf Add https scheme if not present in AWS_HOST env var
With boto (odoo < 12.0) we use an hostname as AWS_HOST.
However with boto3, the connection must be initialized using an
URL containing a scheme (e.g https://)
This commit ensures we can use a simple hostname for odoo >= v12.0
without the need of specifying the scheme in the env var.
2019-04-03 14:48:53 +02:00
Akim Juillerat 959702b2d3 fixup! fixup! [12.0] Add base_fileurl_field 2019-04-02 14:07:30 +02:00
Akim Juillerat dd776de71b Make pylint happy 2019-03-14 15:16:54 +01:00