Commit Graph

140 Commits

Author SHA1 Message Date
NikolasPetriti
16340546c9 Add coverage tests for engine 2023-08-07 17:19:54 +02:00
NikolasPetriti
7b016eef3b Add coverage tests for engine 2023-08-07 11:42:27 +02:00
NikolasPetriti
4c544f427c Add coverage tests for models.go and model_helpers.go 2023-08-07 11:42:27 +02:00
NikolasPetriti
9079248d4e Add coverage tests for model_helpers.go 2023-08-07 11:42:27 +02:00
NikolasPetriti
d284828496 Add coverage tests for model_helpers.go 2023-08-02 16:50:10 +02:00
NikolasPetriti
bb4a944135 Add coverage tests for engine 2023-08-02 16:50:10 +02:00
ionutboangiu
62619ba3a5 Replace interface{} with any 2023-06-05 10:55:32 +02:00
ionutboangiu
a748ab629e Apply gofmt simplify code 2022-12-02 14:24:18 +02:00
ionutboangiu
758a94280a Apply project wide fmt 2022-11-16 10:13:44 +01:00
Trial97
f335d2b990 Updated model_helpers tests 2020-05-26 17:46:36 +02:00
TeoV
0303ab4fd7 Correct populate Sorting in TPSupplierProfile out of Models 2020-05-18 12:34:19 +02:00
Trial97
999aabdf9f Updated FieldName for attributes 2020-01-20 14:44:36 +02:00
Trial97
6764260be4 Added *req as requirement fro attributes FieldName 2020-01-17 08:28:52 +02:00
Trial97
8460186683 Updated *load dispatcher strategy 2019-08-08 19:12:47 +02:00
TeoV
4b051121f9 Move constats from engine to utils and remove duplicate structures 2019-08-04 13:23:30 +02:00
TeoV
6e9187754f Rename Substitute with Value for AttributeS 2019-04-05 13:11:06 +02:00
DanB
fccaf489a4 Dispatcher with support for dynamic hosts 2019-04-01 19:14:52 +02:00
Tripon Alexandru-Ionut
022ad003d6 Renamed DispatcherS CSV file to DispatcherProfiles.csv 2019-03-28 09:35:50 +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
TeoV
a5ee8e8398 New AttributeProfile structure ( version3) 2019-03-06 14:20:50 +01:00
TeoV
1cb3e3984a Parameters from stats go in MetricID ( *sum#FieldName;*acd;*average#Fld2) 2019-03-06 14:20:50 +01:00
Trial97
c65fc66407 Renamed Contex column for Dispatchers.csv to Subsystems 2019-02-19 16:42:33 +01:00
Trial97
b8ff4bdfd9 Removed DerivedChrgerS 2019-02-19 16:42:33 +01:00
TeoV
59506b3c49 Fixes #1383 and add tests for these cases 2019-02-15 16:12:38 +01:00
Trial97
bb14e68b0c Modified matching functions for attributes and supliers to return only the best found 2019-02-14 15:48:58 +01:00
DanB
417b4fadff Actions.csv - removing balance direction filter 2019-02-13 11:23:27 +01:00
DanB
48a518fc99 RatingProfiles.csv: removing direction and cdrStatQueueIDs 2019-02-11 19:08:34 +01:00
DanB
9f41b3f9e7 Removing BalanceDirections and MinQueuedItems from ActionTriggers.csv 2019-02-11 19:08:34 +01:00
Trial97
7a82689226 Changed DispatcherS CSV loader 2019-02-08 20:00:36 +01:00
Trial97
a65bf218cb Started adding new dispatcherS profiles 2019-01-30 16:23:27 +00:00
TeoV
8e07676fb2 Add test in model_helpers for dispatcher 2019-01-15 12:48:48 +01:00
TeoV
d8977ffeba Add option "rsr_separator" in general config 2018-11-25 17:42:42 +01:00
TeoV
8af148da1a Remove CDRStats and LCR 2018-11-21 18:28:33 +01:00
TeoV
6d1a3f07fd Move DataProvider,NavigableMap,RsrParser into config package 2018-08-30 11:40:06 +02:00
DanB
d66dcd527c AttributeS with Compile method and attributesIdx, Substitute as utils.RSRParsers 2018-07-22 11:09:35 +02:00
TeoV
aafb66fe27 Update integration test for attributes after last modify 2018-07-18 13:40:56 +02:00
TeoV
889ce68932 Attribute.Substitute as RSRFields and chargerS process event return []*AttrSProcessEventReply 2018-07-18 13:40:56 +02:00
TeoV
7538295872 Add more compares for orders 2018-07-13 19:32:11 +02:00
TeoV
0d318cc8b9 Update test in apier/v1 and model_helpers in engine 2018-07-13 19:32:11 +02:00
TeoV
7def6ab928 Compare len of filters because came from map 2018-07-12 16:41:57 +02:00
TeoV
cfc349b3b3 Update model_helpers to consider tenant for new subsystems 2018-07-12 16:41:57 +02:00
TeoV
8656f04bf4 Update method APIToModelTPThreshold and add tests for it 2018-07-12 16:41:57 +02:00
TeoV
34db6ba755 Update APIToModelTPCharger and add test for each case 2018-07-12 16:41:57 +02:00
TeoV
43146a9c26 Add models for Chargers and test for them 2018-07-10 15:08:10 +02:00
TeoV
a2dbb15935 Update Metrics for stats 2018-06-13 13:56:04 +02:00
TeoV
8c860eec0d Replace Reccurent with MaxHits for Thresholds 2018-05-22 14:39:46 +02:00
DanB
037bb1f0d8 Skel for TPLoader and TPcsvReader, changed file perms in engine 2018-03-11 19:41:30 +01:00
TeoV
67b621e456 Renaming RequesFilter -> FilterRule and ReqFilterIndexer -> FilterIndexer 2018-01-31 18:31:07 +01:00
TeoV
56cd0fd115 ResourceProfile.Thresholds -> ThresholdIDs 2018-01-31 11:32:45 +01:00