This repository has been archived by the owner on Jul 30, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #685 from NuGet/chenriks-legacy
Convert CollectCdnLogs jobs to JsonConfig
- Loading branch information
Showing
23 changed files
with
411 additions
and
192 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
src/Stats.CollectAzureCdnLogs/Configuration/CollectAzureCdnLogsConfiguration.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
// 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 Stats.CollectAzureCdnLogs | ||
{ | ||
public class CollectAzureCdnLogsConfiguration | ||
{ | ||
public string AzureCdnAccountNumber { get; set; } | ||
|
||
public string AzureCdnCloudStorageAccount { get; set; } | ||
|
||
public string AzureCdnCloudStorageContainerName { get; set; } | ||
|
||
public string AzureCdnPlatform { get; set; } | ||
|
||
public string FtpSourceUri { get; set; } | ||
|
||
public string FtpSourceUsername { get; set; } | ||
|
||
public string FtpSourcePassword { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"Initialization": { | ||
"FtpSourceUri": "#{Jobs.stats.collectazurecdnlogs.FtpSource.Uri}", | ||
"FtpSourceUsername": "#{Jobs.stats.collectazurecdnlogs.FtpSource.Username}", | ||
"FtpSourcePassword": "#{Jobs.stats.collectazurecdnlogs.FtpSource.Password}", | ||
"AzureCdnAccountNumber": "#{Jobs.stats.collectazurecdnlogs.AzureCdn.AccountNumber}", | ||
"AzureCdnPlatform": "#{Jobs.stats.collectazurecdnlogs.AzureCdn.Platform}", | ||
"AzureCdnCloudStorageAccount": "#{Jobs.stats.collectazurecdnlogs.AzureCdn.CloudStorageAccount}", | ||
"AzureCdnCloudStorageContainerName": "#{Jobs.stats.collectazurecdnlogs.AzureCdn.CloudStorageContainerName}" | ||
}, | ||
|
||
"KeyVault_VaultName": "#{Deployment.Azure.KeyVault.VaultName}", | ||
"KeyVault_ClientId": "#{Deployment.Azure.KeyVault.ClientId}", | ||
"KeyVault_CertificateThumbprint": "#{Deployment.Azure.KeyVault.CertificateThumbprint}", | ||
"KeyVault_ValidateCertificate": true, | ||
"KeyVault_StoreName": "My", | ||
"KeyVault_StoreLocation": "LocalMachine" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"Initialization": { | ||
"FtpSourceUri": "#{Jobs.stats.collectazurecdnlogs.FtpSource.Uri}", | ||
"FtpSourceUsername": "#{Jobs.stats.collectazurecdnlogs.FtpSource.Username}", | ||
"FtpSourcePassword": "#{Jobs.stats.collectazurecdnlogs.FtpSource.Password}", | ||
"AzureCdnAccountNumber": "#{Jobs.stats.collectazurecdnlogs.AzureCdn.AccountNumber}", | ||
"AzureCdnPlatform": "#{Jobs.stats.collectazurecdnlogs.AzureCdn.Platform}", | ||
"AzureCdnCloudStorageAccount": "#{Jobs.stats.collectazurecdnlogs.AzureCdn.CloudStorageAccount}", | ||
"AzureCdnCloudStorageContainerName": "#{Jobs.stats.collectazurecdnlogs.AzureCdn.CloudStorageContainerName}" | ||
}, | ||
|
||
"KeyVault_VaultName": "#{Deployment.Azure.KeyVault.VaultName}", | ||
"KeyVault_ClientId": "#{Deployment.Azure.KeyVault.ClientId}", | ||
"KeyVault_CertificateThumbprint": "#{Deployment.Azure.KeyVault.CertificateThumbprint}", | ||
"KeyVault_ValidateCertificate": true, | ||
"KeyVault_StoreName": "My", | ||
"KeyVault_StoreLocation": "LocalMachine" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"Initialization": { | ||
"FtpSourceUri": "#{Jobs.stats.collectazurecdnlogs.FtpSource.Uri}", | ||
"FtpSourceUsername": "#{Jobs.stats.collectazurecdnlogs.FtpSource.Username}", | ||
"FtpSourcePassword": "#{Jobs.stats.collectazurecdnlogs.FtpSource.Password}", | ||
"AzureCdnAccountNumber": "#{Jobs.stats.collectazurecdnlogs.AzureCdn.AccountNumber}", | ||
"AzureCdnPlatform": "#{Jobs.stats.collectazurecdnlogs.AzureCdn.Platform}", | ||
"AzureCdnCloudStorageAccount": "#{Jobs.stats.collectazurecdnlogs.AzureCdn.CloudStorageAccount}", | ||
"AzureCdnCloudStorageContainerName": "#{Jobs.stats.collectazurecdnlogs.AzureCdn.CloudStorageContainerName}" | ||
}, | ||
|
||
"KeyVault_VaultName": "#{Deployment.Azure.KeyVault.VaultName}", | ||
"KeyVault_ClientId": "#{Deployment.Azure.KeyVault.ClientId}", | ||
"KeyVault_CertificateThumbprint": "#{Deployment.Azure.KeyVault.CertificateThumbprint}", | ||
"KeyVault_ValidateCertificate": true, | ||
"KeyVault_StoreName": "My", | ||
"KeyVault_StoreLocation": "LocalMachine" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
20 changes: 20 additions & 0 deletions
20
src/Stats.CollectAzureChinaCDNLogs/Configuration/CollectAzureChinaCdnLogsConfiguration.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// 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 Stats.CollectAzureChinaCDNLogs | ||
{ | ||
public class CollectAzureChinaCdnLogsConfiguration | ||
{ | ||
public string AzureAccountConnectionStringSource { get; set; } | ||
|
||
public string AzureAccountConnectionStringDestination { get; set; } | ||
|
||
public string AzureContainerNameSource { get; set; } | ||
|
||
public string AzureContainerNameDestination { get; set; } | ||
|
||
public string DestinationFilePrefix { get; set; } | ||
|
||
public int? ExecutionTimeoutInSeconds { get; set; } | ||
} | ||
} |
Oops, something went wrong.