From 340fe5182d211fa39ce8873c57f6fcce20501868 Mon Sep 17 00:00:00 2001 From: Justin Kotalik Date: Thu, 5 Mar 2020 13:19:15 -0800 Subject: [PATCH] Add license and headers (#74) --- LICENSE.txt | 23 +++++++++++++++++++ samples/frontend-backend/backend/Program.cs | 4 ++++ samples/frontend-backend/backend/Startup.cs | 4 ++++ .../frontend/ConfigurationExtensions.cs | 6 ++++- samples/frontend-backend/frontend/Program.cs | 4 ++++ samples/frontend-backend/frontend/Startup.cs | 4 ++++ .../multi-project/backend/IOrderService.cs | 6 ++++- samples/multi-project/backend/Order.cs | 6 ++++- .../multi-project/backend/OrdersService.cs | 6 ++++- samples/multi-project/backend/Program.cs | 4 ++++ samples/multi-project/backend/Startup.cs | 4 ++++ .../frontend/ConfigurationExtensions.cs | 6 ++++- .../multi-project/frontend/IOrderService.cs | 6 ++++- samples/multi-project/frontend/Order.cs | 6 ++++- .../frontend/Pages/Error.cshtml.cs | 4 ++++ .../frontend/Pages/Index.cshtml.cs | 6 ++++- .../frontend/Pages/Privacy.cshtml.cs | 6 ++++- samples/multi-project/frontend/Program.cs | 4 ++++ samples/multi-project/frontend/Startup.cs | 4 ++++ samples/multi-project/worker/Program.cs | 4 ++++ samples/multi-project/worker/QueueWorker.cs | 4 ++++ .../single-project/test-project/Program.cs | 4 ++++ .../single-project/test-project/Startup.cs | 4 ++++ src/Tye.Core/Application.cs | 6 ++++- src/Tye.Core/ApplicationGlobals.cs | 6 ++++- src/Tye.Core/ApplicationYamlWriter.cs | 7 ++++-- src/Tye.Core/BuildDockerImageStep.cs | 6 ++++- src/Tye.Core/CombineStep.cs | 6 ++++- src/Tye.Core/CommandException.cs | 6 ++++- src/Tye.Core/ComputedBindings.cs | 6 ++++- src/Tye.Core/ConsoleExtensions.cs | 6 ++++- src/Tye.Core/ContainerInfo.cs | 5 +++- src/Tye.Core/ContainerRegistry.cs | 6 ++++- src/Tye.Core/CustomizationPipeline.cs | 6 ++++- src/Tye.Core/DeployServiceYamlStep.cs | 7 ++++-- src/Tye.Core/DeploymentKind.cs | 6 ++++- src/Tye.Core/DirectoryCopy.cs | 6 ++++- src/Tye.Core/DirectorySearch.cs | 6 ++++- src/Tye.Core/DockerContainerBuilder.cs | 7 ++++-- src/Tye.Core/DockerImage.cs | 6 ++++- src/Tye.Core/DockerPush.cs | 6 ++++- src/Tye.Core/DockerfileGenerator.cs | 6 ++++- src/Tye.Core/EnvironmentAttribute.cs | 6 ++++- src/Tye.Core/Environments.cs | 6 ++++- src/Tye.Core/Framework.cs | 6 ++++- src/Tye.Core/FrameworkCollection.cs | 6 ++++- src/Tye.Core/GenerateDockerfileStep.cs | 6 ++++- src/Tye.Core/GenerateHelmChartStep.cs | 6 ++++- .../GenerateKubernetesManifestStep.cs | 6 ++++- src/Tye.Core/GenerateOamComponentStep.cs | 6 ++++- src/Tye.Core/GeneratedAssets.cs | 6 ++++- src/Tye.Core/HelmChartBuilder.cs | 7 ++++-- src/Tye.Core/HelmChartGenerator.cs | 6 ++++- src/Tye.Core/HelmChartStep.cs | 6 ++++- src/Tye.Core/HelmPush.cs | 6 ++++- src/Tye.Core/IYamlManifestOutput.cs | 6 ++++- src/Tye.Core/KubernetesDeploymentOutput.cs | 6 ++++- src/Tye.Core/KubernetesManifestGenerator.cs | 6 ++++- src/Tye.Core/KubernetesServiceOutput.cs | 6 ++++- src/Tye.Core/Names.cs | 6 ++++- src/Tye.Core/OamApplicationGenerator.cs | 6 ++++- src/Tye.Core/OamComponentGenerator.cs | 6 ++++- src/Tye.Core/OamComponentOutput.cs | 6 ++++- src/Tye.Core/OutputContext.cs | 6 ++++- src/Tye.Core/Pipeline.cs | 6 ++++- src/Tye.Core/PipelineHolder.cs | 6 ++++- src/Tye.Core/Program.cs | 6 ++++- src/Tye.Core/Project.cs | 6 ++++- src/Tye.Core/ProjectReader.cs | 6 ++++- src/Tye.Core/PushDockerImageStep.cs | 6 ++++- src/Tye.Core/Secret.cs | 6 ++++- src/Tye.Core/Service.cs | 6 ++++- src/Tye.Core/ServiceBinding.cs | 4 +++- src/Tye.Core/ServiceExecutor.cs | 7 ++++-- src/Tye.Core/Source.cs | 6 ++++- src/Tye.Core/StandardOptions.cs | 6 ++++- src/Tye.Core/Step.cs | 6 ++++- src/Tye.Core/StepView.cs | 6 ++++- src/Tye.Core/TargetInstaller.cs | 5 ++-- src/Tye.Core/Templates.cs | 6 ++++- src/Tye.Core/Verbosity.cs | 6 ++++- src/Tye.Core/WriteServiceYamlStep.cs | 6 ++++- .../DiagnosticOptions.cs | 6 ++++- .../DiagnosticsCollector.cs | 6 ++++- .../Logging/LogObject.cs | 6 ++++- .../Logging/LogValuesFormatter.cs | 4 ++++ .../Logging/LoggerException.cs | 6 ++++- .../Metrics/CounterPayload.cs | 6 +++-- .../Metrics/ICounterPayload.cs | 6 ++--- .../Metrics/IncrementingCounterPayload.cs | 6 +++-- .../HostingRuntimeHelpers.cs | 6 ++--- src/Tye.Hosting.Runtime/StartupHook.cs | 7 +++++- .../AggregateApplicationProcessor.cs | 6 ++++- src/Tye.Hosting/DockerRunner.cs | 6 ++++- src/Tye.Hosting/EventPipeDiagnosticsRunner.cs | 6 ++++- src/Tye.Hosting/IApplicationProcessor.cs | 6 ++++- .../Infrastructure/ProcessResult.cs | 6 ++++- src/Tye.Hosting/Infrastructure/ProcessUtil.cs | 6 ++++- src/Tye.Hosting/Model/Application.cs | 6 ++++- src/Tye.Hosting/Model/DockerRunInfo.cs | 6 ++++- src/Tye.Hosting/Model/ExecutableRunInfo.cs | 6 ++++- src/Tye.Hosting/Model/ProjectRunInfo.cs | 6 ++++- src/Tye.Hosting/Model/RunInfo.cs | 6 ++++- src/Tye.Hosting/Model/Service.cs | 6 ++++- src/Tye.Hosting/Model/ServiceBinding.cs | 6 ++++- src/Tye.Hosting/Model/ServiceDescription.cs | 6 ++++- src/Tye.Hosting/Model/ServiceState.cs | 6 ++--- src/Tye.Hosting/ProcessRunner.cs | 6 ++++- src/Tye.Hosting/ProcessRunnerOptions.cs | 7 ++++-- src/Tye.Hosting/ProxyService.cs | 6 ++++- src/Tye.Hosting/TyeDashboardApi.cs | 6 ++++- src/Tye.Hosting/TyeHost.cs | 6 ++++- src/tye/CommandException.cs | 6 ++++- src/tye/CommonArguments.cs | 7 ++++-- src/tye/ConfigModel/ConfigApplication.cs | 6 ++++- .../ConfigModel/ConfigConfigurationSource.cs | 6 ++++- src/tye/ConfigModel/ConfigFactory.cs | 6 ++++- src/tye/ConfigModel/ConfigService.cs | 6 ++++- src/tye/ConfigModel/ConfigServiceBinding.cs | 5 ++-- src/tye/ConsoleExtensions.cs | 6 ++++- src/tye/NameSanitizer.cs | 6 ++++- src/tye/Program.DeployCommand.cs | 5 +++- src/tye/Program.GenerateCommand.cs | 5 +++- src/tye/Program.InitCommand.cs | 5 +++- src/tye/Program.RunCommand.cs | 5 +++- src/tye/Program.cs | 6 ++++- src/tye/TempDirectory.cs | 6 ++++- src/tye/TempFile.cs | 6 ++++- ...pter.cs => TemporaryApplicationAdapter.cs} | 6 ++++- test/E2ETest/RetryHandler.cs | 7 ++++-- test/E2ETest/TyeRunTest.cs | 6 ++++- 131 files changed, 641 insertions(+), 134 deletions(-) create mode 100644 LICENSE.txt rename src/tye/{OpulenceApplicationAdapter.cs => TemporaryApplicationAdapter.cs} (74%) diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 00000000..a616ed18 --- /dev/null +++ b/LICENSE.txt @@ -0,0 +1,23 @@ +The MIT License (MIT) + +Copyright (c) .NET Foundation and Contributors + +All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/samples/frontend-backend/backend/Program.cs b/samples/frontend-backend/backend/Program.cs index 1b93b20d..8fa1a574 100644 --- a/samples/frontend-backend/backend/Program.cs +++ b/samples/frontend-backend/backend/Program.cs @@ -1,3 +1,7 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Hosting; diff --git a/samples/frontend-backend/backend/Startup.cs b/samples/frontend-backend/backend/Startup.cs index 91f50c00..006b5355 100644 --- a/samples/frontend-backend/backend/Startup.cs +++ b/samples/frontend-backend/backend/Startup.cs @@ -1,3 +1,7 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + using System.Net; using System.Text.Json; using Microsoft.AspNetCore.Builder; diff --git a/samples/frontend-backend/frontend/ConfigurationExtensions.cs b/samples/frontend-backend/frontend/ConfigurationExtensions.cs index d912c4bb..ff49daa0 100644 --- a/samples/frontend-backend/frontend/ConfigurationExtensions.cs +++ b/samples/frontend-backend/frontend/ConfigurationExtensions.cs @@ -1,4 +1,8 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System; namespace Microsoft.Extensions.Configuration { diff --git a/samples/frontend-backend/frontend/Program.cs b/samples/frontend-backend/frontend/Program.cs index 229478a8..0ec50afe 100644 --- a/samples/frontend-backend/frontend/Program.cs +++ b/samples/frontend-backend/frontend/Program.cs @@ -1,3 +1,7 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Hosting; diff --git a/samples/frontend-backend/frontend/Startup.cs b/samples/frontend-backend/frontend/Startup.cs index 9f6f98e5..81e7627d 100644 --- a/samples/frontend-backend/frontend/Startup.cs +++ b/samples/frontend-backend/frontend/Startup.cs @@ -1,3 +1,7 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + using System; using System.Net; using System.Net.Http; diff --git a/samples/multi-project/backend/IOrderService.cs b/samples/multi-project/backend/IOrderService.cs index 35dbfe3b..36878126 100644 --- a/samples/multi-project/backend/IOrderService.cs +++ b/samples/multi-project/backend/IOrderService.cs @@ -1,4 +1,8 @@ -using System.ServiceModel; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System.ServiceModel; using System.Threading.Tasks; namespace Shared diff --git a/samples/multi-project/backend/Order.cs b/samples/multi-project/backend/Order.cs index c9ffcc9b..6df7ecfd 100644 --- a/samples/multi-project/backend/Order.cs +++ b/samples/multi-project/backend/Order.cs @@ -1,4 +1,8 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System; using System.Runtime.Serialization; namespace Shared diff --git a/samples/multi-project/backend/OrdersService.cs b/samples/multi-project/backend/OrdersService.cs index 1940c1d6..997e805e 100644 --- a/samples/multi-project/backend/OrdersService.cs +++ b/samples/multi-project/backend/OrdersService.cs @@ -1,4 +1,8 @@ -using System.Text; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System.Text; using System.Text.Json; using System.Threading.Tasks; using Microsoft.Extensions.Logging; diff --git a/samples/multi-project/backend/Program.cs b/samples/multi-project/backend/Program.cs index d3105795..96f72093 100644 --- a/samples/multi-project/backend/Program.cs +++ b/samples/multi-project/backend/Program.cs @@ -1,3 +1,7 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + using System; using System.Diagnostics; using System.IO; diff --git a/samples/multi-project/backend/Startup.cs b/samples/multi-project/backend/Startup.cs index 87c488cc..3d1e32c1 100644 --- a/samples/multi-project/backend/Startup.cs +++ b/samples/multi-project/backend/Startup.cs @@ -1,3 +1,7 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + using System; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; diff --git a/samples/multi-project/frontend/ConfigurationExtensions.cs b/samples/multi-project/frontend/ConfigurationExtensions.cs index d912c4bb..ff49daa0 100644 --- a/samples/multi-project/frontend/ConfigurationExtensions.cs +++ b/samples/multi-project/frontend/ConfigurationExtensions.cs @@ -1,4 +1,8 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System; namespace Microsoft.Extensions.Configuration { diff --git a/samples/multi-project/frontend/IOrderService.cs b/samples/multi-project/frontend/IOrderService.cs index 35dbfe3b..36878126 100644 --- a/samples/multi-project/frontend/IOrderService.cs +++ b/samples/multi-project/frontend/IOrderService.cs @@ -1,4 +1,8 @@ -using System.ServiceModel; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System.ServiceModel; using System.Threading.Tasks; namespace Shared diff --git a/samples/multi-project/frontend/Order.cs b/samples/multi-project/frontend/Order.cs index c9ffcc9b..6df7ecfd 100644 --- a/samples/multi-project/frontend/Order.cs +++ b/samples/multi-project/frontend/Order.cs @@ -1,4 +1,8 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System; using System.Runtime.Serialization; namespace Shared diff --git a/samples/multi-project/frontend/Pages/Error.cshtml.cs b/samples/multi-project/frontend/Pages/Error.cshtml.cs index ff0b962d..02ce3fe5 100644 --- a/samples/multi-project/frontend/Pages/Error.cshtml.cs +++ b/samples/multi-project/frontend/Pages/Error.cshtml.cs @@ -1,3 +1,7 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + using System.Diagnostics; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; diff --git a/samples/multi-project/frontend/Pages/Index.cshtml.cs b/samples/multi-project/frontend/Pages/Index.cshtml.cs index 76bc70f7..d5fb6698 100644 --- a/samples/multi-project/frontend/Pages/Index.cshtml.cs +++ b/samples/multi-project/frontend/Pages/Index.cshtml.cs @@ -1,4 +1,8 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; diff --git a/samples/multi-project/frontend/Pages/Privacy.cshtml.cs b/samples/multi-project/frontend/Pages/Privacy.cshtml.cs index 10c8804d..c6e00e10 100644 --- a/samples/multi-project/frontend/Pages/Privacy.cshtml.cs +++ b/samples/multi-project/frontend/Pages/Privacy.cshtml.cs @@ -1,4 +1,8 @@ -using Microsoft.AspNetCore.Mvc.RazorPages; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.Extensions.Logging; namespace Frontend.Pages diff --git a/samples/multi-project/frontend/Program.cs b/samples/multi-project/frontend/Program.cs index dba2339a..14849912 100644 --- a/samples/multi-project/frontend/Program.cs +++ b/samples/multi-project/frontend/Program.cs @@ -1,3 +1,7 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + using System; using System.Diagnostics; using System.IO; diff --git a/samples/multi-project/frontend/Startup.cs b/samples/multi-project/frontend/Startup.cs index 0a6a89a5..195a2929 100644 --- a/samples/multi-project/frontend/Startup.cs +++ b/samples/multi-project/frontend/Startup.cs @@ -1,3 +1,7 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + using Grpc.Net.Client; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; diff --git a/samples/multi-project/worker/Program.cs b/samples/multi-project/worker/Program.cs index 256ca676..0fe1b044 100644 --- a/samples/multi-project/worker/Program.cs +++ b/samples/multi-project/worker/Program.cs @@ -1,3 +1,7 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + using System; using System.IO; using Microsoft.Extensions.Configuration; diff --git a/samples/multi-project/worker/QueueWorker.cs b/samples/multi-project/worker/QueueWorker.cs index f593164e..3743416f 100644 --- a/samples/multi-project/worker/QueueWorker.cs +++ b/samples/multi-project/worker/QueueWorker.cs @@ -1,3 +1,7 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + using System; using System.Runtime.ExceptionServices; using System.Text; diff --git a/samples/single-project/test-project/Program.cs b/samples/single-project/test-project/Program.cs index 4a68c9d5..ec0f0c48 100644 --- a/samples/single-project/test-project/Program.cs +++ b/samples/single-project/test-project/Program.cs @@ -1,3 +1,7 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + using System; using System.Collections.Generic; using System.Linq; diff --git a/samples/single-project/test-project/Startup.cs b/samples/single-project/test-project/Startup.cs index ad1ba81f..dd82900b 100644 --- a/samples/single-project/test-project/Startup.cs +++ b/samples/single-project/test-project/Startup.cs @@ -1,3 +1,7 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + using System; using System.Collections.Generic; using System.Linq; diff --git a/src/Tye.Core/Application.cs b/src/Tye.Core/Application.cs index 4a028cc4..3211739f 100644 --- a/src/Tye.Core/Application.cs +++ b/src/Tye.Core/Application.cs @@ -1,4 +1,8 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System; using System.Collections.Generic; using System.IO; using System.Linq; diff --git a/src/Tye.Core/ApplicationGlobals.cs b/src/Tye.Core/ApplicationGlobals.cs index 5cf5bef7..2e7ad706 100644 --- a/src/Tye.Core/ApplicationGlobals.cs +++ b/src/Tye.Core/ApplicationGlobals.cs @@ -1,4 +1,8 @@ -namespace Tye +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +namespace Tye { public sealed class ApplicationGlobals { diff --git a/src/Tye.Core/ApplicationYamlWriter.cs b/src/Tye.Core/ApplicationYamlWriter.cs index e1b86da4..3127c237 100644 --- a/src/Tye.Core/ApplicationYamlWriter.cs +++ b/src/Tye.Core/ApplicationYamlWriter.cs @@ -1,6 +1,9 @@ -using System.IO; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System.IO; using System.Linq; -using System.Text; using System.Threading.Tasks; using YamlDotNet.RepresentationModel; diff --git a/src/Tye.Core/BuildDockerImageStep.cs b/src/Tye.Core/BuildDockerImageStep.cs index 1ea95bf6..95949c44 100644 --- a/src/Tye.Core/BuildDockerImageStep.cs +++ b/src/Tye.Core/BuildDockerImageStep.cs @@ -1,4 +1,8 @@ -using System.Threading.Tasks; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System.Threading.Tasks; namespace Tye { diff --git a/src/Tye.Core/CombineStep.cs b/src/Tye.Core/CombineStep.cs index aa5ce780..c482c3fc 100644 --- a/src/Tye.Core/CombineStep.cs +++ b/src/Tye.Core/CombineStep.cs @@ -1,4 +1,8 @@ -using System.Threading.Tasks; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System.Threading.Tasks; namespace Tye { diff --git a/src/Tye.Core/CommandException.cs b/src/Tye.Core/CommandException.cs index 83e69a92..ba792c97 100644 --- a/src/Tye.Core/CommandException.cs +++ b/src/Tye.Core/CommandException.cs @@ -1,4 +1,8 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System; namespace Tye { diff --git a/src/Tye.Core/ComputedBindings.cs b/src/Tye.Core/ComputedBindings.cs index a74a7a56..05954cbb 100644 --- a/src/Tye.Core/ComputedBindings.cs +++ b/src/Tye.Core/ComputedBindings.cs @@ -1,4 +1,8 @@ -using System.Collections.Generic; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System.Collections.Generic; namespace Tye { diff --git a/src/Tye.Core/ConsoleExtensions.cs b/src/Tye.Core/ConsoleExtensions.cs index 07748638..d3a6eef8 100644 --- a/src/Tye.Core/ConsoleExtensions.cs +++ b/src/Tye.Core/ConsoleExtensions.cs @@ -1,4 +1,8 @@ -using System.Linq; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System.Linq; namespace System.CommandLine { diff --git a/src/Tye.Core/ContainerInfo.cs b/src/Tye.Core/ContainerInfo.cs index 483906fc..0f7764d7 100644 --- a/src/Tye.Core/ContainerInfo.cs +++ b/src/Tye.Core/ContainerInfo.cs @@ -1,4 +1,7 @@ -namespace Tye +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. +namespace Tye { public sealed class ContainerInfo { diff --git a/src/Tye.Core/ContainerRegistry.cs b/src/Tye.Core/ContainerRegistry.cs index bac47324..ab4c676a 100644 --- a/src/Tye.Core/ContainerRegistry.cs +++ b/src/Tye.Core/ContainerRegistry.cs @@ -1,4 +1,8 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System; namespace Tye { diff --git a/src/Tye.Core/CustomizationPipeline.cs b/src/Tye.Core/CustomizationPipeline.cs index 9e301451..dc2b4ac3 100644 --- a/src/Tye.Core/CustomizationPipeline.cs +++ b/src/Tye.Core/CustomizationPipeline.cs @@ -1,4 +1,8 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System; using System.Collections.Generic; using System.IO; using System.Linq; diff --git a/src/Tye.Core/DeployServiceYamlStep.cs b/src/Tye.Core/DeployServiceYamlStep.cs index 7c235a8b..65234765 100644 --- a/src/Tye.Core/DeployServiceYamlStep.cs +++ b/src/Tye.Core/DeployServiceYamlStep.cs @@ -1,9 +1,12 @@ -using System.CommandLine.Invocation; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System.CommandLine.Invocation; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; -using Tye; using YamlDotNet.RepresentationModel; namespace Tye diff --git a/src/Tye.Core/DeploymentKind.cs b/src/Tye.Core/DeploymentKind.cs index 41225530..4f5ee517 100644 --- a/src/Tye.Core/DeploymentKind.cs +++ b/src/Tye.Core/DeploymentKind.cs @@ -1,4 +1,8 @@ -namespace Tye +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +namespace Tye { public enum DeploymentKind { diff --git a/src/Tye.Core/DirectoryCopy.cs b/src/Tye.Core/DirectoryCopy.cs index 0d2e2d1f..efc68a44 100644 --- a/src/Tye.Core/DirectoryCopy.cs +++ b/src/Tye.Core/DirectoryCopy.cs @@ -1,4 +1,8 @@ -using System.IO; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System.IO; namespace Tye { diff --git a/src/Tye.Core/DirectorySearch.cs b/src/Tye.Core/DirectorySearch.cs index 97d56083..ca6545b2 100644 --- a/src/Tye.Core/DirectorySearch.cs +++ b/src/Tye.Core/DirectorySearch.cs @@ -1,4 +1,8 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System; using System.Collections.Generic; using System.IO; using System.Linq; diff --git a/src/Tye.Core/DockerContainerBuilder.cs b/src/Tye.Core/DockerContainerBuilder.cs index 94cdee60..692cde0e 100644 --- a/src/Tye.Core/DockerContainerBuilder.cs +++ b/src/Tye.Core/DockerContainerBuilder.cs @@ -1,8 +1,11 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System; using System.CommandLine.Invocation; using System.IO; using System.Threading.Tasks; -using Tye; namespace Tye { diff --git a/src/Tye.Core/DockerImage.cs b/src/Tye.Core/DockerImage.cs index 710c2440..710aa40d 100644 --- a/src/Tye.Core/DockerImage.cs +++ b/src/Tye.Core/DockerImage.cs @@ -1,4 +1,8 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System; namespace Tye { diff --git a/src/Tye.Core/DockerPush.cs b/src/Tye.Core/DockerPush.cs index 7e643319..676f3256 100644 --- a/src/Tye.Core/DockerPush.cs +++ b/src/Tye.Core/DockerPush.cs @@ -1,4 +1,8 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System; using System.CommandLine.Invocation; using System.Threading.Tasks; diff --git a/src/Tye.Core/DockerfileGenerator.cs b/src/Tye.Core/DockerfileGenerator.cs index 974dcd45..0fe301ae 100644 --- a/src/Tye.Core/DockerfileGenerator.cs +++ b/src/Tye.Core/DockerfileGenerator.cs @@ -1,4 +1,8 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System; using System.IO; using System.Linq; using System.Text; diff --git a/src/Tye.Core/EnvironmentAttribute.cs b/src/Tye.Core/EnvironmentAttribute.cs index 22463751..640d1ec1 100644 --- a/src/Tye.Core/EnvironmentAttribute.cs +++ b/src/Tye.Core/EnvironmentAttribute.cs @@ -1,4 +1,8 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System; namespace Tye { diff --git a/src/Tye.Core/Environments.cs b/src/Tye.Core/Environments.cs index 017f3274..31d448eb 100644 --- a/src/Tye.Core/Environments.cs +++ b/src/Tye.Core/Environments.cs @@ -1,4 +1,8 @@ -namespace Tye +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +namespace Tye { public static class Environments { diff --git a/src/Tye.Core/Framework.cs b/src/Tye.Core/Framework.cs index 88ba8dec..c0ff3fe1 100644 --- a/src/Tye.Core/Framework.cs +++ b/src/Tye.Core/Framework.cs @@ -1,4 +1,8 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System; namespace Tye { diff --git a/src/Tye.Core/FrameworkCollection.cs b/src/Tye.Core/FrameworkCollection.cs index b5eebfe5..15207672 100644 --- a/src/Tye.Core/FrameworkCollection.cs +++ b/src/Tye.Core/FrameworkCollection.cs @@ -1,4 +1,8 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System; using System.Collections.Generic; using System.Collections.ObjectModel; diff --git a/src/Tye.Core/GenerateDockerfileStep.cs b/src/Tye.Core/GenerateDockerfileStep.cs index e057f6e3..3c39dd93 100644 --- a/src/Tye.Core/GenerateDockerfileStep.cs +++ b/src/Tye.Core/GenerateDockerfileStep.cs @@ -1,4 +1,8 @@ -using System.IO; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System.IO; using System.Threading.Tasks; namespace Tye diff --git a/src/Tye.Core/GenerateHelmChartStep.cs b/src/Tye.Core/GenerateHelmChartStep.cs index 2694165b..b41d85e9 100644 --- a/src/Tye.Core/GenerateHelmChartStep.cs +++ b/src/Tye.Core/GenerateHelmChartStep.cs @@ -1,4 +1,8 @@ -using System.IO; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System.IO; using System.Threading.Tasks; namespace Tye diff --git a/src/Tye.Core/GenerateKubernetesManifestStep.cs b/src/Tye.Core/GenerateKubernetesManifestStep.cs index 42b42503..824029a4 100644 --- a/src/Tye.Core/GenerateKubernetesManifestStep.cs +++ b/src/Tye.Core/GenerateKubernetesManifestStep.cs @@ -1,4 +1,8 @@ -using System.Threading.Tasks; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System.Threading.Tasks; namespace Tye { diff --git a/src/Tye.Core/GenerateOamComponentStep.cs b/src/Tye.Core/GenerateOamComponentStep.cs index 31336e66..4460e802 100644 --- a/src/Tye.Core/GenerateOamComponentStep.cs +++ b/src/Tye.Core/GenerateOamComponentStep.cs @@ -1,4 +1,8 @@ -using System.Threading.Tasks; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System.Threading.Tasks; namespace Tye { diff --git a/src/Tye.Core/GeneratedAssets.cs b/src/Tye.Core/GeneratedAssets.cs index 07c2b7b3..6e971b59 100644 --- a/src/Tye.Core/GeneratedAssets.cs +++ b/src/Tye.Core/GeneratedAssets.cs @@ -1,4 +1,8 @@ -namespace Tye +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +namespace Tye { public sealed class GeneratedAssets { diff --git a/src/Tye.Core/HelmChartBuilder.cs b/src/Tye.Core/HelmChartBuilder.cs index af60525e..7a7bbb75 100644 --- a/src/Tye.Core/HelmChartBuilder.cs +++ b/src/Tye.Core/HelmChartBuilder.cs @@ -1,8 +1,11 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System; using System.CommandLine.Invocation; using System.IO; using System.Threading.Tasks; -using Tye; namespace Tye { diff --git a/src/Tye.Core/HelmChartGenerator.cs b/src/Tye.Core/HelmChartGenerator.cs index 843252b9..ea004657 100644 --- a/src/Tye.Core/HelmChartGenerator.cs +++ b/src/Tye.Core/HelmChartGenerator.cs @@ -1,4 +1,8 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System; using System.IO; using System.Threading.Tasks; diff --git a/src/Tye.Core/HelmChartStep.cs b/src/Tye.Core/HelmChartStep.cs index 4f2dacf6..5c6a514b 100644 --- a/src/Tye.Core/HelmChartStep.cs +++ b/src/Tye.Core/HelmChartStep.cs @@ -1,4 +1,8 @@ -namespace Tye +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +namespace Tye { public sealed class HelmChartStep : Step { diff --git a/src/Tye.Core/HelmPush.cs b/src/Tye.Core/HelmPush.cs index 65cd52ac..be6c7c5a 100644 --- a/src/Tye.Core/HelmPush.cs +++ b/src/Tye.Core/HelmPush.cs @@ -1,4 +1,8 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System; using System.CommandLine.Invocation; using System.Threading.Tasks; diff --git a/src/Tye.Core/IYamlManifestOutput.cs b/src/Tye.Core/IYamlManifestOutput.cs index eab01bfa..917f4219 100644 --- a/src/Tye.Core/IYamlManifestOutput.cs +++ b/src/Tye.Core/IYamlManifestOutput.cs @@ -1,4 +1,8 @@ -using YamlDotNet.RepresentationModel; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using YamlDotNet.RepresentationModel; namespace Tye { diff --git a/src/Tye.Core/KubernetesDeploymentOutput.cs b/src/Tye.Core/KubernetesDeploymentOutput.cs index 64ae7aa3..3bb3ed4a 100644 --- a/src/Tye.Core/KubernetesDeploymentOutput.cs +++ b/src/Tye.Core/KubernetesDeploymentOutput.cs @@ -1,4 +1,8 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System; using YamlDotNet.RepresentationModel; namespace Tye diff --git a/src/Tye.Core/KubernetesManifestGenerator.cs b/src/Tye.Core/KubernetesManifestGenerator.cs index 2c4a9cdb..262f1f8c 100644 --- a/src/Tye.Core/KubernetesManifestGenerator.cs +++ b/src/Tye.Core/KubernetesManifestGenerator.cs @@ -1,4 +1,8 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System; using System.Linq; using YamlDotNet.Core; using YamlDotNet.RepresentationModel; diff --git a/src/Tye.Core/KubernetesServiceOutput.cs b/src/Tye.Core/KubernetesServiceOutput.cs index 30d88b40..3f78b400 100644 --- a/src/Tye.Core/KubernetesServiceOutput.cs +++ b/src/Tye.Core/KubernetesServiceOutput.cs @@ -1,4 +1,8 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System; using YamlDotNet.RepresentationModel; namespace Tye diff --git a/src/Tye.Core/Names.cs b/src/Tye.Core/Names.cs index 3afc2fcb..f21fcbf8 100644 --- a/src/Tye.Core/Names.cs +++ b/src/Tye.Core/Names.cs @@ -1,4 +1,8 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System; namespace Tye { diff --git a/src/Tye.Core/OamApplicationGenerator.cs b/src/Tye.Core/OamApplicationGenerator.cs index ef15de08..7c5d2940 100644 --- a/src/Tye.Core/OamApplicationGenerator.cs +++ b/src/Tye.Core/OamApplicationGenerator.cs @@ -1,4 +1,8 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System; using System.Collections.Generic; using System.IO; using System.Linq; diff --git a/src/Tye.Core/OamComponentGenerator.cs b/src/Tye.Core/OamComponentGenerator.cs index b2e32f4d..6eb3b504 100644 --- a/src/Tye.Core/OamComponentGenerator.cs +++ b/src/Tye.Core/OamComponentGenerator.cs @@ -1,4 +1,8 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System; using System.Linq; using YamlDotNet.RepresentationModel; diff --git a/src/Tye.Core/OamComponentOutput.cs b/src/Tye.Core/OamComponentOutput.cs index 07031070..3662fa41 100644 --- a/src/Tye.Core/OamComponentOutput.cs +++ b/src/Tye.Core/OamComponentOutput.cs @@ -1,4 +1,8 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System; using YamlDotNet.RepresentationModel; namespace Tye diff --git a/src/Tye.Core/OutputContext.cs b/src/Tye.Core/OutputContext.cs index 8d3d8274..63afcf3f 100644 --- a/src/Tye.Core/OutputContext.cs +++ b/src/Tye.Core/OutputContext.cs @@ -1,4 +1,8 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System; using System.Collections.Generic; using System.CommandLine; using System.CommandLine.IO; diff --git a/src/Tye.Core/Pipeline.cs b/src/Tye.Core/Pipeline.cs index 5fee3c18..2936b0fc 100644 --- a/src/Tye.Core/Pipeline.cs +++ b/src/Tye.Core/Pipeline.cs @@ -1,4 +1,8 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System; using System.Collections.Generic; using System.Threading.Tasks; diff --git a/src/Tye.Core/PipelineHolder.cs b/src/Tye.Core/PipelineHolder.cs index de104415..658b3394 100644 --- a/src/Tye.Core/PipelineHolder.cs +++ b/src/Tye.Core/PipelineHolder.cs @@ -1,4 +1,8 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System; namespace Tye { diff --git a/src/Tye.Core/Program.cs b/src/Tye.Core/Program.cs index ff9e4c08..71f78d15 100644 --- a/src/Tye.Core/Program.cs +++ b/src/Tye.Core/Program.cs @@ -1,4 +1,8 @@ -namespace Tye +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +namespace Tye { static class Program { diff --git a/src/Tye.Core/Project.cs b/src/Tye.Core/Project.cs index 1749c253..2c58575c 100644 --- a/src/Tye.Core/Project.cs +++ b/src/Tye.Core/Project.cs @@ -1,4 +1,8 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System; namespace Tye { diff --git a/src/Tye.Core/ProjectReader.cs b/src/Tye.Core/ProjectReader.cs index 55692566..da55ba0c 100644 --- a/src/Tye.Core/ProjectReader.cs +++ b/src/Tye.Core/ProjectReader.cs @@ -1,4 +1,8 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System; using System.CommandLine.Invocation; using System.IO; using System.Linq; diff --git a/src/Tye.Core/PushDockerImageStep.cs b/src/Tye.Core/PushDockerImageStep.cs index d7acf011..2684f87c 100644 --- a/src/Tye.Core/PushDockerImageStep.cs +++ b/src/Tye.Core/PushDockerImageStep.cs @@ -1,4 +1,8 @@ -using System.Linq; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System.Linq; using System.Threading.Tasks; namespace Tye diff --git a/src/Tye.Core/Secret.cs b/src/Tye.Core/Secret.cs index 8fa7061b..6e9fcdb0 100644 --- a/src/Tye.Core/Secret.cs +++ b/src/Tye.Core/Secret.cs @@ -1,4 +1,8 @@ -namespace Tye +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +namespace Tye { public class Secret { diff --git a/src/Tye.Core/Service.cs b/src/Tye.Core/Service.cs index 7643d7ca..25834cf0 100644 --- a/src/Tye.Core/Service.cs +++ b/src/Tye.Core/Service.cs @@ -1,4 +1,8 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System; using System.Collections.Generic; namespace Tye diff --git a/src/Tye.Core/ServiceBinding.cs b/src/Tye.Core/ServiceBinding.cs index b2a32637..4c8f6074 100644 --- a/src/Tye.Core/ServiceBinding.cs +++ b/src/Tye.Core/ServiceBinding.cs @@ -1,4 +1,6 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. namespace Tye { diff --git a/src/Tye.Core/ServiceExecutor.cs b/src/Tye.Core/ServiceExecutor.cs index fcaea5e9..47b3c7f0 100644 --- a/src/Tye.Core/ServiceExecutor.cs +++ b/src/Tye.Core/ServiceExecutor.cs @@ -1,7 +1,10 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; -using System.IO; using System.Linq; using System.Threading.Tasks; diff --git a/src/Tye.Core/Source.cs b/src/Tye.Core/Source.cs index b846dc7d..c6c46e26 100644 --- a/src/Tye.Core/Source.cs +++ b/src/Tye.Core/Source.cs @@ -1,4 +1,8 @@ -namespace Tye +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +namespace Tye { public abstract class Source { diff --git a/src/Tye.Core/StandardOptions.cs b/src/Tye.Core/StandardOptions.cs index 90283aad..0e0d5112 100644 --- a/src/Tye.Core/StandardOptions.cs +++ b/src/Tye.Core/StandardOptions.cs @@ -1,4 +1,8 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System; using System.Collections.Generic; using System.CommandLine; using System.CommandLine.Parsing; diff --git a/src/Tye.Core/Step.cs b/src/Tye.Core/Step.cs index e03df906..0a7bca4a 100644 --- a/src/Tye.Core/Step.cs +++ b/src/Tye.Core/Step.cs @@ -1,4 +1,8 @@ -namespace Tye +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +namespace Tye { public abstract class Step { diff --git a/src/Tye.Core/StepView.cs b/src/Tye.Core/StepView.cs index f4425c82..ecc9f878 100644 --- a/src/Tye.Core/StepView.cs +++ b/src/Tye.Core/StepView.cs @@ -1,4 +1,8 @@ -namespace Tye +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +namespace Tye { internal class StepView { diff --git a/src/Tye.Core/TargetInstaller.cs b/src/Tye.Core/TargetInstaller.cs index 516e0e46..46cb3ad9 100644 --- a/src/Tye.Core/TargetInstaller.cs +++ b/src/Tye.Core/TargetInstaller.cs @@ -1,5 +1,6 @@ -// 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. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. using System; using System.IO; diff --git a/src/Tye.Core/Templates.cs b/src/Tye.Core/Templates.cs index b48b7219..bb388011 100644 --- a/src/Tye.Core/Templates.cs +++ b/src/Tye.Core/Templates.cs @@ -1,4 +1,8 @@ -using System.IO; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System.IO; namespace Tye { diff --git a/src/Tye.Core/Verbosity.cs b/src/Tye.Core/Verbosity.cs index 0039eb9c..ee8cc8a4 100644 --- a/src/Tye.Core/Verbosity.cs +++ b/src/Tye.Core/Verbosity.cs @@ -1,4 +1,8 @@ -namespace Tye +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +namespace Tye { public enum Verbosity { diff --git a/src/Tye.Core/WriteServiceYamlStep.cs b/src/Tye.Core/WriteServiceYamlStep.cs index 8048dd04..6cc2c9b4 100644 --- a/src/Tye.Core/WriteServiceYamlStep.cs +++ b/src/Tye.Core/WriteServiceYamlStep.cs @@ -1,4 +1,8 @@ -using System.IO; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; diff --git a/src/Tye.Hosting.Diagnostics/DiagnosticOptions.cs b/src/Tye.Hosting.Diagnostics/DiagnosticOptions.cs index 7beb5337..01b1f9b7 100644 --- a/src/Tye.Hosting.Diagnostics/DiagnosticOptions.cs +++ b/src/Tye.Hosting.Diagnostics/DiagnosticOptions.cs @@ -1,4 +1,8 @@ -using Microsoft.Extensions.Configuration; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; namespace Tye.Hosting.Diagnostics diff --git a/src/Tye.Hosting.Diagnostics/DiagnosticsCollector.cs b/src/Tye.Hosting.Diagnostics/DiagnosticsCollector.cs index 0a8506f6..72306627 100644 --- a/src/Tye.Hosting.Diagnostics/DiagnosticsCollector.cs +++ b/src/Tye.Hosting.Diagnostics/DiagnosticsCollector.cs @@ -1,4 +1,8 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System; using System.Collections.Generic; using System.Diagnostics; using System.Diagnostics.Tracing; diff --git a/src/Tye.Hosting.Diagnostics/Logging/LogObject.cs b/src/Tye.Hosting.Diagnostics/Logging/LogObject.cs index 64fbfe45..3d5b783f 100644 --- a/src/Tye.Hosting.Diagnostics/Logging/LogObject.cs +++ b/src/Tye.Hosting.Diagnostics/Logging/LogObject.cs @@ -1,4 +1,8 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System; using System.Collections; using System.Collections.Generic; using System.Text.Json; diff --git a/src/Tye.Hosting.Diagnostics/Logging/LogValuesFormatter.cs b/src/Tye.Hosting.Diagnostics/Logging/LogValuesFormatter.cs index 49720f50..fa075b9b 100644 --- a/src/Tye.Hosting.Diagnostics/Logging/LogValuesFormatter.cs +++ b/src/Tye.Hosting.Diagnostics/Logging/LogValuesFormatter.cs @@ -1,6 +1,10 @@ // 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. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + using System; using System.Collections; using System.Collections.Generic; diff --git a/src/Tye.Hosting.Diagnostics/Logging/LoggerException.cs b/src/Tye.Hosting.Diagnostics/Logging/LoggerException.cs index 9aca7c80..f484ac64 100644 --- a/src/Tye.Hosting.Diagnostics/Logging/LoggerException.cs +++ b/src/Tye.Hosting.Diagnostics/Logging/LoggerException.cs @@ -1,4 +1,8 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System; using System.Collections; using System.Runtime.Serialization; using System.Text.Json; diff --git a/src/Tye.Hosting.Diagnostics/Metrics/CounterPayload.cs b/src/Tye.Hosting.Diagnostics/Metrics/CounterPayload.cs index 13440458..db11ce8b 100644 --- a/src/Tye.Hosting.Diagnostics/Metrics/CounterPayload.cs +++ b/src/Tye.Hosting.Diagnostics/Metrics/CounterPayload.cs @@ -1,6 +1,8 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + using System.Collections.Generic; -using System.Text; namespace Tye.Hosting.Diagnostics.Metrics { diff --git a/src/Tye.Hosting.Diagnostics/Metrics/ICounterPayload.cs b/src/Tye.Hosting.Diagnostics/Metrics/ICounterPayload.cs index 88aa8c6a..ffdf1c1f 100644 --- a/src/Tye.Hosting.Diagnostics/Metrics/ICounterPayload.cs +++ b/src/Tye.Hosting.Diagnostics/Metrics/ICounterPayload.cs @@ -1,6 +1,6 @@ -using System; -using System.Collections.Generic; -using System.Text; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. namespace Tye.Hosting.Diagnostics.Metrics { diff --git a/src/Tye.Hosting.Diagnostics/Metrics/IncrementingCounterPayload.cs b/src/Tye.Hosting.Diagnostics/Metrics/IncrementingCounterPayload.cs index 326f7c9e..e643ab76 100644 --- a/src/Tye.Hosting.Diagnostics/Metrics/IncrementingCounterPayload.cs +++ b/src/Tye.Hosting.Diagnostics/Metrics/IncrementingCounterPayload.cs @@ -1,6 +1,8 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + using System.Collections.Generic; -using System.Text; namespace Tye.Hosting.Diagnostics.Metrics { diff --git a/src/Tye.Hosting.Runtime/HostingRuntimeHelpers.cs b/src/Tye.Hosting.Runtime/HostingRuntimeHelpers.cs index 35692b24..585c6f2b 100644 --- a/src/Tye.Hosting.Runtime/HostingRuntimeHelpers.cs +++ b/src/Tye.Hosting.Runtime/HostingRuntimeHelpers.cs @@ -1,6 +1,6 @@ -using System; -using System.Collections.Generic; -using System.Text; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. namespace Tye.Hosting.Runtime { diff --git a/src/Tye.Hosting.Runtime/StartupHook.cs b/src/Tye.Hosting.Runtime/StartupHook.cs index 073b5687..fc641546 100644 --- a/src/Tye.Hosting.Runtime/StartupHook.cs +++ b/src/Tye.Hosting.Runtime/StartupHook.cs @@ -1,6 +1,11 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System; using System.Diagnostics; using System.Threading; + /// /// Startup hooks are pieces of code that will run before a users program main executes /// See: https://github.com/dotnet/core-setup/blob/master/Documentation/design-docs/host-startup-hook.md diff --git a/src/Tye.Hosting/AggregateApplicationProcessor.cs b/src/Tye.Hosting/AggregateApplicationProcessor.cs index 0ac1eeac..acecf3a1 100644 --- a/src/Tye.Hosting/AggregateApplicationProcessor.cs +++ b/src/Tye.Hosting/AggregateApplicationProcessor.cs @@ -1,4 +1,8 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; diff --git a/src/Tye.Hosting/DockerRunner.cs b/src/Tye.Hosting/DockerRunner.cs index f64131fc..7ed19940 100644 --- a/src/Tye.Hosting/DockerRunner.cs +++ b/src/Tye.Hosting/DockerRunner.cs @@ -1,4 +1,8 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System; using System.Collections.Generic; using System.Linq; using System.Threading; diff --git a/src/Tye.Hosting/EventPipeDiagnosticsRunner.cs b/src/Tye.Hosting/EventPipeDiagnosticsRunner.cs index 5e63a0e1..14e575c1 100644 --- a/src/Tye.Hosting/EventPipeDiagnosticsRunner.cs +++ b/src/Tye.Hosting/EventPipeDiagnosticsRunner.cs @@ -1,4 +1,8 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System; using System.IO; using System.Threading; using System.Threading.Tasks; diff --git a/src/Tye.Hosting/IApplicationProcessor.cs b/src/Tye.Hosting/IApplicationProcessor.cs index 0bb7619c..0a005c0a 100644 --- a/src/Tye.Hosting/IApplicationProcessor.cs +++ b/src/Tye.Hosting/IApplicationProcessor.cs @@ -1,4 +1,8 @@ -using System.Threading.Tasks; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System.Threading.Tasks; using Tye.Hosting.Model; namespace Tye.Hosting diff --git a/src/Tye.Hosting/Infrastructure/ProcessResult.cs b/src/Tye.Hosting/Infrastructure/ProcessResult.cs index a66f3c0a..b83050e8 100644 --- a/src/Tye.Hosting/Infrastructure/ProcessResult.cs +++ b/src/Tye.Hosting/Infrastructure/ProcessResult.cs @@ -1,4 +1,8 @@ -namespace Tye.Hosting +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +namespace Tye.Hosting { internal class ProcessResult { diff --git a/src/Tye.Hosting/Infrastructure/ProcessUtil.cs b/src/Tye.Hosting/Infrastructure/ProcessUtil.cs index 4e80f92c..398314c0 100644 --- a/src/Tye.Hosting/Infrastructure/ProcessUtil.cs +++ b/src/Tye.Hosting/Infrastructure/ProcessUtil.cs @@ -1,4 +1,8 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System; using System.Collections.Generic; using System.Diagnostics; using System.Runtime.InteropServices; diff --git a/src/Tye.Hosting/Model/Application.cs b/src/Tye.Hosting/Model/Application.cs index 209730e9..763c5d3c 100644 --- a/src/Tye.Hosting/Model/Application.cs +++ b/src/Tye.Hosting/Model/Application.cs @@ -1,4 +1,8 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System; using System.Collections.Generic; using System.IO; diff --git a/src/Tye.Hosting/Model/DockerRunInfo.cs b/src/Tye.Hosting/Model/DockerRunInfo.cs index d2c5547d..e2eb136f 100644 --- a/src/Tye.Hosting/Model/DockerRunInfo.cs +++ b/src/Tye.Hosting/Model/DockerRunInfo.cs @@ -1,4 +1,8 @@ -namespace Tye.Hosting.Model +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +namespace Tye.Hosting.Model { public class DockerRunInfo : RunInfo { diff --git a/src/Tye.Hosting/Model/ExecutableRunInfo.cs b/src/Tye.Hosting/Model/ExecutableRunInfo.cs index cdcf7ac2..f7ca9011 100644 --- a/src/Tye.Hosting/Model/ExecutableRunInfo.cs +++ b/src/Tye.Hosting/Model/ExecutableRunInfo.cs @@ -1,4 +1,8 @@ -namespace Tye.Hosting.Model +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +namespace Tye.Hosting.Model { public class ExecutableRunInfo : RunInfo { diff --git a/src/Tye.Hosting/Model/ProjectRunInfo.cs b/src/Tye.Hosting/Model/ProjectRunInfo.cs index cd069493..80cc53b8 100644 --- a/src/Tye.Hosting/Model/ProjectRunInfo.cs +++ b/src/Tye.Hosting/Model/ProjectRunInfo.cs @@ -1,4 +1,8 @@ -namespace Tye.Hosting.Model +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +namespace Tye.Hosting.Model { public class ProjectRunInfo : RunInfo { diff --git a/src/Tye.Hosting/Model/RunInfo.cs b/src/Tye.Hosting/Model/RunInfo.cs index 2b022405..c73dd240 100644 --- a/src/Tye.Hosting/Model/RunInfo.cs +++ b/src/Tye.Hosting/Model/RunInfo.cs @@ -1,4 +1,8 @@ -namespace Tye.Hosting.Model +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +namespace Tye.Hosting.Model { public abstract class RunInfo { diff --git a/src/Tye.Hosting/Model/Service.cs b/src/Tye.Hosting/Model/Service.cs index 153f96e9..1255ceec 100644 --- a/src/Tye.Hosting/Model/Service.cs +++ b/src/Tye.Hosting/Model/Service.cs @@ -1,4 +1,8 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Reactive.Subjects; diff --git a/src/Tye.Hosting/Model/ServiceBinding.cs b/src/Tye.Hosting/Model/ServiceBinding.cs index 672513fa..8f067f1e 100644 --- a/src/Tye.Hosting/Model/ServiceBinding.cs +++ b/src/Tye.Hosting/Model/ServiceBinding.cs @@ -1,4 +1,8 @@ -namespace Tye.Hosting.Model +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +namespace Tye.Hosting.Model { public class ServiceBinding { diff --git a/src/Tye.Hosting/Model/ServiceDescription.cs b/src/Tye.Hosting/Model/ServiceDescription.cs index ed15919f..f264dd24 100644 --- a/src/Tye.Hosting/Model/ServiceDescription.cs +++ b/src/Tye.Hosting/Model/ServiceDescription.cs @@ -1,4 +1,8 @@ -using System.Collections.Generic; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System.Collections.Generic; namespace Tye.Hosting.Model { diff --git a/src/Tye.Hosting/Model/ServiceState.cs b/src/Tye.Hosting/Model/ServiceState.cs index 81b6c79e..90df2b99 100644 --- a/src/Tye.Hosting/Model/ServiceState.cs +++ b/src/Tye.Hosting/Model/ServiceState.cs @@ -1,6 +1,6 @@ -using System; -using System.Collections.Generic; -using System.Text; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. namespace Tye.Hosting.Model { diff --git a/src/Tye.Hosting/ProcessRunner.cs b/src/Tye.Hosting/ProcessRunner.cs index a405063f..418819b9 100644 --- a/src/Tye.Hosting/ProcessRunner.cs +++ b/src/Tye.Hosting/ProcessRunner.cs @@ -1,4 +1,8 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System; using System.Collections.Generic; using System.IO; using System.Linq; diff --git a/src/Tye.Hosting/ProcessRunnerOptions.cs b/src/Tye.Hosting/ProcessRunnerOptions.cs index bfa086cd..9dfa2cae 100644 --- a/src/Tye.Hosting/ProcessRunnerOptions.cs +++ b/src/Tye.Hosting/ProcessRunnerOptions.cs @@ -1,5 +1,8 @@ -using System; -using System.Collections.Generic; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System; using System.Linq; namespace Tye.Hosting diff --git a/src/Tye.Hosting/ProxyService.cs b/src/Tye.Hosting/ProxyService.cs index fbd3e65b..cf3976e1 100644 --- a/src/Tye.Hosting/ProxyService.cs +++ b/src/Tye.Hosting/ProxyService.cs @@ -1,4 +1,8 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System; using System.Collections.Generic; using System.IO.Pipelines; using System.Linq; diff --git a/src/Tye.Hosting/TyeDashboardApi.cs b/src/Tye.Hosting/TyeDashboardApi.cs index a76d7877..e9ca460d 100644 --- a/src/Tye.Hosting/TyeDashboardApi.cs +++ b/src/Tye.Hosting/TyeDashboardApi.cs @@ -1,4 +1,8 @@ -using System.Linq; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System.Linq; using System.Text; using System.Text.Json; using System.Threading.Tasks; diff --git a/src/Tye.Hosting/TyeHost.cs b/src/Tye.Hosting/TyeHost.cs index e87e935b..015cce63 100644 --- a/src/Tye.Hosting/TyeHost.cs +++ b/src/Tye.Hosting/TyeHost.cs @@ -1,4 +1,8 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System; using System.Linq; using System.Threading.Tasks; using Tye.Hosting.Diagnostics; diff --git a/src/tye/CommandException.cs b/src/tye/CommandException.cs index 386912cf..a0d0fc5b 100644 --- a/src/tye/CommandException.cs +++ b/src/tye/CommandException.cs @@ -1,4 +1,8 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System; namespace Tye { diff --git a/src/tye/CommonArguments.cs b/src/tye/CommonArguments.cs index 8c5f238b..2a69de73 100644 --- a/src/tye/CommonArguments.cs +++ b/src/tye/CommonArguments.cs @@ -1,5 +1,8 @@ -using System; -using System.Collections.Generic; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System; using System.CommandLine; using System.CommandLine.Parsing; using System.IO; diff --git a/src/tye/ConfigModel/ConfigApplication.cs b/src/tye/ConfigModel/ConfigApplication.cs index 65419af8..fa6b460e 100644 --- a/src/tye/ConfigModel/ConfigApplication.cs +++ b/src/tye/ConfigModel/ConfigApplication.cs @@ -1,4 +1,8 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System; using System.Collections.Generic; using System.IO; using Tye.Hosting.Model; diff --git a/src/tye/ConfigModel/ConfigConfigurationSource.cs b/src/tye/ConfigModel/ConfigConfigurationSource.cs index 16f0619d..58d49c5f 100644 --- a/src/tye/ConfigModel/ConfigConfigurationSource.cs +++ b/src/tye/ConfigModel/ConfigConfigurationSource.cs @@ -1,4 +1,8 @@ -using System.ComponentModel.DataAnnotations; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System.ComponentModel.DataAnnotations; namespace Tye.ConfigModel { diff --git a/src/tye/ConfigModel/ConfigFactory.cs b/src/tye/ConfigModel/ConfigFactory.cs index 31024af4..0f59317a 100644 --- a/src/tye/ConfigModel/ConfigFactory.cs +++ b/src/tye/ConfigModel/ConfigFactory.cs @@ -1,4 +1,8 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System; using System.IO; using System.Text.Json; using Microsoft.Build.Construction; diff --git a/src/tye/ConfigModel/ConfigService.cs b/src/tye/ConfigModel/ConfigService.cs index 64740083..e9c73734 100644 --- a/src/tye/ConfigModel/ConfigService.cs +++ b/src/tye/ConfigModel/ConfigService.cs @@ -1,4 +1,8 @@ -using System.Collections.Generic; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using YamlDotNet.Serialization; diff --git a/src/tye/ConfigModel/ConfigServiceBinding.cs b/src/tye/ConfigModel/ConfigServiceBinding.cs index 1b24763c..1e37798e 100644 --- a/src/tye/ConfigModel/ConfigServiceBinding.cs +++ b/src/tye/ConfigModel/ConfigServiceBinding.cs @@ -1,5 +1,6 @@ -using System; -using System.ComponentModel.DataAnnotations; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. namespace Tye.ConfigModel { diff --git a/src/tye/ConsoleExtensions.cs b/src/tye/ConsoleExtensions.cs index 87336536..b8d388eb 100644 --- a/src/tye/ConsoleExtensions.cs +++ b/src/tye/ConsoleExtensions.cs @@ -1,4 +1,8 @@ -using System.Linq; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System.Linq; namespace System.CommandLine { diff --git a/src/tye/NameSanitizer.cs b/src/tye/NameSanitizer.cs index 68fc52cc..bb8acc43 100644 --- a/src/tye/NameSanitizer.cs +++ b/src/tye/NameSanitizer.cs @@ -1,4 +1,8 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System; namespace Tye { diff --git a/src/tye/Program.DeployCommand.cs b/src/tye/Program.DeployCommand.cs index c0a33d03..cd16a8ad 100644 --- a/src/tye/Program.DeployCommand.cs +++ b/src/tye/Program.DeployCommand.cs @@ -1,4 +1,7 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + using System.Collections.Generic; using System.CommandLine; using System.CommandLine.Invocation; diff --git a/src/tye/Program.GenerateCommand.cs b/src/tye/Program.GenerateCommand.cs index 48d7afd4..25a993f4 100644 --- a/src/tye/Program.GenerateCommand.cs +++ b/src/tye/Program.GenerateCommand.cs @@ -1,4 +1,7 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + using System.Collections.Generic; using System.CommandLine; using System.CommandLine.Invocation; diff --git a/src/tye/Program.InitCommand.cs b/src/tye/Program.InitCommand.cs index 6877d971..98aff009 100644 --- a/src/tye/Program.InitCommand.cs +++ b/src/tye/Program.InitCommand.cs @@ -1,4 +1,7 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + using System.CommandLine; using System.CommandLine.Invocation; using System.CommandLine.IO; diff --git a/src/tye/Program.RunCommand.cs b/src/tye/Program.RunCommand.cs index 5216577f..3fde790e 100644 --- a/src/tye/Program.RunCommand.cs +++ b/src/tye/Program.RunCommand.cs @@ -1,4 +1,7 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + using System.CommandLine; using System.CommandLine.Invocation; using System.IO; diff --git a/src/tye/Program.cs b/src/tye/Program.cs index 53ccbec4..cd2a1f98 100644 --- a/src/tye/Program.cs +++ b/src/tye/Program.cs @@ -1,4 +1,8 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System; using System.CommandLine; using System.CommandLine.Builder; using System.CommandLine.Help; diff --git a/src/tye/TempDirectory.cs b/src/tye/TempDirectory.cs index 99cd8e7b..114d89f2 100644 --- a/src/tye/TempDirectory.cs +++ b/src/tye/TempDirectory.cs @@ -1,4 +1,8 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System; using System.IO; namespace Tye diff --git a/src/tye/TempFile.cs b/src/tye/TempFile.cs index cd3b7b6e..7a102151 100644 --- a/src/tye/TempFile.cs +++ b/src/tye/TempFile.cs @@ -1,4 +1,8 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System; using System.IO; namespace Tye diff --git a/src/tye/OpulenceApplicationAdapter.cs b/src/tye/TemporaryApplicationAdapter.cs similarity index 74% rename from src/tye/OpulenceApplicationAdapter.cs rename to src/tye/TemporaryApplicationAdapter.cs index ca90fef9..215ddf6f 100644 --- a/src/tye/OpulenceApplicationAdapter.cs +++ b/src/tye/TemporaryApplicationAdapter.cs @@ -1,4 +1,8 @@ -using System.Collections.Generic; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System.Collections.Generic; using Tye.ConfigModel; namespace Tye diff --git a/test/E2ETest/RetryHandler.cs b/test/E2ETest/RetryHandler.cs index c011a962..9f50daee 100644 --- a/test/E2ETest/RetryHandler.cs +++ b/test/E2ETest/RetryHandler.cs @@ -1,9 +1,12 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System; using System.Net; using System.Net.Http; using System.Threading; using System.Threading.Tasks; -using Microsoft.Extensions.Logging; namespace E2ETest { diff --git a/test/E2ETest/TyeRunTest.cs b/test/E2ETest/TyeRunTest.cs index 89b8bd03..a7692b08 100644 --- a/test/E2ETest/TyeRunTest.cs +++ b/test/E2ETest/TyeRunTest.cs @@ -1,4 +1,8 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System; using System.IO; using System.Linq; using System.Net;