Azure IoT SDK for Java Release 2020-3-13
Java IotHub Service Client (com.microsoft.azure.sdk.iot:iot-service-client:1.21.0)
- Enables new security functionality to specify how hub should authenticate when working with a storage account when running import/export devices jobs. Initially, this feature has limited availability, starting with 3 public cloud Azure regions. Since it is not yet widely available, this functionality must be explicitly enabled by the user. See below (1) for details.
- New property
JobProperties.StorageAuthenticationType
for use in import/export devices jobs. - Added overloaded methods:
RegistryManager.importDevicesAsync
,RegistryManager.importDevices
,RegistryManager.exportDevicesAsync
andRegistryManager.exportDevices
. The overloads take aJobProperties
instance so the user can pass all required and any optional parameters. - Two factory methods to make it easier to call
importDevicesAsync
,importDevices
,exportDevicesAsync
andexportDevices
making it clear which properties are required and which are optional. They areJobProperties.createForImportJob
andJobProperties.createForExportJob
respectively.
- New property
- Updated reference to com.microsoft.azure.sdk.iot:iot-deps
(1) To enable this functionality, this version of the SDK will require setting an environment variable of
EnableStorageIdentity
to1
. Once this feature is widely available, another SDK version will be released with this requirement removed.
Java IotHub Device Client (com.microsoft.azure.sdk.iot:iot-device-client:1.20.2)
- Upgraded version of Azure Storage dependency
- Updated reference to com.microsoft.azure.sdk.iot:iot-deps
Java SDK Dependency (com.microsoft.azure.sdk.iot:iot-deps:0.9.2)
- New enum
StorageAuthenticationType
to specify key-based or identity-based authentication. - Adding support for JobPropertiesParser for a new enum
StorageAuthenticationType
Java Provisioning Security x509 Provider (com.microsoft.azure.sdk.iot.provisioning.security:x509-provider:1.1.4)
- Upgraded version of bouncy castle dependency
Java Provisioning Device Client (com.microsoft.azure.sdk.iot.provisioning:provisioning-device-client:1.8.1)
- Updated reference to com.microsoft.azure.sdk.iot.provisioning.security:x509-provider
- Updated reference to com.microsoft.azure.sdk.iot:iot-deps
Java Provisioning Device Client (com.microsoft.azure.sdk.iot.provisioning:provisioning-service-client:1.6.1)
- Updated reference to com.microsoft.azure.sdk.iot.provisioning.security:x509-provider
- Updated reference to com.microsoft.azure.sdk.iot:iot-deps
Merge Pull Request
#717, #725, #726, #723
Maven packages
https://search.maven.org/artifact/com.microsoft.azure.sdk.iot/iot-device-client/1.20.2/jar
https://search.maven.org/artifact/com.microsoft.azure.sdk.iot/iot-service-client/1.21.0/jar
https://search.maven.org/artifact/com.microsoft.azure.sdk.iot/iot-deps/0.9.2/jar
https://search.maven.org/artifact/com.microsoft.azure.sdk.iot.provisioning.security/x509-provider/1.1.4/jar
https://search.maven.org/artifact/com.microsoft.azure.sdk.iot.provisioning/provisioning-device-client/1.8.1/jar
https://search.maven.org/artifact/com.microsoft.azure.sdk.iot.provisioning/provisioning-service-client/1.6.1/jar