Commit Graph

56 Commits

Author SHA1 Message Date
porosnicuadrian
05e7900aea Tested the resolved panic with evChargers in account 2021-10-08 11:07:45 +03:00
porosnicuadrian
403cb64093 Fixed ld_process_match_ac_it_test and panic in accounts 2021-10-04 14:07:11 +02:00
porosnicuadrian
b311fede51 Updated accoutns code for cost increment + tests 2021-10-04 11:30:36 +02:00
porosnicuadrian
e6b6394c13 Added constINcr default value 2021-10-01 11:56:31 +02:00
porosnicuadrian
678a5612c3 Added rateID refference in abstract balance 2021-09-23 18:35:25 +02:00
DanB
0fed2350e4 <AccountS> costIncrement function not longer instantiating defaults 2021-06-15 17:10:11 +02:00
porosnicuadrian
6451d4ab1c Added context in accounts methods for apis 2021-05-17 17:58:44 +02:00
porosnicuadrian
f6dbb2b782 New Equals Methods for RateProfile Cost + new rates field 2021-05-12 16:26:10 +02:00
DanB
32c6b4a673 AccountS - TestV1DebitAbstractsEventCharges with Abstracts and Concretes matching, RateProfileCost with indexed Rates 2021-05-10 16:45:01 +02:00
DanB
7668430fdd RateS - FixedFee should be possible without RecurrentFee, AccountS updates 2021-05-07 14:09:19 +02:00
DanB
c8433aacd2 AccountS - properly process Abstract balance with unit factor and insufficient units 2021-05-03 13:17:57 +02:00
porosnicuadrian
14e65ecec0 Fixed ExtEventCharger fields for tests 2021-04-26 18:15:50 +02:00
porosnicuadrian
9bed88bdd2 Modified EventChargers struct fields 2021-04-26 12:59:23 +02:00
DanB
e2f813c4e0 AccountS - enhancing Abstracts with joined charges in EventCharges 2021-04-23 21:07:16 +02:00
porosnicuadrian
0ecfffeca1 Replace RecurrentFee value from -1 to be nil 2021-04-20 17:16:17 +02:00
Trial97
b4768ce99a Added ConfigSv1 and RateSv1 APIs back 2021-04-16 17:53:36 +02:00
Trial97
2da495af19 Starting adding back AttributesSv1 APIs 2021-04-13 13:35:03 +02:00
andronache
b1d875af45 Fixed redundancies and added cgr-tester again 2021-04-01 16:36:51 +02:00
andronache
32c234a6c7 In CGREvent changed Opts in APIOpts 2021-03-23 14:35:11 +01:00
DanB
b5b47a066b AccountS - refactoring debitAbstractsFromConcretes into debitConcreteUnits 2021-03-14 19:33:39 +01:00
DanB
e96f128b1e EventCharges population for zero cost abstract debits 2021-03-12 21:03:12 +01:00
DanB
90635d0a54 Adding Abstracts and Cocretes units to EventCharges 2021-03-02 20:09:32 +01:00
porosnicuadrian
fe80a80e47 New cover tests in accounts + fixed integration tests in apier/v1 2021-03-02 15:08:59 +01:00
DanB
95c7dbf114 AccountS - DebitConcretes API calls 2021-02-25 18:14:56 +01:00
porosnicuadrian
e01a4555c6 Renamed Usage with Abstract in accounts 2021-02-24 18:20:29 +01:00
DanB
efb9e463b8 AccountS - debit on multiple accounts with dynamic weights 2021-02-13 17:56:37 +01:00
TeoV
b62039f57f Active commented tests in accounts 2021-02-10 20:20:49 +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
DanB
7465f25ba0 RateS - return ErrNotFound in case of no profile matched, AccountS - testAccountSv1MaxUsage 2021-02-08 17:10:46 +01:00
DanB
89aac43d25 AccountS debitUsage returning usage within EventCharges 2021-02-02 20:00:33 +01:00
DanB
cebc725821 AccountS - concreteBalance.debitUsage implementation 2021-01-31 17:11:42 +01:00
DanB
858ea7918c AccountS - maxDebitUsageFromConcretes as generic function 2021-01-31 16:53:31 +01:00
DanB
e64a80eadf AccountS - unifying unitFactor, balanceLimit, costIncrement logic 2021-01-31 14:53:53 +01:00
DanB
ab378e7707 AccountS - debitUsageFromConcrete 2021-01-29 20:22:03 +01:00
DanB
7b208bd10c AccountS - debitUsage without startTime, standalone processAttributes method 2021-01-29 18:38:42 +01:00
DanB
5de8480abc AccountS - return debited units count in debitUsage method 2021-01-29 14:08:32 +01:00
DanB
9eeff28c0b AccountS - abstractBalance with debitUsage 2021-01-28 20:32:26 +01:00
DanB
0b372aab6e AccountS - TestABDebitUsage 2021-01-25 19:44:36 +01:00
DanB
f7b6471b13 AccountS - skel of abstractBalance.debitUsage 2021-01-25 18:17:40 +01:00
DanB
05ff2ee014 AccountS - debitUsageFromConcrete using concrete balances from aB struct 2021-01-25 18:17:40 +01:00
DanB
317560d7f2 AccountS - restore concrete balances on errors 2021-01-24 18:43:08 +01:00
DanB
7d084398e7 AccountS - debitUsageFromConcrete implementation with tests 2021-01-24 15:36:05 +01:00
porosnicuadrian
6f52361ab7 Changed from AddBig to SumBig 2021-01-20 17:38:10 +01:00
TeoV
34d17d0307 Add RateProfileIDs to Balance struct and rename from CostAttributes to AttributeIDs ( same as from ChargerProfile ) 2021-01-19 13:12:52 +01:00
DanB
b5d93894d8 AccountS - ratesCostForEvent within abstractBalance 2021-01-17 20:26:04 +01:00
DanB
44eedd634b AccountS - concreteBalance.debitUnits taking DataProvider 2021-01-15 19:54:18 +01:00
DanB
24c412f2bd AccountS - adding connectionManager and AttributeSConns to balances, processAttributeS inside AbstractBalance 2021-01-15 19:35:49 +01:00
TeoV
ae146640f4 Start merging CGREventWithOpts with CGREvent 2021-01-14 10:30:35 +01:00
DanB
e285568cbe Migrating ConcreteBalance to utils.Decimal 2021-01-07 18:16:07 +01:00
DanB
59c35393c5 Converting AbstractBalance to use utils.Decimal instead of decimal.Big 2021-01-07 18:16:07 +01:00