ionutboangiu
24d886c8e0
Pass CGRConfig to DataManager
...
instead of just CacheCfg. Prevents the need of global config var in
engine/datamanager.go
2025-03-10 13:49:34 +01:00
ionutboangiu
36a7d174ab
Remove RSRSep opt from general section
...
- allows RSRParser to be split gracefully from config (was depending on
RSRSep, which was retrieved from the global config variable)
- default separator (;) was the only one used except for splitting
inline attribute values (where ANDSep is used)
2025-02-24 13:36:32 +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
gezimbll
2b04066504
added parsing the event for *usage opts in accounts
2025-01-10 12:31:44 +01:00
ionutboangiu
2f387b5a0e
chore: remove unnecessary parentheses
...
gofmt -r '(a) -> a' -w **/*.go
2024-09-05 20:46:40 +02:00
ionutboangiu
113e2a2bdf
Replace interface{} with any
2023-05-31 10:22:28 +02:00
arberkatellari
9b5f594402
Add coverage tests for engine
2023-05-10 10:40:29 +02:00
arberkatellari
29e66e0390
Add coverage tests for engine
2023-05-10 10:40:29 +02:00
arberkatellari
f57a659b7b
Add coverage tests for engine
2023-05-07 19:26:16 +02:00
arberkatellari
44690a658d
Add coverage tests for engine
2023-05-07 19:26:16 +02:00
arberkatellari
5561ac6f9e
Add coverage tests for engine
2023-05-07 19:26:16 +02:00
arberkatellari
0cd4ee5ca8
Add coverage tests for engine
2023-05-03 10:04:08 +02:00
arberkatellari
6fbf001116
Add and improve coverage tests
2023-02-27 09:14:19 +01:00
arberkatellari
c31766dd91
Coverage tests at engine
2023-01-25 18:27:52 +01:00
arberkatellari
8ce8e4f6de
Improving coverage in engine
2022-12-02 18:41:55 +02:00
ionutboangiu
e98f230f04
Change type name from Blockers to DynamicBlockers
2022-05-10 17:05:31 +02:00
ionutboangiu
52c79ca8db
Change RouteBlockers type from bool to DynamicBlockers
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
6cddc10b00
Renaming count APIs
2022-02-13 15:09:53 +02:00
Trial97
2601ff6163
Finished testing new methods
2021-12-21 15:05:44 +01:00
Trial97
b9617f6fe3
Added DataProvider methods
2021-12-21 15:05:44 +01:00
Trial97
bcfe27b878
Added integration test for loader cache
2021-12-21 15:05:44 +01:00
Trial97
f25acdaf77
Added tests for all Set methods
2021-12-21 15:05:44 +01:00
ionutboangiu
9d62d65200
Fix routes' profileCount type
2021-12-03 11:15:05 +01:00
andronache
9830c61424
Added routes test
2021-11-11 12:21:43 +02:00
andronache
8f92e76d7f
Cover tests for routes in engine
2021-11-11 12:21:43 +02:00
Trial97
117f6ccb9b
Updated Stats with decimal
2021-11-08 17:03:58 +02:00
Trial97
cb809f976e
Updated internal datadb
2021-10-28 18:03:43 +03:00
ionutboangiu
ad6ee01bd3
Fix unit tests after changing opts structure
2021-10-13 20:32:43 +03:00
ionutboangiu
77e805bee9
Fix tests after changing opts structure (incomplete)
2021-10-13 20:32:43 +03:00
ionutboangiu
a3290f519e
Add FilterS and context parameters for newOptsGetRoutes function and fix the remaining compilation errors
2021-10-04 11:29:37 +02:00
ionutboangiu
1a4e73a8c6
Fix the compilation errors in non test files (incomplete)
2021-10-04 11:29:37 +02:00
ionutboangiu
adfaea31c5
Rename default_opts to opts
2021-09-10 11:25:57 +02:00
ionutboangiu
ab5c0a7b8e
Rename a test variable
2021-09-10 11:25:57 +02:00
ionutboangiu
141d293217
Make DefaultOpts a struct and move IgnoreErrors, MaxCost and Paginator fields to APIOpts final
2021-09-10 11:25:57 +02:00
ionutboangiu
c96c20f8ed
Make DefaultOpts a struct and move IgnoreErrors, MaxCost and Paginator fields to APIOpts
2021-09-10 11:25:57 +02:00
Trial97
37e5481307
Renamed ignoreErrors constant
2021-08-31 09:46:44 +03:00
Trial97
a5d95f9fe7
Updated Routes with DynamicWeights
2021-08-30 17:53:42 +03:00
ionutboangiu
59d7e71e4f
Rename Route field RatingPlanIDs to RateProfileIDs
2021-08-27 17:33:19 +02:00
Trial97
3ec16fb45e
Updated dispatcher matching
2021-06-11 13:11:00 +02:00
porosnicuadrian
788919bdaa
Added context for routes methods
2021-05-26 20:05:26 +02:00
Trial97
a71d42fe0a
Updated Routes sorting
2021-05-26 15:54:36 +02:00
ionutboangiu
3bedd19fc8
Remove ActivationInterval from Routes
2021-05-17 17:54:24 +02:00
porosnicuadrian
18d2841670
Fixed tests by adding context
2021-05-10 10:36:03 +02:00
Trial97
1623d9f1da
Updated cache reload
2021-05-07 20:01:52 +02:00
andronache
32c234a6c7
In CGREvent changed Opts in APIOpts
2021-03-23 14:35:11 +01:00
Trial97
e52e8d7622
Added Length Field in case of NMSlice and support for multiple indexes in template path
2021-03-18 16:46:55 +01:00
Trial97
c706659063
Updated unit tests
2021-03-18 16:46:55 +01:00
Trial97
d4e2d79cad
Updated RouteS APIs
2021-03-18 16:46:55 +01:00