Commit Graph

205 Commits

Author SHA1 Message Date
ionutboangiu
f2201f3e62 Revise err handling for CSV storage constructor
NewFileCSVStorage() now returns an error besides the storage struct itself, which is
logged and returned instead of calling log.Fatal() which was causing the engine to
crash.

Fixed compilation errors by creating the CSVStorage separately and passing it as an
argument to the TpReader constructor.
2023-05-23 03:41:07 -04:00
gezimbll
5c4bf0e538 changing db type constants with leading * 2023-03-08 19:15:23 +01:00
ionutboangiu
77430ee80a Add maxReconnectInterval for DispatcherHost csv models 2022-05-28 09:50:01 +02:00
ionutboangiu
de0b0569c3 Update fibDuration function 2022-05-28 09:50:01 +02:00
Trial97
d97433909f Updated unit test 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
239cbb7365 Updated Redis storage 2021-10-08 11:12:04 +03:00
nickolasdaniel
a150a38481 Removed synchronous field from DispatcherHost and RemoteHost 2021-07-25 12:08:40 +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
Trial97
c73556091f Updated cache reload 2021-05-07 20:02:17 +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
f4689abdd7 Removing accounts, test.sh works 2021-04-01 16:33:37 +02:00
andronache
51c201e50e Removing accounts (build.sh runs) 2021-04-01 16:33:37 +02:00
Trial97
f2c9ca3530 Fixed typo in license header 2021-03-10 16:22:37 +01:00
Trial97
5f0150b639 Updated dataDB config structure 2021-03-09 17:37:59 +01:00
Trial97
7e90a42c1f Added filtered replication for dataDB items 2021-03-09 17:37:59 +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
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
TeoV
f1ee31293b Update orders of AccountProfile.csv 2021-02-08 17:38:28 +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
64290719da Removed RateS connection from RouteS 2021-01-15 09:54:47 +01:00
TeoV
66e2b4cd01 Remove RoundingMethod and RoundingDecimals from RateProfile 2021-01-12 20:02:01 +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
andronache
4ff3b9242d Consts in utils 2021-01-07 18:15:35 +01:00
andronache
dbb9216b6e Modified consts in utils 2021-01-07 18:15:35 +01:00
TeoV
806d932fe0 Update TPAccountProfile struct 2021-01-06 13:56:03 +01:00
andronache
da91b07eb7 Started replacing snake_case with camelCase in utils/consts.go 2021-01-05 17:42:44 +01:00
TeoV
d316df7ae3 Remove Account2 2021-01-04 17:07:24 +01:00
TeoV
4eefdc9a03 Add ThresholdIDs to AccountProfiles 2020-12-21 17:51:02 +01:00
TeoV
8e3bf6e945 Add unit test in loader_csv_test for AccountProfile 2020-12-21 17:51:02 +01:00
TeoV
41d9599d87 Add infrastructure for Account in StorDB 2020-12-21 17:51:02 +01:00
TeoV
68c8625250 Add infrastructure in models for AccountProfile 2020-12-21 10:19:59 +01:00
TeoV
dcab9bb180 Remove AccountIDs from ActionProfile and add Targets ( TargetType and TargetIDs ) 2020-12-16 15:31:05 +01:00
Trial97
539db4334a Updated general integration tests 2020-12-11 16:08:43 +01:00
andronache
ce00012fb1 Added integration tests in apier/v1/actionprofiles.go 2020-12-09 17:00:49 +01:00
Trial97
06e4fd13c3 Updated integration tests 2020-12-09 17:00:04 +01:00
TeoV
f6720c5a71 Add test for loading ActionProfile with LoaderS 2020-12-09 12:11:07 +01:00
Trial97
60820c8c27 Updated integration tests 2020-12-08 12:59:44 +01:00
TeoV
b8f0f894a5 Add infrastructure for ActionProfile for databases 2020-12-03 20:36:21 +01:00
TeoV
4c2b38f4a4 Move ConnectFee from RateProfile to IntervalRate from Rates 2020-11-24 11:11:16 +01:00
Trial97
9acf0582d2 Updated DispatcherHost structure 2020-11-23 16:14:01 +01:00
TeoV
d10cc4b4c3 [RouteS] Add new field RouteRateProfileIDs in RateProfiles.csv 2020-11-20 11:02:11 +01:00
Trial97
568df81745 Added cores package and tests for caps 2020-11-05 17:07:50 +01:00
Trial97
64ae4f16d5 Added *apiban precache integration test 2020-09-29 13:45:31 +02:00