Skip to content

Commit

Permalink
Management API App Config filter fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
saimachi committed Jul 30, 2024
1 parent 65a70b7 commit a25f2c0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,13 @@ public static partial class AppConfigurationKeyFilters
/// </summary>
public const string FoundationaLLM_APIEndpoints_SemanticKernelAPI =
"FoundationaLLM:APIEndpoints:SemanticKernelAPI:*";


/// <summary>
/// Filter for the configuration section used to identify the Azure Application Insights connection string for Management API.
/// </summary>
public const string FoundationaLLM_APIEndpoints_ManagementAPI_AppInsightsConnectionString =
"FoundationaLLM:APIEndpoints:ManagementAPI:AppInsightsConnectionString";

/// <summary>
/// Filter for the configuration section used to identify the Entra ID authentication settings for Management API.
/// </summary>
Expand Down
3 changes: 3 additions & 0 deletions src/dotnet/ManagementAPI/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,11 @@ public static void Main(string[] args)
options.Select(AppConfigurationKeyFilters.FoundationaLLM_Instance);
options.Select(AppConfigurationKeyFilters.FoundationaLLM_Configuration);

options.Select(AppConfigurationKeyFilters.FoundationaLLM_APIEndpoints_AuthorizationAPI);
options.Select(AppConfigurationKeyFilters.FoundationaLLM_APIEndpoints_CoreAPI_Configuration_CosmosDB);
options.Select(AppConfigurationKeyFilters.FoundationaLLM_Branding);
options.Select(AppConfigurationKeyFilters.FoundationaLLM_APIEndpoints_ManagementAPI_Configuration_Entra);
options.Select(AppConfigurationKeyFilters.FoundationaLLM_APIEndpoints_ManagementAPI_AppInsightsConnectionString);
options.Select(AppConfigurationKeyFilters.FoundationaLLM_APIEndpoints_VectorizationAPI);

options.Select(AppConfigurationKeyFilters.FoundationaLLM_ResourceProviders_Vectorization_Storage);
Expand All @@ -60,6 +62,7 @@ public static void Main(string[] args)
options.Select(AppConfigurationKeyFilters.FoundationaLLM_ResourceProviders_DataSource_Storage);
options.Select(AppConfigurationKeyFilters.FoundationaLLM_ResourceProviders_Attachment_Storage);
options.Select(AppConfigurationKeyFilters.FoundationaLLM_ResourceProviders_AIModel_Storage);
options.Select(AppConfigurationKeyFilters.FoundationaLLM_ResourceProviders_Configuration_Storage);

options.Select(AppConfigurationKeyFilters.FoundationaLLM_Events_Profiles_ManagementAPI);
}));
Expand Down

0 comments on commit a25f2c0

Please sign in to comment.