ionutboangiu
|
43ec38957d
|
Fix remaining failing tests after changing opts structure
|
2021-10-15 10:59:19 +03:00 |
|
ionutboangiu
|
9ab534d7a9
|
Add omitempty for all filterIDs fields from dynamicOpts
|
2021-10-15 10:59:19 +03:00 |
|
porosnicuadrian
|
a90628a0c8
|
Added missing tenant in opts config
|
2021-10-14 18:16:18 +03:00 |
|
porosnicuadrian
|
8f6d7ff5ab
|
FIxed tests for units/increment type
|
2021-10-14 18:16:18 +03:00 |
|
porosnicuadrian
|
0081ccf277
|
Make increments/units of duration
|
2021-10-14 18:16:18 +03:00 |
|
porosnicuadrian
|
a2110f8525
|
Make units/increment accept strinjg of time
|
2021-10-14 18:16:18 +03:00 |
|
porosnicuadrian
|
768fcde9f9
|
Rermoved case in NewDecimalFromUsage
|
2021-10-14 18:16:18 +03:00 |
|
nickolasdaniel
|
c1df5d3767
|
Unit testing in config
|
2021-10-14 18:06:50 +03:00 |
|
andronache
|
fcec0a0f67
|
Cover tests in engine
|
2021-10-14 17:15:36 +03:00 |
|
andronache
|
4df0cf37cd
|
Removed useless case for threshold cdrs process event
|
2021-10-14 17:15:36 +03:00 |
|
andronache
|
5c4fc75c6c
|
Tests for attributes in engine/cdrs.go
|
2021-10-14 17:15:36 +03:00 |
|
nickolasdaniel
|
5beac404ed
|
Unit testing in config
|
2021-10-13 20:34:01 +03:00 |
|
porosnicuadrian
|
44f9cc8f78
|
Fixed tests with increment/units field
|
2021-10-13 20:33:19 +03:00 |
|
porosnicuadrian
|
58f9965019
|
Make increment and Units string instead of float64
|
2021-10-13 20:33:19 +03:00 |
|
porosnicuadrian
|
04889e855f
|
Fixed V1ProcessEventWithGet method
|
2021-10-13 20:33:19 +03:00 |
|
porosnicuadrian
|
277d8b388a
|
Finished account test with rates in debit abstract with no effect on increment
|
2021-10-13 20:33:19 +03:00 |
|
ionutboangiu
|
e8de2a57f3
|
Fix integration tests after chaning opts structure (incomplete)
|
2021-10-13 20:32:43 +03:00 |
|
ionutboangiu
|
ad6ee01bd3
|
Fix unit tests after changing opts structure
|
2021-10-13 20:32:43 +03:00 |
|
ionutboangiu
|
8a107fe386
|
Fix libdynamics conversion functions that were causing panics
|
2021-10-13 20:32:43 +03:00 |
|
ionutboangiu
|
92bb9ef87a
|
Fix compilation errors and remove tests for deleted libdynamics functions
|
2021-10-13 20:32:43 +03:00 |
|
ionutboangiu
|
e3f413ffb4
|
Remove unused functions and update Clone and Equal functions to consider the tenant field
|
2021-10-13 20:32:43 +03:00 |
|
ionutboangiu
|
2ae22d4483
|
Make Limit and Offset DynamicOpts of type IntPointer instead of Int
|
2021-10-13 20:32:43 +03:00 |
|
ionutboangiu
|
0c4831af95
|
Add new DynamicOpt type for *int type values as well as implement relevant functions
|
2021-10-13 20:32:43 +03:00 |
|
ionutboangiu
|
0a0daa87bf
|
Add new GetOpts function for *int type values
|
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
|
4ba6c563c3
|
Update config_defaults following the recent changes to opts
|
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
|
82c491ad46
|
Change JsonOpts struct's fields from maps to slices of dynamicOpts and add default values as consts for the remaining subsystems
|
2021-10-13 20:32:43 +03:00 |
|
ionutboangiu
|
dc610bd146
|
Update GetOpts functions to take into consideration *any tenant
|
2021-10-13 20:32:43 +03:00 |
|
ionutboangiu
|
ff455a28bf
|
Change RatesJsonOpts struct's fields from maps to slices of dynamicopts and add default values as consts
|
2021-10-13 20:32:43 +03:00 |
|
ionutboangiu
|
065a605a40
|
Add the newly created dftOpts constants as parameters in the getOpts functions for routes
|
2021-10-13 20:32:43 +03:00 |
|
ionutboangiu
|
e7ae177910
|
Change RoutesJsonOpts struct's fields from maps to slices of dynamicopts and update the functions as well as add default values as consts
|
2021-10-13 20:32:43 +03:00 |
|
ionutboangiu
|
f6b2726b17
|
Update config_defaults for routes after changing the structure
|
2021-10-13 20:32:43 +03:00 |
|
ionutboangiu
|
528bc38c16
|
Add conversion functions for DynDurationOpts and DynDecimalOpts
|
2021-10-13 20:32:43 +03:00 |
|
ionutboangiu
|
a9ea1146f0
|
Update GetOpts functions
|
2021-10-13 20:32:43 +03:00 |
|
ionutboangiu
|
72a754720f
|
Fix integration tests
|
2021-10-13 20:32:43 +03:00 |
|
andronache
|
453a85fe28
|
Tests in engine for attributes
|
2021-10-13 20:31:14 +03:00 |
|
andronache
|
b917736f36
|
Completing attributes tests in engine
|
2021-10-13 20:31:14 +03:00 |
|
andronache
|
3c82973ecd
|
Cover test for cdrs.go
|
2021-10-13 20:31:14 +03:00 |
|
andronache
|
60d9627a3e
|
Cover test for V1ProcessEvent engine/in cdrs.go
|
2021-10-13 13:12:00 +03:00 |
|
andronache
|
ece4913840
|
More tests for error cases in cdrs process event
|
2021-10-13 13:12:00 +03:00 |
|
andronache
|
0dfc28e7fb
|
Cover test for error cases in cdr process event
|
2021-10-13 13:12:00 +03:00 |
|
andronache
|
1a088cbf70
|
Finished test for cdrs process event with account tag and fixed cover test failling for cdrs in engine
|
2021-10-13 13:12:00 +03:00 |
|
nickolasdaniel
|
bc50993f80
|
Unit tests in config
|
2021-10-12 18:11:25 +03:00 |
|
porosnicuadrian
|
b6b39b0e7d
|
Removed external structs for event charges
|
2021-10-12 18:10:49 +03:00 |
|
porosnicuadrian
|
ee4a0ad36e
|
FIxed tests without External structs
|
2021-10-12 18:10:49 +03:00 |
|
porosnicuadrian
|
8b8736eba6
|
Test for DebitAbstract with rates for costIncr case
|
2021-10-12 18:10:49 +03:00 |
|
porosnicuadrian
|
949bf3eb99
|
Modified account name
|
2021-10-12 18:10:49 +03:00 |
|
porosnicuadrian
|
9f5cbbb176
|
Updated cfg/tp and test for session discout
|
2021-10-12 18:10:49 +03:00 |
|
Trial97
|
5c062e7ea7
|
Added protection for Redis limit when setting indexes
|
2021-10-12 16:48:04 +03:00 |
|