Skip to content
This repository was archived by the owner on Jul 30, 2024. It is now read-only.

Commit a9ea47d

Browse files
author
Scott Bommarito
authored
Integrate Orchestrator with NuGet.Services.Entities and NuGet.Services.Messaging.Email (#612)
1 parent b1391d4 commit a9ea47d

137 files changed

Lines changed: 130 additions & 290 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/ArchivePackages/Properties/AssemblyInfo.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Copyright (c) .NET Foundation. All rights reserved.
22
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
33
using System.Reflection;
4-
using System.Runtime.CompilerServices;
54
using System.Runtime.InteropServices;
65

76
// General Information about an assembly is controlled through the following

src/Gallery.CredentialExpiration/Gallery.CredentialExpiration.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
<Version>9.0.1</Version>
104104
</PackageReference>
105105
<PackageReference Include="NuGet.Services.Messaging.Email">
106-
<Version>2.32.0</Version>
106+
<Version>2.33.0</Version>
107107
</PackageReference>
108108
<PackageReference Include="NuGet.Services.Storage">
109109
<Version>2.1.3</Version>

src/NuGet.Jobs.Common/Configuration/JobConfigurationManager.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
using System.Linq;
88
using Microsoft.Extensions.DependencyInjection;
99
using Microsoft.Extensions.Logging;
10-
using NuGet.Jobs.Extensions;
1110
using NuGet.Services.Configuration;
1211
using NuGet.Services.KeyVault;
1312

src/NuGet.Jobs.Common/Properties/AssemblyInfo.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
33

44
using System.Reflection;
5-
using System.Runtime.CompilerServices;
65
using System.Runtime.InteropServices;
76

87
[assembly: AssemblyTitle("NuGet.Jobs.Common")]

src/NuGet.Services.Revalidate/Initialization/PackageFinder.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
using Microsoft.Extensions.DependencyInjection;
1212
using Microsoft.Extensions.Logging;
1313
using Newtonsoft.Json;
14+
using NuGet.Services.Entities;
1415
using NuGet.Versioning;
1516
using NuGetGallery;
1617

src/NuGet.Services.Revalidate/Initialization/PackageRevalidationInserter.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
using Microsoft.Extensions.Logging;
1010
using NuGet.Jobs;
1111
using NuGet.Jobs.Configuration;
12-
using NuGet.Jobs.Validation;
1312
using NuGet.Services.Validation;
1413

1514
namespace NuGet.Services.Revalidate

src/NuGet.Services.Revalidate/Job.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
using System;
55
using System.Collections.Generic;
66
using System.ComponentModel.Design;
7-
using System.Data.Common;
87
using System.IO;
98
using System.Linq;
109
using System.Threading.Tasks;

src/NuGet.Services.Revalidate/Services/RevalidationQueue.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
using System.Linq;
88
using System.Threading.Tasks;
99
using Microsoft.Extensions.Logging;
10+
using NuGet.Services.Entities;
1011
using NuGet.Services.Validation;
1112
using NuGetGallery;
1213

src/NuGet.Services.Validation.Orchestrator/Configuration/CoreMessageServiceConfiguration.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
using System;
55
using System.Net.Mail;
66
using Microsoft.Extensions.Options;
7-
using NuGetGallery.Infrastructure.Mail;
7+
using NuGet.Services.Messaging.Email;
88

99
namespace NuGet.Services.Validation.Orchestrator
1010
{

src/NuGet.Services.Validation.Orchestrator/Configuration/EmailConfiguration.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,17 @@
11
// Copyright (c) .NET Foundation. All rights reserved.
22
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
33

4+
using NuGet.Jobs.Configuration;
5+
46
namespace NuGet.Services.Validation.Orchestrator
57
{
68
public class EmailConfiguration
79
{
10+
/// <summary>
11+
/// The Service Bus configuration used to enqueue emails for sending.
12+
/// </summary>
13+
public ServiceBusConfiguration ServiceBus { get; set; }
14+
815
/// <summary>
916
/// Gallery owner name and email looking like "Gallery Owner <[email protected]>"
1017
/// </summary>

0 commit comments

Comments
 (0)