-
Notifications
You must be signed in to change notification settings - Fork 168
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
Extract app config from deployment config #9642
Conversation
0714fa1
to
16157c4
Compare
150bb69
to
dda1b6e
Compare
bf1beb4
to
497b282
Compare
5bb7589
to
a221f98
Compare
fusion-endpoint/src/main/java/com/vaadin/flow/server/connect/VaadinConnectController.java
Show resolved
Hide resolved
flow-server/src/main/java/com/vaadin/flow/server/startup/AbstractConfigurationFactory.java
Show resolved
Hide resolved
flow-server/src/main/java/com/vaadin/flow/server/startup/LookupInitializer.java
Show resolved
Hide resolved
flow-server/src/main/java/com/vaadin/flow/server/PropertyDeploymentConfiguration.java
Show resolved
Hide resolved
...oint/src/test/java/com/vaadin/flow/server/startup/fusion/DevModeInitializerEndpointTest.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly questions
flow-server/src/main/java/com/vaadin/flow/server/DeploymentConfigurationFactory.java
Show resolved
Hide resolved
flow-server/src/main/java/com/vaadin/flow/server/DeploymentConfigurationFactory.java
Show resolved
Hide resolved
flow-server/src/main/java/com/vaadin/flow/server/PropertyDeploymentConfiguration.java
Show resolved
Hide resolved
flow-server/src/main/java/com/vaadin/flow/server/VaadinServletConfiguration.java
Show resolved
Hide resolved
flow-server/src/main/java/com/vaadin/flow/server/startup/AbstractConfigurationFactory.java
Outdated
Show resolved
Hide resolved
flow-server/src/test/java/com/vaadin/flow/server/communication/UidlRequestHandlerTest.java
Show resolved
Hide resolved
...oint/src/test/java/com/vaadin/flow/server/startup/fusion/DevModeInitializerEndpointTest.java
Show resolved
Hide resolved
...oint/src/test/java/com/vaadin/flow/server/startup/fusion/DevModeInitializerEndpointTest.java
Show resolved
Hide resolved
...oint/src/test/java/com/vaadin/flow/server/startup/fusion/DevModeInitializerEndpointTest.java
Show resolved
Hide resolved
flow-server/src/test/java/com/vaadin/flow/server/DeploymentConfigurationFactoryTest.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only one comment open about a test checking whether methods are overridden or not, your call @denis-anisimov if it makes sense or not
@@ -180,14 +181,10 @@ public static VaadinServlet getCurrent() { | |||
*/ | |||
protected DeploymentConfiguration createDeploymentConfiguration() | |||
throws ServletException { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've added the test sine this may be the most popular mistake. It won't catch all the possible errors but at least some. |
SonarQube analysis reported 15 issues Watch the comments in this conversation to review them. 9 extra issuesNote: The following issues were found on lines that were not modified in the pull request. Because these issues can't be reported as line comments, they are summarized here:
|
Adds necessary mocking for application configuration for CdiServlet in unit tests. Related to vaadin/flow#9642
This reverts commit e3821fd. # Conflicts: # flow-server/pom.xml # flow-server/src/main/java/com/vaadin/flow/server/startup/DefaultApplicationConfigurationFactory.java # flow-tests/test-root-context/src/main/java/com/vaadin/flow/ItApplicationConfigurationFactory.java
Adds necessary mocking for application configuration for CdiServlet in unit tests. Related to vaadin/flow#9642
fixes #9417