Commit Graph

11487 Commits

Author SHA1 Message Date
porosnicuadrian
abc2572d27 Fixed in apier/v1 integration tests 2021-02-19 19:15:47 +01:00
porosnicuadrian
332b174915 Repaired tests in librates 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
c9fc6a1df6 Model helpers back to 100% coverage 2021-02-16 18:18:32 +01:00
porosnicuadrian
b0937e13eb Tests for utils package 2021-02-16 18:18:32 +01:00
porosnicuadrian
2831111cf8 Updated Weight fields name in integration tests 2021-02-16 18:18:32 +01:00
TeoV
812db77bd6 Start adding various integration tests for accounts 2021-02-16 18:17:54 +01:00
DanB
5166bfe86f Adding DynamicWeight support to RateS 2021-02-16 18:03:00 +01:00
andronache
ee70b63b0d Tests in services 2021-02-16 16:26:44 +01:00
root
e82c853fa3 Refactoring in services 2021-02-16 16:26:44 +01:00
andronache
23a7561d97 Functions refactored in services 2021-02-16 16:26:44 +01:00
root
dab5897a03 Tests in services 2021-02-16 16:26:44 +01:00
root
4a032177c3 tests in services 2021-02-15 20:29:00 +01:00
andronache
a1be1a560a Tests in services 2021-02-15 20:29:00 +01:00
TeoV
bf44ef02d1 Cover 100% for libaccounts 2021-02-15 20:28:36 +01:00
porosnicuadrian
2ab7db86da changed weight/rateWeight into dynamicWeight + tests 2021-02-15 20:28:00 +01:00
porosnicuadrian
ceb28a11b5 Commented part for a succesfully building 2021-02-15 20:28:00 +01:00
porosnicuadrian
0088a7f3ea Changed the weight field into db tables and csv 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
porosnicuadrian
b1d63c55e6 Removed BalanceBlocker from db tables and csv 2021-02-15 20:28:00 +01:00
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