Skip to content

Commit cd14949

Browse files
authored
Merge pull request #260 from Project-MONAI/nds-upping-messaging
upped messaging version
2 parents 9a0a705 + c9dd62b commit cd14949

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

doc/dependency_decisions.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -788,17 +788,17 @@
788788
:when: 2022-08-16 23:06:20.598551507 Z
789789
- - :approve
790790
- Monai.Deploy.Messaging
791-
- :who: mocsharp
791+
- :who: neilsouth
792792
:why: Apache-2.0 (https://github.com/Project-MONAI/monai-deploy-messaging/raw/main/LICENSE)
793793
:versions:
794-
- 0.1.11
794+
- 0.1.17-rc0020
795795
:when: 2022-08-16 23:06:21.051573547 Z
796796
- - :approve
797797
- Monai.Deploy.Messaging.RabbitMQ
798-
- :who: mocsharp
798+
- :who: neilsouth
799799
:why: Apache-2.0 (https://github.com/Project-MONAI/monai-deploy-messaging/raw/main/LICENSE)
800800
:versions:
801-
- 0.1.11
801+
- 0.1.17-rc0020
802802
:when: 2022-08-16 23:06:21.511789690 Z
803803
- - :approve
804804
- Monai.Deploy.Storage

src/Api/Monai.Deploy.InformaticsGateway.Api.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
</PackageReference>
3131
<PackageReference Include="Macross.Json.Extensions" Version="3.0.0" />
3232
<PackageReference Include="Microsoft.EntityFrameworkCore.Abstractions" Version="6.0.10" />
33-
<PackageReference Include="Monai.Deploy.Messaging" Version="0.1.11" />
33+
<PackageReference Include="Monai.Deploy.Messaging" Version="0.1.17-rc0020" />
3434
<PackageReference Include="Monai.Deploy.Storage" Version="0.2.10" />
3535
</ItemGroup>
3636

src/Configuration/Monai.Deploy.InformaticsGateway.Configuration.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
</PackageReference>
3131
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="6.0.2" />
3232
<PackageReference Include="Microsoft.Extensions.Options" Version="6.0.0" />
33-
<PackageReference Include="Monai.Deploy.Messaging" Version="0.1.11" />
33+
<PackageReference Include="Monai.Deploy.Messaging" Version="0.1.17-rc0020" />
3434
<PackageReference Include="Monai.Deploy.Storage" Version="0.2.10" />
3535
<PackageReference Include="System.IO.Abstractions" Version="17.2.3" />
3636
</ItemGroup>

src/InformaticsGateway/Monai.Deploy.InformaticsGateway.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
<PackageReference Include="Microsoft.Extensions.Logging" Version="6.0.0" />
4949
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="6.0.0" />
5050
<PackageReference Include="Microsoft.Extensions.Options" Version="6.0.0" />
51-
<PackageReference Include="Monai.Deploy.Messaging.RabbitMQ" Version="0.1.11" />
51+
<PackageReference Include="Monai.Deploy.Messaging.RabbitMQ" Version="0.1.17-rc0020" />
5252
<PackageReference Include="Monai.Deploy.Storage" Version="0.2.10" />
5353
<PackageReference Include="Monai.Deploy.Storage.MinIO" Version="0.2.10" />
5454
<PackageReference Include="NLog.Web.AspNetCore" Version="5.1.5" />

src/InformaticsGateway/Services/Export/ExportServiceBase.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ protected ExportServiceBase(
9999

100100
_messageSubscriber.OnConnectionError += (sender, args) =>
101101
{
102-
_logger.MessagingServiceErrorRecover(args.ShutdownEventArguments.ToString());
102+
_logger.MessagingServiceErrorRecover(args.ErrorMessage);
103103
SetupPolling();
104104
};
105105
}
@@ -204,7 +204,7 @@ private void OnMessageReceivedCallback(MessageReceivedEventArgs eventArgs)
204204
private IEnumerable<ExportRequestDataMessage> DownloadPayloadActionCallback(ExportRequestEventDetails exportRequest, CancellationToken cancellationToken)
205205
{
206206
Guard.Against.Null(exportRequest, nameof(exportRequest));
207-
using var loggerScope = _logger.BeginScope(new LoggingDataDictionary<string, object> { { "ExportTaskId", exportRequest.ExportTaskId }, { "CorrelationId", exportRequest.CorrelationId } });
207+
using var loggerScope = _logger.BeginScope(new Api.LoggingDataDictionary<string, object> { { "ExportTaskId", exportRequest.ExportTaskId }, { "CorrelationId", exportRequest.CorrelationId } });
208208
var scope = _serviceScopeFactory.CreateScope();
209209
var storageService = scope.ServiceProvider.GetRequiredService<IStorageService>();
210210

@@ -245,7 +245,7 @@ private IEnumerable<ExportRequestDataMessage> DownloadPayloadActionCallback(Expo
245245

246246
private void ReportingActionBlock(ExportRequestDataMessage exportRequestData)
247247
{
248-
using var loggerScope = _logger.BeginScope(new LoggingDataDictionary<string, object> { { "ExportTaskId", exportRequestData.ExportTaskId }, { "CorrelationId", exportRequestData.CorrelationId } });
248+
using var loggerScope = _logger.BeginScope(new Api.LoggingDataDictionary<string, object> { { "ExportTaskId", exportRequestData.ExportTaskId }, { "CorrelationId", exportRequestData.CorrelationId } });
249249

250250
var exportRequest = _exportRequests[exportRequestData.ExportTaskId];
251251
lock (SyncRoot)

tests/Integration.Test/Monai.Deploy.InformaticsGateway.Integration.Test.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!--
1+
<!--
22
~ Copyright 2022 MONAI Consortium
33
~
44
~ Licensed under the Apache License, Version 2.0 (the "License");
@@ -33,7 +33,7 @@
3333
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="6.0.0" />
3434
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.4.0" />
3535
<PackageReference Include="Minio" Version="4.0.6" />
36-
<PackageReference Include="Monai.Deploy.Messaging.RabbitMQ" Version="0.1.11" />
36+
<PackageReference Include="Monai.Deploy.Messaging.RabbitMQ" Version="0.1.17-rc0020" />
3737
<PackageReference Include="Monai.Deploy.Storage.MinIO" Version="0.2.10" />
3838
<PackageReference Include="Moq" Version="4.18.2" />
3939
<PackageReference Include="Polly" Version="7.2.3" />

0 commit comments

Comments
 (0)