Commit Graph

80 Commits

Author SHA1 Message Date
arberkatellari
626346e19b Add options to support non-Amazon S3 and SQS 2026-01-30 13:22:15 +01:00
ionutboangiu
3772307538 cfg: add metrics_reset_schedule ee opt 2025-11-20 11:35:29 +01:00
ionutboangiu
e05be683ae change license from GPLv3 to AGPLv3 2025-10-13 09:57:41 +02:00
ionutboangiu
b1a5874215 Move config/rsrparser.go to utils package 2025-02-24 13:36:32 +01:00
ionutboangiu
36a7d174ab Remove RSRSep opt from general section
- allows RSRParser to be split gracefully from config (was depending on
  RSRSep, which was retrieved from the global config variable)
- default separator (;) was the only one used except for splitting
  inline attribute values (where ANDSep is used)
2025-02-24 13:36:32 +01:00
ionutboangiu
ea25caa9fb Add missing els clone and AsMapIface logic 2025-01-29 10:52:24 +01:00
ionutboangiu
9b9c7bb914 Make elasticsearch refresh opt configurable 2025-01-29 10:52:24 +01:00
ionutboangiu
c1331531a7 Remove unusable elasticsearch opts 2025-01-29 10:52:24 +01:00
ionutboangiu
8cbeb45adf Remove global err used by tests
Removed many leftover error checks for NewDefaultCGRConfig,
which does not return an error anymore.
2024-10-29 18:54:51 +01:00
ionutboangiu
c69d5afc56 Add kafkaBatchSize configuration field
Avoids the default 1 second delay when the batch doesn't
reach 100 messages within that time.

Useful when the Kafka exporter is not cached, as it would
otherwise encounter that delay. Setting BatchSize to 1
prevents this.
2024-10-23 21:11:25 +02:00
NikolasPetriti
c474c9b8af Add coverage tests for config 2023-09-06 19:12:44 +03:00
ionutboangiu
113e2a2bdf Replace interface{} with any 2023-05-31 10:22:28 +02:00
arberkatellari
6810efb7ef Improving coverage at /config 2022-11-30 16:58:04 +02:00
adi
1bcf5f7f91 New cacheCfg params 2022-09-12 18:31:10 +02:00
ionutboangiu
f66f05d0e3 Add support for kafka ssl encryption 2022-08-24 09:32:23 +03:00
adi
0e5fe2c341 Integrated efs in ees and logger 2022-07-19 17:15:42 +02:00
ionutboangiu
924a91c749 Change SSLMode to PgSSLMode 2022-07-03 13:08:52 +02:00
ionutboangiu
366ba50f9c Repair config tests after adding blocker field for exporters 2022-05-06 20:49:11 +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
andronache98
24a1531c5b Modified tests using *originID in Event 2022-02-06 09:52:26 +01:00
andronache98
bb30b65ef5 Fixed tests using originID in event instead of opts 2022-02-06 09:52:26 +01:00
andronache98
ca839daa29 Changed CGRID to *originID and removed it in most places 2022-02-06 09:52:26 +01:00
ionutboangiu
f1c2c66309 Update clone and asmapinterface functions for eescfg 2022-01-19 19:53:34 +01:00
porosnicuadrian
ff143cf5aa Renamed sqlDSNParams into mysqlDSNParams 2022-01-12 12:37:57 +01:00
porosnicuadrian
89a9cd8598 Added DSN opts for exporter sql 2022-01-10 20:01:20 +01:00
nickolasdaniel
35d0e9bc71 Unit testing in config 2021-11-05 21:15:02 +02:00
nickolasdaniel
907b9476b1 Unit testing for config and utils 2021-11-04 20:07:54 +02:00
ionutboangiu
6c01384554 Fix unit tests 2021-11-01 13:51:02 +02:00
ionutboangiu
3769e1dad8 Fix compilation errors after making opts fields pointers 2021-11-01 13:51:02 +02:00
ionutboangiu
cd034b6f65 Fix compilation errors after making ees opts into structs (incomplete) 2021-11-01 13:51:02 +02:00
nickolasdaniel
bc50993f80 Unit tests in config 2021-10-12 18:11:25 +03:00
Trial97
6a3f8ddc57 Updated config 2021-09-20 10:45:14 +02:00
Trial97
9aa153c0b0 Finished implementing all the exporters 2021-08-18 16:34:44 +02:00
Trial97
00727fb06e Added concurent requests for ees 2021-07-23 10:58:30 +02:00
Trial97
be84ed5ada Refactored EventRequest 2021-07-06 20:51:32 +02:00
andronache
503d3fe22c Make flags camel case for ers ees and agents 2021-07-03 16:42:50 +02:00
ionutboangiu
fc42259893 Change possible reader/exporter types format from snake case to camel case 2021-07-01 16:16:49 +02:00
andronache
333216e06a Fixed Cover tests in Config 2021-06-09 20:15:57 +02:00
nickolasdaniel
98ac404ef1 Added missing fields or removed them where needed 2021-06-01 20:51:01 +03:00
nickolasdaniel
b14555924a Added unit tests in config 2021-05-25 20:12:30 +02:00
nickolasdaniel
f085ba1391 Added unit tests for config 2021-05-21 14:11:57 +02:00
porosnicuadrian
6e24b6ca4b Commented fields in cfg 2021-05-20 11:50:56 +02:00
nickolasdaniel
1c09bac041 Added unit tests for config 2021-05-19 15:54:39 +02:00
Trial97
c28ac62968 Updated flatstore tests 2021-05-19 15:54:14 +02:00
Trial97
45a11aa91e Updated s3 and sqs ers configs 2021-05-04 20:45:09 +02:00
Trial97
aef563ae17 Added more diff functions 2021-04-22 21:00:44 +02:00
Trial97
0a7446bdad Added Config in agent request as dataprovider 2021-02-09 15:16:20 +01:00
andronache
36da1a6309 Consts in utils 2021-01-11 10:57:44 +01:00
andronache
1470267727 Modified consts in utils 2021-01-07 18:15:35 +01:00