Commit Graph

57 Commits

Author SHA1 Message Date
ionutboangiu
3ea21e43d7 Add inline filter validation before writing to database
Implement a function that takes as parameters a list of filters
and it checks only whether the inline filters are valid.

Add it inside the functions that load the profiles inside
the TPReader. This prevents the case where it returns error
after indexing had already started when it is already too
late.

Add unit tests for the implemented function.
2023-04-20 20:05:00 +02:00
Trial97
a2a340f251 Updated ApierV1.SetRatingProfile and ApierV1.RemoveRatingProfile. Fixes #3186 2021-08-19 17:47:23 +02:00
nickolasdaniel
674f3a8293 Fixed and tested cgr-loader tenant flag 2021-08-18 16:35:48 +02:00
nickolasdaniel
ce5a52f84a Added tenant flag for cgr-loader 2021-08-18 16:35:48 +02:00
nickolasdaniel
11d2fb7e00 Changed the format for IDs from %s to %q 2021-07-06 20:53:29 +02:00
Trial97
ca50dd2f73 Updated actionplan cache tests 2021-06-08 12:05:51 +02:00
Trial97
a6aa435a8d Updated AcionPlans 2021-06-08 12:05:51 +02:00
Trial97
5148dff2a2 Updated automatic cache reloads 2021-05-17 18:01:11 +02:00
TeoV
7f28a6020a Update TPReader to Recache both ActionPlans and AccountActionPlans 2020-04-30 17:42:16 +02:00
Trial97
1083c0315f Updated cache reload 2020-04-30 16:03:05 +02:00
TeoV
7b72c943a0 Add connections from remote and replicate throuh ConnManager 2020-01-06 09:27:34 -05:00
TeoV
2ee574002a Add support for BiRPC in ConnManager 2019-12-12 08:54:42 +02:00
TeoV
76ca5b9d68 Update after rebase 2019-12-12 08:53:55 +02:00
TeoV
4bd4ae3ee9 Add connections through ConnManager 2019-12-12 08:52:49 +02:00
Trial97
b4fe82c6d7 Updated rpcclient library 2019-12-09 18:04:26 +02:00
TeoV
0e97bb5015 Move TPReader.Init() outside of ReloadCache 2019-11-25 11:33:39 +02:00
TeoV
139552bed6 Allow reload scheduler only if the connection is different than nil 2019-11-25 10:33:08 +02:00
TeoV
04551ea0ea Move ReloadScheduler outsire of ReloadCache in TPReader 2019-11-25 10:33:08 +02:00
TeoV
11fa04f3d0 Implement rest of methods from StorageInterface in DataManager 2019-11-21 12:58:27 +01:00
TeoV
af1cfc64c8 Implement Replication for all Set Methods 2019-11-20 19:48:14 +01:00
TeoV
0f0c05633e Add Destination/ReverseDestination methods in DataManager 2019-11-20 10:54:31 +01:00
TeoV
bc5cf765c3 Update Remote functionality through RPC 2019-11-15 13:36:53 +01:00
TeoV
ee37110cfe Add rpc pool for remote connections 2019-11-15 13:36:53 +01:00
TeoV
5cc9f94cc0 Add ReplicatorSv1 for remote/replication functionality 2019-11-15 13:36:53 +01:00
TeoV
6b67455e59 In case of not found Timing for Actions in TPReader query the DM 2019-11-13 12:05:13 +01:00
TeoV
4edda324e0 Add more tests 2019-11-12 11:45:59 +01:00
TeoV
cc0855ce83 Rename GetAccount with GetAccountDrv and add GetAccount in DataManager 2019-11-07 17:52:59 +01:00
TeoV
c30c6062ce Change TypeOf RplDataDb & RmtDataDb from DataDB To DataManager 2019-11-05 09:28:25 +01:00
TeoV
714e37fa63 Populate in data manager rmtDataDbConns and rplDataDBConns 2019-11-03 12:59:10 +01:00
Trial97
61fc8c98a3 Added DataManager as Service 2019-10-28 12:17:15 +01:00
TeoV
d930e82886 Add tests for Offline TariffPlans 2019-10-04 20:17:40 +02:00
TeoV
2c8d717007 Finishing implemented datadb methods for InternalDB 2019-10-04 20:17:40 +02:00
TeoV
ddb242191c Add Caching option for LoaderS 2019-08-22 18:19:22 +03:00
TeoV
ee28ac772c Commit unstage modify 2019-06-05 11:01:02 +02:00
TeoV
fc97c6249e Show correcly Tenant:ID when TPReader removes items 2019-06-05 11:01:02 +02:00
TeoV
2a90b270f6 Update CacheSv1 API's to accept ArgDispatcher parameters 2019-05-10 06:50:00 +02:00
DanB
e7c88427dd DispatcherS - modifying SchedulerSv1.Reload arguments 2019-04-24 12:58:42 +02:00
TeoV
8ed82eab05 Sync functionality between APIer and TPReader 2019-04-15 16:04:47 +02:00
TeoV
a4f3a476b4 Add LoadIDs when Remove (for TPReader) 2019-04-14 19:50:41 +02:00
TeoV
084b514b01 Make TPReader to remove indexes also 2019-04-14 19:50:41 +02:00
TeoV
93cb87bece LoadIDs use time.UnixNanoseconds instead of GenUUID 2019-04-04 14:30:08 +02:00
Tripon Alexandru-Ionut
022ad003d6 Renamed DispatcherS CSV file to DispatcherProfiles.csv 2019-03-28 09:35:50 +01:00
TeoV
a15a346148 TPReader use SchedulerS for reloading inster of ApierV1 2019-03-28 09:34:09 +01:00
TeoV
8e06267ca3 Implement CacheLoadIDs in tpReader 2019-03-27 11:51:20 +01:00
Tripon Alexandru-Ionut
ad54df15f7 Added Dispatcher Hosts 2019-03-26 19:46:42 +01:00
TeoV
06e8b9ea85 Move defaultCaching in general config 2019-03-25 17:40:51 +01:00
TeoV
dac77f99ea Start Updating integration tests 2019-03-25 17:40:51 +01:00
TeoV
a65af79dc2 Start adding caching in APIer 2019-03-25 17:40:51 +01:00
TeoV
d1957d1871 Resolve merge problems and update tests from model_helpers 2019-03-13 15:10:55 +01:00
TeoV
76272b9b01 Make Engine build 2019-03-13 15:10:55 +01:00