From f390eb0f3787c9c0fbcc1b93bb1e386a802309c8 Mon Sep 17 00:00:00 2001 From: Matthew Jackson Date: Wed, 27 Mar 2024 18:20:33 -0500 Subject: [PATCH] [ODS-4830] Add Secret Support to the Load Tools (#1007) --- .../EdFi.BulkLoadClient.Console.csproj | 2 ++ Utilities/DataLoading/EdFi.BulkLoadClient.Console/Program.cs | 1 + .../EdFi.SmokeTest.Console/EdFi.SmokeTest.Console.csproj | 2 ++ Utilities/DataLoading/EdFi.SmokeTest.Console/Program.cs | 1 + 4 files changed, 6 insertions(+) diff --git a/Utilities/DataLoading/EdFi.BulkLoadClient.Console/EdFi.BulkLoadClient.Console.csproj b/Utilities/DataLoading/EdFi.BulkLoadClient.Console/EdFi.BulkLoadClient.Console.csproj index 6cb86606cc..d7e36cba37 100644 --- a/Utilities/DataLoading/EdFi.BulkLoadClient.Console/EdFi.BulkLoadClient.Console.csproj +++ b/Utilities/DataLoading/EdFi.BulkLoadClient.Console/EdFi.BulkLoadClient.Console.csproj @@ -17,6 +17,7 @@ LICENSE.txt true EdFi.BulkLoadClient.Console + 8562c1b6-4865-4db2-97dd-b7bad8f54d69 DEBUG;TRACE @@ -40,6 +41,7 @@ + diff --git a/Utilities/DataLoading/EdFi.BulkLoadClient.Console/Program.cs b/Utilities/DataLoading/EdFi.BulkLoadClient.Console/Program.cs index 941e0143fc..837c2f9c75 100644 --- a/Utilities/DataLoading/EdFi.BulkLoadClient.Console/Program.cs +++ b/Utilities/DataLoading/EdFi.BulkLoadClient.Console/Program.cs @@ -58,6 +58,7 @@ private static async Task Main(string[] args) .SetBasePath(Directory.GetParent(AppContext.BaseDirectory).FullName) .AddJsonFile("appsettings.json", optional: true, reloadOnChange: true) .AddCommandLine(args, CommandLineOverrides.SwitchingMapping()) + .AddUserSecrets() .Build(); // apply the command line args overrides for boolean values diff --git a/Utilities/DataLoading/EdFi.SmokeTest.Console/EdFi.SmokeTest.Console.csproj b/Utilities/DataLoading/EdFi.SmokeTest.Console/EdFi.SmokeTest.Console.csproj index ddfa987ad9..ec0db7466f 100644 --- a/Utilities/DataLoading/EdFi.SmokeTest.Console/EdFi.SmokeTest.Console.csproj +++ b/Utilities/DataLoading/EdFi.SmokeTest.Console/EdFi.SmokeTest.Console.csproj @@ -17,6 +17,7 @@ LICENSE.txt true EdFi.SmokeTest.Console + 5e04e4d3-afef-4845-9dd8-23d0153c2b6f full @@ -44,6 +45,7 @@ + diff --git a/Utilities/DataLoading/EdFi.SmokeTest.Console/Program.cs b/Utilities/DataLoading/EdFi.SmokeTest.Console/Program.cs index 200c67dc9e..c03ad085aa 100644 --- a/Utilities/DataLoading/EdFi.SmokeTest.Console/Program.cs +++ b/Utilities/DataLoading/EdFi.SmokeTest.Console/Program.cs @@ -61,6 +61,7 @@ private static async Task Main(string[] args) .SetBasePath(Directory.GetParent(AppContext.BaseDirectory).FullName) .AddJsonFile("appsettings.json", optional: false, reloadOnChange: true) .AddCommandLine(args, CommandLineOverrides.SwitchingMapping()) + .AddUserSecrets() .Build(); await SetOdsEndpoints(configRoot);