Skip to content

Fix ServiceBus endpoint logic#2385

Merged
eerhardt merged 1 commit intomicrosoft:mainfrom
eerhardt:FixServiceBusIssue
Feb 23, 2024
Merged

Fix ServiceBus endpoint logic#2385
eerhardt merged 1 commit intomicrosoft:mainfrom
eerhardt:FixServiceBusIssue

Conversation

@eerhardt
Copy link
Copy Markdown
Member

@eerhardt eerhardt commented Feb 23, 2024

In previous versions of the ServiceBus SDK, it didn't accept https:// URIs as the fully qualified namespace, but the ResourceManager APIs only return URIs with https://. So we had logic in our bicep template to remove the https. However, this doesn't work with the runtime component because it expected sb://.

The fix is to update to the latest ServiceBus version, which accepts https:// for the namespace URI. And also remove our bicp logic to just pass the endpoint through unmodified.

Also clean up the Directory.Packages.props file.

Fix #2378

Microsoft Reviewers: Open in CodeFlow

In previous versions of the ServiceBus SDK, it didn't accept `https://` URIs as the fully qualified namespace, but the ResourceManager APIs only return URIs with `https://`. So we had logic in our bicep template to remove the https. However, this doesn't work with the runtime component because it expected sb://.

The fix is to update to the latest ServiceBus version, which accepts https:// for the namespace URI. And also remove our bicp logic to just pass the endpoint through unmodified.

Also clean up the Directory.Packages.props file.

Fix microsoft#2378
@eerhardt eerhardt requested a review from davidfowl February 23, 2024 19:09
@ghost ghost added the area-integrations Issues pertaining to Aspire Integrations packages label Feb 23, 2024
@eerhardt eerhardt enabled auto-merge (squash) February 23, 2024 19:32
@eerhardt eerhardt merged commit 9895028 into microsoft:main Feb 23, 2024
@eerhardt eerhardt deleted the FixServiceBusIssue branch February 27, 2024 22:08
@github-actions github-actions bot locked and limited conversation to collaborators Apr 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-integrations Issues pertaining to Aspire Integrations packages

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AzureServiceBus resource does not work because of connection string format

2 participants