Commit Graph

202 Commits

Author SHA1 Message Date
gezimbll
df3dcfb840 replaced CGREvent parameter to DataProvider for GetOpts functions 2025-02-07 13:18:43 +01:00
gezimbll
c602dbc2a5 added rsparser field in dynamicOpts
changed Value field to unexported and created a Value() method
on each dynOpts type that contains logic to create a rsparser
in case the value field a configuration starts with prefix "~"
otherwise it will return the specified value
2025-01-22 17:36:26 +01:00
ionutboangiu
17405af987 Revise service manager logs
Logging is now done as ServiceManager level. Removed any other logs.
2025-01-10 20:18:08 +01:00
ionutboangiu
ede004bc44 remove deprecated rand.Seed calls 2024-09-05 20:46:40 +02:00
ionutboangiu
113e2a2bdf Replace interface{} with any 2023-05-31 10:22:28 +02:00
ionutboangiu
485d275fc1 Use the Weights constant instead of Weight where needed 2022-04-29 20:33:51 +02:00
andronache98
ecdf5e54ea Changed headers 2022-03-09 14:14:30 +01:00
andronache98
9ec56f5155 Changed headers 2022-03-09 14:14:30 +01:00
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