Commit Graph

102 Commits

Author SHA1 Message Date
ionutboangiu
f11efbad51 Add precache support for exporters
Additional changes:
- removed unnecessary locking when initializing the exporter
  cache map, as the service itself is responsible for locking.
- separated setupCache method into ClearExporterCache and
  SetupExporterCache methods.
- removed idle ListenAndServe function that was only waiting for the
  stopChan to close. The reload case was unreachable due to the reload
  channel being created in Start instead of being passed down.
- removed Shutdown method on EventExporterS and replaced it with the
  exported ClearExporterCache method as it provided the same
  functionality.
2024-10-29 18:54:51 +01:00
gezimbll
c51122fd20 Moving apis into each subsystem packages 2023-12-13 20:33:09 +01:00
gezimbll
fcc9fc109b Updated go-elasticsearch client 2023-07-04 13:18:54 +02:00
ionutboangiu
113e2a2bdf Replace interface{} with any 2023-05-31 10:22:28 +02:00
adi
a448fb2c7a INtegrated efs in logger/ees + ers changes 2022-07-30 08:19:08 +02:00
adi
da358161a7 EFs service to logger/ees and APIS 2022-07-30 08:19:08 +02:00
adi
bf870b1e2b Failover ees/loggers improved + tests 2022-07-11 17:27:46 +02:00
ionutboangiu
70ea038f08 Update FibDuration function 2022-07-03 13:08:52 +02:00
adi
f562de49df ExtraData for exporters interface 2022-06-29 12:00:42 +02:00
ionutboangiu
fb354a04a4 Add blocker for exporters + tests 2022-05-06 20:49:11 +02:00
porosnicuadrian
8e7c7d1c75 Improved chargers reply for attributes 2022-04-20 10:35:59 +02:00
andronache98
ecdf5e54ea Changed headers 2022-03-09 14:14:30 +01:00
andronache98
9ec56f5155 Changed headers 2022-03-09 14:14:30 +01:00
porosnicuadrian
c7092cc0df Renamed AteredFields + updated uniqueALteredFields method 2022-03-01 15:51:07 +02:00
porosnicuadrian
75fc37db2c renamed into Filters + uniqueAlteredFields 2022-02-25 14:38:26 +01:00
andronache98
ca839daa29 Changed CGRID to *originID and removed it in most places 2022-02-06 09:52:26 +01:00
andronache98
c804a93166 Changed CGRID location from Event to APIOpts 2022-02-06 09:52:26 +01:00
porosnicuadrian
68abf3e506 Added decompress on header in ees 2022-01-13 16:52:51 +01:00
porosnicuadrian
4b1f6ab11a Updated ProcessEventWithGet for cdrs 2022-01-06 17:07:02 +01:00
porosnicuadrian
1216cadc89 Joined APIOpts and opts in args of archive api 2022-01-06 08:20:21 +01:00
porosnicuadrian
d2649631c2 Modified output 2021-12-15 20:00:03 +01:00
porosnicuadrian
4414c54810 Modified errors output 2021-12-15 20:00:03 +01:00
porosnicuadrian
a7352a02bf Modified error output 2021-12-15 20:00:03 +01:00
porosnicuadrian
76cc4cc14f Changed the create file + addded exports verification 2021-12-15 20:00:03 +01:00
porosnicuadrian
d5c8c9b642 Added verification in case of 0 written events 2021-12-15 20:00:03 +01:00
porosnicuadrian
a747e45a2f Added updates on archive api 2021-12-10 13:06:03 +01:00
porosnicuadrian
932eaf377a Fixed archive api 2021-12-10 13:06:03 +01:00
porosnicuadrian
2c69a89f8d Added filtration in export zip api 2021-12-07 20:46:13 +01:00
porosnicuadrian
4932e6d5e0 Added exists/notexists indexed fields in config subsystems 2021-12-07 16:42:42 +01:00
porosnicuadrian
0964c7a60b Fixed replicated data in args for archiveEvents api 2021-12-07 16:42:42 +01:00
porosnicuadrian
22c7b3f4ac Renamed ee archive api 2021-12-07 16:42:42 +01:00
porosnicuadrian
2e6e553f3f Added new api for exporter -ArchiveEventsAsReply + test 2021-11-28 10:28:30 +01:00
Trial97
904a6817e4 Updated internal connections 2021-11-17 18:36:40 +01:00
ionutboangiu
034adf8a52 Make field names for CGRConfig and FilterS values consistent across all Service structs 2021-11-11 12:23:21 +02:00
porosnicuadrian
82c8809d02 Added connMngr in ees *rpc exporter 2021-11-08 14:32:43 +02:00
andronache
7ab4167613 Corrected header in multiple files 2021-11-01 13:50:00 +02:00
porosnicuadrian
8bac24c964 Modified PrepareMap method signature for ExportEvent 2021-11-01 13:48:21 +02:00
andronache
1e080a7123 RunID is not longer added to event but to APIOpts 2021-10-20 16:54:20 +03:00
ionutboangiu
003a4e667d Change some opts field names to reduce redundancy 2021-10-18 18:09:44 +03:00
ionutboangiu
74db72a64c Rename attributeIDs opt to just IDs to avoid redundancy 2021-10-18 10:36:16 +03:00
Trial97
6bff7dfb9b Updated Redis storage 2021-10-08 11:12:50 +03:00
ionutboangiu
a2829a3f1a Add AttributeIDs to opts struct 2021-09-12 13:23:08 +02:00
ionutboangiu
48d4cfec3d Remove duplicate INFO logger 2021-09-10 11:25:57 +02:00
Trial97
a3ebbe38ec Added EeSV1 APIs back 2021-09-07 07:44:10 +02:00
ionutboangiu
6d091ea30e Add default_opts for attributes 2021-08-26 18:09:25 +02:00
Trial97
a4eb09a008 Updated integration tests 2021-08-18 16:34:44 +02:00
Trial97
9aa153c0b0 Finished implementing all the exporters 2021-08-18 16:34:44 +02:00
Trial97
d2915a5737 Updated the EEs with the new interface 2021-08-18 16:34:44 +02:00
Trial97
02973a711d Started changing the EEs 2021-08-18 16:34:44 +02:00
Trial97
7609c6a925 Updated ees metrics 2021-07-23 10:58:30 +02:00