Skip to content

Commit

Permalink
Merged PR 893826: Update deviceSDK version
Browse files Browse the repository at this point in the history
Update deviceSDK version with the TrustBundle fix
  • Loading branch information
ancaantochi committed Jun 12, 2018
1 parent 13b90ec commit 6837f7e
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Azure.Devices" Version="1.16.0-preview-005" />
<PackageReference Include="Microsoft.Azure.Devices.Client" Version="1.17.0-preview-010" />
<PackageReference Include="Microsoft.Azure.Devices.Client" Version="1.17.0-preview-012" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ internal async Task<MethodResponse> MethodCallHandler(MethodRequest methodreques

Events.MethodCallReceived(this.cloudProxy.clientId);

var direceMethodRequest = new DirectMethodRequest(this.cloudProxy.clientId, methodrequest.Name, methodrequest.Data, DeviceMethodMaxResponseTimeout);
var direceMethodRequest = new Core.DirectMethodRequest(this.cloudProxy.clientId, methodrequest.Name, methodrequest.Data, DeviceMethodMaxResponseTimeout);
DirectMethodResponse directMethodResponse = await this.cloudListener.CallMethodAsync(direceMethodRequest);
MethodResponse methodResponse = directMethodResponse.Data == null ? new MethodResponse(directMethodResponse.Status) : new MethodResponse(directMethodResponse.Data, directMethodResponse.Status);
return methodResponse;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

<ItemGroup>
<PackageReference Include="JetBrains.Annotations" Version="11.1.0" />
<PackageReference Include="Microsoft.Azure.Devices.Client" Version="1.17.0-preview-010" />
<PackageReference Include="Microsoft.Azure.Devices.Client" Version="1.17.0-preview-012" />
<PackageReference Include="System.ValueTuple" Version="4.4.0" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public class CloudReceiverTest
public async Task MethodCallHandler_WhenResponse_WithRequestIdReceived_Completes()
{
var cloudListener = new Mock<ICloudListener>();
cloudListener.Setup(p => p.CallMethodAsync(It.IsAny<DirectMethodRequest>())).Returns(Task.FromResult(new DirectMethodResponse(RequestId, Data, StatusCode)));
cloudListener.Setup(p => p.CallMethodAsync(It.IsAny<Core.DirectMethodRequest>())).Returns(Task.FromResult(new DirectMethodResponse(RequestId, Data, StatusCode)));
var messageConverter = new Mock<IMessageConverterProvider>();
var identity = Mock.Of<IIdentity>(i => i.Id == "device1");

Expand All @@ -35,7 +35,7 @@ public async Task MethodCallHandler_WhenResponse_WithRequestIdReceived_Completes
var cloudReceiver = new CloudProxy.CloudReceiver(cloudProxy, cloudListener.Object);

MethodResponse methodResponse = await cloudReceiver.MethodCallHandler(new MethodRequest(MethodName, Data), null);
cloudListener.Verify(p => p.CallMethodAsync(It.Is<DirectMethodRequest>(x => x.Name == MethodName && x.Data == Data)), Times.Once);
cloudListener.Verify(p => p.CallMethodAsync(It.Is<Core.DirectMethodRequest>(x => x.Name == MethodName && x.Data == Data)), Times.Once);
Assert.NotNull(methodResponse);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Azure.Devices.Client" Version="1.17.0-preview-010" />
<PackageReference Include="Microsoft.Azure.Devices.Client" Version="1.17.0-preview-012" />
<PackageReference Include="Microsoft.Extensions.Configuration" Version="2.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="2.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="2.0.0" />
Expand Down
2 changes: 1 addition & 1 deletion edge-modules/TemperatureFilter/TemperatureFilter.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Azure.Devices.Client" Version="1.17.0-preview-010" />
<PackageReference Include="Microsoft.Azure.Devices.Client" Version="1.17.0-preview-012" />
<PackageReference Include="Microsoft.Extensions.Configuration" Version="2.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="2.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="2.0.0" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Azure.Devices.Client" Version="1.17.0-preview-010" />
<PackageReference Include="Microsoft.Azure.Devices.Client" Version="1.17.0-preview-012" />
<PackageReference Include="Microsoft.Azure.WebJobs.Extensions" Version="3.0.0-beta3" />
</ItemGroup>

Expand Down

0 comments on commit 6837f7e

Please sign in to comment.