a4adb64f5f
refactor: endpoints return EndpointInfo object instead of string
2024-03-05 17:05:40 +01:00
b92a79b0c0
refactor!(connector): unify connector/redis_connector in one class
2024-02-26 14:49:43 +01:00
e5aeb510bf
test: fixed tests
2024-02-23 07:21:22 +01:00
3d087ef87d
fix(AlarmMessage)!: content member (dict) changed to msg (str)
...
In practice it was already used as a message.
2024-02-07 12:43:52 +01:00
8bbfd10ca7
refactor(messages)!: messages refactoring, new serialization module
...
To have a better separation of concern between messages and how they are conveyed in connectors.
BECMessage can be simple dataclasses, leaving the serialization to the connector which transport those.
The serialization module itself can be isolated, and in the case of msgpack it can be extended to
understand how to encode/decode BECMessage, to simplify writing code like with BundleMessage or to
be able to automatically encode numpy or BECStatus objects.
Finally, client objects (producers and consumers) can receive BECMessage objects instead of having
to dump or load themselves.
2024-02-07 12:43:52 +01:00
c01e6df2c1
refactor: changes related to devicemanager refactoring
2023-12-18 16:50:50 +00:00
3a475e7e6e
fix: fixed rpc calls for read_configuration
2023-12-14 18:14:19 +00:00
6eb10810d6
fix: fixed stop instruction for halt
2023-11-27 17:52:23 +00:00
16d4d8618a
test: updated rpc test
2023-11-19 15:11:06 +00:00
06f2d781ae
refactor: rename module BECMessage -> messages
...
This should help to avoid confusion between BECMessage module and
BECMessage class located in the same module
2023-11-10 10:28:53 +01:00
524ef24da0
refactor: flatten bec_lib structure
2023-11-10 10:24:33 +01:00
de5da559a6
refactor: move bec_lib test utils out of core folder
2023-11-10 10:22:51 +01:00
146898ec3f
refactor: run isort on all files
...
$ isort . --profile=black --line-width=100 --multi-line=3 --trailing-comma
2023-11-10 10:22:47 +01:00
08d34a8418
fix: fixed bug in complete for all devices
2023-10-30 12:07:02 +00:00
79c9e3c841
test: added test for obj destruction
2023-08-31 22:21:45 +02:00
a944e43e1a
feat: renamed bec_client_lib to bec_lib
2023-06-28 11:04:24 +02:00
f43d4ebac6
refactor: moved utils into bec_client_lib
2023-06-01 18:01:42 +02:00
28d26b6c39
test: disabled metrics and service info threads for tests
2023-03-20 16:47:28 +01:00
d0134ca4be
refactor: changes related to new config management
2023-03-03 10:36:07 +01:00
d846d55cde
feat: decoupled scibec from core services; added config to redis
2023-02-26 17:33:24 +01:00
stalbe_j
8effbb8a71
tests: added exception tests to handle_device_instructions
2023-02-03 13:11:02 +01:00
stalbe_j
68fcbcfe43
tests:decoupled handle_instructions and changed from mock.magicmock to context managers
2023-02-02 15:46:20 +01:00
stalbe_j
4715628c9d
test: expanded test_trigger_device, rearranged the order of the tests
2023-01-10 13:39:48 +01:00
stalbe_j
e72d4e0751
test: test_update_device_metadata
2023-01-10 11:55:52 +01:00
stalbe_j
34571d2d12
test: test_stop, test_start
2023-01-10 11:38:52 +01:00
stalbe_j
b663290039
test: test_update_status
2023-01-10 11:19:36 +01:00
stalbe_j
3b86d3e965
test: fixed test_handle_device_instructions
2023-01-10 11:07:47 +01:00
8f3d6df6a1
refactor: deviceinstructionmessage should always have at least one device
2023-01-10 10:41:54 +01:00
stalbe_j
0340e06c4c
test:started with test_handle_device_instructions
2023-01-10 09:54:50 +01:00
stalbe_j
0b35a4c669
test: add test_assert_device_is_valid
2023-01-10 09:30:49 +01:00
stalbe_j
4d091b8fdf
test: added test_assert_device_is_enabled
2023-01-10 09:22:54 +01:00
stalbe_j
595376579b
test: improved test_read_device
2023-01-10 08:37:10 +01:00
488654e3a6
test: added device server tests
2022-12-26 11:59:37 +01:00
fa6bfd0d21
fixed device stop for set-disabled devices
2022-10-31 09:11:35 +01:00
875cbf77a1
fixed import
2022-10-26 19:28:52 +02:00
b7536dc650
updated configs
2022-09-18 14:43:40 +02:00
2555c5329f
added stage test
2022-09-18 13:25:53 +02:00
e54ef0c63f
added test placeholder
2022-09-18 13:03:47 +02:00