Commit Graph

3055 Commits

Author SHA1 Message Date
DanB
94138f156c ChargerService processEvent considering AttributeS 2018-07-10 18:24:52 +02:00
DanB
7223a32c8e ChargerSv1.GetChargersForEvent API call 2018-07-10 16:02:42 +02:00
TeoV
4e859924e3 Add Charger in apier and complete datamanager methods 2018-07-10 15:08:10 +02:00
TeoV
88f8cfd01e Remove TenantID method from engine/chargers 2018-07-10 15:08:10 +02:00
TeoV
43146a9c26 Add models for Chargers and test for them 2018-07-10 15:08:10 +02:00
DanB
463c974291 Chargers.matchingChargingProfilesForEvent method implementation 2018-07-10 14:05:02 +02:00
DanB
6b11048338 Initial ChargerService.V1ProcessEvent 2018-07-10 12:54:01 +02:00
TeoV
8af5fac78c Update test with new updates 2018-07-10 12:30:09 +02:00
TeoV
1353384936 Add ChaergerProfile methods in dataManager 2018-07-10 12:30:09 +02:00
TeoV
a31b1a91bd Add drv methods for ChargerProfiles 2018-07-10 12:30:09 +02:00
DanB
52917ce7fe ChargerSv1.Ping implementation 2018-07-10 10:54:16 +02:00
DanB
834f130949 startChargerService inside cmd/cgr-engine 2018-07-09 19:26:04 +02:00
DanB
2570ab7b3a New service ChargerS with initial config and TP structure 2018-07-09 19:26:04 +02:00
TeoV
44101eb421 Remove log and fixes #789 2018-07-09 17:18:45 +02:00
TeoV
556a955035 Add test for mongo_atlas and update attribute process event 2018-07-09 17:18:45 +02:00
TeoV
337a1bab78 Rename tutorial_it_test => oldtutorial_it_test and add example config (mongo_atlas) 2018-07-09 17:18:45 +02:00
DanB
3237b4b157 NavigableMap.AsCGREvent, removing NavigableMap.AsMapStringInterface method, completing httpagent integration test for pseudoprepaid 2018-07-08 20:21:15 +02:00
TeoV
3a70ba1d46 Add locking for matchItemIDForEvent fixes #1128 2018-07-06 17:46:23 +02:00
DanB
e634d968df Updating AgentRequest tests with []*NMItems as value 2018-07-06 14:49:38 +02:00
DanB
79b3de480c AgentRequest adding multiple items to NavigableMap so we can support attributes in .xml 2018-07-06 14:49:38 +02:00
TeoV
9dcf1d9017 Update test in engine to be compatible with new indexing 2018-07-06 14:37:09 +02:00
DanB
efc810e70d Begin HTTPAgent integration tests 2018-07-05 19:27:54 +02:00
TeoV
8b9a5f4e4f Update test after filter indexing 2018-07-05 13:06:15 +02:00
TeoV
a113f52bc0 NewFilterS now populate config 2018-07-05 13:06:15 +02:00
TeoV
509ed8a959 Add option indexed_selects in filter cfg 2018-07-05 13:06:15 +02:00
TeoV
7bea811ca0 Centralize indexing in data manager 2018-07-05 13:06:15 +02:00
DanB
966380150d NavigableMap.AsXMLElements with support for NewBranch config option 2018-07-04 18:51:20 +02:00
DanB
32603b16cc NavigableMap.AsXMLElements with tests 2018-07-04 18:16:12 +02:00
TeoV
f304d6d32d Rename config from internal to dbinternal 2018-07-03 17:22:08 +02:00
DanB
40c7699ee4 NavigableMap should not analyze values internally to keep flexibility and speed 2018-07-03 17:01:38 +02:00
TeoV
265f6e7106 Add test for internal storage for filter indexer 2018-07-03 16:58:07 +02:00
TeoV
6e383d1e88 Indexes for map storage 2018-07-03 16:58:07 +02:00
TeoV
ba71e7f234 Update config for internal dataDB 2018-07-03 16:58:07 +02:00
TeoV
85f73f2773 Add support for *internal as dataDB and storDB 2018-07-03 16:58:07 +02:00
DanB
55c862d286 Moving Poster into engine so we can free up guardian in utils 2018-07-01 11:50:21 +02:00
DanB
b4249dc3fe NavigableMap with MarshalXML method 2018-06-29 20:05:26 +02:00
DanB
44dedd7875 NMItem with support for Config attached, NavigableMap.Set with NMItem 2018-06-29 19:41:58 +02:00
TeoV
3c8df467c4 Add methods name for MapStorage as StorDb 2018-06-29 18:22:40 +02:00
TeoV
ea2b5303f2 Cgr-loader now clear indexing 2018-06-22 18:31:39 +02:00
DanB
b8f75a831c Navigable map to cast into map[string]interface{} when searching for fields 2018-06-21 17:05:55 +02:00
DanB
a819fd9b1e NavigableMap.Set order properly appended 2018-06-21 17:05:55 +02:00
DanB
051e4a4e50 AgentRequest.AsNavigableMap implementation, adding filters in config field 2018-06-19 19:58:09 +02:00
DanB
28411f4825 SessionSv1 argumets ProcessStatQueues->ProcessStats, boolPointer->bool, NavigableMap.Add->NavigableMap.Set, flags based methods in HTTPAgent 2018-06-19 17:32:37 +02:00
TeoV
6ee65c92ce Update calls test with sync session 2018-06-19 16:41:22 +02:00
TeoV
f93c0238ac Add sync session for freeswitch 2018-06-19 16:41:22 +02:00
DanB
5d2de6b644 AgentRequest in agents for more flexibility in filters and processing agent requests 2018-06-14 19:15:32 +02:00
TeoV
fbd0c1198d Remove make from order in engine/navigablemap_test.go 2018-06-14 14:38:46 +02:00
TeoV
c0ab01b91c Add order test for navigableMap 2018-06-14 13:25:23 +02:00
TeoV
74f0b206d3 Add test for navigableMap 2018-06-14 12:04:14 +02:00
DanB
b65e860452 Updating loader tests for go 1.10 2018-06-13 18:41:41 +02:00