Skip to content

Exclude all attributes starting with "goog_" from outbound Pub/Sub headers #845

Merged
ddixit14 merged 2 commits intomainfrom
exclude_headers_776
Jan 7, 2022
Merged

Exclude all attributes starting with "goog_" from outbound Pub/Sub headers #845
ddixit14 merged 2 commits intomainfrom
exclude_headers_776

Conversation

@ddixit14
Copy link
Copy Markdown
Contributor

@ddixit14 ddixit14 commented Jan 7, 2022

Introduced a new header pattern "GcpPubSubHeaders.CLIENT" in outboundHeaderPatterns to strip out all the headers starting with "googclient_" along with writing a unit test for the same.
Fix to the issue -> #776
(This PR also includes migration of "SampleAppIntegrationTest.java" to JUnit5")

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Jan 7, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@ddixit14 ddixit14 requested a review from elefeint January 7, 2022 19:29
Copy link
Copy Markdown
Contributor

@elefeint elefeint left a comment

Choose a reason for hiding this comment

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

Did you mean to upgrade SampleAppIntegrationTest in this PR, or is it accidental?

@ddixit14
Copy link
Copy Markdown
Contributor Author

ddixit14 commented Jan 7, 2022

It is accidental...I upgraded the test and committed the change and then started working on this issue without creating a new branch.

@ddixit14 ddixit14 merged commit 7b6c722 into main Jan 7, 2022
@ddixit14 ddixit14 deleted the exclude_headers_776 branch January 7, 2022 20:59
elefeint pushed a commit that referenced this pull request Jan 28, 2022
kateryna216 added a commit to kateryna216/spring-cloud-gcp that referenced this pull request Oct 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants