Skip to content

Commit

Permalink
Fix DPS registration over HTTP with escaped characters in the registr… (
Browse files Browse the repository at this point in the history
Azure#3059)

* Fix DPS registration over HTTP with escaped characters in the registration Id

* CR feedback

* Test invalid value in registration Id for symmetric key
  • Loading branch information
David R. Williamson authored Jan 11, 2023
1 parent 71779af commit bf51d05
Show file tree
Hide file tree
Showing 6 changed files with 332 additions and 357 deletions.
172 changes: 90 additions & 82 deletions e2e/test/provisioning/ProvisioningE2ETests.cs

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ public async Task RunSampleAsync()

private ProvisioningTransportHandler GetTransportHandler()
{
Console.WriteLine($"Using transport type {_parameters.TransportType}.");
return _parameters.TransportType switch
{
TransportType.Mqtt => new ProvisioningTransportHandlerMqtt(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<RootDir>$(MSBuildProjectDirectory)\..\..\..\..</RootDir>
<LangVersion>8.0</LangVersion>
</PropertyGroup>

Expand Down
Loading

0 comments on commit bf51d05

Please sign in to comment.