Commit Graph

160 Commits

Author SHA1 Message Date
Trial97
b0d01452ef Updated treshold handling in resources 2021-07-23 10:57:08 +02:00
Trial97
87f0026573 Updated resource error handling 2021-07-23 10:57:08 +02:00
Trial97
b0c6e59740 Added tests for resources 2021-07-23 10:57:08 +02:00
ionutboangiu
1db0390b16 Change utils.PrefixSliceItems function signature to start with prefix 2021-07-19 16:54:57 +02:00
Trial97
d8e44865b2 Updated resources unit tests 2021-07-19 15:37:19 +02:00
DanB
1d8577d0cf Resources locking at API level 2021-07-19 14:10:49 +02:00
Trial97
492946d363 Updated Resource handling in datamanager 2021-05-21 17:11:28 +02:00
Trial97
ccbccb8ff7 Updated threshold processing for resources 2021-05-21 14:14:53 +02:00
ionutboangiu
7e7a1ded59 Add reason as comment for ignoring returned error in allocateResource 2021-05-11 20:55:08 +02:00
ionutboangiu
7fce3f2bff Give up on handling error returned by clearUsage() from allocateResource func in resources.go 2021-05-10 16:59:20 +02:00
Trial97
5afa506300 Updated resource removeExpiredUnits 2021-05-07 10:54:12 +02:00
nickolasdaniel
76a53556ce Renamed AllocateResource and ReleaseResource to their plural in /apier/v1 2021-05-05 16:10:32 +02:00
andronache
806c8295be Finished changing Opts to APIOpts for structs used in api_interfaces 2021-03-23 14:35:11 +01:00
andronache
32c234a6c7 In CGREvent changed Opts in APIOpts 2021-03-23 14:35:11 +01:00
andronache
c61e2046f3 Changed in multiple structs the field Opts to APIOpts 2021-03-18 16:48:54 +01:00
andronache
a6f41adaf9 Replaced TenantIDWithOpts with TenantIDWithAPIOpts 2021-03-18 13:04:28 +01:00
Trial97
f2c9ca3530 Fixed typo in license header 2021-03-10 16:22:37 +01:00
andronache
2edfd207d2 Refactoring and tests in services 2021-02-25 18:14:21 +01:00
porosnicuadrian
245f690b78 Fixed integration tests for stats/resources for internal 2021-02-22 18:11:44 +01:00
porosnicuadrian
2ccf3f7fa5 New type ResourceWithConfig + Available method 2021-02-19 19:15:47 +01:00
porosnicuadrian
f74608dedc New availabale method + integration test 2021-02-19 19:15:47 +01:00
root
e82c853fa3 Refactoring in services 2021-02-16 16:26:44 +01:00
andronache
322bfe1d9f rename 2021-01-19 13:13:34 +01:00
andronache
3ce3e04417 Refactored tests in engine 2021-01-19 13:13:34 +01:00
TeoV
ae146640f4 Start merging CGREventWithOpts with CGREvent 2021-01-14 10:30:35 +01:00
andronache
4ff3b9242d Consts in utils 2021-01-07 18:15:35 +01:00
andronache
1470267727 Modified consts in utils 2021-01-07 18:15:35 +01:00
Trial97
f63dc62519 Updated integration tests 2020-12-09 17:00:04 +01:00
Trial97
114e8e9504 Started moving Destinations caching in datamanager 2020-12-04 18:44:27 +01:00
Trial97
a81fce8341 Updated services shutdown 2020-11-16 10:11:46 +01:00
porosnicuadrian
cbc3151a95 Updated tests and methods for resourcesv1 with tenant default value 2020-10-15 12:43:40 +02:00
Trial97
61d2b4e922 Added *eventType to opts for process threhold 2020-10-09 14:27:48 +02:00
Trial97
5c558545bd Removed old threshold connection from resources 2020-10-06 13:03:55 +02:00
TeoV
863e9b719d Add integration test for Unlimited resource ( for monitoring ) 2020-10-04 11:19:01 +02:00
TeoV
01a0e4fecf In case of setting the same resource update it 2020-09-30 12:26:21 +02:00
Trial97
d606a60eab Finished replacing ArgDispatcher with Opts 2020-07-30 11:17:57 +02:00
Trial97
11dac21b88 Starting replacing ArgDispatcher with Opts 2020-07-30 11:17:57 +02:00
TeoV
05e2377d3c Add infrastructure for *suffix filter indexes 2020-07-30 11:13:37 +02:00
Trial97
b0c354c7c1 Updated filter indexes to only index dynamic path 2020-07-24 15:11:45 +02:00
TeoV
530acd9442 In case we have no resource after filter checking return not found 2020-07-22 13:34:15 +02:00
TeoV
df19c03650 Verify error in case of ResourceS Allocate and Release 2020-07-14 19:31:09 +02:00
Trial97
39d49dcd2f Updated integration tests 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
Trial97
f10f570a27 Removed config.NavigableMap 2020-05-18 13:26:06 +02:00
adragusin
56f898b9d0 Fixed err handling for Cache .Set/.Remove 2020-05-15 15:39:45 +02:00
adragusin
bf12f28e05 Added error check at Cache.Remove 2020-05-15 15:39:45 +02:00
adragusin
9e6d813784 Added error check at Cache.Set 2020-05-15 15:39:45 +02:00
Trial97
aaf2edd1b8 Updated DispatcherS integration test 2020-05-04 19:46:05 +02:00
TeoV
8f81bb0b75 Add replication_conns options in cache and move cache partitions in "partitions" 2020-04-10 16:53:28 +02:00
adragusin
c14b02d5eb Added Replication APIs to dispatcher 2020-02-21 15:27:01 +01:00