Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consistently expose PublisherMetadata in NServiceBus.AcceptanceTests.Sources #7258

Merged
merged 2 commits into from
Jan 9, 2025

Conversation

danielmarbach
Copy link
Contributor

@danielmarbach danielmarbach commented Jan 9, 2025

Description

This is a purely internal change that makes sure PublisherMetadata is always available in all shipped source acceptance tests. Only users that directly use NServiceBus.AcceptanceTests.Sources and NServiceBus.AcceptanceTesting benefit from updating to this patch version. All other users can safely skip this version.

Brings back the following to release-9.2:

Contains a cherry-pick of the typo changes in:

Documentation

None

danielmarbach and others added 2 commits January 9, 2025 15:49
…ure Service Bus (#7257)

* Extend publisher metadata

* Tweak first acceptance test

* Allow enforcing publisher metadata

* Enforce publisher metadata to be present for all shipped tests

* Enforce subscription metadata to be present

* Better exception messages

* Switch to the safer API

* Moved tests that belong into the core folder

* Change to HashSet because an endpoint can have different local addresses

* Fix all tests (fingers crossed)

* Put checks into extension

* Learning transport runs native pub sub tests so we need to enforce the checks there too

* Hopefully fix the tests

* Fix last failing test

* Use the correct data type

---------

Co-authored-by: danielmarbach <[email protected]>
Copy link
Member

@ramonsmits ramonsmits left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving under the assumption that this only requires a technical review to backport

@danielmarbach danielmarbach merged commit 9bb1bf2 into release-9.2 Jan 9, 2025
3 checks passed
@danielmarbach danielmarbach deleted the publisher-metadata branch January 9, 2025 17:11
@danielmarbach danielmarbach added this to the 9.2.4 milestone Jan 9, 2025
@danielmarbach danielmarbach changed the title Consistently use PublisherMetadata to facilitate endpoint setup in Azure Service Bus Consistently expose PublisherMetadata in NServiceBus.AcceptanceTests Jan 13, 2025
@danielmarbach danielmarbach changed the title Consistently expose PublisherMetadata in NServiceBus.AcceptanceTests Consistently expose PublisherMetadata in NServiceBus.AcceptanceTests.Sources Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants