-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Support AAD auth * Fix test * Add back provider * Fix processor binding * API and change log * Fix test * Undo test change * stop the hosts * try increasing timeout * volatile * unused code * debug * fix * Add debug statements * debug * semaphore * Fix for real * add back debug info * Add missing StopAsync call * remove logging
- Loading branch information
1 parent
4825853
commit 762a7b2
Showing
33 changed files
with
769 additions
and
723 deletions.
There are no files selected for viewing
9 changes: 8 additions & 1 deletion
9
sdk/servicebus/Microsoft.Azure.WebJobs.Extensions.ServiceBus/CHANGELOG.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
...cebus/Microsoft.Azure.WebJobs.Extensions.ServiceBus/src/Config/ConfigurationExtensions.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
|
||
using Microsoft.Azure.WebJobs.Extensions.Clients.Shared; | ||
using Microsoft.Extensions.Configuration; | ||
|
||
namespace Microsoft.Azure.WebJobs.Extensions.ServiceBus.Config | ||
{ | ||
internal static class ConfigurationExtensions | ||
{ | ||
// The order of priority is intentionally flipped from what is defined in | ||
// WebJobsConfigurationExtensions.GetWebJobsConnectionStringSection for back compat with the Track 1 | ||
// Service Bus extensions. | ||
public static IConfigurationSection GetWebJobsConnectionStringSectionServiceBus(this IConfiguration configuration, string connectionStringName) | ||
{ | ||
// first try a direct unprefixed lookup | ||
IConfigurationSection section = WebJobsConfigurationExtensions.GetConnectionStringOrSetting(configuration, connectionStringName); | ||
|
||
if (!section.Exists()) | ||
{ | ||
// next try prefixing | ||
string prefixedConnectionStringName = WebJobsConfigurationExtensions.GetPrefixedConnectionStringName(connectionStringName); | ||
section = WebJobsConfigurationExtensions.GetConnectionStringOrSetting(configuration, prefixedConnectionStringName); | ||
} | ||
|
||
return section; | ||
} | ||
} | ||
} |
Oops, something went wrong.