Commit Graph

165 Commits

Author SHA1 Message Date
adi
734776b113 Unified consts of opts 2022-10-03 18:29:24 +03:00
adi
67163a1ff5 Merge fixes 2022-09-22 20:22:34 +02:00
ionutboangiu
0653e9b5d7 Apply go fmt 2022-08-24 09:32:23 +03:00
porosnicuadrian
5662444a10 Blockers + tests 2022-04-20 20:29:01 +02:00
andronache98
ecdf5e54ea Changed headers 2022-03-09 14:14:30 +01:00
andronache98
9ec56f5155 Changed headers 2022-03-09 14:14:30 +01:00
andronache98
9a4da75210 Resolved unit tests 2022-03-09 14:14:30 +01:00
porosnicuadrian
104a06d24b Added support at mongo dirver for count/list rates 2022-02-17 21:11:55 +02:00
porosnicuadrian
0d1da8e628 Added CGREventWithRateProfile + finished api tests 2022-02-17 21:11:55 +02:00
andronache98
c79d0cb4bd Moving *rateSCost and *accountSCost in APIOpts 2022-02-14 18:06:53 +02:00
porosnicuadrian
dcdd696932 Added ratePRofileRatesFOrEvent apis + tests 2022-02-14 17:23:35 +02:00
porosnicuadrian
f5f6dd746a Added gerRateProfilesForEvents API + tests 2022-02-14 17:23:35 +02:00
porosnicuadrian
01cc2407db Removed setRateProfileRates api + tests 2022-02-14 17:23:35 +02:00
porosnicuadrian
a7d4348b43 Added exists/notExists indexed on necessary subsystems 2022-01-20 21:03:47 +01:00
Trial97
46f0ddb860 Added decimal context config 2021-12-15 19:57:25 +01:00
ionutboangiu
034adf8a52 Make field names for CGRConfig and FilterS values consistent across all Service structs 2021-11-11 12:23:21 +02:00
andronache
7ab4167613 Corrected header in multiple files 2021-11-01 13:50:00 +02:00
Trial97
cb809f976e Updated internal datadb 2021-10-28 18:03:43 +03:00
andronache
1b7108eb7a Finished tests for ProfileIgnoreFilters option 2021-10-22 12:04:12 +03:00
ionutboangiu
09cf26e7b9 Fix tests 2021-10-18 18:09:44 +03:00
ionutboangiu
003a4e667d Change some opts field names to reduce redundancy 2021-10-18 18:09:44 +03:00
ionutboangiu
ad6ee01bd3 Fix unit tests after changing opts structure 2021-10-13 20:32:43 +03:00
ionutboangiu
77e805bee9 Fix tests after changing opts structure (incomplete) 2021-10-13 20:32:43 +03:00
ionutboangiu
5490cf66bf Fix all the compilation errors in non-test files 2021-10-13 20:32:43 +03:00
Trial97
e1701b314e Added *profileIgnoreFilters for rates 2021-10-11 12:06:57 +03:00
porosnicuadrian
dcdfabb5f6 Tested cdrs ProcessEvent with rates 2021-10-08 11:07:45 +03:00
ionutboangiu
1e7ff42468 Implement GetTimeOpts function in libfilters.go 2021-10-06 12:18:40 +02:00
ionutboangiu
b92e64ee86 Use the newly implemented functions to retrieve the opts from APIOpts/config 2021-10-05 21:04:38 +02:00
ionutboangiu
1a4e73a8c6 Fix the compilation errors in non test files (incomplete) 2021-10-04 11:29:37 +02:00
ionutboangiu
5c67d6fd2d Change type of rates 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
0d5945cf12 Add StartTime, IntervalStart and Usage as opts for rates 2021-09-20 19:43:56 +02:00
ionutboangiu
e819f10c76 Add AccountIDs and RateProfileIDs to Opts in cfg 2021-09-19 12:13:38 +02:00
porosnicuadrian
2dccdb2162 Updated Equals method + tests 2021-07-27 16:18:43 +02:00
porosnicuadrian
a92ec06b54 Changed declaration of rtIds to avoid panic 2021-07-13 13:46:54 +02:00
Trial97
9fa3cd4b8c Added all index health APIs 2021-07-08 09:58:16 +02:00
porosnicuadrian
320f14157e Fixed tests 2021-07-03 16:42:03 +02:00
porosnicuadrian
6678b03969 Renaming IntervalRateIndex to RateIntervalIndex within RateSIncrement 2021-06-23 20:54:32 +02:00
porosnicuadrian
498bfdeac5 Last fixes for RateProfileCost 2021-06-23 20:54:32 +02:00
porosnicuadrian
6573963c2b Worked for RateProfileCost fields 2021-06-22 19:24:00 +02:00
porosnicuadrian
57f6a6fc6d Fixed tests for RatesINtervals 2021-06-22 19:24:00 +02:00
porosnicuadrian
0213bfa28f CostIntervals instead of RateSIntervals 2021-06-22 19:24:00 +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
porosnicuadrian
81fa5a9c0f Added in indexes APIs all missing cases 2021-06-14 16:00:18 +02:00
Trial97
c397cb31eb Updated datamanager methods 2021-05-26 15:54:36 +02:00
ionutboangiu
f3c4d659df Remove Time field from CGREvent and fix failing tests 2021-05-19 19:27:43 +02:00
andronache
dda327c13d Cover tests in apis for rates 2021-05-19 19:26:40 +02:00
porosnicuadrian
9c9bd14807 Little fixes on IntervalRates/EventCharges 2021-05-17 17:58:44 +02:00
porosnicuadrian
5f1bdadade Chaned test by adding IntervalRates + little fixes 2021-05-17 17:58:44 +02:00