You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 10, 2024. It is now read-only.
test: restructure and rename integration configuration tokens (#110)
* test: restructure and rename integration configuration tokens
* pr-fix: use the correct topic connection string for invalidating az key vault secrets
* pr-fix: use correct topic connection string
* pr-fix: az key vault restructure appsettings
* pr-fix: az key vault restructure appsettings
* pr-fix: moved to az keyvault connection string
* pr-fix: increase timeout bc it would otherwise succeed
Guard.NotNullOrWhitespace(entityScopedConnectionString,nameof(entityScopedConnectionString),"Requires a non-blank Azure Service Bus entity-scoped connection string");
Guard.NotNullOrWhitespace(subscriptionId,nameof(subscriptionId),"Requires an Azure subscription ID to create an Azure environment instance");
23
+
Guard.NotNullOrWhitespace(tenantId,nameof(tenantId),"Requires an Azure tenant ID to create an Azure environment instance");
24
+
Guard.NotNullOrWhitespace(resourceGroupName,nameof(resourceGroupName),"Requires an Azure resource group name to create an Azure environment instance");
25
+
26
+
SubscriptionId=subscriptionId;
27
+
TenantId=tenantId;
28
+
ResourceGroupName=resourceGroupName;
29
+
}
30
+
31
+
/// <summary>
32
+
/// Gets the unique identifier for the global subscription that is linked to the test Azure resources.
33
+
/// </summary>
34
+
publicstringSubscriptionId{get;}
35
+
36
+
/// <summary>
37
+
/// Gets the tenant identifier within the Azure subscription where the test Azure resources are located.
38
+
/// </summary>
39
+
publicstringTenantId{get;}
40
+
41
+
/// <summary>
42
+
/// Gets the name of the Azure resource group inside the Azure tenant where the test Azure resources are located.
/// Initializes a new instance of the <see cref="ServiceBusConfiguration"/> class.
23
-
/// </summary>
24
-
/// <param name="configuration">The configuration instance to provide the necessary information during authentication with the correct Azure Service Bus instance.</param>
25
-
/// <param name="logger">The instance to log diagnostic messages during the interaction with the Azure Service Bus instance.</param>
26
-
/// <exception cref="ArgumentNullException">Thrown when the <paramref name="configuration"/> or the <paramref name="logger"/> is <c>null</c>.</exception>
/// <param name="config">The current integration test configuration.</param>
44
+
/// <param name="logger">The logger instance to write diagnostic trace messages during the interaction with Azure Service Bus.</param>
45
+
/// <exception cref="ArgumentNullException">Thrown when the <paramref name="config"/> is <c>null</c>.</exception>
46
+
/// <exception cref="KeyNotFoundException">Thrown when one or more configuration values cannot be found in the given test <paramref name="config"/> instance.</exception>
exception,"Failed to rotate the {KeyType} connection string of the Azure Service Bus {EntityType} '{EntityName}'",keyType,entity,queueName);
102
+
_logger.LogError(exception,"Failed to rotate the {KeyType} connection string of the Azure Service Bus {EntityType} '{EntityName}'",keyType,entity,queueName);
0 commit comments