Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Service Bus libraries from ServerCommon #8420

Merged
merged 1 commit into from
Mar 25, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/DatabaseMigrationTools/DatabaseMigrationTools.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="NuGet.Services.Validation">
<Version>2.84.0</Version>
<Version>2.86.0</Version>
</PackageReference>
</ItemGroup>
<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
<Version>4.3.0-dev-3612825</Version>
</PackageReference>
<PackageReference Include="NuGet.Services.Cursor">
<Version>2.84.0</Version>
<Version>2.86.0</Version>
</PackageReference>
</ItemGroup>
<ItemGroup>
Expand Down
8 changes: 4 additions & 4 deletions src/NuGetGallery.Core/NuGetGallery.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<Version>5.9.0</Version>
</PackageReference>
<PackageReference Include="NuGet.Services.FeatureFlags">
<Version>2.84.0</Version>
<Version>2.86.0</Version>
</PackageReference>
<PackageReference Include="WindowsAzure.Storage">
<Version>9.3.3</Version>
Expand All @@ -56,13 +56,13 @@

<ItemGroup Condition="'$(TargetFramework)' == 'net472'">
<PackageReference Include="NuGet.Services.Messaging.Email">
<Version>2.84.0</Version>
<Version>2.86.0</Version>
</PackageReference>
<PackageReference Include="NuGet.Services.Validation">
<Version>2.84.0</Version>
<Version>2.86.0</Version>
</PackageReference>
<PackageReference Include="NuGet.Services.Validation.Issues">
<Version>2.84.0</Version>
<Version>2.86.0</Version>
</PackageReference>
<PackageReference Include="NuGet.StrongName.elmah.corelibrary">
<Version>1.2.2</Version>
Expand Down
4 changes: 2 additions & 2 deletions src/NuGetGallery.Services/NuGetGallery.Services.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -309,10 +309,10 @@
<Version>5.9.0</Version>
</PackageReference>
<PackageReference Include="NuGet.Services.Configuration">
<Version>2.84.0</Version>
<Version>2.86.0</Version>
</PackageReference>
<PackageReference Include="NuGet.Services.Logging">
<Version>2.84.0</Version>
<Version>2.86.0</Version>
</PackageReference>
<PackageReference Include="NuGet.StrongName.WebBackgrounder">
<Version>0.2.0</Version>
Expand Down
9 changes: 3 additions & 6 deletions src/NuGetGallery/NuGetGallery.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2243,13 +2243,13 @@
<Version>5.9.0</Version>
</PackageReference>
<PackageReference Include="NuGet.Services.Licenses">
<Version>2.84.0</Version>
<Version>2.86.0</Version>
</PackageReference>
<PackageReference Include="NuGet.Services.Owin">
<Version>2.84.0</Version>
<Version>2.86.0</Version>
</PackageReference>
<PackageReference Include="NuGet.Services.Sql">
<Version>2.84.0</Version>
<Version>2.86.0</Version>
</PackageReference>
<PackageReference Include="Owin">
<Version>1.0.0</Version>
Expand Down Expand Up @@ -2293,9 +2293,6 @@
<PackageReference Include="WindowsAzure.Caching">
<Version>1.7.0</Version>
</PackageReference>
<PackageReference Include="WindowsAzure.ServiceBus">
<Version>4.1.3</Version>
</PackageReference>
<PackageReference Include="WindowsAzure.Storage">
<Version>9.3.3</Version>
</PackageReference>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,12 @@ public TestTopicClient(bool shouldFail = false)
}

public Task SendAsync(IBrokeredMessage message)
{
Send(message);
return Task.CompletedTask;
}

public void Send(IBrokeredMessage message)
{
++SendAsyncCallCount;
if (ShouldFail)
Expand All @@ -192,8 +198,10 @@ public Task SendAsync(IBrokeredMessage message)
}

LastSentMessage = message;
return Task.FromResult(0);
}

public void Close() => throw new NotImplementedException();
public Task CloseAsync() => throw new NotImplementedException();
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These methods were added to the ITopicClient interface by: NuGet/ServerCommon#360

}

[Schema(Name = AccountDeleteMessageSchemaName, Version = 1)]
Expand Down