Skip to content

Commit

Permalink
Merge pull request #1305 from solliancenet/cj-auto-generated-warning
Browse files Browse the repository at this point in the history
Add warning to avoid changing source code files that are auto-generated
  • Loading branch information
joelhulen authored Jul 30, 2024
2 parents 715d409 + 50c9e15 commit 0444e3e
Show file tree
Hide file tree
Showing 16 changed files with 147 additions and 27 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
// -------------------------------------------------------------------------------
//
// WARNING!
// This file is auto-generated based on the AuthorizationAppConfiguration.json file.
// Do not make changes to this file, as they will be automatically overwritten.
//
// -------------------------------------------------------------------------------
namespace FoundationaLLM.Common.Constants.Configuration
{
/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@
var jsonObjects = JsonNode.Parse(inputContent)!;
Func<JsonNode, string> getName = n => n.GetValue<string>().Replace(":", "_");
#>
// -------------------------------------------------------------------------------
//
// WARNING!
// This file is auto-generated based on the AuthorizationAppConfiguration.json file.
// Do not make changes to this file, as they will be automatically overwritten.
//
// -------------------------------------------------------------------------------
namespace FoundationaLLM.Common.Constants.Configuration
{
/// <summary>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
// -------------------------------------------------------------------------------
//
// WARNING!
// This file is auto-generated based on the AuthorizationAppConfiguration.json file.
// Do not make changes to this file, as they will be automatically overwritten.
//
// -------------------------------------------------------------------------------
namespace FoundationaLLM.Common.Constants.Configuration
{
/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@
? n["value"].GetValue<string>()
: $"{{\\\"uri\\\":\\\"${{env:AZURE_KEY_VAULT_ENDPOINT}}secrets/foundationallm-{n["secret"].GetValue<string>()}}}\\\"}}";
#>
// -------------------------------------------------------------------------------
//
// WARNING!
// This file is auto-generated based on the AuthorizationAppConfiguration.json file.
// Do not make changes to this file, as they will be automatically overwritten.
//
// -------------------------------------------------------------------------------
namespace FoundationaLLM.Common.Constants.Configuration
{
/// <summary>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
// -------------------------------------------------------------------------------
//
// WARNING!
// This file is auto-generated based on the AppConfiguration.json file.
// Do not make changes to this file, as they will be automatically overwritten.
//
// -------------------------------------------------------------------------------
namespace FoundationaLLM.Common.Constants.Configuration
{
/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@
var jsonObjects = JsonNode.Parse(inputContent)!;
Func<JsonNode, string> getName = n => n.GetValue<string>().Replace(":", "_");
#>
// -------------------------------------------------------------------------------
//
// WARNING!
// This file is auto-generated based on the AppConfiguration.json file.
// Do not make changes to this file, as they will be automatically overwritten.
//
// -------------------------------------------------------------------------------
namespace FoundationaLLM.Common.Constants.Configuration
{
/// <summary>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
// -------------------------------------------------------------------------------
//
// WARNING!
// This file is auto-generated based on the AppConfiguration.json file.
// Do not make changes to this file, as they will be automatically overwritten.
//
// -------------------------------------------------------------------------------
namespace FoundationaLLM.Common.Constants.Configuration
{
/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@
var jsonObjects = JsonNode.Parse(inputContent)!;
Func<JsonNode, string> getName = n => n.GetValue<string>().Replace(":", "_");
#>
// -------------------------------------------------------------------------------
//
// WARNING!
// This file is auto-generated based on the AppConfiguration.json file.
// Do not make changes to this file, as they will be automatically overwritten.
//
// -------------------------------------------------------------------------------
namespace FoundationaLLM.Common.Constants.Configuration
{
/// <summary>
Expand Down
15 changes: 15 additions & 0 deletions src/dotnet/Common/Constants/Configuration/AppConfigurationKeys.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
// -------------------------------------------------------------------------------
//
// WARNING!
// This file is auto-generated based on the AppConfiguration.json file.
// Do not make changes to this file, as they will be automatically overwritten.
//
// -------------------------------------------------------------------------------
namespace FoundationaLLM.Common.Constants.Configuration
{
/// <summary>
Expand Down Expand Up @@ -439,6 +446,10 @@ public static class AppConfigurationKeys

#endregion

#region FoundationaLLM:APIEndpoints:LangChainAPI:Configuration

#endregion

#region FoundationaLLM:APIEndpoints:SemanticKernelAPI:Essentials

/// <summary>
Expand All @@ -457,6 +468,10 @@ public static class AppConfigurationKeys

#endregion

#region FoundationaLLM:APIEndpoints:SemanticKernelAPI:Configuration

#endregion

#region FoundationaLLM:APIEndpoints:ManagementAPI:Essentials

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@
var jsonObjects = JsonNode.Parse(inputContent)!;
Func<JsonNode, string> getName = n => n.GetValue<string>().Replace(":", "_");
#>
// -------------------------------------------------------------------------------
//
// WARNING!
// This file is auto-generated based on the AppConfiguration.json file.
// Do not make changes to this file, as they will be automatically overwritten.
//
// -------------------------------------------------------------------------------
namespace FoundationaLLM.Common.Constants.Configuration
{
/// <summary>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
// -------------------------------------------------------------------------------
//
// WARNING!
// This file is auto-generated based on the AppConfiguration.json file.
// Do not make changes to this file, as they will be automatically overwritten.
//
// -------------------------------------------------------------------------------
using FoundationaLLM.Common.Constants.Configuration;
using FoundationaLLM.Common.Interfaces;
using FoundationaLLM.Common.Models.Configuration.Storage;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@
var jsonObjects = JsonNode.Parse(inputContent)!;
Func<JsonNode, string> getName = n => n.GetValue<string>().Replace(":", "_");
#>
// -------------------------------------------------------------------------------
//
// WARNING!
// This file is auto-generated based on the AppConfiguration.json file.
// Do not make changes to this file, as they will be automatically overwritten.
//
// -------------------------------------------------------------------------------
using FoundationaLLM.Common.Constants.Configuration;
using FoundationaLLM.Common.Interfaces;
using FoundationaLLM.Common.Models.Configuration.Storage;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
// -------------------------------------------------------------------------------
//
// WARNING!
// This file is auto-generated based on the AppConfiguration.json file.
// Do not make changes to this file, as they will be automatically overwritten.
//
// -------------------------------------------------------------------------------
namespace FoundationaLLM.Common.Constants.Configuration
{
/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@
var jsonObjects = JsonNode.Parse(inputContent)!;
Func<JsonNode, string> getName = n => n.GetValue<string>().Replace(":", "_");
#>
// -------------------------------------------------------------------------------
//
// WARNING!
// This file is auto-generated based on the AppConfiguration.json file.
// Do not make changes to this file, as they will be automatically overwritten.
//
// -------------------------------------------------------------------------------
namespace FoundationaLLM.Common.Constants.Configuration
{
/// <summary>
Expand Down
61 changes: 34 additions & 27 deletions src/dotnet/Common/Constants/Configuration/KeyVaultSecretNames.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
// -------------------------------------------------------------------------------
//
// WARNING!
// This file is auto-generated based on the AppConfiguration.json file.
// Do not make changes to this file, as they will be automatically overwritten.
//
// -------------------------------------------------------------------------------
namespace FoundationaLLM.Common.Constants.Configuration
{
/// <summary>
Expand All @@ -8,163 +15,163 @@ public static partial class KeyVaultSecretNames
/// <summary>
/// The name of the Azure Key Vault secret holding the connection string for the App Insights service used by the Core API.
/// </summary>
public const string FoundationaLLM_APIEndpoints_CoreAPI_AppInsightsConnectionString =
public const string FoundationaLLM_APIEndpoints_CoreAPI_Essentials_AppInsightsConnectionString =
"foundationallm-appinsights-connectionstring";

/// <summary>
/// The name of the Azure Key Vault secret holding the API key for the Core Worker service.
/// </summary>
public const string FoundationaLLM_APIEndpoints_CoreWorker_APIKey =
public const string FoundationaLLM_APIEndpoints_CoreWorker_Essentials_APIKey =
"foundationallm-apiendpoints-coreworker-apikey";

/// <summary>
/// The name of the Azure Key Vault secret holding the connection string for the App Insights service used by the Core Worker service.
/// </summary>
public const string FoundationaLLM_APIEndpoints_CoreWorker_AppInsightsConnectionString =
public const string FoundationaLLM_APIEndpoints_CoreWorker_Essentials_AppInsightsConnectionString =
"foundationallm-appinsights-connectionstring";

/// <summary>
/// The name of the Azure Key Vault secret holding the API key for the Gatekeeper API.
/// </summary>
public const string FoundationaLLM_APIEndpoints_GatekeeperAPI_APIKey =
public const string FoundationaLLM_APIEndpoints_GatekeeperAPI_Essentials_APIKey =
"foundationallm-apiendpoints-gatekeeperapi-apikey";

/// <summary>
/// The name of the Azure Key Vault secret holding the connection string for the App Insights service used by the Gatekeeper API.
/// </summary>
public const string FoundationaLLM_APIEndpoints_GatekeeperAPI_AppInsightsConnectionString =
public const string FoundationaLLM_APIEndpoints_GatekeeperAPI_Essentials_AppInsightsConnectionString =
"foundationallm-appinsights-connectionstring";

/// <summary>
/// The name of the Azure Key Vault secret holding the API key for the Gatekeeper Integration API.
/// </summary>
public const string FoundationaLLM_APIEndpoints_GatekeeperIntegrationAPI_APIKey =
public const string FoundationaLLM_APIEndpoints_GatekeeperIntegrationAPI_Essentials_APIKey =
"foundationallm-apiendpoints-gatekeeperintegrationapi-apikey";

/// <summary>
/// The name of the Azure Key Vault secret holding the connection string for the App Insights service used by the Gatekeeper Integration API.
/// </summary>
public const string FoundationaLLM_APIEndpoints_GatekeeperIntegrationAPI_AppInsightsConnectionString =
public const string FoundationaLLM_APIEndpoints_GatekeeperIntegrationAPI_Essentials_AppInsightsConnectionString =
"foundationallm-appinsights-connectionstring";

/// <summary>
/// The name of the Azure Key Vault secret holding the API key for the Orchestration API.
/// </summary>
public const string FoundationaLLM_APIEndpoints_OrchestrationAPI_APIKey =
public const string FoundationaLLM_APIEndpoints_OrchestrationAPI_Essentials_APIKey =
"foundationallm-apiendpoints-orchestrationapi-apikey";

/// <summary>
/// The name of the Azure Key Vault secret holding the connection string for the App Insights service used by the Orchestration API.
/// </summary>
public const string FoundationaLLM_APIEndpoints_OrchestrationAPI_AppInsightsConnectionString =
public const string FoundationaLLM_APIEndpoints_OrchestrationAPI_Essentials_AppInsightsConnectionString =
"foundationallm-appinsights-connectionstring";

/// <summary>
/// The name of the Azure Key Vault secret holding the API key for the LangChain API.
/// </summary>
public const string FoundationaLLM_APIEndpoints_LangChainAPI_APIKey =
public const string FoundationaLLM_APIEndpoints_LangChainAPI_Essentials_APIKey =
"foundationallm-apiendpoints-langchainapi-apikey";

/// <summary>
/// The name of the Azure Key Vault secret holding the connection string for the App Insights service used by the LangChain API.
/// </summary>
public const string FoundationaLLM_APIEndpoints_LangChainAPI_AppInsightsConnectionString =
public const string FoundationaLLM_APIEndpoints_LangChainAPI_Essentials_AppInsightsConnectionString =
"foundationallm-appinsights-connectionstring";

/// <summary>
/// The name of the Azure Key Vault secret holding the API key for the Semantic Kernel API.
/// </summary>
public const string FoundationaLLM_APIEndpoints_SemanticKernelAPI_APIKey =
public const string FoundationaLLM_APIEndpoints_SemanticKernelAPI_Essentials_APIKey =
"foundationallm-apiendpoints-semantickernelapi-apikey";

/// <summary>
/// The name of the Azure Key Vault secret holding the connection string for the App Insights service used by the Semantic Kernel API.
/// </summary>
public const string FoundationaLLM_APIEndpoints_SemanticKernelAPI_AppInsightsConnectionString =
public const string FoundationaLLM_APIEndpoints_SemanticKernelAPI_Essentials_AppInsightsConnectionString =
"foundationallm-appinsights-connectionstring";

/// <summary>
/// The name of the Azure Key Vault secret holding the connection string for the App Insights service used by the Management API.
/// </summary>
public const string FoundationaLLM_APIEndpoints_ManagementAPI_AppInsightsConnectionString =
public const string FoundationaLLM_APIEndpoints_ManagementAPI_Essentials_AppInsightsConnectionString =
"foundationallm-appinsights-connectionstring";

/// <summary>
/// The name of the Azure Key Vault secret holding the API key for the Vectorization API.
/// </summary>
public const string FoundationaLLM_APIEndpoints_VectorizationAPI_APIKey =
public const string FoundationaLLM_APIEndpoints_VectorizationAPI_Essentials_APIKey =
"foundationallm-apiendpoints-vectorizationapi-apikey";

/// <summary>
/// The name of the Azure Key Vault secret holding the connection string for the App Insights service used by the Vectorization API.
/// </summary>
public const string FoundationaLLM_APIEndpoints_VectorizationAPI_AppInsightsConnectionString =
public const string FoundationaLLM_APIEndpoints_VectorizationAPI_Essentials_AppInsightsConnectionString =
"foundationallm-appinsights-connectionstring";

/// <summary>
/// The name of the Azure Key Vault secret holding the API key for the Vectorization Worker service.
/// </summary>
public const string FoundationaLLM_APIEndpoints_VectorizationWorker_APIKey =
public const string FoundationaLLM_APIEndpoints_VectorizationWorker_Essentials_APIKey =
"foundationallm-apiendpoints-vectorizationworker-apikey";

/// <summary>
/// The name of the Azure Key Vault secret holding the connection string for the App Insights service used by the Vectorization worker service.
/// </summary>
public const string FoundationaLLM_APIEndpoints_VectorizationWorker_AppInsightsConnectionString =
public const string FoundationaLLM_APIEndpoints_VectorizationWorker_Essentials_AppInsightsConnectionString =
"foundationallm-appinsights-connectionstring";

/// <summary>
/// The name of the Azure Key Vault secret holding the API key for the Gateway API.
/// </summary>
public const string FoundationaLLM_APIEndpoints_GatewayAPI_APIKey =
public const string FoundationaLLM_APIEndpoints_GatewayAPI_Essentials_APIKey =
"foundationallm-apiendpoints-gatewayapi-apikey";

/// <summary>
/// The name of the Azure Key Vault secret holding the connection string for the App Insights service used by the Gateway API.
/// </summary>
public const string FoundationaLLM_APIEndpoints_GatewayAPI_AppInsightsConnectionString =
public const string FoundationaLLM_APIEndpoints_GatewayAPI_Essentials_AppInsightsConnectionString =
"foundationallm-appinsights-connectionstring";

/// <summary>
/// The name of the Azure Key Vault secret holding the API key for the Gateway Adapter API.
/// </summary>
public const string FoundationaLLM_APIEndpoints_GatewayAdapterAPI_APIKey =
public const string FoundationaLLM_APIEndpoints_GatewayAdapterAPI_Essentials_APIKey =
"foundationallm-apiendpoints-gatewayadapterapi-apikey";

/// <summary>
/// The name of the Azure Key Vault secret holding the connection string for the App Insights service used by the Gateway Adapter API.
/// </summary>
public const string FoundationaLLM_APIEndpoints_GatewayAdapterAPI_AppInsightsConnectionString =
public const string FoundationaLLM_APIEndpoints_GatewayAdapterAPI_Essentials_AppInsightsConnectionString =
"foundationallm-appinsights-connectionstring";

/// <summary>
/// The name of the Azure Key Vault secret holding the API key for the State API.
/// </summary>
public const string FoundationaLLM_APIEndpoints_StateAPI_APIKey =
public const string FoundationaLLM_APIEndpoints_StateAPI_Essentials_APIKey =
"foundationallm-apiendpoints-stateapi-apikey";

/// <summary>
/// The name of the Azure Key Vault secret holding the connection string for the App Insights service used by the State API.
/// </summary>
public const string FoundationaLLM_APIEndpoints_StateAPI_AppInsightsConnectionString =
public const string FoundationaLLM_APIEndpoints_StateAPI_Essentials_AppInsightsConnectionString =
"foundationallm-appinsights-connectionstring";

/// <summary>
/// The name of the Azure Key Vault secret holding the API key for the Azure OpenAI service.
/// </summary>
public const string FoundationaLLM_APIEndpoints_AzureOpenAI_APIKey =
public const string FoundationaLLM_APIEndpoints_AzureOpenAI_Essentials_APIKey =
"foundationallm-apiendpoints-azureopenai-apikey";

/// <summary>
/// The name of the Azure Key Vault secret holding the API key for the Azure Event Grid service.
/// </summary>
public const string FoundationaLLM_APIEndpoints_AzureEventGrid_APIKey =
public const string FoundationaLLM_APIEndpoints_AzureEventGrid_Essentials_APIKey =
"foundationallm-apiendpoints-azureeventgrid-apikey";

/// <summary>
/// The name of the Azure Key Vault secret holding the API key for the Azure Content Safety service.
/// </summary>
public const string FoundationaLLM_APIEndpoints_AzureContentSafety_APIKey =
public const string FoundationaLLM_APIEndpoints_AzureContentSafety_Essentials_APIKey =
"foundationallm-apiendpoints-azurecontentsafety-apikey";
}
}
Loading

0 comments on commit 0444e3e

Please sign in to comment.