Commit Graph

59 Commits

Author SHA1 Message Date
ionutboangiu
35da08238b Change timezone argument to config default for IfaceAsTime func (engine/filters.go/passTimings()) 2021-05-06 13:57:02 +02:00
ionutboangiu
ddc177128d Cover funcs in engine/resources.go 2021-05-06 13:57:02 +02:00
ionutboangiu
0e9b4eeb06 Cover removeExpiredUnits in engine/resources.go 2021-05-04 16:23:28 +02:00
andronache
3ce3e04417 Refactored tests in engine 2021-01-19 13:13:34 +01:00
andronache
33ffe3e9a9 Tests in engine/resources 2021-01-15 19:20:32 +01:00
andronache
57a45eb059 Refactoring tests in engine 2021-01-15 19:20:32 +01:00
andronache
3ad1be806e Refactoring tests in engine 2021-01-15 19:20:32 +01:00
Trial97
2e38389381 Updated unit tests 2020-06-29 18:07:53 +03:00
Trial97
ba09feb3d6 Added support for reverse filter indexes 2020-06-17 09:50:36 +02:00
Trial97
5cdf187ea2 Updated MatchingItemIDsForEvent to use the new Indexes format 2020-06-17 09:50:36 +02:00
adragusin
9e6d813784 Added error check at Cache.Set 2020-05-15 15:39:45 +02:00
Trial97
999aabdf9f Updated FieldName for attributes 2020-01-20 14:44:36 +02:00
TeoV
35d19ab4b2 Add TTL option for DataDB/StorDB for type *internal 2020-01-14 08:42:10 -05:00
Trial97
ff8a7f23f0 Added nested_fields config 2020-01-10 08:04:45 +02:00
TeoV
7b72c943a0 Add connections from remote and replicate throuh ConnManager 2020-01-06 09:27:34 -05:00
TeoV
9435b99f1d Add connection from ThresholdS to ResourceS through ConnManager 2019-12-12 08:52:49 +02:00
Trial97
28cc543389 Updated NewInternalDB 2019-12-02 11:07:48 +02:00
DanB
33483edc93 Modified NewInternalDB signature to include encoding, renamed MetaJSONRpc -> MetaJSON 2019-11-29 20:54:32 +01:00
TeoV
4f563aa5ee Update filters and dataProvider to include ~*req as refix 2019-11-27 11:10:32 -05: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
d3e7867535 Add StorDBPrefixIndexedFields for customize cdr indexes for InternalDB 2019-10-04 20:17:40 +02:00
Trial97
9427fad424 Added ResourceS as service in ServiceManager 2019-09-17 18:07:53 +02:00
TeoV
4b051121f9 Move constats from engine to utils and remove duplicate structures 2019-08-04 13:23:30 +02:00
TeoV
eaeddd581b Replacing CGREvent with *CGRevent when inherited for ResourceService 2019-05-28 15:23:19 +02:00
TeoV
dbd9bf243b Add unit test for caching Resources and rest of the functions 2019-04-15 14:09:26 +02:00
DanB
5bd32644ef Test update for allocation with dryRun 2019-04-14 20:37:27 +02:00
DanB
81b03d9ce7 Simplified caching in case of ResourceS 2019-04-14 20:28:38 +02:00
TeoV
3ac9852e2f Move Caching for Resource 2019-03-25 17:40:51 +01:00
Trial97
dfda3ffe72 Added indexed_selects option per subsystem 2019-03-13 13:39:51 +01:00
Trial97
e949b3e37f Updated basic test for dynamic filter values 2019-03-06 16:05:01 +01:00
Trial97
a4896dbc32 Added General config 2018-10-05 20:33:28 +03:00
TeoV
6d5c379e12 Clarify cacheRead/ cacheWrite for resourceProfile 2018-09-24 17:54:33 +02:00
TeoV
b0c2e67c7e Fixes #1141 and add Charger indexes in cgr-loader 2018-07-13 19:32:11 +02:00
TeoV
9dcf1d9017 Update test in engine to be compatible with new indexing 2018-07-06 14:37:09 +02:00
TeoV
509ed8a959 Add option indexed_selects in filter cfg 2018-07-05 13:06:15 +02:00
DanB
9d196c1427 Engine using TransCache instead of built-in 2018-03-06 17:20:04 +01:00
TeoV
6ee1d550f2 Update ComputeFilterIndexer to consider transactionID 2018-03-05 18:05:50 +01:00
TeoV
0c718a919c Recompute filter indexes to use transactions and resolve connection between statS/resourceS and thresholdS 2018-02-27 14:26:32 +01:00
TeoV
1e2f133757 Add *unlimited for resource usage and update tests 2018-02-27 14:26:32 +01:00
TeoV
4dfe7372fc Add test for Resource UsageTTL 2018-02-12 15:55:54 +02:00
TeoV
8811fd36e2 Dynamic usage_ttl for resources 2018-02-12 12:29:15 +01:00
TeoV
d78d34553a Test Resources.cachedResourcesForEvent 2018-02-09 12:33:28 +01:00
edwardro22
ea3e15140f Added tests for resources 2018-02-05 19:33:12 +01:00
TeoV
56cd0fd115 ResourceProfile.Thresholds -> ThresholdIDs 2018-01-31 11:32:45 +01:00
DanB
76a53102fd Filter type *stringprefix -> *prefix, config options prefix_indexed_fields, defaults for string_indexed_fields pointing to nil 2018-01-23 18:10:47 +01:00
edwardro22
0419883d2d Renamed IndexedFields -> StringIndexedFields 2018-01-22 17:46:21 +01:00
edwardro22
3aec58d044 Added test for resources MissingStructFields 2018-01-16 14:34:59 +01:00
TeoV
87dbc1b8fc Add FilterIDs in Resource 2017-10-27 14:33:56 +02:00
TeoV
12262fb11f Refactoring filters 2017-10-13 14:19:01 +02:00