Wykres commitów

1333 Commity (revert-274-broker_script_logging)

Autor SHA1 Wiadomość Data
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 69f6114830
Merge branch 'issues/154' into issues/199 2025-06-08 07:57:51 -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 7890888e80
fixes Yakifo/amqtt#144 : reconnect_retries < 0 will retry indefinitely. consistent default for 'reconnect_retries' 2025-06-07 17:38:23 -04:00
Andrew Mirsky 9396feee1a
docker file for building image 2025-06-07 12:21:15 -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 d739217162
fixes #116 : adding reason message to task cancellation on lost connection 2025-06-05 08:24:13 -04:00
Andrew Mirsky 4ddc4c7474
Merge pull request #194 from ajmirsky/issues/55
add `ruff` to ci.yaml
2025-06-04 10:38:31 -04:00
Andrew Mirsky 26c400ea10
Merge pull request #192 from ajmirsky/issues/159
fixes Yakifo/amqtt#159 :  'will' topic docs and tests
2025-06-04 10:38:17 -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 2dc6f1b712
pre-commit checks shouldn't apply _fixes_ automatically 2025-06-03 13:17:35 -04:00
Andrew Mirsky 248ef13536
fixes Yakifo/amqtt#55 : match ci checks with pre-commit checks (ruff added to ci) 2025-06-03 13:13:50 -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 69a1052382
fixes Yakifo/amqtt#157 : get_event_loop is deprecated, replacing with asyncio.run and new_event_loop (where applicable) 2025-06-03 11:42:50 -04:00
Andrew Mirsky 031ce83107
removing unneeded import 2025-06-03 11:15:48 -04:00
Andrew Mirsky eebec2e604
adding documentation for additional client configuration options 2025-06-03 11:11:07 -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 76661e4625
Merge pull request #190 from ajmirsky/test_paho
resolve #170. add tests to verify compatibility with paho-mqtt library
2025-06-01 11:17:52 -04:00
Andrew Mirsky b30a52386f
Merge branch 'rc' into test_paho 2025-06-01 11:12:46 -04:00
Andrew Mirsky 0f632f9901
Merge pull request #189 from ajmirsky/plugin_cleanup
plugin interface and documentation updates
2025-06-01 11:10:58 -04:00
Andrew Mirsky 1456cc5e2d
Merge pull request #186 from ajmirsky/mypy16
Upgrade to mypy 1.16
2025-06-01 11:10:42 -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 4c3fbd7112
correct incorrect reference to BasePlugin 2025-06-01 11:03:20 -04:00
Andrew Mirsky f439f6fb7d
fixing test case to align with additional warning method 2025-05-31 17:11:16 -04:00
Andrew Mirsky 216bb5cf8a
removing unneeded files 2025-05-31 15:05:21 -04:00
Andrew Mirsky 802bad152a
removing ruff format from the precommit hook configuration as it isn't enforced in ci 2025-05-31 13:01:09 -04:00
Andrew Mirsky 92eb3da74b
the sys/broker plugin requires the full BrokerContext. moving 'BasePlugin' into its own file to remove a circular import. also fixing lint errors and updating pre commit config to mirror the checks being run in ci only 2025-05-31 12:59:24 -04:00
Andrew Mirsky 0e21aed8f1
resolving conflicts 2025-05-31 12:08:54 -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 a166258ad8
upgrading to mypy 1.16, which has stricter checking on byte/bytearray 2025-05-30 13:41:10 -04:00
Andrew Mirsky 9508bf56fe
Merge pull request #169 from ajmirsky/documentation_update
documentation update for 0.11.0
2025-05-30 12:25:26 -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 549e04fd57
Merge branch 'rc' into documentation_update 2025-05-30 12:05:26 -04:00
Andrew Mirsky e3ba3e3902
formatting fix 2025-05-30 12:03:28 -04:00
Andrew Mirsky bfe37bcd36
Merge pull request #185 from ajmirsky/gitignore_simplification
simplifying `.gitignore`
2025-05-30 11:58:44 -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 92d70fe504
lint cleanup of script files. bypassing line length for these files to keep the help messages from distracting from the function parameters 2025-05-29 15:12:43 -04:00
Andrew Mirsky 9059f69776
refining the doc pages for the included scripts, use the actual command line help messages to generate the pages. clean up the command line help messages for consistency and clarity 2025-05-29 14:59:39 -04:00
Andrew Mirsky a0b5d29aea
simplifying the gitignore file so that it is easier to identify what is / isn't included 2025-05-29 13:31:38 -04:00
Andrew Mirsky 582d370b12
Merge branch 'rc' into documentation_update 2025-05-29 13:29:26 -04:00