30 Commits

Author SHA1 Message Date
ionutboangiu
117fee4e29 Relicense from GPLv3 to AGPLv3 2025-10-29 19:42:24 +01:00
ionutboangiu
62619ba3a5 Replace interface{} with any 2023-06-05 10:55:32 +02:00
ionutboangiu
a3a8c5a4a4 Make the FCTmpl.RoundingDecimals field a pointer
The purpose of this is to check whether RoundingDecimals was set from the fields configuration.
If it wasn't, we are going to be using the RoundingDecimals dictated by the general subsection.
2023-05-22 07:53:47 +02:00
ionutboangiu
cb7ea790de Update rpcclient library to latest version
Replace all instances of rpcclient.ClientConnector with birpc.ClientConnector.

Pass context, maxReconnectInterval, delayFunc and birpcClient to rpcclient
constructors.

Remove redundant time.Duration conversions (e.g. time.Duration(1*time.Second)
now becomes time.Second.

Add context where needed (context.Background() for tests, context.TODO()
for places where it should be passed from somewhere else).

Implement that functionality of the SessionSv1.Sleep call, in sessions/sessions
instead of apier/v1.

Make changes in utils/server.go (replacing the old rpc2 library with github.com/cgrates/birpc).

Change the way we register birpc methods for sessions in services, using a helper function
defined in engine/libengine.go.
2023-05-03 10:02:15 +02:00
gezimbll
c5acb15d4a improving coverage tests at engine 2023-03-01 17:09:47 +01:00
Trial97
f18525a1db Updated path for cdre 2020-01-30 10:21:48 +01:00
Trial97
ab3fb01e7d Starting adding absolute path to cdre 2020-01-30 10:21:48 +01:00
Trial97
94c29c93d2 Updated CDRExporter 2020-01-28 10:07:34 +01:00
adragusin
f9a79edfe3 replaced hard coded strings with const 2020-01-21 14:06:11 +02:00
Trial97
e5c97a94ab Renamed META_DEFAULT to MetaDefault 2019-12-13 15:04:34 +02:00
Trial97
1df6f3be46 Replaced DEFAULT_RUNID with META_DEFAULT 2019-12-13 10:57:40 +02:00
TeoV
4f563aa5ee Update filters and dataProvider to include ~*req as refix 2019-11-27 11:10:32 -05:00
TeoV
c40dc3d27f Before export the cdr send it to attributeS to be processed 2019-06-23 13:11:14 +02:00
TeoV
89bf087bc6 Remove RoundingDecimals from CDRC ( can be set explicit for the field you want) 2019-06-04 18:55:23 +02:00
TeoV
dddd9cbc32 Remove cdre.cost_multiply_factor (can we done via DataConvertor) 2019-05-31 09:23:59 +02:00
TeoV
f97d1c6d03 Remove usage_multiply (can be done via dataConverter) 2019-05-31 09:23:59 +02:00
Trial97
8456b55a20 Updated integration tests after the move of Cache methods 2019-03-18 11:49:16 +01:00
Trial97
e949b3e37f Updated basic test for dynamic filter values 2019-03-06 16:05:01 +01:00
TeoV
d8977ffeba Add option "rsr_separator" in general config 2018-11-25 17:42:42 +01:00
Trial97
a4896dbc32 Added General config 2018-10-05 20:33:28 +03:00
TeoV
6e93a9489c Replace ID with Tag for FCTemplate 2018-09-10 16:31:16 +02:00
TeoV
116a978713 Update combine method in engine/cdr.go with FCTemplate 2018-08-30 11:40:06 +02:00
TeoV
002c57e857 Update CDRE with FCTemplate 2018-08-30 11:40:06 +02:00
TeoV
12b40afe6f Add new FilterS for CDRe 2018-08-09 19:37:10 +02:00
DanB
ea1054690c Export fields on location only if filter passing, tests for export with data conversion 2018-05-28 17:46:49 +02:00
DanB
d9f0e43a33 CDR.Rated -> CDR.PreRated, CDR exporter using better RSR parsing 2018-05-28 13:43:06 +02:00
DanB
0da9a10de7 Removing Direction, PDD, DisconnectCause, Supplier from main fields of CDR; MySQL/Postgres storing nanoseconds instead of seconds for usage, tests update 2017-10-30 18:18:37 +01:00
DanB
dcbe8b1882 ApierV1.ExportCDRs API 2017-02-17 15:28:39 +01:00
DanB
d27dc06e7d CDRExporter redesign, modified configuration parameters, CDRS replication -> online_cdr_exports 2017-02-14 17:41:30 +01:00
DanB
393c1acbd0 Adding FieldMultiplyFactor so we can clone it centralized 2017-02-12 19:19:47 +01:00