Commit Graph

62 Commits

Author SHA1 Message Date
ionutboangiu
5490cf66bf Fix all the compilation errors in non-test files 2021-10-13 20:32:43 +03:00
porosnicuadrian
3ee187c5a9 No more external in accounts apis 2021-10-11 17:41:34 +03:00
Trial97
27d1882b09 Added *profileIgnoreFilters for accounts 2021-10-11 12:06:57 +03:00
porosnicuadrian
cfb85203be Revoed ExternalEventChargers 2021-10-08 17:52:56 +03:00
ionutboangiu
b92e64ee86 Use the newly implemented functions to retrieve the opts from APIOpts/config 2021-10-05 21:04:38 +02:00
porosnicuadrian
403cb64093 Fixed ld_process_match_ac_it_test and panic in accounts 2021-10-04 14:07:11 +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
ionutboangiu
0f6738dc9c Change type of accounts opts to map (incomplete) 2021-09-28 20:44:55 +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
cec7899bc9 Updated DynamicDP to use AccountSv1 for account 2021-08-30 17:53:42 +03:00
porosnicuadrian
96b7c979bf *usage and *startTime in ApiOpts for rates and accounts 2021-07-23 11:02:25 +02:00
Trial97
3664d0794a Updated guardian 2021-07-16 17:04:54 +02:00
porosnicuadrian
6451d4ab1c Added context in accounts methods for apis 2021-05-17 17:58:44 +02:00
ionutboangiu
6b71087e90 Remove ActivationInterval from Accounts 2021-05-17 17:54:24 +02:00
DanB
7668430fdd RateS - FixedFee should be possible without RecurrentFee, AccountS updates 2021-05-07 14:09:19 +02:00
DanB
e2f813c4e0 AccountS - enhancing Abstracts with joined charges in EventCharges 2021-04-23 21:07:16 +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
Trial97
2da495af19 Starting adding back AttributesSv1 APIs 2021-04-13 13:35:03 +02:00
Trial97
3406d3c7c9 Updated based on new rpc library 2021-04-13 13:35:03 +02:00
porosnicuadrian
5d8e04821a Removed profile from all accounts in all packages 2021-04-09 14:38:42 +02:00
porosnicuadrian
850a43433b Renamed AccountProfile in Accounts from all packages 2021-04-07 19:25:42 +02:00
porosnicuadrian
a9594d12e9 From AccountProfile into Account in integration tests 2021-04-07 19:25:42 +02:00
porosnicuadrian
1f485d7cf9 Started renaming AccountPRofile into Account 2021-04-06 17:15:34 +02:00
DanB
a29d90df3f AccountS - No debits should return nil EventCharges 2021-03-23 20:34:45 +01:00
andronache
32c234a6c7 In CGREvent changed Opts in APIOpts 2021-03-23 14:35:11 +01:00
DanB
e96f128b1e EventCharges population for zero cost abstract debits 2021-03-12 21:03:12 +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
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
DanB
95c7dbf114 AccountS - DebitConcretes API calls 2021-02-25 18:14:56 +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
DanB
c14a039304 AccountS - only store Account if it's balances were modified 2021-02-13 20:18:16 +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
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
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
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