Commit Graph

97 Commits

Author SHA1 Message Date
porosnicuadrian
044530a9bb Covered whole account package 2021-03-05 11:48:53 +01:00
porosnicuadrian
08812bc175 Fixed little bugs in order to set balance/account 2021-03-05 11:48:53 +01:00
porosnicuadrian
0676b29acc Started covering actsetbalance 2021-03-03 20:23:10 +01:00
porosnicuadrian
1287a7b599 Covered accoutns file 2021-03-03 20:23:10 +01:00
porosnicuadrian
ef5b6c630b Fixed tests and bugs for eventChargers 2021-03-03 20:23:10 +01:00
DanB
b5110d029a Removing shutdown test for accounts 2021-03-02 20:12:32 +01:00
DanB
fafc09632b AccountS test cancelation 2021-03-02 20:10:26 +01:00
DanB
90635d0a54 Adding Abstracts and Cocretes units to EventCharges 2021-03-02 20:09:32 +01:00
porosnicuadrian
966f3c2c93 Worked in accounts package 2021-03-02 20:07:33 +01:00
Trial97
54ee982314 Updated config for registrarc 2021-03-02 20:06:30 +01:00
porosnicuadrian
fe80a80e47 New cover tests in accounts + fixed integration tests in apier/v1 2021-03-02 15:08:59 +01:00
porosnicuadrian
b4d95032f4 Integration tests for Max/Debit Concrete in apier/v1 2021-02-26 17:24:59 +01:00
porosnicuadrian
8566f8aff2 Fixed unit tests for debitConcretes 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
DanB
95c7dbf114 AccountS - DebitConcretes API calls 2021-02-25 18:14:56 +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
TeoV
812db77bd6 Start adding various integration tests for accounts 2021-02-16 18:17:54 +01:00
TeoV
bf44ef02d1 Cover 100% for libaccounts 2021-02-15 20:28:36 +01:00
Trial97
d2e04360bd Added *sessionChargeable session option. Fixes #1702 2021-02-15 20:26:30 +01:00
DanB
c14a039304 AccountS - only store Account if it's balances were modified 2021-02-13 20:18:16 +01:00
DanB
fea164bd63 AccountS - updating concreteBalance tests to use decimal.Big 2021-02-13 18:28:22 +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
TeoV
099ee3a454 Coverage 100% for concrete balance 2021-02-12 17:40:01 +01:00
TeoV
05aeadefa2 Add more coverage tests 2021-02-12 17:40:01 +01:00
porosnicuadrian
7c02a8ec14 Removed APIAccountProfileWithCache struct 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
TeoV
14c5861ebe Cover 100% for accounts/abstractbalance.go 2021-02-11 17:21:47 +01:00
TeoV
537331be00 Fix merge problems 2021-02-11 17:21:47 +01:00
TeoV
c2e814a681 Add test for abstract balance with cost 2021-02-11 17:21:47 +01:00
porosnicuadrian
6d4e968b68 Coverage tests in accounts 2021-02-11 10:27:39 +01:00
TeoV
adaad39c3b Add more cases for accounts 2021-02-10 20:20:49 +01:00
TeoV
b62039f57f Active commented tests in accounts 2021-02-10 20:20:49 +01:00
TeoV
971bd77198 Add more test cases for new accounts 2021-02-10 20:20:49 +01:00
DanB
c276eef350 Rename accountProcessEvent to accountDebitUsage 2021-02-10 11:55:50 +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
TeoV
b5397e61de Add simple cases tests for abstract and concrete balance 2021-02-09 19:29:29 +01:00
Trial97
167f7c0a4a Updated Accounts 2021-02-09 15:16:20 +01:00
DanB
7465f25ba0 RateS - return ErrNotFound in case of no profile matched, AccountS - testAccountSv1MaxUsage 2021-02-08 17:10:46 +01:00
DanB
fe52cc5ebd AccountS - enable TestABDebitUsageFromConcretes 2021-02-05 14:32:59 +01:00
DanB
825eea9907 AccountS - integration test for AccountSv1AccountProfileForEvent API 2021-02-03 20:13:03 +01:00
DanB
b86fbf3fb4 AccountS - V1AccountProfileForEvent and V1DebitUsage implementation 2021-02-02 20:19:12 +01:00
DanB
89aac43d25 AccountS debitUsage returning usage within EventCharges 2021-02-02 20:00:33 +01:00
DanB
e78c336e2f AccountS - initial accountProcessEvent 2021-02-01 21:06:59 +01:00
DanB
d8ca23e0c6 AccountS - newAccountBalanceOperators implementation 2021-02-01 21:06:59 +01:00
DanB
dfac210f17 AccountS - concreteBalance should not have concretes inside 2021-02-01 21:06:59 +01:00