Commit Graph

224 Commits

Author SHA1 Message Date
porosnicuadrian
93df974ba7 Fixed unit tests for rateProfile package and fields 2021-03-18 18:12:47 +01:00
Trial97
f2c9ca3530 Fixed typo in license header 2021-03-10 16:22:37 +01:00
Trial97
038aa5f2ea Renamed DispatcherH in RegistarC 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
porosnicuadrian
86146d772a Fixed AsTPAccountProfile unit test 2021-02-24 18:20:29 +01:00
Trial97
3afe8fc6a6 Added support for BiGOB server 2021-02-22 11:53:56 +01:00
porosnicuadrian
c9fc6a1df6 Model helpers back to 100% coverage 2021-02-16 18:18:32 +01:00
porosnicuadrian
2ab7db86da changed weight/rateWeight into dynamicWeight + tests 2021-02-15 20:28:00 +01:00
porosnicuadrian
db53fa7df1 Removed BalanceBlocker field from Balance 2021-02-15 20:28:00 +01:00
porosnicuadrian
f5e7c522bf New fields in accountProfile - Opts and Weights as DynamicWeights 2021-02-12 17:39:22 +01:00
Trial97
fe6153a230 Added more tests for inline attributes 2021-02-09 15:16:20 +01:00
TeoV
ee85e8a967 Correctly populate data from csv for new AccountS 2021-02-08 17:37:57 +01:00
andronache
fcbd0f19fe Refactored tests in engine 2021-01-20 17:37:34 +01:00
TeoV
34d17d0307 Add RateProfileIDs to Balance struct and rename from CostAttributes to AttributeIDs ( same as from ChargerProfile ) 2021-01-19 13:12:52 +01:00
porosnicuadrian
517fdf1f10 Covered model_helpers to 100% 2021-01-15 19:20:04 +01:00
porosnicuadrian
64290719da Removed RateS connection from RouteS 2021-01-15 09:54:47 +01:00
Trial97
67c6e8618c Updated unit test 2021-01-13 16:05:04 +01:00
TeoV
66e2b4cd01 Remove RoundingMethod and RoundingDecimals from RateProfile 2021-01-12 20:02:01 +01:00
Trial97
7dcc168892 Updated engine integration tests 2021-01-12 12:48:02 +01:00
TeoV
cb854d758f Update unit tests after RateS update 2021-01-11 12:44:28 +01:00
andronache
1d0a814e42 Changed consts in utils 2021-01-11 10:57:44 +01:00
andronache
36da1a6309 Consts in utils 2021-01-11 10:57:44 +01:00
TeoV
fd3d0fd8c2 Update on AccountProfile from []*Balance to map[string]*Balance 2021-01-08 17:53:59 +01:00
andronache
4ff3b9242d Consts in utils 2021-01-07 18:15:35 +01:00
TeoV
9c32b2310a Add APIAccountProfile struct + commands in cgr-console 2021-01-07 14:25:01 +01:00
TeoV
1ff5adfa9d Rename from BalanceValue to BalanceUnits for AccountProfile 2021-01-06 15:50:23 +01:00
TeoV
806d932fe0 Update TPAccountProfile struct 2021-01-06 13:56:03 +01:00
andronache
3177b1b8bb Completed test for engine/model_helpers.go 2020-12-23 17:00:33 +01:00
andronache
76409f1ad7 Tests for model helpers in engine 2020-12-23 17:00:33 +01:00
TeoV
dcab9bb180 Remove AccountIDs from ActionProfile and add Targets ( TargetType and TargetIDs ) 2020-12-16 15:31:05 +01:00
porosnicuadrian
4fa97786ae Integration tests for TPRateProfile + updated RateProfile Struct + tests 2020-12-10 10:18:33 +01:00
andronache
86e9e742c8 Finished tests for model helpers 2020-12-09 12:12:22 +01:00
andronache
22e0c16e6d More tests in engine/model_helpers.go 2020-12-08 13:00:17 +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
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
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
TeoV
445ec8d9b1 Rename EventExporterSv1 to EeSv1 and update integration tests 2020-12-02 17:06:20 +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