Skip to content
This repository has been archived by the owner on Jul 30, 2024. It is now read-only.
/ NuGet.Jobs Public archive

Add SymbolsIngester in Orchestrator #501

Merged
merged 6 commits into from
Aug 2, 2018
Merged

Conversation

cristinamanum
Copy link
Contributor

Add support for Orchestrator to queue messages to the symbols ingestion queue.

/// 2. Only if a ingestion was not started queue the message to be processed.
/// 3. After the message is queued, update the SymbolServerRequests table.
/// </summary>
/// <param name="request">The request to be send to the ingester job queue.</param>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: ..to be sent

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated

else
{
_logger.LogInformation(
"The symbols ingestion request added to the data base. RequestStatus:{Status} for {PackageId} {PackageNormalizedVersion} {SymbolsPackageKey}.",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: ...to the database

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated

public class SymbolsIngesterConfiguration : SymbolsValidationConfiguration
{
}
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see this used anywhere.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It will be used for the configuration in the settings.json file.

{
Created = DateTime.UtcNow,
LastUpdated = DateTime.UtcNow,
RequestName = validationRequest.PackageKey.ToString(),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do not think we can use the PackageKey as the request name, we cannot push multiple snupkgs for same package otherwise.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It will be the key for the symbol packages.

@@ -55,8 +57,17 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="NuGet.Services.ServiceBus">
<Version>2.26.0-sb-status-34752</Version>
<Version>2.28.0-sb-morestatus-35915</Version>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2.28.0-sb-morestatus-35915 [](start = 14, length = 27)

Need a version not from a private branch.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My mistake. Updated.

Copy link
Contributor

@agr agr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@cristinamanum cristinamanum merged commit 6e1a12c into dev Aug 2, 2018
@cristinamanum cristinamanum deleted the cmanusymbolsingester branch October 5, 2018 19:51
joelverhagen pushed a commit that referenced this pull request Oct 26, 2020
Add the symbols ingester as an Orchestrator validator.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants