Commit Graph

459 Commits

Author SHA1 Message Date
ionutboangiu
8443af3a89 Relicense from GPLv3 to AGPLv3 2025-10-29 19:42:40 +01:00
ionutboangiu
a7ca167039 Add BalanceFactor value to Increments
For both the Increment and ChargingIncrement types.
2024-04-01 20:48:57 +03:00
ionutboangiu
3269393141 Retrieve BalanceFactorID from Event
It will be added to CallDescriptor in ExtraFields.

Ensure CDR ExtraFields are passed to CallDescriptor before
sending it to RALs.

Ensure Clone function of CallDescriptor also clones the
ExtraFields map.
2024-03-04 09:49:15 +01:00
ionutboangiu
0aea8ac641 Revert "Move CGREvent from utils to engine"
This reverts commit 02195c47ed.
2024-03-04 09:49:15 +01:00
ionutboangiu
02195c47ed Move CGREvent from utils to engine 2024-02-27 17:16:57 +01:00
ionutboangiu
1154cad0df Rename max_recursion_depth cfg param to fallback_depth 2023-12-07 17:08:22 +01:00
ionutboangiu
ff53446e41 Make recursion_max_depth a configurable option
Also added an integration test checking the recursion depth functionality.
2023-12-07 17:08:22 +01:00
arberkatellari
681cd3c58a Add dryrun for CDRsV2ProcessEvent 2023-11-09 09:37:34 +01:00
gezimbll
09e5088262 Removed warnings from go staticcheck 2023-11-08 17:10:13 +01:00
ionutboangiu
6722d6b6a4 Remove unused DryRun field from CallDescriptor
dryRun vars will also not be considered anymore in the balance
blocker condition.

Fixes #4163
2023-11-01 21:37:32 +01:00
ionutboangiu
6c16ff320f Replace interface{} with any 2023-05-31 10:23:12 +02:00
Trial97
a1e0a34600 Started removing structmatcher 2021-10-12 16:49:01 +03:00
Trial97
358d0bbabf Added test for monetary rating subject 2021-09-28 12:17:04 +02:00
Trial97
243242360f Updated EventCost Rounding. Fixes #3018 2021-09-23 11:40:49 +02:00
Trial97
506a2e0667 Added test for refunding expired balance 2021-09-01 17:30:36 +03:00
Trial97
872a82c32f Updated AccountSummary in EventCost 2021-09-01 17:30:36 +03:00
Trial97
4555789d53 Updated guardian 2021-07-19 15:37:19 +02:00
Trial97
faf1fba125 Refactored EventRequest 2021-07-06 20:52:40 +02:00
Trial97
c13a5cf790 Finished implementing the DataNode as a replacement 2021-03-26 13:46:25 +01:00
andronache
32c234a6c7 In CGREvent changed Opts in APIOpts 2021-03-23 14:35:11 +01:00
andronache
a6f41adaf9 Replaced TenantIDWithOpts with TenantIDWithAPIOpts 2021-03-18 13:04:28 +01:00
Trial97
f2c9ca3530 Fixed typo in license header 2021-03-10 16:22:37 +01:00
TeoV
ae146640f4 Start merging CGREventWithOpts with CGREvent 2021-01-14 10:30:35 +01:00
andronache
1d0a814e42 Changed consts in utils 2021-01-11 10:57:44 +01:00
andronache
4ff3b9242d Consts in utils 2021-01-07 18:15:35 +01:00
TeoV
5775d09c7b Add infrastructure for AccountS in DataManager 2020-12-21 10:19:59 +01:00
TeoV
e3c10dc6da Rename from InitialValue to Initial 2020-10-27 16:46:08 +01:00
TeoV
4707e02091 Add IntialValue in Balances from AccountSummary 2020-10-27 16:46:08 +01:00
Trial97
616f7b283c Added GlobalVarS as service to manage the reload for the global variables 2020-10-20 11:09:16 +02:00
Trial97
841264a97a Moved all specific DB options in opts 2020-08-28 14:35:42 +02:00
Trial97
11dac21b88 Starting replacing ArgDispatcher with Opts 2020-07-30 11:17:57 +02:00
Trial97
c97314202f Added protection on refundIncrements for BalanceInfo nil. Fixes #2123 2020-07-21 09:21:20 +02:00
Trial97
13e813f848 Fixed agents unit tests 2020-05-07 11:17:41 +02:00
Trial97
f18525a1db Updated path for cdre 2020-01-30 10:21:48 +01:00
TeoV
35d19ab4b2 Add TTL option for DataDB/StorDB for type *internal 2020-01-14 08:42:10 -05:00
Trial97
712a1fd2da Updated services reload 2020-01-06 17:43:54 +02:00
TeoV
7b72c943a0 Add connections from remote and replicate throuh ConnManager 2020-01-06 09:27:34 -05:00
TeoV
76ca5b9d68 Update after rebase 2019-12-12 08:53:55 +02:00
TeoV
4bd4ae3ee9 Add connections through ConnManager 2019-12-12 08:52:49 +02:00
Trial97
d22151861d Updated integration tests and replaced *none with *remove in attributes 2019-12-11 08:00:38 +02:00
Trial97
b4fe82c6d7 Updated rpcclient library 2019-12-09 18:04:26 +02:00
Trial97
a75a7098ad Updated engine tests 2019-12-02 11:07:48 +02:00
Trial97
28cc543389 Updated NewInternalDB 2019-12-02 11:07:48 +02:00
DanB
33483edc93 Modified NewInternalDB signature to include encoding, renamed MetaJSONRpc -> MetaJSON 2019-11-29 20:54:32 +01:00
TeoV
af1cfc64c8 Implement Replication for all Set Methods 2019-11-20 19:48:14 +01:00
adragusin
8020fa1614 Replaced MapStorage with InternalDB in unit tests 2019-11-20 11:01:25 +01:00
Trial97
f6bbccb213 Remove redundant functions 2019-11-09 15:55:49 +01:00
TeoV
cc0855ce83 Rename GetAccount with GetAccountDrv and add GetAccount in DataManager 2019-11-07 17:52:59 +01:00
TeoV
714e37fa63 Populate in data manager rmtDataDbConns and rplDataDBConns 2019-11-03 12:59:10 +01:00
Trial97
61fc8c98a3 Added DataManager as Service 2019-10-28 12:17:15 +01:00