Commit graph

1390 commits

Author SHA1 Message Date
Kraiem Taha Yassine
7873bc3ff9 fix(assist): use production environment (#1285)
fix(peers): use production environment
fix(sourcemaps-reader): use production environment
2023-05-26 12:10:29 +02:00
Shekar Siri
8d132edb58
feat(chalice) - feature flags (#1252)
* feat(api) - feature flags - schema

* feat(api) - feature flags - wip

* feat(api) - feature flags

* feat(api) - feature flags - set back root path

* feat(api) - feature flags

* feat(api) - feature flags

* feat(api) - feature flags - review

* feat(DB): feature flags DB structure

* feat(chalice): feature flags permissions support
feat(chalice): feature flags changed code

* feat(chalice): feature flags add permissions to DB

---------

Co-authored-by: Taha Yassine Kraiem <tahayk2@gmail.com>
2023-05-17 15:48:34 +02:00
Taha Yassine Kraiem
55040b2c76 feat(chalice): fixed trace payload parsing 2023-05-11 13:22:25 +02:00
rjshrjndrn
8878df5c1c chore(cron): Adding missing deps
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2023-05-09 16:21:08 +02:00
MauricioGarciaS
1a414d5764
fix(connector): Added checkpoints and sigterm handler (#1234)
* fix(connector): fixed bug of cache dict size error

* fix(connector): Added method to save state in s3 for redshift if sigterm arise

* fix(connector): Added exit signal handler and checkpoint method

* Added sslmode selection for connection to database, added use_ssl parameter for S3 connection
2023-05-09 11:35:50 +02:00
Kraiem Taha Yassine
6291749bb7
feat(crons): include fastapi (#1231) 2023-05-04 16:01:21 +02:00
MauricioGarciaS
41c0f19c62
fix(connector): fixed bug of cache dict size error (#1226) 2023-05-04 13:49:10 +02:00
Kraiem Taha Yassine
d0d47f4e6a
Api v1.12.0 (#1230)
* feat(chalice): include enforceSSO in signup status

* feat(chalice): changed 1-time health-check
2023-05-04 11:49:37 +02:00
Kraiem Taha Yassine
66c4f9c481
feat(chalice): include enforceSSO in signup status (#1228) 2023-05-03 19:45:10 +02:00
Kraiem Taha Yassine
4a347139ba
feat(chalice): reduce issues for replay (#1227) 2023-05-03 15:52:02 +02:00
MauricioGarciaS
298288301a
fix(connector): handle db connection drop (#1223)
* Added compatibility with SaaS, added reboot of connection if connection droped

* Small fix
2023-05-02 16:31:20 +02:00
Taha Yassine Kraiem
1bdfc2ecfc Merge remote-tracking branch 'origin/api-v1.12.0' into dev
# Conflicts:
#	api/chalicelib/core/health.py
#	api/chalicelib/core/jobs.py
#	api/chalicelib/core/sessions_devtool.py
#	api/chalicelib/core/sessions_mobs.py
#	api/chalicelib/utils/s3.py
#	api/routers/crons/core_dynamic_crons.py
#	ee/api/chalicelib/core/assist_records.py
#	ee/api/chalicelib/core/health.py
#	ee/api/chalicelib/core/sessions_devtool.py
#	ee/api/chalicelib/core/traces.py
#	ee/api/requirements-crons.txt
#	ee/api/routers/crons/core_dynamic_crons.py
#	ee/api/schemas_ee.py
2023-05-02 15:37:20 +02:00
MauricioGarciaS
28182b951e
Redshift connector (#1170)
* Updated dependancies for redshift connector, changed os module for python-decouple module

* Updated service and images

* Updated message protocol, added exception for BatchMetadata when version is 0 (we apply old read method)

* fixed load error from s3 to redshift. null values for string columns are now empty strings ("")

* Added file test consumer_async.py: reads every 3 minutes kafka raw and send task in background to upload to cloud

* Added method to skip messages that are not inserted to cloud

* Added logs into consumer_async. Changed urls and issues in sessions table from list to string

* Split between messages for sessions table and for events table

* Updated redshift tables

* Fixed small issue in query redshift_sessions.sql

* Updated Dockerfiles. Cleaned logs of consumer_async. Updated/Fixed tables. Transformed Nan as NULL for VARCHAR columns

* Added error handler for sql dropped connection

* chore(docker): Optimize docker builds

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>

* Variables renamed

* Adding compression libraries

* Set default value of count events to 0 (instead of NULL) when event did not occur

* Added support specific  project tracking. Added PG handler to connect to sessions table

* Added method to update values in db connection for sessions ended and restarted

* Removing intelligent file copying

* chore(connector): Build file

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>

* Adding connection pool for pg

* Renaming and optimizing

* Fixed issue of missing information of sessions

---------

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
Co-authored-by: rjshrjndrn <rjshrjndrn@gmail.com>
2023-05-02 14:02:57 +02:00
Taha Yassine Kraiem
961ea99048 feat(chalice): refactored records list 2023-05-02 11:18:43 +02:00
Taha Yassine Kraiem
2751334876 feat(chalice): return all records if date is not specified 2023-05-02 11:18:43 +02:00
Taha Yassine Kraiem
668b9cb383 chore(build): testing EE cron-Jobs 2023-05-02 10:55:57 +02:00
Taha Yassine Kraiem
24c822c64e feat(chalice): changed corn-Job execution time 2023-05-02 10:55:57 +02:00
Taha Yassine Kraiem
5f1b97a3d8 feat(chalice): refactored Jobs
feat(chalice): added limits on Jobs
2023-05-02 10:55:57 +02:00
Taha Yassine Kraiem
fb7902c424 feat(chalice): configurable mobs expiration 2023-05-02 10:55:57 +02:00
Taha Yassine Kraiem
59905075c6 feat(chalice): fixing jobs execution 2023-05-02 10:55:57 +02:00
Taha Yassine Kraiem
9d6daf09a2 feat(chalice): fixed jobs execution 2023-05-02 10:55:57 +02:00
Rajesh Rajendran
eef776a13d fix(ee): chalice health check (#1142)
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2023-05-02 10:55:57 +02:00
Taha Yassine Kraiem
193030657a feat(chalice): skip mob existence verification 2023-05-02 10:54:24 +02:00
Taha Yassine Kraiem
6e2545692d feat(assist): updated dependencies
feat(sourcemaps-reader): upgraded dependencies
2023-04-28 16:44:57 +02:00
Taha Yassine Kraiem
bb114c6549 feat(chalice): fixed recordings response recursion error 2023-04-28 16:28:56 +02:00
Taha Yassine Kraiem
eb9fc2c4cb feat(chalice): changed recordings response
feat(chalice): updated dependencies
feat(crons): updated dependencies
feat(alerts): updated dependencies
2023-04-28 15:41:34 +02:00
Taha Yassine Kraiem
3dfa487ac5 feat(crons): fixed health check cron
feat(crons): refactored main
2023-04-28 14:34:12 +02:00
Taha Yassine Kraiem
753d1cac11 feat(chalice): changed recordings response 2023-04-28 12:00:01 +02:00
Taha Yassine Kraiem
93737f4ebb feat(chalice): format code 2023-04-27 18:20:50 +02:00
Kraiem Taha Yassine
5988607d36
Merge pull request #1072 from dgrah50/chalice-allow-windows-integrated-authentication-for-saml
(feat): Chalice - Allow Windows Integrated Authentication for SAML
2023-04-27 18:07:47 +02:00
Taha Yassine Kraiem
9bddd7def9 feat(crons): changed health-check response 2023-04-27 17:52:30 +02:00
Taha Yassine Kraiem
99dcc7cf78 feat(chalice): changed health-check response 2023-04-27 17:44:52 +02:00
Taha Yassine Kraiem
0ca7994672 feat(chalice): fixed typo 2023-04-27 17:36:16 +02:00
Taha Yassine Kraiem
ef2f6a90b9 feat(crons): reorganized crons 2023-04-27 17:30:37 +02:00
Taha Yassine Kraiem
2b4e5a5121 feat(chalice): changed projects stats for health-check
feat(crons): cahnged projects stats for health-check
chore(helm): projectStats cron every 18 min
chore(helm): projectStats-fix cron every Sunday at 5am
2023-04-27 17:03:44 +02:00
Taha Yassine Kraiem
be4161887b feat(chalice): projects stats for health-check
feat(DB): projects stats for health-check
feat(crons): projects stats for health-check
2023-04-27 15:43:56 +02:00
Taha Yassine Kraiem
489c9c12a1 feat(chalice): use experimental session search for metrics 2023-04-26 18:53:07 +02:00
Taha Yassine Kraiem
171373b73e feat(chalice): refactored projects code
feat(chalice): sessions-check-flag every hour
feat(chalice): sessions-check-delta set to 4 hours
2023-04-26 17:47:00 +02:00
rjshrjndrn
ce2cb5e772 chore(crons): Updating dockerfile
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2023-04-25 16:47:09 +02:00
Taha Yassine Kraiem
84aba651e6 feat(chalice): refactored records list 2023-04-21 00:48:03 +01:00
Taha Yassine Kraiem
ef673a4a1e feat(chalice): return all records if date is not specified 2023-04-21 00:33:47 +01:00
Taha Yassine Kraiem
e381c8f59e feat(chalice): changed release version 2023-04-19 17:24:58 +01:00
Taha Yassine Kraiem
c64454ec94 feat(chalice): changed release version
feat(assist): changed release version
feat(peers): changed release version
feat(sourcemaps-reader): changed release version
feat(chalice): enhanced health-check
feat(DB): sessions_count table to keep status
2023-04-19 16:39:38 +01:00
Taha Yassine Kraiem
29d4fee19d feat(DB): app_crash issue type 2023-04-17 16:44:50 +01:00
Taha Yassine Kraiem
7684798f85 feat(chalice): tag mob files for scheduled delete 2023-04-17 13:19:32 +01:00
Taha Yassine Kraiem
ce5afaf997 feat(chalice): add prefix to mob files scheduled for delete 2023-04-14 14:45:45 +01:00
Taha Yassine Kraiem
bfa4dbb239 feat(chalice): use CH compression 2023-04-14 12:19:38 +01:00
Taha Yassine Kraiem
932edda0c0 feat(chalice): upgraded dependencies 2023-04-13 17:09:43 +01:00
Taha Yassine Kraiem
0f8c842c3e chore(build): changed github actions for chalice/alerts/crons
feat(assist): updated version
feat(peers): updated version
feat(sourcemaps-reader): updated version
feat(sourcemaps-reader): upgraded dependencies
2023-04-13 16:27:28 +01:00
Taha Yassine Kraiem
9ca7665f05 feat(crons): added missing dependency 2023-04-13 13:21:27 +01:00