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

feat: Allow excluding URLs from being handled by a root mapped Vaadin Spring servlet #14579

Merged
merged 15 commits into from
Sep 28, 2022

Conversation

Artur-
Copy link
Member

@Artur- Artur- commented Sep 20, 2022

This makes it possible to make services like swagger work correctly even when Vaadin is mapped to the context root.

Fixes #12949

@github-actions
Copy link

github-actions bot commented Sep 20, 2022

Unit Test Results

   955 files  +6     955 suites  +6   50m 22s ⏱️ + 1m 20s
6 077 tests +1  6 024 ✔️ +1  53 💤 ±0  0 ±0 
6 341 runs  +7  6 280 ✔️ +7  61 💤 ±0  0 ±0 

Results for commit f8bf97d. ± Comparison against base commit 5073899.

♻️ This comment has been updated with latest results.

@Artur-
Copy link
Member Author

Artur- commented Sep 22, 2022

The swagger related tests pass on plain Spring but cannot be included by default because of the rule that forbids spring boot dependencies. The springdoc dependency brings in spring boot also to a plain spring project..

@mcollovati mcollovati self-assigned this Sep 23, 2022
@vaadin-bot vaadin-bot added +0.1.0 and removed +0.0.1 labels Sep 28, 2022
@vaadin-bot vaadin-bot added +0.0.1 and removed +0.1.0 labels Sep 28, 2022
@sonarcloud
Copy link

sonarcloud bot commented Sep 28, 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

@MarcinVaadin
Copy link
Member

@Artur- - is excluding urls still needed after setting initParameters.put(ApplicationConfig.JSR356_PATH_MAPPING_LENGTH, "0"); in #14638 ? Isn't it similar issue to custom web socket endpoints?

@Artur-
Copy link
Member Author

Artur- commented Oct 3, 2022

Yes, this issue has nothing to do with websockets

@vaadin-bot
Copy link
Collaborator

This ticket/PR has been released with Vaadin 23.3.0.

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.

Enable the exclusion of handling specific URLs
4 participants