Commit Graph

19 Commits

Author SHA1 Message Date
ionutboangiu
a1ed51b301 Comment services tests 2024-11-14 17:48:09 +01:00
ionutboangiu
21409fc92e Add new CommonListenerService 2024-11-14 17:48:09 +01:00
ionutboangiu
bb9bfbb19b Rename CommonListenerS constructor
NewServer -> NewCommonListenerS
2024-11-14 17:48:09 +01:00
ionutboangiu
5bf8f1756c Extract cores.Server into new commonlisteners package
Functionality is the same.
Server has been renamed to CommonListenerS.
2024-11-04 21:23:15 +01:00
ionutboangiu
f11efbad51 Add precache support for exporters
Additional changes:
- removed unnecessary locking when initializing the exporter
  cache map, as the service itself is responsible for locking.
- separated setupCache method into ClearExporterCache and
  SetupExporterCache methods.
- removed idle ListenAndServe function that was only waiting for the
  stopChan to close. The reload case was unreachable due to the reload
  channel being created in Start instead of being passed down.
- removed Shutdown method on EventExporterS and replaced it with the
  exported ClearExporterCache method as it provided the same
  functionality.
2024-10-29 18:54:51 +01:00
ionutboangiu
0653e9b5d7 Apply go fmt 2022-08-24 09:32:23 +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
Trial97
904a6817e4 Updated internal connections 2021-11-17 18:36:40 +01:00
Trial97
0ed0b0e7a6 Updated more services 2021-09-13 16:08:39 +02:00
Trial97
87ce843810 Updated services 2021-09-13 16:08:39 +02:00
Trial97
d2915a5737 Updated the EEs with the new interface 2021-08-18 16:34:44 +02:00
Trial97
c04c0a5adb Added ConfigDB and option to read config from DB 2021-04-16 17:53:36 +02:00
Trial97
3406d3c7c9 Updated based on new rpc library 2021-04-13 13:35:03 +02:00
andronache
ebce4d39dc Fixed services tests, added tenants to actioncfg in config 2020-12-22 10:50:16 +01:00
andronache
8fa22d732e Test in services 2020-12-21 17:52:03 +01:00
andronache
1bcc013c72 Commented all tests for now to fix errors 2020-12-21 10:30:18 +01:00
DanB
a287c9d1b2 Canceling failing tests in services 2020-12-20 17:20:56 +01:00
andronache
ac2521d04e Coverage tests in services 2020-12-20 17:03:26 +01:00