Commit Graph

64 Commits

Author SHA1 Message Date
TeoV
41f08bad63 IsActiveAtTime use CGREvent.Time 2018-01-31 18:31:07 +01:00
TeoV
56cd0fd115 ResourceProfile.Thresholds -> ThresholdIDs 2018-01-31 11:32:45 +01:00
DanB
1ef7f2c3a1 KamailioAgent in beta, kamailio evapi tutorial operational 2018-01-27 13:45:01 +01:00
DanB
8df8f85afc matchingItemIDsForEvent with support for *prefix DB queries 2018-01-23 18:10:47 +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
4645a3b464 Renamed filters prefixes 2018-01-22 09:40:13 +01:00
edwardro22
ed5851f3f2 Updated indexes to use *string tag 2018-01-22 09:40:13 +01:00
TeoV
a95c08497d Targeted thresholds in processEvent 2018-01-17 19:01:57 +01:00
edwardro22
3aec58d044 Added test for resources MissingStructFields 2018-01-16 14:34:59 +01:00
TeoV
537b0241df V1AllocateResource return ErrResourceUnavailable 2018-01-12 13:47:41 +01:00
TeoV
a653517f5b Add ErrResourceUnalocated and update tests 2018-01-12 13:47:41 +01:00
TeoV
e26691eb9c ResourceSv1.AuthorizeEvent return allocation message and error ErrResourceUnauthorized 2018-01-12 11:01:27 +01:00
TeoV
9fce5d8808 Resources.AllowUsage return reply message 2018-01-08 15:47:50 +01:00
TeoV
e5f7287501 Renaming ResourceS V1AllowUsage -> V1.AuthorizeResources 2018-01-08 15:47:50 +01:00
edwardro22
496c354bc3 Formatted code and removed some comments 2017-12-19 12:00:15 +01:00
edwardro22
6fa2778d52 Fixed failing integration test 2017-12-19 12:00:15 +01:00
edwardro22
cec463f658 Updated ArgRSv1ResourceUsage to use CGREvent 2017-12-19 12:00:15 +01:00
TeoV
a3adcc1702 Renaming utils.USAGE -> utils.Usage 2017-12-13 20:03:12 +01:00
edwardro22
0118c7f1d4 Replaced ThresholdEvent with CGREvent 2017-12-05 10:30:10 +01:00
DanB
404c366f57 ResourceS with indexedFields for faster queries on string indexes 2017-10-27 16:14:11 +02:00
DanB
bf3a36ff91 ThresholdS indexed_fields option in config 2017-10-27 15:17:56 +02:00
TeoV
313c7fc0ff Update Model_helpers and tp_reader 2017-10-27 14:33:56 +02:00
TeoV
87dbc1b8fc Add FilterIDs in Resource 2017-10-27 14:33:56 +02:00
DanB
f50f833c1c ResourceS.processThresholds 2017-10-22 16:39:18 +02:00
DanB
b8896e7d55 ResourceS with ThresholdS connectivity 2017-10-22 15:40:08 +02:00
TeoV
935ff50f49 Add Get/Set/Remove ResourceProfile in Datamanager 2017-10-20 21:06:38 +02:00
TeoV
3c896d6181 Add Get/Set/Remove Resource in DataManager 2017-10-20 21:06:38 +02:00
TeoV
68ca42c4c0 Add Async to Thresholds 2017-10-13 14:19:01 +02:00
TeoV
6871fe5515 RequestFilter -> Filter and delete FilterProfile 2017-10-10 12:48:41 +02:00
TeoV
88839537ac DataDB -> DataManager 2017-10-09 14:59:27 +03:00
DanB
5bb258ff00 Disable marking events to be stored if storeInterval is 0 for resources and stats 2017-09-30 19:28:32 +02:00
DanB
3ed3cde528 ResourceS avoid double locking when scheduling for backup 2017-09-30 09:41:16 +02:00
DanB
b54ac6e3b5 Threshold.ProcessEvent 2017-09-29 18:47:15 +02:00
DanB
42eae1ac46 ThresholdS backup mechanism implementation 2017-09-28 16:56:11 +02:00
DanB
ee79c5bd6b StatS matchingStatQueuesForEvent, added tenant to statqueuestringindex, get/rem StatQueue using cache 2017-09-19 20:18:15 +02:00
DanB
3706639483 Proper handling of ttl=0 in resources 2017-09-17 19:22:49 +02:00
DanB
ea77fdb004 ResourceS automatic storage mechanism with tests 2017-09-17 16:17:23 +02:00
DanB
0bc847de39 Load TTL from profile on Resource init 2017-09-16 09:35:03 +02:00
DanB
26efe5456e Resource indexing usage on ID instead of TenantID 2017-09-16 08:33:11 +02:00
DanB
ba0b68f0b8 Indexing resources with tenant in ID, resources integration tests for mysql 2017-09-15 20:40:15 +02:00
DanB
9fbe0eefa4 Tenant in Resource 2017-09-15 14:18:56 +02:00
DanB
95565e8ff0 Loader to consider tenant when building up resource indexes 2017-09-15 11:55:50 +02:00
edwardro22
54133db99b Formated code 2017-09-13 15:08:24 +00:00
edwardro22
3fd52d6022 Merge branch 'master' of https://github.com/cgrates/cgrates 2017-09-13 09:16:11 +00:00
edwardro22
d01f8b58dc Added Tenant to resources 2017-09-13 09:08:09 +00:00
DanB
5afdc9a983 StatS - runBackup routine 2017-09-12 18:34:57 +02:00
edwardro22
b651b06826 Removed copyright from go doc 2017-09-10 15:02:46 +00:00
DanB
5108e88e42 ResourceS - moving short cache to general cache 2017-09-07 11:53:31 +02:00
TeoV
6325e26c4b Merge branch 'master' of https://github.com/cgrates/cgrates
Conflicts:
	engine/loader_csv_test.go
	engine/loader_it_test.go
	engine/tp_reader.go
2017-09-06 10:56:40 -04:00