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

Optimize routing #10177

Merged
merged 4 commits into from
Dec 4, 2023
Merged

Optimize routing #10177

merged 4 commits into from
Dec 4, 2023

Conversation

dstepanov
Copy link
Contributor

Based on #10172

@dstepanov dstepanov changed the base branch from filterr2 to 4.3.x December 4, 2023 12:29
@dstepanov dstepanov marked this pull request as ready for review December 4, 2023 12:30
}
};
return filterRunner.run(request);
} catch (Throwable e) {
Copy link
Member

Choose a reason for hiding this comment

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

what can fail here? getUri?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes

Copy link
Member

Choose a reason for hiding this comment

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

it's really ugly that that can fail all over the place now

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It will now fail during the filter check and propagate the errors. After the URI change, it will fail before the route execution and propagate the error in filters.

Copy link
Member

Choose a reason for hiding this comment

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

well if the filters dont need the route it can now fail in a controller too. it can fail anywhere

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Only if you disable the validation the other PR

Copy link

sonarqubecloud bot commented Dec 4, 2023

SonarCloud Quality Gate failed.    Quality Gate failed

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

96.3% 96.3% Coverage
0.0% 0.0% Duplication

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint

@sdelamo sdelamo merged commit 84c5097 into 4.3.x Dec 4, 2023
@sdelamo sdelamo deleted the filterr3 branch December 4, 2023 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants