8000 WINDUP-3837 Fix 'azure-logging-0000' rule and test accordingly by mrizzi · Pull Request #933 · windup/windup-rulesets · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

WINDUP-3837 Fix 'azure-logging-0000' rule and test accordingly #933

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

Merged
merged 1 commit into from
Apr 28, 2023

Conversation

mrizzi
Copy link
Member
@mrizzi mrizzi commented Apr 27, 2023

https://issues.redhat.com/browse/WINDUP-3837

The issue was related with concurrent usage of fileAppenderPattern and extension parameters that when matching a value were excluding other possible matching values.
Also the expected results (i.e. 9) was wrong because in the test files there are more matches.
So I've collapsed the multiple filecontent conditions into a single one collecting all the different patterns (consistently).
I've also update the expected matches in the test to be 12 basically matching each test file but log4j-console.xml file which has no matches (and logback-spring.xml matches twice).

I've also fixed a link to remove a space and move to https (instead of http)

No need to backport because the "original" PR (i.e. #931) has no backport

@mrizzi mrizzi added auto-backport Set the PR for being backported auto-backport-to-releases/6.2.z Backport this issue to releases/6.2.z branch labels Apr 27, 2023
@mrizzi mrizzi requested a review from PhilipCattanach April 28, 2023 06:34
@mrizzi mrizzi added Ready to Review and removed auto-backport Set the PR for being backported auto-backport-to-releases/6.2.z Backport this issue to releases/6.2.z branch labels Apr 28, 2023
@mrizzi mrizzi changed the title Fix 'azure-logging-0000' rule and test accordingly WINDUP-3837 Fix 'azure-logging-0000' rule and test accordingly Apr 28, 2023
@PhilipCattanach
Copy link
Contributor

The codes changes simplify the rules considerably and tested successfully. Thank you.

@PhilipCattanach PhilipCattanach merged commit 592f923 into windup:master Apr 28, 2023
@mrizzi mrizzi deleted the azure-logging-fix branch April 28, 2023 08:05
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.

2 participants
0