Commit Graph

10957 Commits

Author SHA1 Message Date
TeoV
a717fc4f3d Add infrastructure for service 2020-12-08 13:50:50 +01:00
andronache
530ad1e541 Added tests in config 2020-12-08 13:00:17 +01:00
andronache
22e0c16e6d More tests in engine/model_helpers.go 2020-12-08 13:00:17 +01:00
Trial97
222363f433 Added service dependency map to control the shutdown order. Fixes #2472 2020-12-08 12:59:44 +01:00
Trial97
60820c8c27 Updated integration tests 2020-12-08 12:59:44 +01:00
Trial97
83a891e145 Updated SessionS tests 2020-12-08 12:59:44 +01:00
Trial97
65ce36fbe1 Updated NewLogger function 2020-12-08 12:59:44 +01:00
Trial97
1146e2ef2f Updated console commands with constants 2020-12-08 12:59:44 +01:00
TeoV
dd48ce1057 Remove duplicate consts 2020-12-07 10:49:11 +01:00
TeoV
77c7b983b1 Add infrastructure for ActionS in config 2020-12-07 10:49:11 +01:00
andronache
faa53bc91f Tests in /engine/model_helpers.go 2020-12-07 09:55:11 +01:00
andronache
d95b668d77 More tests in engine/model_helpers.go 2020-12-07 09:55:11 +01:00
andronache
43cd6955d8 New tests for /engine/model_helpers.go 2020-12-07 09:55:11 +01:00
andronache
a751a75087 New tests for engine/model_helpers.go 2020-12-07 09:55:11 +01:00
DanB
0f79235043 Config ActionSCfg, ActionS - matchingActionProfilesForEvent function 2020-12-06 17:20:59 +01:00
DanB
220d2a39da SessionS - properly charge terminate without initiate event 2020-12-06 13:59:03 +01:00
DanB
677c78b262 Prevent logger integration test from running with unit tests 2020-12-06 12:17:34 +01:00
porosnicuadrian
c829c775e2 Integration and unit tests for logger.go and file.go in utils 2020-12-04 18:47:18 +01:00
TeoV
f8e636074b Add integration test for loading ActionProfile from file 2020-12-04 18:44:58 +01:00
TeoV
43b5e1f97e Add remaings consts for ActionProfile in utils 2020-12-04 18:44:58 +01:00
Trial97
a3992bb85a Updated SetReverseDestination 2020-12-04 18:44:27 +01:00
Trial97
1c9bd9d4f2 Replaced map[string]struct{} with utils.StringSet 2020-12-04 18:44:27 +01:00
Trial97
e56d86de98 Updated all Destinations caching to datamanager 2020-12-04 18:44:27 +01:00
Trial97
114e8e9504 Started moving Destinations caching in datamanager 2020-12-04 18:44:27 +01:00
TeoV
f19a78538a Add in remaing places infrastructure for ActionProfile 2020-12-04 13:45:44 +01:00
TeoV
77712ef776 Update storage_csv from engine 2020-12-04 09:34:39 +01:00
porosnicuadrian
0e5cdebd69 Integration and unit tests for utils+splitted some functions for coverage 2020-12-03 20:37:17 +01:00
andronache
66ed3cce90 More tests in model_helpers.go 2020-12-03 20:36:52 +01:00
andronache
3162462d47 Modified models.go structs to be more intuitive 2020-12-03 20:36:52 +01:00
andronache
e3d825c1cc Renamed in models.go 2020-12-03 20:36:52 +01:00
andronache
e08ff12d57 Fixed tests in model_helpers.go 2020-12-03 20:36:52 +01:00
TeoV
b8f0f894a5 Add infrastructure for ActionProfile for databases 2020-12-03 20:36:21 +01:00
DanB
02faac061a SessionS - terminate non existent session with EventCost creation 2020-12-03 11:06:10 +01:00
andronache
6e1a40740a Tests in model_helpers.go 2020-12-02 17:12:22 +01:00
andronache
b30670b71e More tests for engine/model_helpers.go 2020-12-02 17:12:22 +01:00
andronache
3665961546 Modified struct names in engines/models.go 2020-12-02 17:12:22 +01:00
andronache
dc59d6fdfc Added more tests to engine/model_helpers 2020-12-02 17:12:22 +01:00
porosnicuadrian
d220ab88b9 Removed error from AsMapInterface function's signature 2020-12-02 17:07:35 +01:00
TeoV
1085569409 Add infrastructure for model_helpers for ActionProfile 2020-12-02 17:06:20 +01:00
TeoV
445ec8d9b1 Rename EventExporterSv1 to EeSv1 and update integration tests 2020-12-02 17:06:20 +01:00
TeoV
d0818ecf1d Add fields from struct in correct order for TPRateProfile 2020-12-02 17:06:20 +01:00
Trial97
fbc2af6845 Updated EventCost FieldAsInterface. Fixes #2375 2020-12-02 17:05:01 +01:00
DanB
53f8b34f01 ActionS - ActionProfile initial definition 2020-12-02 14:00:51 +01:00
porosnicuadrian
7f47956f43 More integration testys for configS 2020-12-02 14:00:35 +01:00
porosnicuadrian
263976d9fa Updated a test in config_test.go 2020-12-02 14:00:35 +01:00
porosnicuadrian
ee51aa4707 Covered config to 100 2020-12-02 14:00:35 +01:00
porosnicuadrian
711d7d5a1a Removed error from NewDefaultCGRConfig signature's function 2020-12-02 14:00:35 +01:00
porosnicuadrian
4b4cb5d3d0 More tests for computeRateSIntervals 2020-12-02 14:00:35 +01:00
andronache
862a95fb24 More test for engine/model_helpers.go 2020-11-29 20:07:19 +01:00
andronache
e64f81be30 Added tests to model_helpers_test.go 2020-11-29 20:07:19 +01:00