-
Notifications
You must be signed in to change notification settings - Fork 7
/
NuGetInsightsWorkerSettings.Drivers.cs
67 lines (46 loc) · 3.35 KB
/
NuGetInsightsWorkerSettings.Drivers.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace NuGet.Insights.Worker
{
public partial class NuGetInsightsWorkerSettings
{
public string VersionSetAggregateTableNamePrefix { get; set; } = "versionset";
public string VersionSetContainerName { get; set; } = "versionset";
public string BucketedPackageTableName { get; set; } = "bucketedpackages";
public string LatestPackageLeafTableName { get; set; } = "latestpackageleaves";
public string PackageAssetContainerName { get; set; } = "packageassets";
public string PackageAssemblyContainerName { get; set; } = "packageassemblies";
public string PackageManifestContainerName { get; set; } = "packagemanifests";
public string PackageReadmeContainerName { get; set; } = "packagereadmes";
public string PackageLicenseContainerName { get; set; } = "packagelicenses";
public bool RecordCertificateStatus { get; set; } = true;
public string PackageSignatureContainerName { get; set; } = "packagesignatures";
/// <summary>
/// Don't set the Content-MD5 header in output CSVs (e.g. for <see cref="PackageArchiveToCsv"/>). The header
/// appears to be returned inconsistently from some CDN endpoints leading to test flakiness.
/// </summary>
public bool SkipContentMD5HeaderInCsv { get; set; } = false;
public string PackageArchiveContainerName { get; set; } = "packagearchives";
public string PackageArchiveEntryContainerName { get; set; } = "packagearchiveentries";
public string SymbolPackageArchiveContainerName { get; set; } = "symbolpackagearchives";
public string SymbolPackageArchiveEntryContainerName { get; set; } = "symbolpackagearchiveentries";
public string PackageFileContainerName { get; set; } = "packagefiles";
public string SymbolPackageFileContainerName { get; set; } = "symbolpackagefiles";
public string PackageVersionTableName { get; set; } = "packageversions";
public string PackageVersionContainerName { get; set; } = "packageversions";
public string CatalogLeafItemContainerName { get; set; } = "catalogleafitems";
public string PackageDeprecationContainerName { get; set; } = "packagedeprecations";
public string PackageVulnerabilityContainerName { get; set; } = "packagevulnerabilities";
public string PackageIconContainerName { get; set; } = "packageicons";
public string PackageCompatibilityContainerName { get; set; } = "packagecompatibilities";
/// <summary>
/// The types of package content to index in <see cref="PackageContentToCsv.PackageContentToCsvDriver"/>. The
/// order of this list is significant (entries are processed in the matching order). The values are treated as
/// file path suffixes so be sure to include a dot (".") if you want file extension behavior.
/// </summary>
public List<string> PackageContentFileExtensions { get; set; } = new List<string>();
public int PackageContentMaxSizePerPackage { get; set; } = 1024 * 16;
public int PackageContentMaxSizePerFile { get; set; } = 1024 * 16;
public string PackageContentContainerName { get; set; } = "packagecontents";
}
}