Commit Graph

466 Commits

Author SHA1 Message Date
ionutboangiu
43cdd396ba add implementation for new ips module 2025-05-29 15:40:20 +02:00
ionutboangiu
7f132f19e4 Bump go version to 1.24.0 2025-02-26 16:19:47 +01:00
armirveliaj
b523024ca2 Add new coverage tests on migrator and config 2024-09-23 11:51:47 +02:00
armirveliaj
409cd40682 Add new unit tests on migrator 2024-09-05 20:47:27 +02:00
armirveliaj
3d9a94c5c5 Add new unit tests 2024-08-04 21:04:41 +02:00
armirveliaj
29524f9be4 Add new unit tests on migrator 2024-08-02 09:36:54 +02:00
armirveliaj
bc531f8b5a Add unit test on migrator 2024-06-11 18:49:39 +02:00
armirveliaj
68f1663688 Add new unit tests in migrator 2024-06-06 13:17:59 +02:00
ionutboangiu
16eb745f00 Centralize test flags in utils for shared use across tests 2024-04-08 13:14:02 +02:00
ionutboangiu
bd4aa99458 Refactor balance's Factor field name with its plural form
Stored balances previous to this commit, that had a non-nil Factors map, will
now have Factors nil due to field name mismatch.
2024-04-01 19:58:04 +03:00
gezimbll
09e5088262 Removed warnings from go staticcheck 2023-11-08 17:10:13 +01:00
gezimbll
c2dacc42c1 Removed warnings from go staticcheck 2023-11-08 17:10:13 +01:00
gezimbll
5a85c119c8 Replacing IsSliceMember ,CloneStringSlice and SliceStringEqual with slices package equivalent functions 2023-11-01 21:52:50 +01:00
ionutboangiu
5bea63841b Update it workflow to run tests for PR version of the repo
Before it was running the tests for the latest commit on the main repo instead
of running them for the PR version of it.
2023-08-07 11:38:12 +02:00
ionutboangiu
e449719892 Fix integration test in migrator
Generic NOT_FOUND has been replaced by DSP_PROFILE_NOT_FOUND for dispatcher profiles.
2023-08-07 11:38:12 +02:00
ionutboangiu
ef4a59c31e Apply gofmt to make workflow pass 2023-07-21 09:00:46 +02:00
ionutboangiu
6c16ff320f Replace interface{} with any 2023-05-31 10:23:12 +02:00
arberkatellari
f6a3af57dd Add error handler for Mongo GetCDrs remove 2023-05-31 10:19:13 +02:00
gezimbll
7dd79308b8 fixing it tests for db type 2023-03-08 19:15:23 +01:00
gezimbll
5c4bf0e538 changing db type constants with leading * 2023-03-08 19:15:23 +01:00
ionutboangiu
7771de5e07 Apply go fmt project wide 2022-11-11 13:43:51 +01:00
adi
eb1000fcb9 New errors for dispatcher hosts/profile 2022-10-19 10:31:10 +02:00
ionutboangiu
aaea87eb33 Make data and stordb opts into structs 2022-07-12 17:59:09 +02:00
andronache
38b317a53f Test for default value for answer time in cdrsql 2021-12-10 13:07:27 +01:00
andronache
5cbd7e6e5c Default value for answer time is now null in cdrsql 2021-12-10 13:07:27 +01:00
Trial97
0a2914f9a6 Updated formatting 2021-10-25 17:17:08 +03:00
Trial97
8e2fdd239f Updated unit tests 2021-10-21 14:30:20 +03:00
Trial97
291a959ec8 Updated internal dataDB 2021-10-21 14:30:20 +03:00
Trial97
880dd7f1b1 Updated Action Filters field 2021-10-12 16:49:01 +03:00
Trial97
a4a914a3bb Updated build tags 2021-08-26 16:45:37 +02:00
Trial97
6e9664f503 Updated AcionPlans 2021-06-08 12:03:21 +02:00
Trial97
33ac878115 Updated datamanager methods 2021-05-26 20:08:15 +02:00
Trial97
f0d3c435de Updated StatQueue handling in datamanager 2021-05-21 17:11:28 +02:00
Trial97
c242636e3e Updated Threshold handling in datamanager 2021-05-21 17:11:28 +02:00
porosnicuadrian
076558469e Fixed Path sanitization when migrating from user into AttributeProfile 2021-04-29 12:05:30 +02:00
porosnicuadrian
57d2500a96 Fixed tests for path sanitizations + new cases in config sanity 2021-04-05 20:52:41 +02:00
Trial97
3f4e7afba1 Updated configs 2021-04-01 16:33:37 +02:00
Trial97
1d67bca260 Updated tests after remove 2021-04-01 16:33:37 +02:00
Trial97
21d4dd16fa Removed more actions 2021-04-01 16:33:37 +02:00
nickolasdaniel
ce915c77a6 Removing ActionS 2021-04-01 16:33:37 +02:00
ionutboangiu
51bacf2c93 Remove Rates 2021-04-01 16:33:37 +02:00
ionutboangiu
3197b3a458 Remove RateS 2021-04-01 16:33:37 +02:00
andronache
51c201e50e Removing accounts (build.sh runs) 2021-04-01 16:33:37 +02:00
porosnicuadrian
bb686a092f Fixed output when the input is an empty slice 2021-03-25 17:11:28 +01:00
porosnicuadrian
86bea089d8 Fixed integrations tests for RateProfile package and fields 2021-03-18 18:12:47 +01:00
Trial97
5f0150b639 Updated dataDB config structure 2021-03-09 17:37:59 +01:00
Trial97
54ee982314 Updated config for registrarc 2021-03-02 20:06:30 +01:00
Trial97
9182696abb Added tests for *add_balance, *set_balance and *rem_balance actions 2021-02-25 18:13:01 +01:00
Trial97
1437cfaff3 Updated SetBalance action 2021-02-25 18:13:01 +01:00
Trial97
83c26e5fd6 Updated actions 2021-02-25 18:13:01 +01:00