Commit Graph

61 Commits

Author SHA1 Message Date
armirveliaj
7db65ca62c Clean up DispatcherS 2025-01-17 17:29:46 +01:00
ionutboangiu
bd79a0f9e7 Optimize removeFilterIndexesForFilter func (#4357)
Previously made two trips (get and set) for each group of items from
an index key being removed. Now, we fetch indexes once at the beginning
and store the updated indexes once at the end.
2024-11-03 13:19:45 +01:00
adi
ad7bd111d1 Improved dispatcher errors 2022-10-21 10:14:19 +02:00
ionutboangiu
0653e9b5d7 Apply go fmt 2022-08-24 09:32:23 +03:00
ionutboangiu
4857245aa5 Use copy instead of loop + other staticcheck fixes 2022-07-15 09:28:57 +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
porosnicuadrian
0ca4c49093 Updated indexes for *exists/*notexists to be *any/*none 2022-01-20 21:03:47 +01:00
porosnicuadrian
3ebb6936c5 Improved indexes for exists + tests 2022-01-20 21:03:47 +01:00
porosnicuadrian
dc1f726a45 Started to add indexing for *exists/*notexists + tests 2021-12-07 16:42:42 +01:00
porosnicuadrian
fc5421d633 Modified cfg and load args for session volume discount test 2021-10-06 13:27:59 +02:00
porosnicuadrian
3d47076592 Cache clear for compute IDs before trying to compute indexes back 2021-08-27 09:46:34 +02:00
porosnicuadrian
a0f835da52 Worked for indexes fixes 2021-08-24 20:19:53 +02:00
Trial97
9fa3cd4b8c Added all index health APIs 2021-07-08 09:58:16 +02:00
Trial97
0682251fff Removed dispatcher subsystems 2021-06-11 13:11:00 +02:00
porosnicuadrian
183bddb416 Added back chargers apis + context 2021-06-11 12:34:51 +02:00
porosnicuadrian
b21c3e1ca3 Tested cases for indexes as DynamicDP 2021-05-26 20:05:26 +02:00
porosnicuadrian
e36d56e953 Updated checking dynamic path for filters 2021-05-26 20:05:26 +02:00
porosnicuadrian
44c9c2594b *accounts, *stats, *resources, *libphnumber are not indexing 2021-05-26 20:05:26 +02:00
porosnicuadrian
788919bdaa Added context for routes methods 2021-05-26 20:05:26 +02:00
ionutboangiu
c8d69b882a Fix errors after adding the context parameters 2021-05-25 20:16:56 +02:00
ionutboangiu
0462d16143 Add resources APIs and fill in context where needed 2021-05-25 20:16:56 +02:00
ionutboangiu
49a5ee839a Fix conflicts 2021-05-19 19:27:43 +02:00
ionutboangiu
8984f1167c Remove Contexts from Attributes 1.0 2021-05-19 19:27:43 +02:00
Trial97
0a75016833 Updated filter indexing 2021-05-19 15:54:14 +02:00
porosnicuadrian
6451d4ab1c Added context in accounts methods for apis 2021-05-17 17:58:44 +02:00
porosnicuadrian
13c102e8b8 Added context for Action apis 2021-05-17 17:58:44 +02:00
porosnicuadrian
b9e328bf32 Updated indexes computing in favor of cache 2021-05-10 16:47:59 +02:00
porosnicuadrian
78dd7bc929 Added apies for filters and filter_indexes + context 2021-05-07 10:53:47 +02:00
Trial97
4fb2fbc331 Updated Filter indexes update 2021-05-04 20:45:09 +02:00
Trial97
b4768ce99a Added ConfigSv1 and RateSv1 APIs back 2021-04-16 17:53:36 +02:00
Trial97
8aa7009d36 Updated AttributesSv1 APIs 2021-04-13 13:35:03 +02:00
Trial97
2da495af19 Starting adding back AttributesSv1 APIs 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
5d323f4671 Removed RateProfile from engine package to utils 2021-03-18 18:12:47 +01:00
porosnicuadrian
73ee1b0dee New index update case for rate profile rate + tests 2021-03-11 17:10:55 +01:00
porosnicuadrian
48986c152a Tested cases when the indexes are updated 2021-03-10 17:12:24 +01:00
Trial97
f2c9ca3530 Fixed typo in license header 2021-03-10 16:22:37 +01:00
Trial97
a2c7c7447d Updated the reverse filter indexing for the rates from RateProfiles 2021-03-10 16:22:37 +01:00
porosnicuadrian
5cc52cb490 New cases in updating indexes for new susbsystem's profiles 2021-03-09 17:29:53 +01:00
andronache
4ff3b9242d Consts in utils 2021-01-07 18:15:35 +01:00
andronache
1470267727 Modified consts in utils 2021-01-07 18:15:35 +01:00
Trial97
e95e4bfa7b Updated the locks for reverse filter indexes 2020-09-01 15:52:08 +02:00
Trial97
bd0626a908 Updated the locking for filter indexes 2020-09-01 15:52:08 +02:00
Trial97
cd14ab0a2b Added automatic cache reload for filter indexes 2020-09-01 15:52:08 +02:00
Trial97
e2049ae318 Added cache reload for indexes 2020-08-13 11:34:53 +02:00
TeoV
ecd7f4bb81 Instead of searching in slice for possible filter types use a global stringSet 2020-07-30 11:13:37 +02:00
Trial97
b0c354c7c1 Updated filter indexes to only index dynamic path 2020-07-24 15:11:45 +02:00
Trial97
9d17da8e3a Updated filters migration 2020-07-09 12:17:37 +03:00