Commit Graph

186 Commits

Author SHA1 Message Date
armirveliaj
7db65ca62c Clean up DispatcherS 2025-01-17 17:29:46 +01:00
ionutboangiu
e1adb674b8 Remove redundant dir parameter from processFile methods
Applies to both file readers and loader (for loader, the blank statement
was used anyway).

It's redundant because for file readers, the rdr.sourceDir value was
always passed as the parameter when it was already part of the method's
object.

Parameter had to also be removed from the WatchDir function and the
functions it depends on.
2024-09-23 20:28:26 +02:00
ionutboangiu
2f387b5a0e chore: remove unnecessary parentheses
gofmt -r '(a) -> a' -w **/*.go
2024-09-05 20:46:40 +02:00
ionutboangiu
113e2a2bdf Replace interface{} with any 2023-05-31 10:22:28 +02:00
adi
ad7bd111d1 Improved dispatcher errors 2022-10-21 10:14:19 +02:00
ionutboangiu
37879ef01e Pass opts instead of just caching type to loader process functions 2022-10-03 19:12:57 +03:00
andronache98
ecdf5e54ea Changed headers 2022-03-09 14:14:30 +01:00
andronache98
9ec56f5155 Changed headers 2022-03-09 14:14:30 +01:00
ionutboangiu
65d832e0dc Update loader functionality + tests 2022-02-17 21:14:48 +02:00
Trial97
924b0af483 Updated loaders test 2021-12-21 15:05:44 +01:00
Trial97
b699b4a43e Added loaders importZip API 2021-12-21 15:05:44 +01:00
Trial97
0e363e7104 Added tests for account 2021-12-21 15:05:44 +01:00
Trial97
073ba953b0 Updated tests 2021-12-21 15:05:44 +01:00
Trial97
c1e399de6d Added all merge functions 2021-12-21 15:05:44 +01:00
Trial97
d1eb628fc1 Added unit tests for account set method 2021-12-21 15:05:44 +01:00
Trial97
6a3c682f42 Fixed the config for loaders 2021-12-21 15:05:44 +01:00
Trial97
fd5cf12eac Updated all the loaders types 2021-12-21 15:05:44 +01:00
Trial97
1f89ef6ee7 Updated loaders 2021-12-21 15:05:44 +01:00
ionutboangiu
b55dc3d3a8 Fix tests after updating loggers 2021-12-19 17:12:47 +01:00
Trial97
f1bb562b34 Finished cover tests for loaders 2021-11-16 13:05:40 +01:00
Trial97
bcdf7910d1 Started testing the loaders implementation 2021-11-16 13:05:40 +01:00
ionutboangiu
a19b103ce3 Rename ActionProfiles and RateProfiles to Actions.csv and Rates.csv 2021-11-02 10:28:35 +02:00
Trial97
cb809f976e Updated internal datadb 2021-10-28 18:03:43 +03:00
andronache
d97b02c7f2 Fixed typo in cover tests and in engine/model_helpers.go 2021-10-11 20:04:01 +03:00
nickolasdaniel
bebaef2454 Almost done making lock file configurable in loaders 2021-09-24 10:09:02 +02:00
Trial97
0ed0b0e7a6 Updated more services 2021-09-13 16:08:39 +02:00
Trial97
a5d95f9fe7 Updated Routes with DynamicWeights 2021-08-30 17:53:42 +03:00
ionutboangiu
59d7e71e4f Rename Route field RatingPlanIDs to RateProfileIDs 2021-08-27 17:33:19 +02:00
Trial97
dc6060b8c9 Updated Cache Reload API 2021-07-29 08:40:51 +02:00
nickolasdaniel
96f11748e2 Removed synchronous field from DispatcherHost and RemoteHost, as well as switched DispatchHost csv files 2021-07-25 12:07:09 +02:00
nickolasdaniel
0c53cc0993 Updated some tests 2021-07-15 18:40:12 +02:00
nickolasdaniel
11d267b3d5 Fixed DispatcherHost related struct fields, added/fixed some tests and redesigned some functions in model_helpers.go 2021-07-15 18:40:12 +02:00
Trial97
34e093f98e Added all dispatcherS APIs 2021-06-17 15:41:41 +02:00
Trial97
0682251fff Removed dispatcher subsystems 2021-06-11 13:11:00 +02:00
porosnicuadrian
183bddb416 Added back chargers apis + context 2021-06-11 12:34:51 +02:00
porosnicuadrian
788919bdaa Added context for routes methods 2021-05-26 20:05:26 +02:00
Trial97
f3639c01f8 Added connection between thresholds and actions 2021-05-26 15:54:36 +02:00
Trial97
8cd952dbe9 Updated StatQueue handling in datamanager 2021-05-26 15:54:36 +02:00
Trial97
30b6cc2c70 Updated Resource handling in datamanager 2021-05-26 15:54:36 +02:00
Trial97
e1b21983c4 Updated Threshold handling in datamanager 2021-05-26 15:54:36 +02:00
ionutboangiu
c8d69b882a Fix errors after adding the context parameters 2021-05-25 20:16:56 +02:00
ionutboangiu
571b6bf19a Fix failing tests after removal of Context from attributes 2021-05-19 19:27:43 +02:00
ionutboangiu
8984f1167c Remove Contexts from Attributes 1.0 2021-05-19 19:27:43 +02:00
Trial97
0a75016833 Updated filter indexing 2021-05-19 15:54:14 +02:00
porosnicuadrian
b4ae5bda72 Context for tests + little fix for cache args struct 2021-05-18 17:26:06 +02:00
porosnicuadrian
6451d4ab1c Added context in accounts methods for apis 2021-05-17 17:58:44 +02:00
porosnicuadrian
13c102e8b8 Added context for Action apis 2021-05-17 17:58:44 +02:00
ionutboangiu
6b71087e90 Remove ActivationInterval from Accounts 2021-05-17 17:54:24 +02:00
ionutboangiu
05de1f5bc4 Remove ActivationInterval from Filters 2021-05-17 17:54:24 +02:00
ionutboangiu
7fe6723ded Fix failing tests after removal of ActivationInterval from Thresholds 2021-05-17 17:54:24 +02:00