Commit Graph

11465 Commits

Author SHA1 Message Date
Trial97
3faecfed2a Updated README.md 2021-02-15 20:26:30 +01:00
Trial97
6bd9039c04 Updated integration tests for sessions with pause 2021-02-15 20:26:30 +01:00
Trial97
d2e04360bd Added *sessionChargeable session option. Fixes #1702 2021-02-15 20:26:30 +01:00
Trial97
a2688b9536 Added NewFreeEventCost function 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
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
porosnicuadrian
7c02a8ec14 Removed APIAccountProfileWithCache struct 2021-02-12 17:39:22 +01:00
porosnicuadrian
e6765436ab Opts and weights fields in database tables 2021-02-12 17:39:22 +01:00
andronache
64c5fd3212 Tests in services 2021-02-12 16:04:27 +01:00
root
4decf835ca Tests in services 2021-02-12 16:04:27 +01:00
andronache
6e84624e64 Tests in services 2021-02-12 16:04:27 +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
andronache
f918071ea1 Tests in services 2021-02-11 17:23:16 +01:00
andronache
2d11c20c47 Tests in services 2021-02-11 17:23:16 +01:00
andronache
3d663d14c4 Tests in services 2021-02-11 17:23:16 +01:00
andronache
164180bca3 Refactoring code in services 2021-02-11 17:23:16 +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
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
6d4e968b68 Coverage tests in accounts 2021-02-11 10:27:39 +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
andronache
a24ff3a636 Fixed some functions in services 2021-02-10 20:21:45 +01:00
andronache
3b7c390602 Tests in services 2021-02-10 20:21:45 +01:00
andronache
25b2fdb6ec Fixed function in services 2021-02-10 20:21:45 +01:00
andronache
7f03bafbc9 Fixed function and test in services 2021-02-10 20:21:45 +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
Trial97
d27404ab72 Updated drone ansible script 2021-02-10 20:20:17 +01:00
DanB
e8eac25724 DynamicWeight structure definition 2021-02-10 13:45:34 +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
DanB
388f1b2915 AccountS - integration test for AccountSv1.DebitUsage API 2021-02-09 19:31:04 +01:00
porosnicuadrian
0c18098bdd More tests in sessions 2021-02-09 19:30:51 +01:00
porosnicuadrian
df893a3034 Cover tests in sessions 2021-02-09 19:30:51 +01:00
TeoV
b5397e61de Add simple cases tests for abstract and concrete balance 2021-02-09 19:29:29 +01:00
TeoV
3f7f7b87e6 Update integration test 2021-02-09 19:29:29 +01:00