Commit Graph

239 Commits

Author SHA1 Message Date
gezimbll
969ef4b754 Make go vet pass 2023-10-26 15:52:06 +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
gezimbll
3e76848a2b coverage tests at engine 2022-11-11 17:05:43 +01:00
ionutboangiu
7771de5e07 Apply go fmt project wide 2022-11-11 13:43:51 +01:00
ionutboangiu
77430ee80a Add maxReconnectInterval for DispatcherHost csv models 2022-05-28 09:50:01 +02:00
Trial97
93e79b3b88 Updated filter CSV loading 2021-09-24 10:15:23 +02:00
nickolasdaniel
a150a38481 Removed synchronous field from DispatcherHost and RemoteHost 2021-07-25 12:08:40 +02:00
ionutboangiu
263f73283b Implement new function that splits filter rules 2021-07-19 14:02:51 +02:00
nickolasdaniel
016e913190 Added extra configurable fields for DispatcherHost related structs, corresponding tests and redesigned methods where needed 2021-07-15 18:39:39 +02:00
nickolasdaniel
ce915c77a6 Removing ActionS 2021-04-01 16:33:37 +02:00
ionutboangiu
3197b3a458 Remove RateS 2021-04-01 16:33:37 +02:00
andronache
49f8ffc598 Removing accounts 2021-04-01 16:33:37 +02:00
andronache
f4689abdd7 Removing accounts, test.sh works 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
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