diff --git a/docs/setup-guides/vectorization/vectorization-configuration.md b/docs/setup-guides/vectorization/vectorization-configuration.md
index 3b579c6536..cf51bd3cbb 100644
--- a/docs/setup-guides/vectorization/vectorization-configuration.md
+++ b/docs/setup-guides/vectorization/vectorization-configuration.md
@@ -67,7 +67,6 @@ The following table describes the required App Configuration parameters for the
| `FoundationaLLM:Vectorization:Queues:Index:AccountName` | | The account name of the Azure Storage account used for the index vectorization queue. |
| `FoundationaLLM:Vectorization:Queues:Partition:AccountName` | | The account name of the Azure Storage account used for the partition vectorization queue. |
| `FoundationaLLM:Vectorization:StateService:Storage:AuthenticationType` | | The authentication type used to connect to the underlying storage. Can be one of `AzureIdentity`, `AccountKey`, or `ConnectionString`. |
-| `FoundationaLLM:Vectorization:StateService:Storage:ConnectionString` | Key Vault secret name: `foundationallm-vectorization-state-connectionstring` | The connection string to the Azure Storage account used for the vectorization state service. |
| `FoundationaLLM:Vectorization:ResourceProviderService:Storage:AuthenticationType` | | The authentication type used to connect to the underlying storage. Can be one of `AzureIdentity`, `AccountKey`, or `ConnectionString`. |
| `FoundationaLLM:Vectorization:SemanticKernelTextEmbeddingService:APIKey` | Key Vault secret name: `foundationallm-vectorization-semantickerneltextembedding-openai-apikey` | The API key used to connect to the Azure OpenAI service.
| `FoundationaLLM:Vectorization:SemanticKernelTextEmbeddingService:AuthenticationType` | | The authentication type used to connect to the Azure OpenAI service. Can be one of `AzureIdentity` or `APIKey`.
diff --git a/src/dotnet/Common/Constants/Configuration/AppConfigurationKeys.cs b/src/dotnet/Common/Constants/Configuration/AppConfigurationKeys.cs
index cf49173fd3..f41e90af36 100644
--- a/src/dotnet/Common/Constants/Configuration/AppConfigurationKeys.cs
+++ b/src/dotnet/Common/Constants/Configuration/AppConfigurationKeys.cs
@@ -670,11 +670,6 @@ public static class AppConfigurationKeys
///
public const string FoundationaLLM_Vectorization_StateService_Storage_AuthenticationType = "FoundationaLLM:Vectorization:StateService:Storage:AuthenticationType";
///
- /// The key for the FoundationaLLM:Vectorization:StateService:Storage:ConnectionString app configuration setting.
- /// The connection string to the Azure Storage account used for the vectorization state service.
- ///
- public const string FoundationaLLM_Vectorization_StateService_Storage_ConnectionString = "FoundationaLLM:Vectorization:StateService:Storage:ConnectionString";
- ///
/// The key for the FoundationaLLM:Vectorization:ResourceProviderService:Storage:AuthenticationType app configuration setting.
/// The authentication type used to connect to the underlying storage. Can be one of `AzureIdentity`, `AccountKey`, or `ConnectionString`.
///
diff --git a/src/dotnet/Common/Constants/Configuration/KeyVaultSecretNames.cs b/src/dotnet/Common/Constants/Configuration/KeyVaultSecretNames.cs
index ee5bc6a0e8..2e007fdd44 100644
--- a/src/dotnet/Common/Constants/Configuration/KeyVaultSecretNames.cs
+++ b/src/dotnet/Common/Constants/Configuration/KeyVaultSecretNames.cs
@@ -1,4 +1,4 @@
-using System;
+using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
diff --git a/src/dotnet/Configuration/Catalog/AppConfigurationCatalog.cs b/src/dotnet/Configuration/Catalog/AppConfigurationCatalog.cs
index 235993ce79..7855d432d2 100644
--- a/src/dotnet/Configuration/Catalog/AppConfigurationCatalog.cs
+++ b/src/dotnet/Configuration/Catalog/AppConfigurationCatalog.cs
@@ -1735,19 +1735,6 @@ public static class AppConfigurationCatalog
sampleObject: null
),
- new(
- key: AppConfigurationKeys
- .FoundationaLLM_Vectorization_StateService_Storage_ConnectionString,
- minimumVersion: "0.3.0",
- defaultValue: "Key Vault secret name: `foundationallm-vectorization-state-connectionstring`",
- description:
- "The connection string to the Azure Storage account used for the vectorization state service.",
- keyVaultSecretName: KeyVaultSecretNames
- .FoundationaLLM_Vectorization_State_ConnectionString,
- contentType: "text/plain",
- sampleObject: null
- ),
-
new(
key: AppConfigurationKeys
.FoundationaLLM_Vectorization_ResourceProviderService_Storage_AuthenticationType,
diff --git a/src/dotnet/Configuration/Catalog/KeyVaultSecretsCatalog.cs b/src/dotnet/Configuration/Catalog/KeyVaultSecretsCatalog.cs
index 98291c0fe9..11f8507c5b 100644
--- a/src/dotnet/Configuration/Catalog/KeyVaultSecretsCatalog.cs
+++ b/src/dotnet/Configuration/Catalog/KeyVaultSecretsCatalog.cs
@@ -1,4 +1,4 @@
-using FoundationaLLM.Common.Constants;
+using FoundationaLLM.Common.Constants;
using FoundationaLLM.Common.Constants.Configuration;
using FoundationaLLM.Common.Models.Configuration.KeyVault;
@@ -14,18 +14,6 @@ public static class KeyVaultSecretsCatalog
///
public static readonly List GenericEntries =
[
- new(
- secretName: KeyVaultSecretNames
- .FoundationaLLM_AgentHub_StorageManager_BlobStorage_ConnectionString,
- minimumVersion: "0.3.0",
- description: ""
- ),
- new(
- secretName: KeyVaultSecretNames
- .FoundationaLLM_Agent_ResourceProvider_Storage_ConnectionString,
- minimumVersion: "0.3.0",
- description: "The connection string to the Azure Storage account used for the agent resource provider."
- ),
new(
secretName: KeyVaultSecretNames.FoundationaLLM_APIs_AgentFactoryAPI_APIKey,
minimumVersion: "0.3.0",
@@ -61,12 +49,6 @@ public static class KeyVaultSecretsCatalog
minimumVersion: "0.3.0",
description: ""
),
- new(
- secretName: KeyVaultSecretNames
- .FoundationaLLM_Prompt_ResourceProvider_Storage_ConnectionString,
- minimumVersion: "0.3.0",
- description: "The connection string to the Azure Storage account used for the prompt resource provider."
- ),
new(
secretName: KeyVaultSecretNames.FoundationaLLM_APIs_PromptHubAPI_APIKey,
minimumVersion: "0.3.0",
@@ -87,35 +69,11 @@ public static class KeyVaultSecretsCatalog
minimumVersion: "0.3.0",
description: ""
),
- new(
- secretName: KeyVaultSecretNames
- .FoundationaLLM_BlobStorageMemorySource_Blobstorageconnection,
- minimumVersion: "0.3.0",
- description: ""
- ),
- new(
- secretName: KeyVaultSecretNames
- .FoundationaLLM_DataSourceHub_StorageManager_BlobStorage_ConnectionString,
- minimumVersion: "0.3.0",
- description: ""
- ),
- new(
- secretName: KeyVaultSecretNames
- .FoundationaLLM_DataSourceHub_StorageManager_BlobStorage_ConnectionString,
- minimumVersion: "0.3.0",
- description: ""
- ),
new(
secretName: KeyVaultSecretNames.FoundationaLLM_OpenAI_Api_Key,
minimumVersion: "0.3.0",
description: ""
),
- new(
- secretName: KeyVaultSecretNames
- .FoundationaLLM_PromptHub_StorageManager_BlobStorage_ConnectionString,
- minimumVersion: "0.3.0",
- description: ""
- ),
new(
secretName: KeyVaultSecretNames.FoundationaLLM_SemanticKernelAPI_OpenAI_Key,
minimumVersion: "0.3.0",
@@ -131,31 +89,12 @@ public static class KeyVaultSecretsCatalog
minimumVersion: "0.3.0",
description: "The API key of the vectorization worker API."
),
- new(
- secretName: KeyVaultSecretNames.FoundationaLLM_Vectorization_State_ConnectionString,
- minimumVersion: "0.3.0",
- description:
- "The connection string to the Azure Storage account used for the vectorization state service."
- ),
- new(
- secretName: KeyVaultSecretNames
- .FoundationaLLM_Vectorization_ResourceProvider_Storage_ConnectionString,
- minimumVersion: "0.3.0",
- description:
- "The connection string to the Azure Storage account used for the vectorization state service."
- ),
new(
secretName: KeyVaultSecretNames.FoundationaLLM_Events_AzureEventGrid_APIKey,
minimumVersion: "0.4.0",
description:
"The API key for the Azure Event Grid service."
- ),
- new(
- secretName: KeyVaultSecretNames
- .FoundationaLLM_DataSource_ResourceProvider_Storage_ConnectionString,
- minimumVersion: "0.5.0",
- description: "The connection string to the Azure Storage account used for the data source resource provider."
- ),
+ )
];
///
diff --git a/src/dotnet/Vectorization/Models/Configuration/RequestSourceServiceSettings.cs b/src/dotnet/Vectorization/Models/Configuration/RequestSourceServiceSettings.cs
index 51871639ab..2f78639a02 100644
--- a/src/dotnet/Vectorization/Models/Configuration/RequestSourceServiceSettings.cs
+++ b/src/dotnet/Vectorization/Models/Configuration/RequestSourceServiceSettings.cs
@@ -1,4 +1,4 @@
-using FoundationaLLM.Common.Models.Configuration.Storage;
+using FoundationaLLM.Common.Models.Configuration.Storage;
namespace FoundationaLLM.Vectorization.Models.Configuration
{
@@ -11,9 +11,9 @@ public class RequestSourceServiceSettings
/// The name of the request source.
///
public required string Name { get; set; }
-
+
///
- /// The name of the storage account.
+ /// The name of the storage account
///
public required string AccountName { get; set; }
diff --git a/src/dotnet/Vectorization/Services/RequestSources/RequestSourcesBuilder.cs b/src/dotnet/Vectorization/Services/RequestSources/RequestSourcesBuilder.cs
index 4188cd14fd..b5a7971699 100644
--- a/src/dotnet/Vectorization/Services/RequestSources/RequestSourcesBuilder.cs
+++ b/src/dotnet/Vectorization/Services/RequestSources/RequestSourcesBuilder.cs
@@ -1,4 +1,4 @@
-using FoundationaLLM.Common.Constants;
+using FoundationaLLM.Common.Constants;
using FoundationaLLM.Vectorization.Exceptions;
using FoundationaLLM.Vectorization.Interfaces;
using FoundationaLLM.Vectorization.Models;
diff --git a/src/dotnet/Vectorization/Services/RequestSources/StorageQueueRequestSourceService.cs b/src/dotnet/Vectorization/Services/RequestSources/StorageQueueRequestSourceService.cs
index a064dd9adb..5375ce0778 100644
--- a/src/dotnet/Vectorization/Services/RequestSources/StorageQueueRequestSourceService.cs
+++ b/src/dotnet/Vectorization/Services/RequestSources/StorageQueueRequestSourceService.cs
@@ -1,4 +1,4 @@
-using Azure.Storage.Queues;
+using Azure.Storage.Queues;
using FoundationaLLM.Common.Authentication;
using FoundationaLLM.Vectorization.Interfaces;
using FoundationaLLM.Vectorization.Models;
diff --git a/tests/dotnet/Vectorization.Tests/Services/RequestSources/StorageQueueRequestSourceServiceTests.cs b/tests/dotnet/Vectorization.Tests/Services/RequestSources/StorageQueueRequestSourceServiceTests.cs
index 783dc5304f..a8c18aff29 100644
--- a/tests/dotnet/Vectorization.Tests/Services/RequestSources/StorageQueueRequestSourceServiceTests.cs
+++ b/tests/dotnet/Vectorization.Tests/Services/RequestSources/StorageQueueRequestSourceServiceTests.cs
@@ -1,5 +1,6 @@
using Azure.Storage.Queues;
using FakeItEasy;
+using FoundationaLLM.Common.Authentication;
using FoundationaLLM.Common.Models.Vectorization;
using FoundationaLLM.Vectorization.Interfaces;
using FoundationaLLM.Vectorization.Models;
@@ -20,12 +21,11 @@ public StorageQueueRequestSourceServiceTests()
_stateService = A.Fake();
RequestSourceServiceSettings requestManagerServiceSettings = new RequestSourceServiceSettings()
{
- Name = Environment.GetEnvironmentVariable("StorageQueueServiceTestsQueueName") ?? "testing",
- ConnectionConfigurationName = "SomeConfigProperty",
- ConnectionString = Environment.GetEnvironmentVariable("StorageQueueServiceTestsQueueConnectionString"),
+ Name = Environment.GetEnvironmentVariable("StorageQueueServiceTestsQueueName") ?? "testing",
+ AccountName = "Test_AccountName",
VisibilityTimeoutSeconds = 60
};
- _queueClient = new QueueServiceClient(requestManagerServiceSettings.ConnectionString).GetQueueClient(requestManagerServiceSettings.Name);
+ _queueClient = new QueueServiceClient(new Uri($"https://test.dfs.core.windows.net")).GetQueueClient(requestManagerServiceSettings.Name);
ILogger logger = LoggerFactory.Create(builder => builder.AddConsole()).CreateLogger();
_storageQueueRequestSourceService = new StorageQueueRequestSourceService(requestManagerServiceSettings, logger);
}