Commit Graph

2249 Commits

Author SHA1 Message Date
ionutboangiu
b7672bc62c Remove print function 2021-03-03 20:22:21 +01:00
ionutboangiu
9fc24e6a1a Test AccountBalancesBackup func in utils/accountprofile.go 2021-03-03 20:22:21 +01:00
ionutboangiu
14f3d31801 Test RestoreFromBackup func in utils/accountprofile.go 2021-03-03 20:22:21 +01:00
DanB
90635d0a54 Adding Abstracts and Cocretes units to EventCharges 2021-03-02 20:09:32 +01:00
ionutboangiu
6af41544bc Test BalancesAltered func in utils/accountprofile.go 2021-03-02 20:08:15 +01:00
Trial97
54ee982314 Updated config for registrarc 2021-03-02 20:06:30 +01:00
Trial97
038aa5f2ea Renamed DispatcherH in RegistarC 2021-03-02 20:06:30 +01:00
porosnicuadrian
b741955a44 API and Dispatch method for Max/Debit Concretes 2021-02-26 17:24:59 +01:00
Trial97
af87eaa5ae Added *account path prefix to *set_balance and *add_balance action 2021-02-26 17:23:53 +01:00
Trial97
6aa28fc9f5 Added MySQL Location as an option for storDB 2021-02-26 17:23:53 +01:00
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