Skip to content

Commit fedd2c4

Browse files
authored
Merge pull request Azure#10157 from anusapan/routing-source-dt
Add new routing source
2 parents ffa5d2e + 60bf8ae commit fedd2c4

File tree

14 files changed

+3603
-4729
lines changed

14 files changed

+3603
-4729
lines changed

src/DeviceProvisioningServices/DeviceProvisioningServices.Test/DeviceProvisioningServices.Test.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
<ItemGroup>
1414
<PackageReference Include="Microsoft.Azure.Management.DeviceProvisioningServices" Version="0.10.0-preview" />
15-
<PackageReference Include="Microsoft.Azure.Management.IotHub" Version="2.9.0-preview" />
15+
<PackageReference Include="Microsoft.Azure.Management.IotHub" Version="2.10.0-preview" />
1616
</ItemGroup>
1717

1818
</Project>

src/DeviceProvisioningServices/DeviceProvisioningServices.Test/SessionRecords/Commands.DeviceProvisioningServices.Test.IotDpsAccessPolicyTests/IotDpsAccessPolicyLifeCycle.json

Lines changed: 318 additions & 591 deletions
Large diffs are not rendered by default.

src/DeviceProvisioningServices/DeviceProvisioningServices.Test/SessionRecords/Commands.DeviceProvisioningServices.Test.IotDpsLinkedHubTests/IotDpsLinkedHubLifeCycle.json

Lines changed: 581 additions & 1550 deletions
Large diffs are not rendered by default.

src/DeviceProvisioningServices/DeviceProvisioningServices.Test/SessionRecords/Commands.DeviceProvisioningServices.Test.IotDpsTests/IotDpsLifeCycle.json

Lines changed: 369 additions & 255 deletions
Large diffs are not rendered by default.

src/IotHub/IotHub.Test/IotHub.Test.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
<ItemGroup>
1414
<PackageReference Include="Microsoft.Azure.Management.EventHub" Version="2.5.0" />
15-
<PackageReference Include="Microsoft.Azure.Management.IotHub" Version="2.9.0-preview" />
15+
<PackageReference Include="Microsoft.Azure.Management.IotHub" Version="2.10.0-preview" />
1616
</ItemGroup>
1717

1818
</Project>

src/IotHub/IotHub.Test/ScenarioTests/IotHubTests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ function Test-AzureRmIotHubLifecycle
3030
$IotHubName = getAssetName
3131
$ResourceGroupName = getAssetName
3232
$Sku = "B1"
33-
$namespaceName = getAssetName
33+
$namespaceName = getAssetName 'eventHub'
3434
$eventHubName = getAssetName
3535
$authRuleName = getAssetName
3636
$Tag1Key = "key1"

src/IotHub/IotHub.Test/SessionRecords/Microsoft.Azure.Commands.IotHub.Test.ScenarioTests.IotHubRoutingTests/TestAzureIotHubRoutingLifeCycle.json

Lines changed: 923 additions & 980 deletions
Large diffs are not rendered by default.

src/IotHub/IotHub.Test/SessionRecords/Microsoft.Azure.Commands.IotHub.Test.ScenarioTests.IotHubTests/TestAzureIotHubLifeCycle.json

Lines changed: 1402 additions & 1345 deletions
Large diffs are not rendered by default.

src/IotHub/IotHub/ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
- Additional information about change #1
1919
-->
2020
## Upcoming Release
21+
* Add new routing source: DigitalTwinChangeEvents
2122

2223
## Version 1.3.0
2324
* Add support to invoke failover for an IotHub to the geo-paired disaster recovery region.

src/IotHub/IotHub/IotHub.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
</PropertyGroup>
1212

1313
<ItemGroup>
14-
<PackageReference Include="Microsoft.Azure.Management.IotHub" Version="2.9.0-preview" />
14+
<PackageReference Include="Microsoft.Azure.Management.IotHub" Version="2.10.0-preview" />
1515
</ItemGroup>
1616

1717
</Project>

src/IotHub/IotHub/Models/PSRoutingSource.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ public enum PSRoutingSource
2424
DeviceMessages,
2525
TwinChangeEvents,
2626
DeviceLifecycleEvents,
27-
DeviceJobLifecycleEvents
27+
DeviceJobLifecycleEvents,
28+
DigitalTwinChangeEvents
2829
}
2930
}

src/IotHub/IotHub/help/Add-AzIotHubRoute.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ Source of the route
195195
Type: Microsoft.Azure.Commands.Management.IotHub.Models.PSRoutingSource
196196
Parameter Sets: (All)
197197
Aliases:
198-
Accepted values: Invalid, DeviceMessages, TwinChangeEvents, DeviceLifecycleEvents, DeviceJobLifecycleEvents
198+
Accepted values: Invalid, DeviceMessages, TwinChangeEvents, DeviceLifecycleEvents, DeviceJobLifecycleEvents, DigitalTwinChangeEvents
199199

200200
Required: True
201201
Position: Named

src/IotHub/IotHub/help/Set-AzIotHubRoute.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ Source of the route
221221
Type: System.Nullable`1[Microsoft.Azure.Commands.Management.IotHub.Models.PSRoutingSource]
222222
Parameter Sets: (All)
223223
Aliases:
224-
Accepted values: Invalid, DeviceMessages, TwinChangeEvents, DeviceLifecycleEvents, DeviceJobLifecycleEvents
224+
Accepted values: Invalid, DeviceMessages, TwinChangeEvents, DeviceLifecycleEvents, DeviceJobLifecycleEvents, DigitalTwinChangeEvents
225225

226226
Required: False
227227
Position: Named

src/IotHub/IotHub/help/Test-AzIotHubRoute.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ Source of the route
239239
Type: Microsoft.Azure.Commands.Management.IotHub.Models.PSRoutingSource
240240
Parameter Sets: InputObjectTestAllRouteSet, TestAllRouteSet, ResourceIdTestAllRouteSet
241241
Aliases:
242-
Accepted values: Invalid, DeviceMessages, TwinChangeEvents, DeviceLifecycleEvents, DeviceJobLifecycleEvents
242+
Accepted values: Invalid, DeviceMessages, TwinChangeEvents, DeviceLifecycleEvents, DeviceJobLifecycleEvents, DigitalTwinChangeEvents
243243

244244
Required: True
245245
Position: 1

0 commit comments

Comments
 (0)