Skip to content

Commit

Permalink
Merge pull request #4375 from Particular/5.6.1
Browse files Browse the repository at this point in the history
cherrypick changes for 5.6.1
  • Loading branch information
PhilBastian authored Aug 16, 2024
2 parents fd7e988 + 96cb829 commit 060f604
Show file tree
Hide file tree
Showing 17 changed files with 61 additions and 8 deletions.
7 changes: 1 addition & 6 deletions src/Directory.Packages.props
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
<Project>

<PropertyGroup>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
<CentralPackageTransitivePinningEnabled>true</CentralPackageTransitivePinningEnabled>
</PropertyGroup>

<ItemGroup Label="Versions for direct package references">
<PackageVersion Include="Autofac" Version="8.0.0" />
<PackageVersion Include="AWSSDK.CloudWatch" Version="3.7.401.2" />
Expand Down Expand Up @@ -45,7 +43,7 @@
<PackageVersion Include="NServiceBus.RabbitMQ" Version="9.1.0" />
<PackageVersion Include="NServiceBus.SagaAudit" Version="5.0.0" />
<PackageVersion Include="NServiceBus.Testing" Version="9.0.0" />
<PackageVersion Include="NServiceBus.Transport.AzureServiceBus" Version="4.0.1" />
<PackageVersion Include="NServiceBus.Transport.AzureServiceBus" Version="4.2.0" />
<PackageVersion Include="NServiceBus.Transport.AzureStorageQueues" Version="13.0.0" />
<PackageVersion Include="NServiceBus.Transport.Msmq.Sources" Version="3.0.1" />
<PackageVersion Include="NServiceBus.Transport.SqlServer" Version="8.1.3" />
Expand Down Expand Up @@ -73,7 +71,6 @@
<PackageVersion Include="Validar.Fody" Version="1.9.0" />
<PackageVersion Include="Yarp.ReverseProxy" Version="2.1.0" />
</ItemGroup>

<ItemGroup Label="Versions to pin transitive references">
<PackageVersion Include="System.Drawing.Common" Version="8.0.7" />
<PackageVersion Include="System.Formats.Asn1" Version="8.0.1" />
Expand All @@ -85,11 +82,9 @@
<PackageVersion Include="System.Text.Json" Version="8.0.4" />
<PackageVersion Include="System.Text.RegularExpressions" Version="4.3.1" />
</ItemGroup>

<ItemGroup>
<GlobalPackageReference Include="Microsoft.Build.Artifacts" Version="6.1.30" />
<GlobalPackageReference Include="Microsoft.Build.CopyOnWrite" Version="1.0.315" />
<GlobalPackageReference Include="Particular.Packaging" Version="4.1.0" />
</ItemGroup>

</Project>
4 changes: 4 additions & 0 deletions src/ServiceControl.AcceptanceTests.RavenDB/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[*.cs]

# Justification: Test project
dotnet_diagnostic.CA2007.severity = none
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,9 @@ static MonitoredMetric<BreakdownT> CreateMetric<BreakdownT, StoreT>(string name,

static MonitoredEndpointMessageType[] GetMonitoredMessageTypes(IEnumerable<EndpointMessageType> messageTypes)
{
return messageTypes.Select(mt => MonitoredEndpointMessageTypeParser.Parse(mt.MessageType))
return messageTypes
.Where(mt => !string.IsNullOrEmpty(mt.MessageType))
.Select(mt => MonitoredEndpointMessageTypeParser.Parse(mt.MessageType))
.ToArray();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ public readonly struct EndpointMessageType
{
public EndpointMessageType(string endpointName, string enclosedMessageTypes)
{
var index = enclosedMessageTypes.IndexOf(';');
var index = (enclosedMessageTypes ?? "").IndexOf(';');

var firstType = index != -1
? enclosedMessageTypes.Substring(0, index)
Expand Down
4 changes: 4 additions & 0 deletions src/ServiceControl.Transports.ASBS.Tests/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[*.cs]

# Justification: Test project
dotnet_diagnostic.CA2007.severity = none
4 changes: 4 additions & 0 deletions src/ServiceControl.Transports.ASQ.Tests/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[*.cs]

# Justification: Test project
dotnet_diagnostic.CA2007.severity = none
4 changes: 4 additions & 0 deletions src/ServiceControl.Transports.Msmq.Tests/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[*.cs]

# Justification: Test project
dotnet_diagnostic.CA2007.severity = none
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[*.cs]

# Justification: Test project
dotnet_diagnostic.CA2007.severity = none
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[*.cs]

# Justification: Test project
dotnet_diagnostic.CA2007.severity = none
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[*.cs]

# Justification: Test project
dotnet_diagnostic.CA2007.severity = none
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[*.cs]

# Justification: Test project
dotnet_diagnostic.CA2007.severity = none
4 changes: 4 additions & 0 deletions src/ServiceControl.Transports.SQS.Tests/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[*.cs]

# Justification: Test project
dotnet_diagnostic.CA2007.severity = none
4 changes: 4 additions & 0 deletions src/ServiceControl.Transports.SqlServer.Tests/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[*.cs]

# Justification: Test project
dotnet_diagnostic.CA2007.severity = none
4 changes: 4 additions & 0 deletions src/ServiceControl.Transports.Tests/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[*.cs]

# Justification: Test project
dotnet_diagnostic.CA2007.severity = none
4 changes: 4 additions & 0 deletions src/ServiceControlInstaller.Engine.UnitTests/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[*.cs]

# Justification: Test project
dotnet_diagnostic.CA2007.severity = none
4 changes: 4 additions & 0 deletions src/ServiceControlInstaller.Packaging.UnitTests/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[*.cs]

# Justification: Test project
dotnet_diagnostic.CA2007.severity = none
4 changes: 4 additions & 0 deletions src/TestHelper/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[*.cs]

# Justification: Test project
dotnet_diagnostic.CA2007.severity = none

0 comments on commit 060f604

Please sign in to comment.