diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index c05265b..55ff5cd 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -314,7 +314,7 @@ jobs:
uses: jungwinter/split@v2
id: repo
with:
- seperator: "/"
+ separator: "/"
msg: ${{ github.repository }}
- name: Install GitReleaseManager
diff --git a/doc/dependency_decisions.yml b/doc/dependency_decisions.yml
index 64d9a5c..795fb8f 100644
--- a/doc/dependency_decisions.yml
+++ b/doc/dependency_decisions.yml
@@ -25,21 +25,21 @@
- :who: mocsharp
:why: MIT (https://github.com/microsoft/vstest/raw/v17.3.0/LICENSE)
:versions:
- - 17.3.0
+ - 17.3.1
:when: 2022-08-16 21:39:37.382080790 Z
- - :approve
- Microsoft.Extensions.Diagnostics.HealthChecks
- :who: mocsharp
:why: MIT (https://github.com/dotnet/aspnetcore/raw/main/LICENSE.txt)
:versions:
- - 6.0.8
+ - 6.0.9
:when: 2022-08-29 18:11:22.090772006 Z
- - :approve
- Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions
- :who: mocsharp
:why: MIT (https://github.com/dotnet/aspnetcore/raw/main/LICENSE.txt)
:versions:
- - 6.0.8
+ - 6.0.9
:when: 2022-08-29 18:11:22.090772006 Z
- - :approve
- Microsoft.Extensions.Configuration
@@ -158,7 +158,7 @@
- :who: mocsharp
:why: MIT (https://github.com/dotnet/runtime/raw/main/LICENSE.TXT)
:versions:
- - 6.0.1
+ - 6.0.2
:when: 2022-08-16 21:39:44.471693654 Z
- - :approve
- Microsoft.Extensions.Logging.Configuration
@@ -219,9 +219,9 @@
- - :approve
- Microsoft.NET.Test.Sdk
- :who: mocsharp
- :why: MIT (https://github.com/microsoft/vstest/raw/v17.3.0/LICENSE)
+ :why: MIT (https://github.com/microsoft/vstest/raw/v17.3.1/LICENSE)
:versions:
- - 17.3.0
+ - 17.3.1
:when: 2022-08-16 21:39:48.253593534 Z
- - :approve
- Microsoft.NETCore.Platforms
@@ -240,16 +240,16 @@
- - :approve
- Microsoft.TestPlatform.ObjectModel
- :who: mocsharp
- :why: MIT (https://github.com/microsoft/vstest/raw/v17.3.0/LICENSE)
+ :why: MIT (https://github.com/microsoft/vstest/raw/v17.3.1/LICENSE)
:versions:
- - 17.3.0
+ - 17.3.1
:when: 2022-08-16 21:39:49.547958989 Z
- - :approve
- Microsoft.TestPlatform.TestHost
- :who: mocsharp
- :why: MIT (https://github.com/microsoft/vstest/raw/v17.3.0/LICENSE)
+ :why: MIT (https://github.com/microsoft/vstest/raw/v17.3.1/LICENSE)
:versions:
- - 17.3.0
+ - 17.3.1
:when: 2022-08-16 21:39:49.963749572 Z
- - :approve
- Microsoft.Win32.Primitives
@@ -410,14 +410,14 @@
- :who: mocsharp
:why: MIT (https://github.com/TestableIO/System.IO.Abstractions/raw/main/LICENSE)
:versions:
- - 17.1.1
+ - 17.2.3
:when: 2022-08-16 21:39:59.728481602 Z
- - :approve
- System.IO.Abstractions.TestingHelpers
- :who: mocsharp
:why: MIT (https://github.com/TestableIO/System.IO.Abstractions/raw/main/LICENSE)
:versions:
- - 17.1.1
+ - 17.2.3
:when: 2022-08-16 21:40:00.150566731 Z
- - :approve
- System.IO.Compression
diff --git a/src/Messaging/Monai.Deploy.Messaging.csproj b/src/Messaging/Monai.Deploy.Messaging.csproj
index 2e55d8a..d34b9ba 100644
--- a/src/Messaging/Monai.Deploy.Messaging.csproj
+++ b/src/Messaging/Monai.Deploy.Messaging.csproj
@@ -76,11 +76,11 @@
-
+
-
+
\ No newline at end of file
diff --git a/src/Messaging/Tests/Monai.Deploy.Messaging.Tests.csproj b/src/Messaging/Tests/Monai.Deploy.Messaging.Tests.csproj
index 93b445a..fe40689 100644
--- a/src/Messaging/Tests/Monai.Deploy.Messaging.Tests.csproj
+++ b/src/Messaging/Tests/Monai.Deploy.Messaging.Tests.csproj
@@ -32,9 +32,9 @@
-
+
-
+
runtime; build; native; contentfiles; analyzers; buildtransitive
diff --git a/src/Plugins/RabbitMQ/RabbitMQHealthCheck.cs b/src/Plugins/RabbitMQ/RabbitMQHealthCheck.cs
index c1975da..196dffe 100644
--- a/src/Plugins/RabbitMQ/RabbitMQHealthCheck.cs
+++ b/src/Plugins/RabbitMQ/RabbitMQHealthCheck.cs
@@ -46,14 +46,14 @@ public RabbitMQHealthCheck(
{
try
{
- _ = _connectionFactory.CreateChannel(
+ using var channel = _connectionFactory.CreateChannel(
_options[ConfigurationKeys.EndPoint],
_options[ConfigurationKeys.Username],
_options[ConfigurationKeys.Password],
_options[ConfigurationKeys.VirtualHost],
_options.ContainsKey(ConfigurationKeys.UseSSL) ? _options[ConfigurationKeys.UseSSL] : string.Empty,
_options.ContainsKey(ConfigurationKeys.Port) ? _options[ConfigurationKeys.Port] : string.Empty);
-
+ channel.Close();
return await Task.FromResult(HealthCheckResult.Healthy()).ConfigureAwait(false);
}
catch (Exception ex)
diff --git a/src/Plugins/RabbitMQ/Tests/Monai.Deploy.Messaging.RabbitMQ.Tests.csproj b/src/Plugins/RabbitMQ/Tests/Monai.Deploy.Messaging.RabbitMQ.Tests.csproj
index 2be04b0..a436f1b 100644
--- a/src/Plugins/RabbitMQ/Tests/Monai.Deploy.Messaging.RabbitMQ.Tests.csproj
+++ b/src/Plugins/RabbitMQ/Tests/Monai.Deploy.Messaging.RabbitMQ.Tests.csproj
@@ -35,9 +35,9 @@
-
+
-
+
runtime; build; native; contentfiles; analyzers; buildtransitive
diff --git a/src/Plugins/RabbitMQ/Tests/RabbitMQHealthCheckTest.cs b/src/Plugins/RabbitMQ/Tests/RabbitMQHealthCheckTest.cs
index 6e69602..75d997e 100644
--- a/src/Plugins/RabbitMQ/Tests/RabbitMQHealthCheckTest.cs
+++ b/src/Plugins/RabbitMQ/Tests/RabbitMQHealthCheckTest.cs
@@ -17,6 +17,7 @@
using Microsoft.Extensions.Diagnostics.HealthChecks;
using Microsoft.Extensions.Logging;
using Moq;
+using RabbitMQ.Client;
using Xunit;
namespace Monai.Deploy.Messaging.RabbitMQ.Tests
@@ -55,12 +56,17 @@ public async Task CheckHealthAsync_WhenFailedToListBucket_ReturnUnhealthy()
[Fact]
public async Task CheckHealthAsync_WhenListBucketSucceeds_ReturnHealthy()
{
- _connectionFactory.Setup(p => p.CreateChannel(It.IsAny(), It.IsAny(), It.IsAny(), It.IsAny(), It.IsAny(), It.IsAny()));
+ var channel = new Mock();
+ channel.Setup(p => p.Close());
+ _connectionFactory.Setup(p => p.CreateChannel(It.IsAny(), It.IsAny(), It.IsAny(), It.IsAny(), It.IsAny(), It.IsAny()))
+ .Returns(channel.Object);
var healthCheck = new RabbitMQHealthCheck(_connectionFactory.Object, _options, _logger.Object, (d) => { });
var results = await healthCheck.CheckHealthAsync(new HealthCheckContext()).ConfigureAwait(false);
Assert.Equal(HealthStatus.Healthy, results.Status);
Assert.Null(results.Exception);
+
+ channel.Verify(p => p.Close(), Times.Once());
}
}
}
diff --git a/third-party-licenses.md b/third-party-licenses.md
index 99df3a6..f9ba9fa 100644
--- a/third-party-licenses.md
+++ b/third-party-licenses.md
@@ -1,3 +1,20 @@
+
+
+
# Third-Party Licenses
@@ -154,15 +171,15 @@ SOFTWARE.
-Microsoft.CodeCoverage 17.3.0
+Microsoft.CodeCoverage 17.3.1
## Microsoft.CodeCoverage
-- Version: 17.3.0
+- Version: 17.3.1
- Authors: Microsoft
- Owners: Microsoft
- Project URL: https://github.com/microsoft/vstest/
-- Source: [NuGet](https://www.nuget.org/packages/Microsoft.CodeCoverage/17.3.0)
+- Source: [NuGet](https://www.nuget.org/packages/Microsoft.CodeCoverage/17.3.1)
- License: [MIT](https://github.com/microsoft/vstest/raw/v17.3.0/LICENSE)
@@ -601,6 +618,88 @@ SOFTWARE.
+
+Microsoft.Extensions.Diagnostics.HealthChecks 6.0.9
+
+## Microsoft.Extensions.Diagnostics.HealthChecks
+
+- Version: 6.0.9
+- Authors: Microsoft
+- Project URL: https://asp.net/
+- Source: [NuGet](https://www.nuget.org/packages/Microsoft.Extensions.Diagnostics.HealthChecks/6.0.9)
+- License: [MIT](https://github.com/dotnet/aspnetcore/raw/main/LICENSE.txt)
+
+
+```
+The MIT License (MIT)
+
+Copyright (c) .NET Foundation and Contributors
+
+All rights reserved.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+```
+
+
+
+
+
+Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions 6.0.9
+
+## Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions
+
+- Version: 6.0.9
+- Authors: Microsoft
+- Project URL: https://asp.net/
+- Source: [NuGet](https://www.nuget.org/packages/Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions/6.0.9)
+- License: [MIT](https://github.com/dotnet/aspnetcore/raw/main/LICENSE.txt)
+
+
+```
+The MIT License (MIT)
+
+Copyright (c) .NET Foundation and Contributors
+
+All rights reserved.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+```
+
+
+
+
Microsoft.Extensions.FileProviders.Abstractions 6.0.0
@@ -848,14 +947,14 @@ SOFTWARE.
-Microsoft.Extensions.Logging.Abstractions 6.0.0
+Microsoft.Extensions.Logging.Abstractions 6.0.2
## Microsoft.Extensions.Logging.Abstractions
-- Version: 6.0.0
+- Version: 6.0.2
- Authors: Microsoft
- Project URL: https://dot.net/
-- Source: [NuGet](https://www.nuget.org/packages/Microsoft.Extensions.Logging.Abstractions/6.0.0)
+- Source: [NuGet](https://www.nuget.org/packages/Microsoft.Extensions.Logging.Abstractions/6.0.2)
- License: [MIT](https://github.com/dotnet/runtime/raw/main/LICENSE.TXT)
@@ -1217,16 +1316,16 @@ SOFTWARE.
-Microsoft.NET.Test.Sdk 17.3.0
+Microsoft.NET.Test.Sdk 17.3.1
## Microsoft.NET.Test.Sdk
-- Version: 17.3.0
+- Version: 17.3.1
- Authors: Microsoft
- Owners: Microsoft
- Project URL: https://github.com/microsoft/vstest/
-- Source: [NuGet](https://www.nuget.org/packages/Microsoft.NET.Test.Sdk/17.3.0)
-- License: [MIT](https://github.com/microsoft/vstest/raw/v17.3.0/LICENSE)
+- Source: [NuGet](https://www.nuget.org/packages/Microsoft.NET.Test.Sdk/17.3.1)
+- License: [MIT](https://github.com/microsoft/vstest/raw/v17.3.1/LICENSE)
```
@@ -1655,16 +1754,16 @@ consequential or other damages.
-Microsoft.TestPlatform.ObjectModel 17.3.0
+Microsoft.TestPlatform.ObjectModel 17.3.1
## Microsoft.TestPlatform.ObjectModel
-- Version: 17.3.0
+- Version: 17.3.1
- Authors: Microsoft
- Owners: Microsoft
- Project URL: https://github.com/microsoft/vstest/
-- Source: [NuGet](https://www.nuget.org/packages/Microsoft.TestPlatform.ObjectModel/17.3.0)
-- License: [MIT](https://github.com/microsoft/vstest/raw/v17.3.0/LICENSE)
+- Source: [NuGet](https://www.nuget.org/packages/Microsoft.TestPlatform.ObjectModel/17.3.1)
+- License: [MIT](https://github.com/microsoft/vstest/raw/v17.3.1/LICENSE)
```
@@ -1693,16 +1792,16 @@ SOFTWARE.
-Microsoft.TestPlatform.TestHost 17.3.0
+Microsoft.TestPlatform.TestHost 17.3.1
## Microsoft.TestPlatform.TestHost
-- Version: 17.3.0
+- Version: 17.3.1
- Authors: Microsoft
- Owners: Microsoft
- Project URL: https://github.com/microsoft/vstest/
-- Source: [NuGet](https://www.nuget.org/packages/Microsoft.TestPlatform.TestHost/17.3.0)
-- License: [MIT](https://github.com/microsoft/vstest/raw/v17.3.0/LICENSE)
+- Source: [NuGet](https://www.nuget.org/packages/Microsoft.TestPlatform.TestHost/17.3.1)
+- License: [MIT](https://github.com/microsoft/vstest/raw/v17.3.1/LICENSE)
```
@@ -5034,14 +5133,14 @@ consequential or other damages.
-System.IO.Abstractions 17.1.1
+System.IO.Abstractions 17.2.3
## System.IO.Abstractions
-- Version: 17.1.1
+- Version: 17.2.3
- Authors: Tatham Oddie & friends
- Project URL: https://github.com/TestableIO/System.IO.Abstractions
-- Source: [NuGet](https://www.nuget.org/packages/System.IO.Abstractions/17.1.1)
+- Source: [NuGet](https://www.nuget.org/packages/System.IO.Abstractions/17.2.3)
- License: [MIT](https://github.com/TestableIO/System.IO.Abstractions/raw/main/LICENSE)
@@ -5075,14 +5174,14 @@ SOFTWARE.
-System.IO.Abstractions.TestingHelpers 17.1.1
+System.IO.Abstractions.TestingHelpers 17.2.3
## System.IO.Abstractions.TestingHelpers
-- Version: 17.1.1
+- Version: 17.2.3
- Authors: Tatham Oddie & friends
- Project URL: https://github.com/TestableIO/System.IO.Abstractions
-- Source: [NuGet](https://www.nuget.org/packages/System.IO.Abstractions.TestingHelpers/17.1.1)
+- Source: [NuGet](https://www.nuget.org/packages/System.IO.Abstractions.TestingHelpers/17.2.3)
- License: [MIT](https://github.com/TestableIO/System.IO.Abstractions/raw/main/LICENSE)
@@ -12538,6 +12637,7 @@ corefx/LICENSE.TXT at master · dotnet/corefx · GitHub
+
Skip to content
@@ -12548,6 +12648,7 @@ Skip to content
+Toggle navigation
@@ -12558,8 +12659,10 @@ Skip to content
- Sign up
-
+ Sign up
+
+
+
@@ -12567,175 +12670,260 @@ Skip to content
-
-
+ Product
+
- Product
-
- Features
-
- Mobile
-
+Actions
+ Automate any workflow
+
- Actions
-
- Codespaces
-
- Copilot
-
- Packages
-
+Packages
+ Host and manage packages
+
- Security
-
- Code review
-
- Issues
-
+Security
+ Find and fix vulnerabilities
+
- Discussions
-
- Integrations
-
- GitHub Sponsors
-
- Customer stories
-
+Codespaces
+ Instant dev environments
+
-Team
-Enterprise
+Copilot
+ Write better code with AI
+
- Explore
-
+Code review
+ Manage code changes
+
- Explore GitHub
-
-Learn and contribute
- Topics
-
- Collections
-
+Issues
+ Plan and track work
+
- Trending
-
- Skills
-
- GitHub Sponsors
-
- Open source guides
-
-Connect with others
+Discussions
+ Collaborate outside of code
+
- The ReadME Project
-
+Explore
- Events
-
+ All features
- Community forum
-
+
- GitHub Education
-
+ Documentation
- GitHub Stars program
-
+
-Marketplace
+ GitHub Skills
+
- Pricing
-
+ Changelog
+
- Plans
-
- Compare plans
-
- Contact Sales
-
- Education
-
+ Solutions
+
+
+
+
+
+
+By Size
+
+ Enterprise
+
+
+ Teams
+
+
+
+
+
+ Compare all
+
+
+
+
+
+By Solution
+
+
+ CI/CD & Automation
+
+
+
+
+
+
+
+ DevOps
+
+
+
+
+
+
+
+ DevSecOps
+
+
+
+
+
+
+
+Case Studies
+
+
+ Customer Stories
+
+
+
+
+
+ Resources
+
+
+
+
+
+
+
+
+
+
+ Open Source
+
+
+
+
+
+
+
+
+
+GitHub Sponsors
+ Fund open source developers
+
+
+
+
+
+
+
+The ReadME Project
+ GitHub community articles
+
+
+
+
+Repositories
+
+
+ Topics
+
+
+
+
+
+ Trending
+
+
+
+
+
+ Collections
+
+
+
+
+
+
+
+Pricing
+
@@ -12889,12 +13077,13 @@ No suggested jump to results
- Sign in
-
+ Sign in
+
- Sign up
-
+ Sign up
+
+
@@ -12971,7 +13160,7 @@ Code
Pull requests
-6
+3