Commit Graph

233 Commits

Author SHA1 Message Date
porosnicuadrian
b311fede51 Updated accoutns code for cost increment + tests 2021-10-04 11:30:36 +02:00
ionutboangiu
71730ba813 Change all the subsystem opts types to DynamicOpts structs in the cfg files 2021-10-04 11:29:37 +02:00
Trial97
f801d747e2 Updated sessions and cdrs flag handling 2021-10-01 13:32:42 +02:00
porosnicuadrian
50d6f44057 Fixed unit tests in accounts and utils 2021-10-01 11:56:31 +02:00
porosnicuadrian
e6b6394c13 Added constINcr default value 2021-10-01 11:56:31 +02:00
ionutboangiu
0f6738dc9c Change type of accounts opts to map (incomplete) 2021-09-28 20:44:55 +02:00
porosnicuadrian
1c75005643 Fixed unit test for ExtRateSIncrement 2021-09-23 18:35:25 +02:00
porosnicuadrian
be79b84372 Updated test with multiple balances in accounts 2021-09-23 18:35:25 +02:00
porosnicuadrian
678a5612c3 Added rateID refference in abstract balance 2021-09-23 18:35:25 +02:00
ionutboangiu
1c2c5800e5 Add ActionProfileIDs as opt for actions subsystem and fix tests 2021-09-22 18:08:17 +02:00
ionutboangiu
a8e3b311b9 Replace OptsRatesUsage with OptsAccountsUsage where necessary and refactor OptsAsDecimal 2021-09-21 19:32:03 +02:00
ionutboangiu
e819f10c76 Add AccountIDs and RateProfileIDs to Opts in cfg 2021-09-19 12:13:38 +02:00
Trial97
0ed0b0e7a6 Updated more services 2021-09-13 16:08:39 +02:00
ionutboangiu
a2829a3f1a Add AttributeIDs to opts struct 2021-09-12 13:23:08 +02:00
Trial97
cec7899bc9 Updated DynamicDP to use AccountSv1 for account 2021-08-30 17:53:42 +03:00
ionutboangiu
6d091ea30e Add default_opts for attributes 2021-08-26 18:09:25 +02:00
porosnicuadrian
bd59b70694 Debit account from *usage test 2021-07-27 16:18:43 +02:00
porosnicuadrian
0d255ae136 Formated code + usage case for account debiting 2021-07-27 16:18:43 +02:00
porosnicuadrian
2dccdb2162 Updated Equals method + tests 2021-07-27 16:18:43 +02:00
porosnicuadrian
7b24f4bb93 Tested usage from apiopts 2021-07-25 12:14:55 +02:00
porosnicuadrian
897dbb7e4a Fixed tests for usage and startTime 2021-07-23 11:02:25 +02:00
porosnicuadrian
96b7c979bf *usage and *startTime in ApiOpts for rates and accounts 2021-07-23 11:02:25 +02:00
ionutboangiu
7b7d46251a Implement new function that splits filter rules 2021-07-23 10:59:18 +02:00
Trial97
3664d0794a Updated guardian 2021-07-16 17:04:54 +02:00
porosnicuadrian
411e4a4515 Decimal fields instead of float in RateProfileCOst + tests 2021-06-22 19:24:00 +02:00
DanB
a7d6ea6231 Adding RateSIntervalCost structure in librates 2021-06-17 17:46:48 +02:00
DanB
0fed2350e4 <AccountS> costIncrement function not longer instantiating defaults 2021-06-15 17:10:11 +02:00
andronache
7f3a9879de Fixed tests 2021-05-21 14:12:29 +02:00
ionutboangiu
8984f1167c Remove Contexts from Attributes 1.0 2021-05-19 19:27:43 +02:00
ionutboangiu
f3c4d659df Remove Time field from CGREvent and fix failing tests 2021-05-19 19:27:43 +02:00
Trial97
00cece8943 Updated birpc library 2021-05-19 15:54:14 +02:00
porosnicuadrian
b4ae5bda72 Context for tests + little fix for cache args struct 2021-05-18 17:26:06 +02:00
porosnicuadrian
6451d4ab1c Added context in accounts methods for apis 2021-05-17 17:58:44 +02:00
ionutboangiu
1b28758dfb Remove ActivationInterval and fix tests 2021-05-17 17:54:24 +02:00
ionutboangiu
30bfad8ace Fix failing tests after removal of ActivationInterval from Accounts 2021-05-17 17:54:24 +02:00
ionutboangiu
6b71087e90 Remove ActivationInterval from Accounts 2021-05-17 17:54:24 +02:00
porosnicuadrian
57d677af1d Updated rates test with new Fields 2021-05-12 16:26:10 +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
porosnicuadrian
18d2841670 Fixed tests by adding context 2021-05-10 10:36:03 +02:00
DanB
7668430fdd RateS - FixedFee should be possible without RecurrentFee, AccountS updates 2021-05-07 14:09:19 +02:00
ionutboangiu
b7a03cabd5 Rename unit tests containing <fail> string (1.0) 2021-05-05 10:41:35 +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
c04c0a5adb Added ConfigDB and option to read config from DB 2021-04-16 17:53:36 +02:00
DanB
737bc88675 TestV1DebitAbstractsEventCharges - adding default increment 2021-04-16 17:47:43 +02:00