Commit Graph

2239 Commits

Author SHA1 Message Date
Trial97
9182696abb Added tests for *add_balance, *set_balance and *rem_balance actions 2021-02-25 18:13:01 +01:00
Trial97
1437cfaff3 Updated SetBalance action 2021-02-25 18:13:01 +01:00
Trial97
83c26e5fd6 Updated actions 2021-02-25 18:13:01 +01:00
porosnicuadrian
e01a4555c6 Renamed Usage with Abstract in accounts 2021-02-24 18:20:29 +01:00
Trial97
3afe8fc6a6 Added support for BiGOB server 2021-02-22 11:53:56 +01:00
Trial97
9f75ab918c Updated biRPC support in connmanager 2021-02-22 11:53:56 +01:00
Trial97
3593bb9557 Moved BiRPC support in rpcclient library 2021-02-22 11:53:56 +01:00
Trial97
e695b852fa Updated sessions options 2021-02-22 11:53:56 +01:00
porosnicuadrian
2ccf3f7fa5 New type ResourceWithConfig + Available method 2021-02-19 19:15:47 +01:00
Trial97
27cae3856e Replaced max_call_duration config with default_usage for each ToR 2021-02-19 19:15:16 +01:00
TeoV
f6b6243961 Update RateS to seach for Usage in event in case is not found in Opts 2021-02-17 11:23:59 +01:00
porosnicuadrian
b0937e13eb Tests for utils package 2021-02-16 18:18:32 +01:00
DanB
5166bfe86f Adding DynamicWeight support to RateS 2021-02-16 18:03:00 +01:00
porosnicuadrian
2ab7db86da changed weight/rateWeight into dynamicWeight + tests 2021-02-15 20:28:00 +01:00
porosnicuadrian
a975522e2c Ordered fields in Balance struct type 2021-02-15 20:28:00 +01:00
porosnicuadrian
db53fa7df1 Removed BalanceBlocker field from Balance 2021-02-15 20:28:00 +01:00
Trial97
d2e04360bd Added *sessionChargeable session option. Fixes #1702 2021-02-15 20:26:30 +01:00
DanB
19cb5c6fa7 AccountS - enabling dynamic weights when computing accounts and balance order 2021-02-13 18:13:50 +01:00
DanB
de594b0ef3 Accounts - updating integration tests for multiple accounts in debit 2021-02-13 17:59:11 +01:00
DanB
efb9e463b8 AccountS - debit on multiple accounts with dynamic weights 2021-02-13 17:56:37 +01:00
porosnicuadrian
f5e7c522bf New fields in accountProfile - Opts and Weights as DynamicWeights 2021-02-12 17:39:22 +01:00
porosnicuadrian
28a0911832 New method for dynamicWight converting into string 2021-02-12 17:39:22 +01:00
DanB
ce49256a4d AccountS - Balance ordering based on dynamic weight, CGREvent.AsDatProvider() 2021-02-11 20:16:43 +01:00
DanB
fd331429c1 DynamicWeightsFromString - parsing for empty fields 2021-02-11 17:23:48 +01:00
DanB
45b5d1d542 NewDynamicWeightsFromString initiating missing capacity 2021-02-11 12:50:53 +01:00
DanB
14738bc554 WeightFromDynamics function 2021-02-11 12:21:14 +01:00
porosnicuadrian
a02e431098 Modified clone method for Balance 2021-02-11 10:27:39 +01:00
porosnicuadrian
21dff26a35 Updated clone method for accountProfile 2021-02-11 10:27:39 +01:00
DanB
ddf1200468 Missing files for DynamicWeight parser 2021-02-10 20:24:48 +01:00
DanB
d6979daa0c DynamicWeight with parser and tests 2021-02-10 20:24:48 +01:00
DanB
e8eac25724 DynamicWeight structure definition 2021-02-10 13:45:34 +01:00
DanB
d4f6dfc993 AccountS - Usage in EventCharges as utils.Decimal, zero cost not charged in ConcreteBalances 2021-02-09 19:31:04 +01:00
Trial97
167f7c0a4a Updated Accounts 2021-02-09 15:16:20 +01:00
Trial97
6d9585b1ff Added integration tests for sessions routes max cost 2021-02-09 15:16:20 +01:00
Trial97
eb743a45cc Added *routes_maxcost flag. Fixes #2563 2021-02-09 15:16:20 +01:00
Trial97
0a7446bdad Added Config in agent request as dataprovider 2021-02-09 15:16:20 +01:00
DanB
bfc95af18d AccountS - AccountCharge struct definition 2021-02-08 20:31:27 +01:00
TeoV
ee85e8a967 Correctly populate data from csv for new AccountS 2021-02-08 17:37:57 +01:00
DanB
7465f25ba0 RateS - return ErrNotFound in case of no profile matched, AccountS - testAccountSv1MaxUsage 2021-02-08 17:10:46 +01:00
Trial97
a1112dfc13 Added tests for Stats and Resources with Stored on false 2021-02-05 17:41:56 +01:00
DanB
825eea9907 AccountS - integration test for AccountSv1AccountProfileForEvent API 2021-02-03 20:13:03 +01:00
porosnicuadrian
e479240dca New field max_usage in accountS config 2021-02-03 19:14:19 +01:00
Trial97
0f967e4ac0 Optimized the automated index fields matching 2021-02-03 19:13:39 +01:00
DanB
89aac43d25 AccountS debitUsage returning usage within EventCharges 2021-02-02 20:00:33 +01:00
TeoV
78cf9a5d90 Add *random converter + tests 2021-02-02 19:34:59 +01:00
DanB
e78c336e2f AccountS - initial accountProcessEvent 2021-02-01 21:06:59 +01:00
porosnicuadrian
88eeea97b5 New field in accounts Max_iterations + tests 2021-02-01 21:06:47 +01:00
porosnicuadrian
0538c652d4 Splited Handler func + removed BiRPCRegister func 2021-01-28 09:31:00 +01:00
TeoV
b798199da9 Add actExport in ActionS 2021-01-28 09:29:53 +01:00
Trial97
d80675c12b Updated integration tests 2021-01-27 15:03:01 +01:00