Wykres commitów

271 Commity (9c4d5ad3d4c86d0d68997b9c781c8952b54b9821)

Autor SHA1 Wiadomość Data
Andrew Mirsky 4729166d99
lint fix 2025-06-14 15:39:39 -04:00
Andrew Mirsky 364273e684
marking test for broker sys plugin as xfail, because it fails on github workflow but not locally 2025-06-14 15:28:46 -04:00
Andrew Mirsky aace4d65f7
Merge pull request #212 from ajmirsky/plugin_call_optimization
reduce call logic for plugin coros: authenticate, topic_filtering, close
2025-06-14 10:19:39 -04:00
Andrew Mirsky 6b00521ca7
Merge branch 'rc' into issues/199 2025-06-14 10:14:40 -04:00
Andrew Mirsky 54af134832
Merge pull request #203 from ajmirsky/issues/51
fixes Yakifo/amqtt#51 : plugins which fail to import or initialize
2025-06-14 10:11:34 -04:00
Andrew Mirsky 90167d060f
Merge branch 'rc' into issues/199 2025-06-14 10:08:34 -04:00
Andrew Mirsky 101e32af64
Merge branch 'rc' into issues/154 2025-06-14 10:03:09 -04:00
Andrew Mirsky 67fd2970ab
Merge pull request #201 from ajmirsky/issues/67
clarifying reason for `ClientError`
2025-06-14 10:01:06 -04:00
Andrew Mirsky bc44f170ba
Merge branch 'rc' into issues/67 2025-06-14 09:56:01 -04:00
Andrew Mirsky e2842dd7e5
Merge pull request #202 from ajmirsky/issues/86
verify that issue #86 has been fixed
2025-06-14 09:53:42 -04:00
Andrew Mirsky 532c8118e6
Merge branch 'rc' into issues/51 2025-06-14 09:51:42 -04:00
Andrew Mirsky b72c7d4f28
Merge branch 'rc' into plugin_call_optimization 2025-06-14 09:51:12 -04:00
Andrew Mirsky 18ad76bcd3
Merge pull request #213 from ajmirsky/event_strenum
Create `StrEnum` for the broker events
2025-06-14 09:47:19 -04:00
Andrew Mirsky 5a4fb993b7
Merge branch 'rc' into issues/154 2025-06-14 09:44:43 -04:00
Andrew Mirsky d69a14c06a
Merge branch 'rc' into issues/154 2025-06-14 09:40:38 -04:00
Andrew Mirsky 89a0b88491
Merge pull request #211 from ajmirsky/issues_210
fixes amqtt/Yakifo#210 :
2025-06-14 09:39:22 -04:00
Andrew Mirsky 3c07a39877
Merge remote-tracking branch 'source/rc' into event_strenum 2025-06-14 09:38:44 -04:00
Andrew Mirsky 038fee7cf4
remove test_sys 2025-06-14 09:26:55 -04:00
Andrew Mirsky 51102a435b
converting from event strings to a string enumeration 2025-06-13 16:17:22 -04:00
Andrew Mirsky 43efa4c829
instead of filtering upon call of the plugin's coro, filter upon plugin loading 2025-06-12 19:12:33 -04:00
Andrew Mirsky fed5b8eb08
shutdown broker when test completes 2025-06-12 11:03:28 -04:00
Andrew Mirsky e7882a3755
fixes amqtt/Yakifo#210 : when reconnect is false, authentication failure causes NoDataError instead of ConnectError 2025-06-12 10:52:44 -04:00
Andrew Mirsky 7b936d785c
loading plugins from config file, bypassing entry points. authenticate and subscribe/publish 2025-06-12 08:37:27 -04:00
Andrew Mirsky e69cb12652
fixing test case for python 3.12 2025-06-09 12:21:22 -04:00
Andrew Mirsky 18bfb6d9c5
python 3.12 requires the connect packet before forcing the socket to disconnect 2025-06-09 00:24:40 -04:00
Andrew Mirsky 2caa792d69
fixes Yakifo/amqtt#51 : plugins which fail to import or load should stop the broker from starting 2025-06-09 00:11:06 -04:00
Andrew Mirsky 2b1599e6af
fixes Yakifo/amqtt#86 : verify that the issue has been fixed 2025-06-08 22:42:49 -04:00
Andrew Mirsky 52b69ee068
fixes Yakifo/amqtt#67 : malformed uri or incorrect scheme should raise a ConnectError (not a ClientError) 2025-06-08 10:29:14 -04:00
Andrew Mirsky 1756d93ebd
removing cli test cases for verifying will messages, better done through unit test cases in test_client.py 2025-06-08 10:00:13 -04:00
Andrew Mirsky ac8782772f
removing inaccurate tests 2025-06-08 07:42:07 -04:00
Andrew Mirsky 58d431f2f5
adding test case for issue 67 2025-06-08 00:06:17 -04:00
Andrew Mirsky 2093cc5961
fixes Yakifo/amqtt#199 : cleanly disconnected clients should not send will messages. fixing client tests, adding additional. and correcting the broker's client handler so that normal or abnormal disconnections end the client's session and stop processing messages from the client 2025-06-07 23:56:30 -04:00
Andrew Mirsky f3291eda2f
fixes Yakifo/amqtt#154 : will message is allowed to have zero length. and the StreamReader can return 'None' or zero and they have different implications. if reading value in order to read from a stream and the length is zero, return a NoDataError. Creating exception class to satisfy EM101 and TRY003 2025-06-07 18:21:08 -04:00
Andrew Mirsky 80016d8cca
Merge pull request #191 from ajmirsky/add_test_coverage
Add test coverage
2025-06-05 11:32:05 -04:00
Andrew Mirsky 9d3d9bd7e2
using 'n' messages to force amqtt_sub to exit, instead of SIGINT which seems to cause the process to force quit instead of causing a keyboard interupt 2025-06-03 18:29:13 -04:00
Andrew Mirsky dd666811a5
increasing timeout for longer running cli tests, adding asyncio wrapper on test_client test 2025-06-03 11:55:03 -04:00
Andrew Mirsky 031ce83107
removing unneeded import 2025-06-03 11:15:48 -04:00
Andrew Mirsky 1752895a39
fixes Yakifo/amqtt#159 : tests/test_client.py::test_client_publish_will_with_retain 2025-06-03 10:58:56 -04:00
Andrew Mirsky 2683e0772e
Merge pull request #182 from ajmirsky/qos_test_cases
Fixing QoS test cases
2025-06-02 23:34:04 -04:00
Andrew Mirsky f049ee2931
python 3.10 still differentiates between asyncio.TimeoutError and the built-in TimeoutError 2025-06-02 23:32:39 -04:00
Andrew Mirsky b30a52386f
Merge branch 'rc' into test_paho 2025-06-01 11:12:46 -04:00
Andrew Mirsky 371e76fb30
adding test to cover adapter base classes. adding test for BrokerSysPlugin 2025-06-01 11:09:40 -04:00
Andrew Mirsky f439f6fb7d
fixing test case to align with additional warning method 2025-05-31 17:11:16 -04:00
Andrew Mirsky 7f60d8d399
Merge branch 'rc' into test_paho 2025-05-31 12:06:06 -04:00
Andrew Mirsky 1e1e2026d3
cleaning up plugin interface and documentation 2025-05-30 18:50:31 -04:00
Andrew Mirsky 4701ba3faa
disabling rich output for script help 2025-05-30 12:21:15 -04:00
Andrew Mirsky 44dfd58972
disabling rich output to verify usage message is generated correctly 2025-05-30 12:11:47 -04:00
Andrew Mirsky 8f9e8afb63
clean up of the command line docs, caused inconsistent behavior between pub and sub script. limiting to mypy 1.15, since newer version has breaking changes 2025-05-29 16:29:05 -04:00
Andrew Mirsky 97436e5dcd
resolve #170. add tests to verify compatibility with paho-mqtt library 2025-05-26 16:49:57 -04:00
Andrew Mirsky ec31def92c
enhancing the 'test_init_handler' case so that it checks to make sure that the ProtocolHandler defaults to the correct loop. 2025-05-26 10:46:11 -04:00