Commit Graph

3033 Commits (3702c71fc177db6cb88c911f6f709807ee4819bb)

Author SHA1 Message Date
Brian Clozel b325edbc55 Polish
See gh-32484
2 years ago
Stephane Nicoll fcafd2abdb Merge branch '2.7.x'
Closes gh-32516
2 years ago
Stephane Nicoll cb191dfec2 Merge branch '2.6.x' into 2.7.x
Closes gh-32515
2 years ago
heqiang 5db6cc1cba Remove redundant @ExtendWith(SpringExtension.class) for sample
See gh-32476
2 years ago
Andy Wilkinson 9d30de9966 Exclude all tools projects from the aggregated javadoc
Closes gh-31955
2 years ago
Andy Wilkinson f67db3d9ad Move spring-boot-cli into spring-boot-tools
Closes gh-32492
2 years ago
Vedran Pavic 230f2cda84 Migrate to AuthorizationFilter in Spring Security auto-config
This commit updates Servlet based Spring Security auto-configuration
to use AuthorizationFilter, which is intended to supersede
FilterSecurityInterceptor.

See gh-31255
2 years ago
Scott Frederick f9c341c75a Revert "Generate the AutoConfiguration.imports file from annotations"
This reverts commit da4de7d67d.
2 years ago
Brian Clozel 56dcae8a3c Merge branch '2.7.x'
Closes gh-32471
2 years ago
Brian Clozel 8f9323d66c Document "classpath:*" location for GraphQL Schemas
This commit mentions the `"classpath*:graphql/**` schema location in
case the application needs to find schemas across multiple classpath
roots, for example across multiple modules.

Closes gh-31772
2 years ago
Andy Wilkinson f731279fef Merge branch '2.7.x'
Closes gh-32403
2 years ago
Andy Wilkinson 7827e8166e Merge branch '2.6.x' into 2.7.x
Closes gh-32402
2 years ago
Andy Wilkinson ab26050fe7 Document support for Java 19
Closes gh-32259
2 years ago
Phillip Webb 7f5785182d Switch @SpringBootTest to UseMainMethod.NEVER by default
See gh-22405
2 years ago
Phillip Webb 48f3cd75d4 Refine SpringBootTest.useMainMethod support
Refine `SpringBootContextLoader` so that calls to the main method do
not exit early and the hook is only used when necessary.

See gh-22405
2 years ago
Phillip Webb 41e0bbf4bb Add SpringBootTest.useMainMethod support
Add a new `useMainMethod` attribute to `SpringBootTest` which can be
used to determine how the test should run. The three available options
are:

	- `ALWAYS`
	- `NEVER`
	- `WHEN_AVAILABLE`

The default is `WHEN_AVAILABLE` which will attempt to launch the test
using the `main` method if there is one.

The `SpringBootContextLoader` has been updated to use the new
`SpringApplicationHook` interface when the main method is being used.

Closes gh-22405
2 years ago
Stephane Nicoll ebef52b207 Merge branch '2.7.x'
Closes gh-32292
2 years ago
Stephane Nicoll 04a668fd07 Merge branch '2.6.x' into 2.7.x
Closes gh-32291
2 years ago
Oliver B. Fischer 6e4e76597a Make the path of the config directory better understandable
Currently, the documentation relates to the subdirectory for external
configurations as `/config`. Read as UNIX path, the leading slash
could be read as reference to the root directory `/`.

This commit updates the documentation to use 'config/' instead.

See gh-32224
2 years ago
Andy Wilkinson 0555dda63d Remove rarely used commands from the CLI
Closes gh-32263
2 years ago
Vedran Pavic 94f42d11e5 Add support for customizing WebJars resource handler path pattern
At present, both Spring MVC and Spring WebFlux auto-configurations
hardcode the path pattern for WebJars resource handlers to
"/webjars/**", which means users are unable to change the path.

This commit introduces "spring.mvc.webjars-path-pattern" and
"spring.webflux.webjars-path-pattern" configuration properties that
allow customization of WebJars resource handler path pattern.

See gh-31769
2 years ago
Stephane Nicoll ec63a981d0 Merge branch '2.7.x'
Closes gh-32248
2 years ago
Stephane Nicoll 2fb257ad22 Merge branch '2.6.x' into 2.7.x
Closes gh-32247
2 years ago
Stephane Nicoll 19c69ff743 Polish "Add support for detecting .yml Hazelcast config files"
See gh-32142
2 years ago
Scott Frederick da4de7d67d Generate the AutoConfiguration.imports file from annotations
This commit adds the `AutoConfigurationImportsAnnotationProcessor` to
the `spring-boot-autoconfigure-processor` annotation processor
module. When added to a project build, the annotation processor will
generate the
`org.springframework.boot.autoconfigure.AutoConfiguration.imports`
file automatically from `@AutoConfiguration`-annotated classes. It
also applies the annotation processor to the Spring Boot build.

Closes gh-31228
2 years ago
Scott Frederick 01c68a3dc8 Merge branch '2.7.x'
Closes gh-32217
2 years ago
Scott Frederick 7763a5df7d Polish auto-configuration documentation
Remove references to outdated information, emphasize use of the
`@AutoConfiguration` annotation and attributes, and edit for clarity.

Closes gh-32174
2 years ago
Andy Wilkinson ee701e5c7d Merge branch '2.7.x'
Closes gh-32199
2 years ago
Andy Wilkinson a253d8d589 Merge branch '2.6.x' into 2.7.x
Closes gh-32198
2 years ago
Andy Wilkinson 7d983be769 Clarify docs on disabling HTTP client request metrics
Closes gh-32136
2 years ago
Andy Wilkinson 4c01810ca2 Merge branch '2.7.x'
Closes gh-32197
2 years ago
Andy Wilkinson 13edfba1f5 Fix Kotlin example for empty @DefaultValue constructor binding
Closes gh-32177
2 years ago
Madhura Bhave 47effdcade Support role-based sanitization for actuator endpoints
Closes gh-32156
2 years ago
Phillip Webb 6db88e12c8 Polish 'Allow multiple hosts to be set in MongoProperties'
See gh-32125
2 years ago
Madhura Bhave cea6492c4a Align default JMX and WEB endpoint exposures
Closes gh-32005
2 years ago
Stephane Nicoll 1efad88c8c Merge branch '2.7.x'
Closes gh-32027
2 years ago
Stephane Nicoll 6e64f49593 Merge branch '2.6.x' into 2.7.x
Closes gh-32026
2 years ago
Stephane Nicoll 12c1da275b Polish contribution
See gh-32004
2 years ago
Ionascu Stefan Ciprian c441bafe27 Document the DefaultServlet is no longer being enabled by default
See gh-32004
2 years ago
Andy Wilkinson ba93e6c0ed Restore support for Jersey
Closes gh-28637
2 years ago
Madhura Bhave 0991bd3983 Harmonize data configuration
Any classes that rely on Spring Data being on the classpath
have been moved under a data package.

Certain configuration properties have also been updated to
accurately reflect whether Spring Data is required for the
auto-configuration to work.

Closes gh-11574
2 years ago
Andy Wilkinson 36cf3b9f78 Merge branch '2.7.x'
See gh-31988
2 years ago
Andy Wilkinson eb67470b89 Merge branch '2.6.x' into 2.7.x
See gh-31987
2 years ago
Andy Wilkinson b905d7f341 Normalize included log output to remove CI-specific details
See gh-28208
2 years ago
Andy Wilkinson 05877dc927 Merge branch '2.7.x'
Closes gh-31988
2 years ago
Andy Wilkinson a69cf002f0 Merge branch '2.6.x' into 2.7.x
Closes gh-31987
2 years ago
Andy Wilkinson 6efa77f3f5 Generate console output examples at build time
Closes gh-28208
2 years ago
Andy Wilkinson 74283c3549 Merge branch '2.7.x'
Closes gh-31977
2 years ago
Andy Wilkinson f6ce25f9c5 Merge branch '2.6.x' into 2.7.x
Closes gh-31976
2 years ago
Andy Wilkinson c500d8e784 Note need to record req start time to use %D with Undertow access log
Closes gh-31103
2 years ago