Commit graph

142 commits

Author SHA1 Message Date
Alex Kaminskii
71d50e5a44 refactor(backend-messages):predefined TypeID() on message type 2022-05-07 23:19:49 +02:00
Alex K
50bbd0fe98
Merge pull request #445 from openreplay/db_refactoring
Db refactoring
2022-05-05 12:50:40 +02:00
Alexander Zavorotynskiy
88306e1a6a fix (backend): removed unused import in storage module 2022-05-05 12:04:23 +02:00
Alexander Zavorotynskiy
167d1e117e Made correct project layout 2022-05-05 09:45:38 +02:00
Alex Kaminskii
6314fcbbef feat(backend): 2 files back compatible format 2022-05-04 20:33:52 +02:00
Alexander Zavorotynskiy
5b7c479f4d Refactoring in stats logger 2022-05-04 16:17:57 +02:00
Alexander Zavorotynskiy
74672d4321 Removed unused code 2022-05-04 14:36:42 +02:00
Alexander Zavorotynskiy
9cdb1e8ab7 Removed global pg connection 2022-05-04 14:21:15 +02:00
Alexander Zavorotynskiy
18d18164b3 Added temporary hack for http service building 2022-05-03 10:42:24 +02:00
Alexander Zavorotynskiy
f01ef3ea03 Made a correct project structure for http service 2022-05-02 14:47:13 +02:00
Alexander Zavorotynskiy
66e190221d Removed global objects (moved service initialization into serviceBuilder) 2022-05-02 14:36:02 +02:00
Alexander Zavorotynskiy
b0bb5bd922 Moved configuration to the separate file 2022-04-29 17:23:20 +02:00
Alexander Zavorotynskiy
10edeb6e2d Refactoring of http handlers 2022-04-29 16:53:28 +02:00
Alexander Zavorotynskiy
dc69131499 Deleted commented (unused) code 2022-04-29 11:22:00 +02:00
ShiKhu
cb01c3cb28 fix(backend/storage): codefix 2022-04-28 19:21:45 +02:00
ShiKhu
6d4800feea feat(backend/storage):split files into 2 2022-04-28 19:14:23 +02:00
Alexander Zavorotynskiy
de3ba9c7f6 fix(backend): added missed return in error case 2022-04-28 18:02:56 +02:00
Alexander Zavorotynskiy
3132db6205 fix(backend): fixed possible panic in the defer 2022-04-28 17:55:56 +02:00
ShiKhu
43669c082c gofmt 2022-04-25 23:09:52 +02:00
ShiKhu
b21419a8b9 fix(backend): bad_request starts from 400 2022-04-25 18:38:11 +02:00
ShiKhu
e1b3d20dc8 feat(backend-ender): fire missing_resource event 2022-04-25 15:21:41 +02:00
ShiKhu
e5e6008eb8 feat(backend-ender):fire bad_request on Fetch with status >=300 2022-04-25 14:01:55 +02:00
ShiKhu
263dd79d7f fix(backend-http):read from request without copying byts to array first 2022-04-23 13:54:56 +02:00
ShiKhu
6642784f58 fix(backend-integrations): no exit on request error 2022-04-15 21:23:15 +02:00
ShiKhu
fb60c5d085 fix(backend):pprof server start 2022-04-13 23:02:12 +02:00
ShiKhu
2bb97b3ddf feat(backend): pprof on http worker 2022-04-13 21:53:13 +02:00
ShiKhu
4fa1751a68 fix(backend-storage): dir clean in routine; MAX_POLL_INTERVAL_MS env var 2022-04-06 16:53:49 +02:00
ShiKhu
011cbd006b fix(ackend-assets): use cachePath in timeout map instead of original url 2022-04-04 20:40:21 +02:00
ShiKhu
3b3015e025 fix(backend-http): always Close() body 2022-04-03 13:31:54 +02:00
ShiKhu
c8872064ec code(backend): use 1.18 time features 2022-04-01 19:43:46 +02:00
ShiKhu
197c39f96a feat(backend): go v.1.18 upgrade 2022-04-01 19:14:08 +02:00
ShiKhu
daa5a7fad5 codefix(backend): code-format & Close() body on /i 2022-03-30 18:30:33 +02:00
ShiKhu
8c97576970 codefix(backend): autoCommit as init consumer parameter 2022-03-30 18:27:33 +02:00
ShiKhu
15f67c8595 feat(backend): save payloads 2022-03-06 19:09:02 +01:00
ShiKhu
777648dedd format(backend): format some go files 2022-03-06 17:30:27 +01:00
ShiKhu
6930b71c5f db (feat): pg batching 2022-02-18 20:53:13 +01:00
ShiKhu
95c5190b07 feat(backend): incoming queue stats logging for ender & db 2022-02-16 19:44:03 +01:00
Taha Yassine Kraiem
b33d05f1e6 feat(backend): changed logs 2022-02-09 18:19:58 +01:00
Taha Yassine Kraiem
c4d767a6d0 feat(integrations): exit on error 2022-02-09 15:02:36 +01:00
Taha Yassine Kraiem
6189883c5d feat(integrations): exit on error 2022-02-09 15:01:47 +01:00
Taha Yassine Kraiem
e7cc039f97 feat(db): rollback changes 2022-01-28 20:52:28 +01:00
Taha Yassine Kraiem
a5c56bee23 feat(db): sessions use string instead of *string 2022-01-28 19:47:28 +01:00
Taha Yassine Kraiem
1224664fbb feat(integrations): marshal payload map
feat(db): cast payload to jsonb
2022-01-28 19:25:57 +01:00
Taha Yassine Kraiem
5b256546eb feat(db): log new events 2022-01-28 17:29:11 +01:00
Taha Yassine Kraiem
b4ced1f28d feat(integrations): log new events attributes 2022-01-28 17:00:42 +01:00
Taha Yassine Kraiem
1c4505a62e feat(integrations): log new events 2022-01-28 16:25:34 +01:00
Taha Yassine Kraiem
193668e87a feat(integrations): add sessionId to Event 2022-01-28 15:36:53 +01:00
Taha Yassine Kraiem
24653af5e2 feat(integrations): fixed source 2022-01-28 15:15:20 +01:00
Taha Yassine Kraiem
93be4b4ff1 feat(integrations): fixed response parsing 2022-01-28 15:05:29 +01:00
Taha Yassine Kraiem
2167853fc9 feat(integrations): interface key check 2022-01-28 12:56:50 +01:00