Commit Graph

79 Commits

Author SHA1 Message Date
ionutboangiu
3e98e37db3 Revise NewRPCClient helper function 2024-10-23 21:11:25 +02:00
ionutboangiu
71b5efef40 Remove global err variable (general_tests)
Prevents compilation errors from tests moved to
flaky that use it.
2024-09-23 20:28:26 +02:00
ionutboangiu
0f70af84e9 centralize test flags for shared use across tests 2024-08-15 18:17:33 +02:00
ionutboangiu
0dfb3b860d Centralize RPCClient constructor 2024-08-15 18:17:33 +02:00
ionutboangiu
1cec3751e4 Update SetCDR signature to include the cdrID
Updated mongo indexing for cdrs to take into consideration only the
opts.*cdrID field.

Fixed cdrs_it_test.go test.

Before storing CDRs in CDR processEvents, we are now temporarily generating
the *cdrID in APIOpts (until we decide where this should happen).
2023-12-12 10:09:18 +01:00
ionutboangiu
113e2a2bdf Replace interface{} with any 2023-05-31 10:22:28 +02:00
ionutboangiu
3e22cef9cb Revise integration tests after StorDB addition 2023-05-03 10:05:28 +02:00
adi
734776b113 Unified consts of opts 2022-10-03 18:29:24 +03:00
adi
1e51b6d73f Unified constants for subsystem/removed big S 2022-09-25 12:16:25 +02:00
ionutboangiu
0653e9b5d7 Apply go fmt 2022-08-24 09:32:23 +03:00
ionutboangiu
e98f230f04 Change type name from Blockers to DynamicBlockers 2022-05-10 17:05:31 +02:00
porosnicuadrian
d3580092ed Improved stats 2022-05-06 17:00:30 +02:00
ionutboangiu
52c79ca8db Change RouteBlockers type from bool to DynamicBlockers 2022-04-29 20:33:51 +02:00
porosnicuadrian
41a7ee8add DynamicBlocker for stats + unit test 2022-04-27 17:49:14 +02:00
ionutboangiu
94b0754a51 Repair tests 2022-04-20 10:34:23 +02:00
ionutboangiu
f1c07f8b0c Repair tests in general_tests 2022-03-29 17:17:29 +02:00
ionutboangiu
879ece2894 Repair cdrs test in general_tests 2022-03-26 09:13:26 +01: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
2b5db0603f Fixed tests in genereal 2022-03-09 14:14:30 +01:00
andronache98
74d8a61c15 Repaired most integration tests using storDB 2022-03-09 14:14:30 +01:00
ionutboangiu
da6f43df4c Add new constant for the ImportZip loader api 2022-01-10 19:59:10 +01:00
andronache98
b26ddf0ac4 Started repairing tests for cdr in general 2022-01-05 12:09:50 +01:00
andronache
be55e28eb2 Commented tests in general tests for now 2021-09-26 11:15:57 +02:00
Trial97
7749fcd15b Removed ArgV1ProcessEvent and ThresholdsArgsProcessEvent 2021-09-23 10:42:56 +02:00
Trial97
f96dfab0ab Updated sessions opts constants 2021-08-26 16:48:48 +02:00
ionutboangiu
040371968f Fix failing tests after renaming stats apis consts 2021-06-08 11:54:23 +02:00
Trial97
f3639c01f8 Added connection between thresholds and actions 2021-05-26 15:54:36 +02:00
ionutboangiu
a19093e95b Remove unused variables and functions in engine 2021-04-02 14:57: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
804cc12c9e 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
andronache
22f207441e Replaced cache with opts in several structs 2021-03-17 13:46:33 +01:00
andronache
83d9c67a77 Removed cache from multiple structs and replaced it with opts 2021-03-17 13:46:33 +01:00
andronache
0c9334d28b Updated integration tests in general_tests 2021-01-15 09:55:22 +01:00
andronache
1d0a814e42 Changed consts in utils 2021-01-11 10:57:44 +01:00
andronache
1470267727 Modified consts in utils 2021-01-07 18:15:35 +01:00
andronache
da91b07eb7 Started replacing snake_case with camelCase in utils/consts.go 2021-01-05 17:42:44 +01:00
TeoV
5775d09c7b Add infrastructure for AccountS in DataManager 2020-12-21 10:19:59 +01:00
Trial97
06e4fd13c3 Updated integration tests 2020-12-09 17:00:04 +01:00
Trial97
5da4cf6d1c Updated account action plans integration tests for cache 2020-10-31 20:52:09 +01:00
TeoV
4cba023934 StatS change metricID format (e.g. *sum#~*req.FieldName ) 2020-09-25 13:04:20 +02:00
Trial97
4fe3b8e257 Removed TenantArg 2020-09-04 12:32:09 +02:00
Trial97
a9f0a9429b Added tests for GetCDRs with internalDB 2020-08-13 11:34:53 +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
Trial97
a708e398f6 Updated *chargers flag to use the RunID instead of ChargerID as key 2020-07-17 17:00:16 +03:00
adragusin
025f6bd0a4 Updated all APIs from V2 with pointers args 2020-05-28 15:35:47 +02:00
adragusin
8c85bed338 updated some APIs with pointers args 2020-05-26 17:47:52 +02:00
Trial97
c3cea2d52d Updated *gob integration tests 2020-04-27 16:57:51 +02:00