Commit Graph

194 Commits

Author SHA1 Message Date
andronache98
fad736e5a6 Changed Weights from float64 to DynamicWeights for Resources and Chargers 2022-02-13 15:09:53 +02:00
ionutboangiu
30e419429d Update match functions for dispatcher profiles 2022-02-02 14:17:40 +01:00
ionutboangiu
4f5e93d87a Update set functions to ignore error when trying to convert empty string to float 2022-01-26 18:29:20 +01:00
porosnicuadrian
a7d4348b43 Added exists/notExists indexed on necessary subsystems 2022-01-20 21:03:47 +01:00
Trial97
b9617f6fe3 Added DataProvider methods 2021-12-21 15:05:44 +01:00
Trial97
c6ffe5ae91 Started adding merge function 2021-12-21 15:05:44 +01:00
Trial97
f25acdaf77 Added tests for all Set methods 2021-12-21 15:05:44 +01:00
Trial97
6a3c682f42 Fixed the config for loaders 2021-12-21 15:05:44 +01:00
Trial97
fd5cf12eac Updated all the loaders types 2021-12-21 15:05:44 +01:00
Trial97
1f89ef6ee7 Updated loaders 2021-12-21 15:05:44 +01:00
Trial97
904a6817e4 Updated internal connections 2021-11-17 18:36:40 +01:00
ionutboangiu
034adf8a52 Make field names for CGRConfig and FilterS values consistent across all Service structs 2021-11-11 12:23:21 +02:00
ionutboangiu
003a4e667d Change some opts field names to reduce redundancy 2021-10-18 18:09:44 +03:00
ionutboangiu
77e805bee9 Fix tests after changing opts structure (incomplete) 2021-10-13 20:32:43 +03:00
ionutboangiu
5490cf66bf Fix all the compilation errors in non-test files 2021-10-13 20:32:43 +03:00
ionutboangiu
b92e64ee86 Use the newly implemented functions to retrieve the opts from APIOpts/config 2021-10-05 21:04:38 +02:00
ionutboangiu
2e6ab1b874 Change type of actions opts to map 2021-09-28 20:44:55 +02:00
ionutboangiu
32c5d5e587 Change type of thresholds opts to map 2021-09-27 17:27:18 +02:00
ionutboangiu
7d01526866 Change types of resources opts to map 2021-09-27 13:18:42 +02:00
ionutboangiu
68e27f0dd3 Add opts for resources 2021-09-24 10:23:45 +02:00
Trial97
7749fcd15b Removed ArgV1ProcessEvent and ThresholdsArgsProcessEvent 2021-09-23 10:42:56 +02:00
ionutboangiu
11aecbd22f Add opts field in config for thresholds 2021-09-19 12:13:38 +02:00
ionutboangiu
8d7c2c8d51 Remove error handling for recordUsage 2021-07-31 15:32:15 +02:00
ionutboangiu
8aa660c87e Fix typo loopStoped -> loopStopped 2021-07-31 15:32:15 +02:00
Trial97
697ec8cf50 Updated threshold caching 2021-07-29 08:40:51 +02:00
Trial97
e6851695b1 Updated stats caching 2021-07-29 08:40:51 +02:00
Trial97
9fc5eaa9c4 Updated resource caching 2021-07-29 08:40:51 +02:00
Trial97
1daa13b91b Updated treshold handling in resources 2021-07-23 10:58:30 +02:00
Trial97
9de6f9e922 Updated resource error handling 2021-07-23 10:58:30 +02:00
Trial97
f6ed00848b Added tests for resources 2021-07-23 10:58:30 +02:00
Trial97
f3ff3d3023 Updated resources unit tests 2021-07-23 10:58:30 +02:00
DanB
ca7f354434 Resources locking at API level 2021-07-23 10:58:30 +02:00
ionutboangiu
3883883148 Change utils.PrefixSliceItems function signature to start with prefix 2021-07-19 16:56:04 +02:00
Trial97
3664d0794a Updated guardian 2021-07-16 17:04:54 +02:00
Trial97
30b6cc2c70 Updated Resource handling in datamanager 2021-05-26 15:54:36 +02:00
ionutboangiu
0462d16143 Add resources APIs and fill in context where needed 2021-05-25 20:16:56 +02:00
Trial97
3d3540b486 Updated threshold processing for resources 2021-05-21 14:14:26 +02:00
ionutboangiu
0aa5f92129 Remove ActivationInterval from Resources (tests failing) 2021-05-17 17:54:24 +02:00
ionutboangiu
3d17faaaa9 Add reason as comment for ignoring returned error in allocateResource 1.0 2021-05-12 16:38:50 +02:00
ionutboangiu
ec910ea1a7 Give up on handling error returned by clearUsage() from allocateResource func in resources.go 2021-05-10 16:59:43 +02:00
Trial97
f856de731d Added comment for ExtraDP 2021-05-07 10:55:35 +02:00
Trial97
db9c021105 Updated resource removeExpiredUnits 2021-05-07 10:55:35 +02:00
porosnicuadrian
0e2638f765 Added context in some necessarily methods 2021-04-20 17:16:17 +02:00
Trial97
8aa7009d36 Updated AttributesSv1 APIs 2021-04-13 13:35:03 +02:00
Trial97
2da495af19 Starting adding back AttributesSv1 APIs 2021-04-13 13:35:03 +02:00
Trial97
3406d3c7c9 Updated based on new rpc library 2021-04-13 13:35:03 +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