Skip to content

Commit 2903d71

Browse files
committed
gh-60 add copyright
Signed-off-by: Victor Chang <[email protected]>
1 parent f3b6648 commit 2903d71

File tree

6 files changed

+22
-7
lines changed

6 files changed

+22
-7
lines changed

src/CLI/ControlException.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using System;
1+
// Copyright 2021-2022, MONAI Consortium
2+
// SPDX-License-Identifier: Apache License 2.0
3+
4+
using System;
25

36
namespace Monai.Deploy.InformaticsGateway.CLI
47
{

src/CLI/Services/ConsoleRegion.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using System;
1+
// Copyright 2021-2022, MONAI Consortium
2+
// SPDX-License-Identifier: Apache License 2.0
3+
4+
using System;
25
using System.CommandLine.Rendering;
36

47
namespace Monai.Deploy.InformaticsGateway.CLI.Services

src/InformaticsGateway/Test/Common/AuthenticationHeaderValueExtensionsTest.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using Monai.Deploy.InformaticsGateway.Services.Common;
1+
// Copyright 2021-2022, MONAI Consortium
2+
// SPDX-License-Identifier: Apache License 2.0
3+
4+
using Monai.Deploy.InformaticsGateway.Services.Common;
25
using xRetry;
36
using Xunit;
47

src/InformaticsGateway/Test/Logging/FileLoggingTextFormatterTest.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using Microsoft.Extensions.Logging;
1+
// Copyright 2021-2022, MONAI Consortium
2+
// SPDX-License-Identifier: Apache License 2.0
3+
4+
using Microsoft.Extensions.Logging;
25
using Monai.Deploy.InformaticsGateway.Logging;
36
using System;
47
using System.Globalization;

src/InformaticsGateway/Test/Repositories/InformaticsGatewayRepositoryTest.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using Microsoft.EntityFrameworkCore;
1+
// Copyright 2021-2022, MONAI Consortium
2+
// SPDX-License-Identifier: Apache License 2.0
3+
4+
using Microsoft.EntityFrameworkCore;
25
using Microsoft.Extensions.DependencyInjection;
36
using Monai.Deploy.InformaticsGateway.Api;
47
using Monai.Deploy.InformaticsGateway.Database;

src/InformaticsGateway/Test/Services/Export/ScuExportServiceTest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ public async Task UnreachableServer()
429429
{
430430
_scpLogger.Invocations.Clear();
431431
var sopInstanceUid = DicomUIDGenerator.GenerateDerivedFromUUID().UID;
432-
var destination = new DestinationApplicationEntity { AeTitle = DicomScpFixture.AETITLE, Name = DicomScpFixture.AETITLE, HostIp = "unknown", Port = _port };
432+
var destination = new DestinationApplicationEntity { AeTitle = DicomScpFixture.AETITLE, Name = DicomScpFixture.AETITLE, HostIp = "UNKNOWNHOST123456789", Port = _port };
433433
var service = new ScuExportService(_logger.Object, _serviceScopeFactory.Object, _configuration, _storageInfoProvider.Object, _dicomToolkit.Object);
434434

435435
_storageInfoProvider.Setup(p => p.HasSpaceAvailableForExport).Returns(true);
@@ -558,4 +558,4 @@ private async Task StopAndVerify(ScuExportService service)
558558
Thread.Sleep(500);
559559
}
560560
}
561-
}
561+
}

0 commit comments

Comments
 (0)