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

607 Коммитов

Автор SHA1 Сообщение Дата
Carter Tinney 85297787d3
release(azure-iot-device): Release 2020-11-05 (#704)
Co-authored-by: Azure IoT Client Build <aziotclb@microsoft.com>
* bump version to 2.4.0
2020-11-05 18:19:21 -08:00
Carter Tinney b0e82bcb25
fix(azure-iot-device): Fixed .update_sastoken() to reauthorize connection (#701)
- .update_sastoken() will now issue a reauthorization on the pipeline
- because there is now I/O, on the async clients, .update_sastoken() is now a coroutine instead of a method
2020-11-04 14:49:01 -08:00
olivakar 3e8d934cbf
(fix):registration id and indentation fix (#697)
Co-authored-by: olivakar <oliva.kar@microsoft.com>
2020-11-02 09:55:37 -08:00
olivakar 23a3c175de
chore : Mean time recover for P0 (#686) 2020-10-22 17:38:56 -07:00
Carter Tinney bbc62304d7
fix(azure-iot-device): Fixed indentation for sastoken_ttl kwarg (#696) 2020-10-20 17:08:19 -07:00
Carter Tinney 73cace6c44
feature(azure-iot-device): Support for user-provided SAS Tokens (#692)
* Refactored SasToken class into RenewableSasToken
* Added a new type of SasToken class - NonRenewableSasToken
* Modified the SasTokenRenewalStage to only renew RenewableSasTokens
* Added a .create_from_sastoken() API that creates NonRenewableSasTokens from a user's SAS string
* Added a .update_sastoken() API that allows a user to provide a new SAS string, that is used to create a new NonRenewableSasToken
2020-10-19 16:41:36 -07:00
Dane Walton 3824c1d95a
fix(azure-iot-device): Docstring typos in Provisioning
Co-authored-by: Carter Tinney <carter.tinney@microsoft.com>
2020-10-19 13:23:05 -07:00
Carter Tinney aa60e4ccf5
Removed some URL encoding/decoding (#693)
* Removed URL encoding from module id and device id in topic strings
* Left all other URL encoding in topic strings in place for now, since this issue only really affected device and module ids. When Hub makes a new API, we will be able to return to URL encoding all values for consistency
2020-10-16 13:42:11 -07:00
Carter Tinney 24e0cda523
fix(azure-iot-device): Fix flaky HandlerManager tests (#684)
* Fixed bugs in tests due to MagicMocks not being threadsafe
* Optimized tests for better performance

This PR has passed 10 consecutive full pipeline runs with no errors, as well as 1000 consecutive runs on a local machine
2020-10-14 15:40:43 -07:00
Bert Kleewein 365c7d20fc
doc: update documentation on retry policy (#690) 2020-10-09 10:47:04 -07:00
Bradley D'Amato 778ea3b685
Edited DocString in abstract_clients.py from keepalive to keep_alive (#689) 2020-10-08 14:12:33 -07:00
olivakar 7fdbe8a622
Bump package versions for release on 2020-09-30 (#687)
Co-authored-by: Azure IoT Client Build <aziotclb@microsoft.com>
2020-09-29 18:57:03 -07:00
olivakar ecb7623628
Bump package versions for release on 2020-09-29 (#685)
Co-authored-by: Azure IoT Client Build <aziotclb@microsoft.com>
2020-09-29 10:30:08 -07:00
Jelani Brandon f8434bea60
chore(pnp) : Sep 30 GA Release merge to Hub (#683)
* pre GA release

* pre GA release

* chore(pnp):add model id is in all hub samples (#671)

* chore: update registry manager sample with modelID

* Update iothub_registry_manager_sample.py

* fix: wrong wording for using connection string

* Create pnp_iothub_registry_manager_sample.py

* Update pnp_iothub_registry_manager_sample.py

* Update pnp_iothub_registry_manager_sample.py

* Update update_digital_twin_sample.py

* Update get_digital_twin_sample.py

* Update invoke_command_sample.py

* Update invoke_component_command_sample.py

* Rename to DigitalTwinClient (#680)

* chore(azure-iot-hub): rename to DigitalTwinClient

* chore(azure-iot-hub): rename to DigitalTwinClient

* Rename sample (#681)

* chore(azure-iot-hub): rename to DigitalTwinClient

* chore(azure-iot-hub): rename to DigitalTwinClient

* chore(azure-iot-hub): rename sample

* chore: fixing space on blank line

* Update constant.py for 2.2.1 release of device

Co-authored-by: olivakar <oliva.kar@microsoft.com>
Co-authored-by: olivakar <oliva.tanusree@gmail.com>
Co-authored-by: Elena Horton <52430760+elhorton@users.noreply.github.com>
Co-authored-by: Zoltan Varga <zolvarga@microsoft.com>
2020-09-28 16:23:39 -07:00
olivakar addc82a8c2
chore(pnp): device pnp samples (#677) 2020-09-25 20:21:42 -07:00
Carter Tinney 39afe9fbc8
feature(azure-iot-device): Handlers Part 4 (final) (#668)
* Updated samples to use receive handlers
* Formally deprecated old receive method APIs
* .disconnect() will now allow for a graceful program exit
* Misc. other organizational fixes
2020-09-24 15:33:32 -07:00
Elena Horton 9c60234c7b
chore: remove survey link from readme (#674) 2020-09-23 18:11:16 -07:00
olivakar 510b927654
chore(pnp):read me option (#673)
Co-authored-by: olivakar <oliva.kar@microsoft.com>
2020-09-23 11:56:26 -07:00
Carter Tinney 3c5bc5bd85
chore(azure-iot-device): Fixed .invoke_method() documentation (#655) 2020-09-15 14:03:27 -07:00
olivakar a7dcea32b0
Bump package versions for release on 2020-09-11 (#666)
Co-authored-by: Azure IoT Client Build <aziotclb@microsoft.com>
2020-09-10 19:02:19 -07:00
olivakar b99f50eaa9
bump version space (#665)
Co-authored-by: olivakar <oliva.kar@microsoft.com>
2020-09-10 17:47:21 -07:00
olivakar e375c8dfec
reset to proper versions (#660)
Co-authored-by: olivakar <oliva.kar@microsoft.com>
2020-09-10 16:02:00 -07:00
Zoltan Varga 60b8e8d5ec
chore(azure-iot-hub): remove pnp (#663)
* feat(azure-iot-hub): merge pnp to master

* fix(azure-iot-hub): roll back swagger

* chore(azure-iot-hub): remove pnp

Co-authored-by: olivakar <oliva.tanusree@gmail.com>
2020-09-10 15:22:26 -07:00
Zoltan Varga 0e165994a6
fix(azure-iot-hub): roll back swagger (#662)
* feat(azure-iot-hub): merge pnp to master

* fix(azure-iot-hub): roll back swagger
2020-09-10 11:09:39 -07:00
olivakar 6a91050e42
docs (#650)
Co-authored-by: olivakar <oliva.kar@microsoft.com>
2020-09-09 09:55:20 -07:00
Zoltan Varga 3e5974a83b
feat(azure-iot-hub): merge pnp to master (#657) 2020-09-08 18:02:22 -07:00
olivakar e71e203c66
(chore)pnp: update samples, fix bugs, create read me, GA ready API version (#654) 2020-09-08 13:34:07 -07:00
Carter Tinney b9e3e77872
feature(azure-iot-device): Handlers Part 3 (#651)
* Enabled handlers via the clients (sync and async)
* Added client tests for handlers
* Added initial loop management infrastructure
2020-09-03 14:08:11 -07:00
Bert Kleewein e081e2fa6a
chore (azure-iot-device): change message severity for more consistent logging (#649)
* change message severity

* method_name -> methodName

* change a few levels

* code review feedback
2020-08-31 13:12:52 -07:00
olivakar 6081e20f38
logger level and republish (#648)
Co-authored-by: olivakar <oliva.kar@microsoft.com>
2020-08-26 13:14:16 -07:00
Carter Tinney 9496e4d0d5
feature(azure-iot-device): Handler Manager (part 2) (#644)
* Added a HandlerManager to the synchronous client
* Created shared infrastructure for sync/async HandlerManagers
* Added rough event loop management infrastructure to protect async client processes from invoking code with poor performance (could be expanded in the future to be more robust, but it works just fine as is)
* Better error handling and logging for both sync and async HandlerManagers
* Modified how handler removal works - handlers now will be invoked for all pending items in the inbox at time of handler removal request, prior to the actual removal of the handler. Items added to the inbox AFTER handler removal request will NOT be invoked.
* Ensured iothub client is threadsafe in async contexts
2020-08-23 23:59:34 -07:00
olivakar b7d95e5d9a
Bump package versions for release on 2020-08-17 (#645)
Co-authored-by: Azure IoT Client Build <aziotclb@microsoft.com>
2020-08-17 15:11:57 -07:00
Elena Horton f71f3aca22
chore: add link to survey on the readme (#640) 2020-08-04 17:26:33 -07:00
Bert Kleewein 73bd21fb84
fix (azure-iot-device): Update DPS error messages (#641) 2020-08-04 09:03:22 -07:00
olivakar aded2010d5
dps add (#639) 2020-07-31 16:57:24 -07:00
olivakar eb5b667b29
feat(azure-iot-device) : Add user configurable keep alive (#635) 2020-07-30 19:38:35 -07:00
Carter Tinney 9b279cd175
feature(azure-iot-device): Async IoTHub Client Handler Infrastructure (#620)
* Added a handler manager to the async client, which will manage tasks and threads related to handlers
* Added additional client infrastructure to support future handler properties on async clients
* Updated InboxManager to allow for unified messages (input + C2D) in order to be compatible with the proposed handler properties
* Updated Message to allow for the user to see what input the message was sent to
2020-07-17 17:25:51 -07:00
olivakar 11fdf6dcfc
fix(pnp): exclude name from response object (#631) 2020-07-17 16:53:57 -07:00
Elena Horton eedfa49b8d
chore: Add API reference links to readme (#628) 2020-07-17 13:17:13 -07:00
olivakar 12fad01473
fix : pre-commit error (#623)
Co-authored-by: olivakar <oliva.kar@microsoft.com>
2020-07-16 11:01:02 -07:00
Jelani Brandon 03c2539b02
chore: fixing service client update device functions (#613) (#622) 2020-07-15 14:00:48 -07:00
Elena Horton 454f2d7b59
chore: update info on IoT edge for Linux only (#608)
* chore: update info on IoT edge for Linux only

* chore: update readme to clarify iot edge for linux

* chore: added explanation for pip vs pip3

* Update README.md

* Update README.md
2020-07-15 08:54:27 -07:00
Elena Horton ea47c2f533
chore: rename summer helper to preview refresh (#621)
* chore: rename summer helper to preview refresh

* chore: change summer to preview
2020-07-13 16:32:52 -07:00
Yoseph Maguire a90dbb8c8b
chore(pnp): no component sample (#614)
Based on Thermostat  
Connect and transmit modelId 
Demonstrate how to: 
Set and read desired property (target temperature) 
Send telemetry (current temperature) 
Register callback and Handle command (reboot) 
No facade function in this sample 
The sample should be as simple as possible (no abstraction layer, all code in the same file) 
Hard coded is ok, if needed. 
The code contains comments, that allow a developer (with basic PnP knowledge) to understand the code without open any more doc!
2020-07-09 00:27:18 -07:00
olivakar 5fea74585c
fix(pnp) : Added pure helper (#615) 2020-07-08 12:55:54 -07:00
olivakar 04791582ff
pnp interface with components (#607)
Co-authored-by: olivakar <oliva.kar@microsoft.com>
2020-07-05 22:16:47 -07:00
olivakar 9ef19fbd71
Bump package versions for release on 2020-07-02 (#612)
Co-authored-by: Azure IoT Client Build <aziotclb@microsoft.com>
2020-07-02 17:00:32 -07:00
Jelani Brandon 3f356f927e
chore: rename digital-twin-model-id to modelId in mqtt (#609) 2020-07-02 11:08:11 -07:00
olivakar be346986af
ftuture exception (#611) 2020-07-01 18:51:28 -07:00
olivakar 5da8b9dcbc
fix(azure-iot-device) : message properties without values (#598) 2020-06-25 16:01:26 -07:00