olivakar
48957bd907
Update build.yaml for Azure Pipelines
2024-01-18 17:40:18 -08:00
olivakar
2d2ae0a8e3
Update build.yaml for Azure Pipelines
2024-01-18 17:37:10 -08:00
Carter Tinney
d559dce72f
Added setuptools install and dps e2e yaml ( #1164 )
...
* Added setuptools install
* Update dps-e2e.yaml
* Update dps-e2e.yaml
---------
Co-authored-by: olivakar <oliva.tanusree@gmail.com>
2024-01-18 10:47:46 -08:00
Carter Tinney
5d343d5904
Static analysis fixes ( #1154 )
...
Fixed incorrect type checking logic flagged by flake8
2023-08-28 09:52:26 -07:00
Ludovic Rivallain
014440103e
Fix: empty payload ( #1105 )
...
Closes #1081
Signed-off-by: Ludovic Rivallain <ludovic.rivallain@gmail.com>
2023-08-28 08:56:35 -07:00
olivakar
d74b222682
sample(azure-iot-device): dps re-provision sample ( #1109 )
2023-08-28 08:54:13 -07:00
olivakar
0fb74d7eed
Ok/stingy conn ( #1089 )
2023-08-28 08:53:23 -07:00
olivakar
92b44b6624
Sample with items in queue ( #1085 )
2023-08-28 08:52:55 -07:00
olivakar
57a2dd8d00
Connection retry with recurring telemetry ( #1075 )
2023-08-28 08:51:47 -07:00
olivakar
e781c762a4
Dont use intermediate cert ( #1069 )
2023-08-28 08:50:28 -07:00
olivakar
9118ab79bd
Update dps-e2e.yaml for Azure Pipelines ( #1068 )
2023-08-28 08:49:37 -07:00
Carter Tinney
cde7259559
Removed unnecessary re-publish ( #1067 ) ( #1071 )
2023-08-28 08:48:14 -07:00
Bert Kleewein
893e446ae3
Test: Use different consumer groups for different E2E and nightly tests ( #1047 )
...
* test multiple consumer groups on canary
* move nightly jobs to their own consumer groups
2022-09-01 11:22:39 -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
Carter Tinney
03978767a9
doc (azure-iot-device): Fixed incorrect test documentation for EnsureDesiredPropertiesStage ( #1018 )
...
* Several tests were incorrectly identified as "OCCURRENCE"
* Fixed a mislabeled test
2022-06-23 09:54:36 -07:00
Sebastian
fb183b11f8
Add EnsureDesiredPropertiesStage kwarg ( #1013 )
...
- Added ensure_desired_properties to abstract_clients and shared_client_tests
- Added unit tests
2022-06-23 11:13:27 -04:00
Carter Tinney
63a327c27c
fix (azure-iot-device): Prevent duplicate twin GET upon Connect ( #1016 )
...
* Stages (except the MQTTTransportStage) now always invoke `.send_event_up`() at the _end_ of the `.handle_pipeline_event()` call
* Now that connection state has been improved by previous PRs, we no longer have to work around timing issues by invoking `.send_event_up()` early
* By doing things in the correct order, we now will no longer be accidentally republishing the twin GET that triggers upon connection
* Fixes #994
2022-06-22 10:21:39 -07:00
Carter Tinney
7ca9ffe643
fix (azure-iot-device): PipelineNucleus connection state is now the single source of truth regarding connection ( #1014 )
...
* Removed the boolean `.connected` attribute being set on the `PipelineNucleus` by the `PipelineRootStage`
* `.connected` is now a property that is derived from the `connection_state` attribute, which is set by the `ConnectionStateStage`
* This is now the single source of truth for the connection state
* Added additional testing fixtures to allow for easy mocking of the connection state
* Note that changes made to the `ConnectionLockStage` are merely a stopgap until the entire stage can be removed
2022-06-22 08:23:38 -07:00
Carter Tinney
6d08c986a7
refactor(azure-iot-device): ReconnectStage -> ConnectionStateStage ( #1012 )
...
* Renamed ReconnectStage to ConnectionStateStage
* Reduced footprint of the connection retry conditional
* Updated tests to account for new approach to connection retry conditional
* Updated logging
2022-06-17 09:51:53 -07:00
Carter Tinney
d2fa4bb167
refactor(azure-iot-device): .pipeline_nucleus -> .nucleus ( #1011 )
2022-06-16 11:44:24 -07:00
Carter Tinney
539e12ad48
refactor(azure-iot-device): Added PipelineNucleus object ( #1010 )
...
* Added PipelineNucleus and refactored
2022-06-15 20:14:02 -07:00
Sebastian
bdc391b4ae
Bugfix for KeyError when deleting pending response ID ( #1008 )
...
- Addresses KeyError message when enabling on_twin_desired_properties_patch_received
- Inconsistencies with how connection states are handled will be further addressed
2022-06-14 16:34:13 -04:00
Sebastian
9e98c663b7
chore: Fix typos ( #1005 )
...
* fixes typos
* Fix param
* Addressed PR feedback
Co-authored-by: Carter Tinney <carter.tinney@microsoft.com>
2022-05-24 13:04:50 -04:00
Sebastian
016f1c2c7a
Update black rev ( #1007 )
...
Co-authored-by: Sebastian Metoyer <smetoyer@microsoft.com>
2022-05-23 21:50:39 -04:00
Carter Tinney
f41c105752
Delete old version ( #1006 )
2022-05-23 17:49:07 -07:00
Bert Kleewein
b170acf2a1
Fix (azure-iot-hub): Set keepalive on Service AMQP connection. Fixes #947 ( #955 )
2022-05-23 15:04:29 -07:00
Carter Tinney
2f0e3f2325
chore: Improve setup instructions ( #1002 )
2022-05-20 14:36:05 -07:00
microsoft-github-policy-service[bot]
c140c0245b
Add SECURITY.md ( #999 )
...
Co-authored-by: microsoft-github-policy-service[bot] <77245923+microsoft-github-policy-service[bot]@users.noreply.github.com>
2022-05-20 11:39:15 -07:00
Bert Kleewein
2223ec7bdb
chore: move to trusted node image for aedes container ( #998 )
2022-05-17 17:32:25 -07:00
Carter Tinney
c210f8cc04
chore: Remove reference to Provisioning Service Client from README( #992 )
2022-04-28 15:17:55 -07:00