зеркало из
1
0
Форкнуть 0
Граф коммитов

607 Коммитов

Автор SHA1 Сообщение Дата
Oliva Kar e1c8a7c392 wip 2023-03-08 21:48:06 -08:00
Oliva Kar ffb7457bf6 working , check in windows 2023-03-08 21:30:48 -08:00
Oliva Kar 0a35668f57 wip 2023-03-06 14:27:51 -08:00
Oliva Kar df183510ff wip 2023-03-06 14:25:47 -08:00
olivakar a091be40b1 wip 2023-02-08 15:34:36 -08:00
olivakar 22c7c83214 working with queue 2023-02-02 17:34:24 -08:00
olivakar 60cfd70160 wip 2023-01-31 17:33:29 -08:00
olivakar c99fe357b9 wip 2023-01-30 20:20:57 -08:00
olivakar b49747e713 dps wip 2023-01-26 17:10:04 -08:00
olivakar 30e470e358
Ok/stingy conn (#1089) 2023-01-20 10:05:10 -08:00
olivakar a56c5d2e7a
Sample with items in queue (#1085) 2023-01-19 15:57:53 -08:00
Carter Tinney a0cf419798
[V3] Added typing hints (#1092)
* Added typings to MQTTClient
* Removed weakref implementation for simplicity. We can add it back if necessary later.
* Added mypy as a dev dependency
* Added pre-commit hook
2023-01-17 12:18:09 -08:00
Carter Tinney 36d198ccbe
[V3] Subscribe, Unsubscribe, Publish, Receive, Cancel (MQTTClient) (#1091)
* Added subscribe, unsubscribe and publish APIs
* Added incoming message functionality
* Improved testing coverage
* Added support for cancel to connect and disconnect
2023-01-13 13:34:29 -08:00
Carter Tinney 58f8192758
[V3] Added initial MQTTClient (#1086)
* Added an MQTTClient class (fka MQTTTransport)
* Implemented connect, disconnect and reconnect
* Implemented test infrastructure
2022-12-15 11:20:48 -08:00
Carter Tinney 047035b1bd
[V3] chore: Dropped support for Python 3.6 and added support for 3.11 (#1084)
* Removed support for 3.6
* Added official support for 3.11
* Removed tests related to 3.6
* Added (some) tests for 3.11
* Enabled automatic use of pytest-asyncio
* Removed backport utilities intended for 3.6
* Updated samples
* Updated documentation
* Improved reliability of E2E tests
2022-12-04 03:10:24 -08:00
Carter Tinney bf1506e9e1
Prepare for 3.0.0b1 release (#1079)
* Updated docstring patches for modified APIs
* Updated version
* Updated classifier
* Updated repository URL
* Added migration guide
* Renamed APIs to use "start" and "stop", rather than "enable" and "disable"
2022-11-18 16:34:55 -08:00
Carter Tinney 937e8aed11
[V3] Aligned Publish, Subscribe and Unsubscribe with Paho behavior (#1080) 2022-11-18 12:32:01 -08:00
Carter Tinney 7bf50d51cb
[V3] fix: re-enabled (some) memory leak testing in E2E (#1078)
* Enabled some memory leak tests that had previously been disabled
* Added a `flush_messages` fixture to the E2E infrastructure in order to avoid spurious leaks
* Other small enhancements to logging
2022-11-15 17:20:41 -08:00
Carter Tinney 8ebb505493
[V3] DPS API changes (#1076)
* Added an explicit `.shutdown()` API
* Register now disconnects after any result instead of shutting down
* Enhanced the error pathway on `.register` to ensure the client cannot enter a broken state
2022-11-10 14:26:46 -08:00
Carter Tinney 5570c3ca0d
[V3] feat: remove auto-connect functionality (#1056)
* Removed `AutoConnectStage` from the pipeline
* Removed `auto_connect` kwarg from factory methods
* Updated DPS `.register()` to manually do a connect in lieu of auto-connect functionality
* Updated tests accordingly (except regression/stress)
2022-11-08 10:05:52 -08:00
Carter Tinney 56b57d24bf
[V3 Port #1073] fix: Updated TLS constant (#1074) 2022-11-02 12:44:27 -07:00
Carter Tinney 92544366dd
[V3] feat: manual enable/disable receive APIs (#1059)
* Added new APIs to enable/disable receive functionality
* Removed implicit feature enable/disable when setting receiver handlers
* Removed `RetryStage` and associated unittests
* Updated e2e tests to reflect the new need for manual enable
2022-11-01 11:50:45 -07:00
Carter Tinney 9c5ad7d49b
[V3 Port - #1069] Dont use intermediate cert (#1072)
Co-authored-by: olivakar <oliva.tanusree@gmail.com>
2022-11-01 11:26:14 -07:00
Carter Tinney 70fe35cd2b
Removed unnecessary re-publish (#1067) (#1071) 2022-10-19 18:27:45 -07:00
Carter Tinney 759dfc16e1
Update dps-e2e.yaml for Azure Pipelines (#1068) (#1070)
Co-authored-by: olivakar <oliva.tanusree@gmail.com>
2022-10-19 16:17:49 -07:00
Carter Tinney 6b033532e9
fix: atomic handlers (#1060) (#1063)
* Made handlers atomic to better handle enable/disable feature failure case.
* On sync clients, failure here raised the wrong exceptions. Now it will raise the correct ones.
2022-09-23 13:16:53 -07:00
Carter Tinney be3904e448
chore: E2E Updates (#1062) 2022-09-16 13:17:08 -07:00
Carter Tinney 185bc91866
[V3] feat: remove EnsureDesiredPropertiesStage (#1055)
* Removed `EnsureDesiredPropertiesStage`
* Removed the `ensure_desired_properties` keyword argument to factory methods
2022-09-07 09:19:04 -07:00
Carter Tinney bec78ac07f
[V3] feat: remove deprecated "receive" APIs (#1048)
* Removed all "receive" methods
* Removed all internal support for "receive" methods
2022-09-05 21:39:45 -07:00
Bert Kleewein 3da07802bf
Increase test timeouts (#1046)
* increase timeouts

* add sleep for eventhub listener start

* drop eventhub timeout to 15 minutes

* increase timeouts, make service_helper session scope

* remove extra sleep
2022-08-29 09:17:55 -07:00
Carter Tinney bc2575fb68
chore: Restructure testing directory for future testing (#1045) 2022-08-26 12:27:47 -07:00
Carter Tinney e447556bde
fix: broken release scripts again (#1044)
They are actually fixed now
2022-08-24 08:39:12 -07:00
Sebastian a44d52f5cd
chore: Remove remaining references (#1041) 2022-08-23 19:19:07 -04:00
Carter Tinney e248e9dcd9
Bump package versions for release on 2022-08-23 (#1043)
Co-authored-by: Azure IoT Client Build <aziotclb@microsoft.com>
2022-08-23 14:54:10 -07:00
Carter Tinney a6f7484c65
fix: broken release script (#1042) 2022-08-23 13:29:54 -07:00
Bert Kleewein 2ff2f9d393
fix nightly stress failures (#1040) 2022-08-23 10:59:44 -07:00
Carter Tinney 6cf99f93ff
chore: Updated release scripts (#1039) 2022-08-23 08:07:39 -07:00
Carter Tinney 9b3226298c
doc: Fixed inaccuracy in readme (#1038) 2022-08-22 14:06:41 -07:00
Sebastian ada6ab929a
Fix minor typos (#1036) 2022-08-22 11:29:17 -04:00
Bert Kleewein c91cb47f83
Test: Tests for gate and for fuzzing (#1025)
* Tests for gate and for fuzzing

* Regression test for GitHub issue #990

* update 990 regression app to include more scenarios

* move files and add documentation

* install test utilities for e2e tests

* add test_utils for test-only config

* move iptables to test_utils

* roll back change in iptables logging

* code review feedback

* fix spelling mistakes
2022-08-16 09:15:27 -07:00
Carter Tinney 60535b5554
fix: Addressed broken README image link (#1031) 2022-08-04 13:25:12 -07:00
Carter Tinney 4eb99d80d9
chore: Restructure repository for single project (#1030)
Moved from monorepo style project to src style project
2022-08-04 12:58:57 -07:00
Carter Tinney 744a896e0b
chore: Remove azure-iot-hub source code (#1022)
* Removed service source code
* Updated test requirements to include azure-iot-hub
2022-07-28 12:46:34 -07:00
Bert Kleewein c6a6ee7b5c
fix: Retry on TlsExchangeAuthError (fixes #990) (#1029) 2022-07-27 12:52:53 -07:00
Sebastian d5acff5776
fix: prevent infinite GetTwinOperation loop (#1023)
- Add connection logic to on_get_twin_complete
- Add appropriate unit tests
2022-07-20 14:50:52 -04:00
Bert Kleewein fc680b9a7b
fix tests after pytest_asyncio==0.19.0 change (#1024)
* fix tests after pytest_asyncio==0.19.0 change

* add workaround for python 3.6
2022-07-19 10:20:42 -07:00
Carter Tinney b85dc69194
chore: removed YA fiction references (#1021) 2022-07-12 08:12:47 -07:00
Bert Kleewein c56e40d82e
chore: load e2e environment from same environment variables that node scripts use (#1020)
* chore: load e2e environment from same environment variables that node scripts use

* prefer old variables
2022-07-07 09:42:13 -07:00
Sebastian 2cbbed5e92
chore: Edit logger.error calls (#1019)
* Edit logger.errors that don't need to be called as errors to warning or debug
2022-06-30 10:48:59 -04:00
Carter Tinney 268d4b34f2
refactor (azure-iot-device): Remove ConnectionLockStage (#1017)
* All remaining `ConnectionLockStage` functionality that was not already implemented by the `ConnectionStateStage` has now been moved there
2022-06-23 13:03:27 -07:00