forked from line/armeria
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove
spring.config.use-legacy-processing
in tests
Motivation: When we upgrade to Spring Boot 2.4, we used `spring.config.use-legacy-processing` property because main application.yml overrides the yaml files in test. However, it was a bug and fixed. spring-projects/spring-boot#24719 Therefore, we don't have to use `spring.config.use-legacy-processing` anymore. Modifications: - Remove `spring.config.use-legacy-processing` property Result: - Close line#4899
- Loading branch information
Showing
33 changed files
with
30 additions
and
106 deletions.
There are no files selected for viewing
5 changes: 0 additions & 5 deletions
5
examples/spring-boot-minimal-kotlin/src/test/resources/application-testbed.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 0 additions & 5 deletions
5
examples/spring-boot-minimal/src/test/resources/application-testbed.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,4 +6,4 @@ spring.config.activate.on-profile: local | |
armeria: | ||
ports: | ||
- port: 8080 | ||
protocol: HTTP | ||
protocols: HTTP |
7 changes: 1 addition & 6 deletions
7
examples/spring-boot-tomcat/src/test/resources/application-testbed.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,7 @@ | ||
# Use-legacy-processing to use this application-testbed.yml file instead of application.yml | ||
spring: | ||
config: | ||
use-legacy-processing: true | ||
|
||
# Prevent the embedded Tomcat from opening a TCP/IP port. | ||
server.port: -1 | ||
--- | ||
armeria: | ||
ports: | ||
- port: 0 | ||
protocol: HTTP | ||
protocols: HTTP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,4 +12,4 @@ armeria: | |
- http | ||
- proxy | ||
- port: 8080 # Port 8080 will serve only HTTP. | ||
protocol: http | ||
protocols: http |
5 changes: 0 additions & 5 deletions
5
examples/spring-boot-webflux/src/test/resources/application-testbed.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
it/spring/boot3-mixed-tomcat10/src/main/resources/config/application.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
armeria: | ||
ports: | ||
- port: 0 | ||
protocol: HTTP | ||
protocols: HTTP |
2 changes: 1 addition & 1 deletion
2
it/spring/boot3-mixed/src/main/resources/config/application.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
armeria: | ||
ports: | ||
- port: 0 | ||
protocol: HTTP | ||
protocols: HTTP |
2 changes: 1 addition & 1 deletion
2
it/spring/boot3-tomcat10/src/main/resources/config/application.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
armeria: | ||
ports: | ||
- port: 0 | ||
protocol: HTTP | ||
protocols: HTTP | ||
server: | ||
error: | ||
include-message: always |
2 changes: 1 addition & 1 deletion
2
it/spring/boot3-tomcat10/src/test/resources/application-healthGroupTest.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
armeria: | ||
ports: | ||
- port: 0 | ||
protocol: HTTP | ||
protocols: HTTP | ||
|
||
management: | ||
server: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -118,7 +118,6 @@ server: | |
protocols: | ||
- HTTPS | ||
- PROXY | ||
ports: | ||
compression: | ||
enabled: true | ||
mimeTypes: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,4 @@ armeria: | |
ports: | ||
- address: localhost | ||
port: 0 | ||
protocol: HTTP | ||
protocols: HTTP |
5 changes: 0 additions & 5 deletions
5
spring/boot3-actuator-autoconfigure/src/test/resources/application-actuatorTest.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 0 additions & 5 deletions
5
spring/boot3-actuator-autoconfigure/src/test/resources/application-allInternalServices.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
spring/boot3-actuator-autoconfigure/src/test/resources/application-autoConfTest.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 0 additions & 5 deletions
5
spring/boot3-actuator-autoconfigure/src/test/resources/application-basePathSamePortTest.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 0 additions & 5 deletions
5
spring/boot3-actuator-autoconfigure/src/test/resources/application-basePathTest.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 0 additions & 5 deletions
5
...g/boot3-actuator-autoconfigure/src/test/resources/application-basePathWithoutPortTest.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 0 additions & 5 deletions
5
...g/boot3-actuator-autoconfigure/src/test/resources/application-defaultInternalServices.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 0 additions & 5 deletions
5
spring/boot3-actuator-autoconfigure/src/test/resources/application-internalServiceTest.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
spring/boot3-actuator-autoconfigure/src/test/resources/application-managedMetricPath.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 0 additions & 5 deletions
5
...g/boot3-actuator-autoconfigure/src/test/resources/application-managementLocalhostTest.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 0 additions & 5 deletions
5
spring/boot3-actuator-autoconfigure/src/test/resources/application-secureTest.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 0 additions & 5 deletions
5
spring/boot3-actuator-autoconfigure/src/test/resources/application-ssl.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
spring/boot3-autoconfigure/src/test/resources/config/application-compressionTest.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 0 additions & 5 deletions
5
spring/boot3-autoconfigure/src/test/resources/config/application-internalServiceTest.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
spring/boot3-autoconfigure/src/test/resources/config/application-sslTest.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
spring/boot3-webflux-autoconfigure/src/test/resources/config/application-test_actuator.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
armeria: | ||
ports: | ||
- port: 0 | ||
protocol: HTTP | ||
protocols: HTTP | ||
|
||
management: | ||
endpoints: | ||
|