Commit Graph

3363 Commits (2011c95c75ed66b305c9814d9529b986007ccdf5)

Author SHA1 Message Date
Stephane Nicoll 13691f27bd Merge branch '2.6.x' into 2.7.x
Closes gh-32818
2 years ago
Stephane Nicoll 4d7cb7144e Upgrade copyright year of changed files
See gh-32644
2 years ago
Ada-Claire c5a1944267 Harmonize ConfigurationProperties code samples
Rename the SomeProperties class so that it is consistent with other
examples given within the Type-safe Configuration Properties. This
ensures that readers can intuitively draw the conclusion that the
MyProperties class is annotated with ConfigurationProperties.

See gh-32644
2 years ago
Moritz Halbritter 1635f61368 Update GraalVM requirement to 22.3
See gh-32813
2 years ago
Phillip Webb 73a34b6c0a Fix checkstyle issues
See gh-32582
2 years ago
Phillip Webb fb736e8427 Add native image reference documentation
Update reference documentation with a new "native image" section.

This commit includes some work derived from the "Spring Native"
project documentation written by Andy Clement, Sébastien Deleuze,
Filip Hanik, Dave Syer, Esteban Ginez, Jay Bryant, Brian Clozel,
Stéphane Nicoll, and Josh Long.

Closes gh-32582

Co-authored-by: Moritz Halbritter <mkammerer@vmware.com>
2 years ago
Phillip Webb 0219b222c2 Merge branch '2.7.x' 2 years ago
Phillip Webb d3750c4991 Merge branch '2.6.x' into 2.7.x 2 years ago
Phillip Webb c416c17fe8 Polish documentation title case 2 years ago
Madhura Bhave ce3c933f77 Adapt to Spring Security changes
Closes gh-32604
2 years ago
Brian Clozel b2fe807d47 Move MVC metrics to Observation auto-configuration
This commit moves the entire Metrics auto-configuration for Spring MVC
to the new `Observation` API and the instrumentation contributed in
Spring Framework.

Closes gh-32538
2 years ago
Phillip Webb 43a44006c9 Update getting started documentation to use @SpringBootApplication
Closes gh-32780
2 years ago
Phillip Webb 8dadf86f93 Merge branch '2.7.x'
Closes gh-32778
2 years ago
Phillip Webb fcaac2b343 Merge branch '2.6.x' into 2.7.x
Closes gh-32777
2 years ago
Guirong Hu 33e379c4a2 Use exclamation character for the document separator prefix
See gh-32521
2 years ago
Phillip Webb cb48674536 Switch Java versions used in documentation
See gh-32746
2 years ago
Phillip Webb 7d03a201c0 Switch Java version displayed in documentation
Closes gh-32746
2 years ago
Phillip Webb 76ef540716 Merge branch '2.7.x' 2 years ago
Phillip Webb 0f4a978731 Merge branch '2.6.x' into 2.7.x 2 years ago
Phillip Webb 6641a98913 Improve the phrasing around property source ordering 2 years ago
Phillip Webb 029aab6b58 Document Log4j2 extensions
See gh-32578
2 years ago
Emil ea654b42fa Fix typo "Elastixsearch"
See gh-32656
2 years ago
Johnny Lim 73fd760137 Polish HTTP client observability changes
See gh-32484
See gh-32518

Closes gh-32636
2 years ago
Brian Clozel 23a9818e0d Auto-configure ProblemDetails support
This commit auto-configures ProblemDetails support for both Spring MVC
and Spring WebFlux, contributing a `@ControllerAdvice` annotated
`ResponseEntityExceptionHandler` bean if the
`spring.mvc.problemdetails.enabled` or
`spring.webflux.problemdetails.enabled` properties are set to `true`.

Closes gh-32634
2 years ago
Brian Clozel d25fc73dae Upgrade to Neo4J Java Driver 5.0.0
Closes gh-32620
2 years ago
Andy Wilkinson 4f86f685c5 Reinstate support for Infinispan
Closes gh-32556
2 years ago
Andy Wilkinson 51df7813a5 Remove code deprecated in 2.x and add since and forRemoval attributes
Closes gh-32548
Closes gh-32549
2 years ago
Brian Clozel 7f7ecdc7ac Fix documentation build
See gh-32518
2 years ago
Brian Clozel a0735eb3fb Migrate remaining usage of httpclient API
This commit migrates our remaining usage of the httpclient 4.x to use
instead httpclient5, now that the 4.x support has been removed in
`RestTemplate`.

Closes gh-32461
2 years ago
Brian Clozel 5fb2a50ad0 Adapt build dependencies to httpclient5
As htttpclient 4.x is not supported anymore by `RestTemplate`, this
commit changes such dependencies to httpclient5 instead. In some cases,
the httpclient 4.x was transitively brought by a non-Spring dependency.

See gh-32461
2 years ago
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
Andy Wilkinson ae86707bca Merge branch '2.7.x'
Closes gh-31975
2 years ago
Andy Wilkinson 3e6b4e68ad Merge branch '2.6.x' into 2.7.x
Closes gh-31974
2 years ago
Andy Wilkinson 591cd0feb3 Mention TLS-terminating proxy as a usecase for h2c
Closes gh-25855
2 years ago
Andy Wilkinson 0857cae943 Merge branch '2.7.x'
Closes gh-31952
2 years ago
Andy Wilkinson 0dde4278db Merge branch '2.6.x' into 2.7.x
Closes gh-31951
2 years ago
Marc Wrobel 3e0665e791 Fix links in documentations
- Fix broken links
- Use HTTPS where possible,
- Remove spring-security-oauth2-docs as it is no longer used
- Remove https://github.com/ThierrySquirrel/rocketmq-spring-boot-starter.
  This starter is 404 and https://github.com/rocketmq/rocketmq-spring-boot-starter
  hasn't been updated for 4 years.
- Clean up nohttp allowlist.lines.

See gh-31887
2 years ago
Brian Clozel 5261e42dab Fix PDF reference docs generation
See gh-31809
2 years ago
Brian Clozel cbf1cd81e9 Polish
See gh-31809
2 years ago
Brian Clozel 184945ab1e Fix graphql imports in reference docs generation
See gh-31809
2 years ago
Brian Clozel 38f1bc9793 Reinstate Spring for GraphQL auto-configuration
This commit adds the Spring for GraphQL auto-configuration back
into Spring Boot 3.0, now that a 1.1.0 release is scheduled with the
required baseline. This release also needs GraphQL Java 19.0 as a
baseline.

Closes gh-31809
2 years ago
Phillip Webb ab469e8b6a Merge branch '2.7.x'
Closes gh-31944
2 years ago
Phillip Webb 06b537e2a0 Merge branch '2.6.x' into 2.7.x
Closes gh-31943
2 years ago
vilmos 00be9e4e94 Fix property placeholder references in @Value example
See gh-31941
2 years ago
Stephane Nicoll 0e9f8a5994 Merge branch '2.7.x'
Closes gh-31922
2 years ago
Stephane Nicoll 4806881716 Merge branch '2.6.x' into 2.7.x
Closes gh-31921
2 years ago
Stephane Nicoll 3a5b40645a Restore support for C3P0
Closes gh-31920
2 years ago
Phillip Webb 49a8e81dc3 Merge branch '2.7.x'
Closes gh-31902
2 years ago
Phillip Webb 5c52882f76 Merge branch '2.6.x' into 2.7.x
Closes gh-31901
2 years ago
Phillip Webb 9a2ad6d42d Remove references to ConfigFileApplicationListener
Update documentation and meta-data to remove referenced to the now
deprecated `ConfigFileApplicationListener` class.

Closes gh-31895
2 years ago
Phillip Webb 7377d85096 Merge branch '2.7.x'
Closes gh-31866
2 years ago
dreis2211 75f375c68e Align Kotlin API and language versions
See gh-31849
2 years ago
Andy Wilkinson 85c41d6698 Merge branch '2.7.x'
Closes gh-31847
2 years ago
Andy Wilkinson ac3f552dde Merge branch '2.6.x' into 2.7.x
Closes gh-31846
2 years ago
Madhura Bhave 4057dd198b Change preference of session store implementations
The order has been determined based on usage statistics.

Closes gh-27756
2 years ago
Andy Wilkinson 2814175505 Polish "Add auto-configuration for JdkClientHttpConnector"
See gh-31709
2 years ago
Andy Wilkinson 5c057a2730 Auto-configure the new Elasticsearch clients
This commit introduces auto-configuration for the new Elasticsearch
clients that are based upon their new Java client. The new Java
client builds on top of their existing low-level REST client,
replacing the high-level REST client which has been deprecated.
As part of introducing support for the new Elasticsearch client,
the auto-configuration for the templates (both imperative and
reactive) provided by Spring Data has also been updated to use the
new templates that build upon the new Java client.

As part of these changes, support for the high-level REST client and
the old Spring Data Elasticsearch templates has been removed. One
significant change is that the new reactive template is no longer
based on WebClient. As a result, the WebClient-specific configuration
property has been removed.

Closes gh-30647
Closes gh-28597
Closes gh-31755
2 years ago
Andy Wilkinson 7bd9873cd9 Raise the minimum supported version of Gradle to 7.5
Closes gh-31215
2 years ago
Jonas 6afd041bb2 Fix typo
See gh-31518
2 years ago
Stephane Nicoll 9cace34a19 Merge branch '2.7.x'
Closes gh-31705
2 years ago
Stephane Nicoll b8647551cb Merge branch '2.6.x' into 2.7.x
Closes gh-31704
2 years ago
Johnny Lim b17cb9b92b Polish gh-31231
See gh-31540
2 years ago
Andy Wilkinson 9b113272d1 Reinstate support for Hibernate Metrics
Closes gh-31675
2 years ago
Oliver Drotbohm b10c57551c Upgrade to Hibernate 6.1.1.Final
This commit makes the following potentially breaking changes:

- Dependency management for modules that do not exist in Hibernate
  6.1 has been removed.
- Hibernate's modules are now in the org.hibernate.orm group. Users
  not using the starter or using modules that are not in the starter
  will have to update their build configuration accordingly.
- spring.jpa.hibernate.use-new-id-generator-mappings has been removed
  as Hibernate no longer supports switching back to the old ID
  generator mappings.

Co-authored-by: Andy Wilkinson <wilkinsona@vmware.com>

Closes gh-31674
2 years ago
Andy Wilkinson 7f00378eaf Polish "Start building against Spring Data 2022.0.0-M5 snapshots"
See gh-31582
2 years ago
Adrian Bob 29beee61b5 Remove remaining Jolokia references from the documentation
See gh-31549
2 years ago
Andy Wilkinson a28ca4594b Merge branch '2.7.x'
Closes gh-31529
2 years ago
Andy Wilkinson 7abc7df7b8 Allow PEM certificates to be used without a key store password
Closes gh-31253
2 years ago
Andy Wilkinson 631b1e0d76 Merge branch '2.7.x'
Closes gh-31526
2 years ago
Andy Wilkinson 1e08f545d0 Merge branch '2.6.x' into 2.7.x
Closes gh-31525
2 years ago
Andy Wilkinson f49b16c645 Upgrade to Spring Java Format 0.0.34
Closes gh-31524
2 years ago
Madhura Bhave 7cb53b3c45 Remove session store type in favor of defined order
Closes gh-27756
2 years ago
Moritz Halbritter e438338d98 Merge branch '2.7.x' 2 years ago
Moritz Halbritter ae75d4386c Merge branch '2.6.x' into 2.7.x 2 years ago
Moritz Halbritter b56b95d429 Add Apache HttpClient WebClient support to documentation 2 years ago
Stephane Nicoll 8e569210ce Merge branch '2.7.x'
Closes gh-31466
2 years ago
Sébastien Deleuze b5d380c1cb Make SpringApplication Kotlin samples idiomatic
See gh-31463
2 years ago
Stephane Nicoll 3118b7380d Merge branch '2.7.x'
Closes gh-31461
2 years ago
Stephane Nicoll 8b9579eeb7 Polish "Harmonize Kotlin example"
See gh-31458
2 years ago
ningenMe 6685d49faa Harmonize Kotlin example
See gh-31458
2 years ago
Madhura Bhave 55d6a87fef Remove support for multiple batch jobs
Closes gh-25373
2 years ago
Andy Wilkinson fabe0637cd Raise the minimum supported version of Kotlin to 1.7
Closes gh-31391
2 years ago
Phillip Webb 85dcbf6100 Merge branch '2.7.x'
Closes gh-31385
2 years ago
Phillip Webb e0947459b6 Merge branch '2.6.x' into 2.7.x
Closes gh-31384
2 years ago
Phillip Webb 9f8a262e6b Log a warning when a health indicator takes too long to run
Update `HealthEndpointSupport` so that it logs a warning if a health
indicator takes too long to respond.

Fixes gh-31231
2 years ago
Andy Wilkinson 6894f561ce Merge branch '2.7.x'
Closes gh-31382
2 years ago
Andy Wilkinson ab67136664 Merge branch '2.6.x' into 2.7.x
Closes gh-31381
2 years ago
Andy Wilkinson 2094722e5d Remove duplicate content from "The Spring WebFlux Framework"
Closes gh-31378
2 years ago
Phillip Webb 6dea2f0e8d Merge branch '2.7.x'
Closes gh-31370
2 years ago
Phillip Webb 0be5078a73 Merge branch '2.6.x' into 2.7.x
Closes gh-31369
2 years ago
Phillip Webb b3a46fc50e Document that placeholders should us the canonical property name form
Closes gh-31309
2 years ago
Phillip Webb 378e56f1d3 Add Order annotation to GraphQL RouterFunction beans
Update GraphQL auto-configuration so that `RouterFunction` beans have
and `@Order` of 0.

Fixes gh-31314
2 years ago
Stephane Nicoll cc4965ee8a Merge branch '2.7.x'
Closes gh-31367
2 years ago
Stephane Nicoll 961b979d6e Merge branch '2.6.x' into 2.7.x
Closes gh-31366
2 years ago
Anthony Vanelverdinghe 1fffdbae2a Fix typos in the reference documentation
See gh-31328
2 years ago
Stephane Nicoll 59f6661166 Merge branch '2.7.x'
Closes gh-31361
2 years ago
Stephane Nicoll 56913a08b8 Merge branch '2.6.x' into 2.7.x
Closes gh-31360
2 years ago
Anthony Vanelverdinghe b1ccb600f3 Remove reference to outdated location
See gh-31276
2 years ago
Stephane Nicoll 41d327df51 Merge branch '2.7.x'
Closes gh-31359
2 years ago
Stephane Nicoll 06d7e67e79 Merge branch '2.6.x' into 2.7.x
Closes gh-31358
2 years ago
Stern, Ittay (is9613) e05363f9b0 Restore Custom Favicon section in the reference guide
The section about favicon was mistakenly removed in 5fceb9d and this
commit reinstates it.

See gh-31224
2 years ago
Stephane Nicoll ed7ff31d01 Merge branch '2.7.x'
Closes gh-31357
2 years ago
Stephane Nicoll 4b0fe63bdf Merge branch '2.6.x' into 2.7.x
Closes gh-31356
2 years ago
Stephane Nicoll d896d995d1 Polish contribution
See gh-31190
2 years ago
tudormarc e313aa5f6c Document that Lombok must be configured before our annotation processor
See gh-31190
2 years ago
Stephane Nicoll 365d96daf6 Merge branch '2.7.x'
Closes gh-31355
2 years ago
Stephane Nicoll 72dd51ae0b Merge branch '2.6.x' into 2.7.x
Closes gh-31354
2 years ago
Henning Poettker 9fdd471adf Use Lambda-based API in Spring Security examples
See gh-31143
2 years ago
Phillip Webb ff4e6f7639 Merge branch '2.7.x'
Closes gh-31339
2 years ago
Phillip Webb 0f7fa84214 Polish 'Update Dynatrace documentation for Micrometer 1.9.0'
See gh-31132
2 years ago
Georg Pirklbauer 6df9f50642 Update Dynatrace documentation for Micrometer 1.9.0
Update the actuator documentation for Dynatrace to reflect the
updates and improvements that were made in Micrometer 1.9.0.

See gh-31132
2 years ago
Moritz Halbritter 486b3073ce Add tracing in integration tests paragraph to the documentation
See gh-31308
2 years ago
Moritz Halbritter b250d8a1e4 Add @AutoConfigureObservability annotation
This annotation is read by ObservabilityContextCustomizerFactory, which
then sets test properties depending on the annotation attributes.

@AutoConfigureMetrics is deprecated, to support backwards compatability
it's now meta-annotated with @AutoConfigureObservability

See gh-31308
2 years ago
Andy Wilkinson 85ad4fd4b4 Merge branch '2.7.x'
Closes gh-31212
3 years ago
Andy Wilkinson 70bcade232 Merge branch '2.6.x' into 2.7.x
Closes gh-31211
3 years ago
Andy Wilkinson 419ac26e0d Use conventions for source and encoding of aggregatedJavadoc
Closes gh-31210
3 years ago
Stephane Nicoll a27427b977 Merge branch '2.7.x'
Closes gh-31207
3 years ago
Stephane Nicoll 95dad34482 Merge branch '2.6.x' into 2.7.x
Closes gh-31206
3 years ago
Matei Cernăianu eb8b9e17c5 Fix "spring.factories" typos in database initialization documentation
See gh-31203
3 years ago
Andy Wilkinson 90752e559a Polish "Auto-configure JvmCompilationMetrics"
See gh-31151
3 years ago
Andy Wilkinson 4bb5ba2bd0 Merge branch '2.7.x' 3 years ago
Andy Wilkinson 935d1264e0 Merge branch '2.6.x' into 2.7.x 3 years ago
Andy Wilkinson 3d203d0215 Polish 3 years ago
Andy Wilkinson 5dfa5adb75 Merge branch '2.7.x'
Closes gh-31178
3 years ago
Andy Wilkinson 455ee0ce22 Merge branch '2.6.x' into 2.7.x
Closes gh-31177
3 years ago
Andy Wilkinson ee45fd2fc8 Remove redundant throws declarations from internal APIs
Closes gh-31176
3 years ago
Andy Wilkinson 96c2d08fc4 Remove support for Solr as it is not compatible with Jetty 11
Closes gh-31054
3 years ago
Phillip Webb f8a41d34aa Merge branch '2.7.x' 3 years ago
Phillip Webb 23eceb0d8a Merge branch '2.6.x' into 2.7.x 3 years ago
Phillip Webb ea41e89c6c Merge branch '2.5.x' into 2.6.x 3 years ago
Phillip Webb 7d2f1bafc0 Update copyright year of changed files 3 years ago
Madhura Bhave c730ab7d0c Merge branch '2.7.x' into main 3 years ago
Scott Frederick 7d459a13c2 Add properties for SAML relying party single logout
Closes gh-30128

Co-authored-by: Madhura Bhave <bhavem@vmware.com>
3 years ago
Andy Wilkinson a496cb9298 Merge branch '2.7.x' 3 years ago
Andy Wilkinson 2669f8c343 Merge branch '2.6.x' into 2.7.x
Closes gh-30997
3 years ago
Andy Wilkinson 655ceefead Merge branch '2.5.x' into 2.6.x
Closes gh-30996
3 years ago
Andy Wilkinson 3f6fcac683 Polish "Extend documentation on Datadog metrics"
See gh-30879
3 years ago
Denis Washington 09db7e4001 Extend documentation on Datadog metrics
- Document that an application key must be set to publish metadata
  for the exported metrics.

- Point out that using a non-US Datadog site (e.g., EU) requires
  changing the `uri` property.

See gh-30879
3 years ago
Andy Wilkinson c12171f2e9 Merge branch '2.7.x' 3 years ago
Andy Wilkinson 09b9a1f729 Merge branch '2.6.x' into 2.7.x
Closes gh-30995
3 years ago
Andy Wilkinson 9f46cf88c8 Merge branch '2.5.x' into 2.6.x
Closes gh-30994
3 years ago
颜虎 309e54bd21 Fix link to Upgrading From 1.x in multi-page documentation
See gh-30890
3 years ago
Andy Wilkinson 2744649892 Update started log message as app may not be running on a JVM
Closes gh-30974
3 years ago
Andy Wilkinson 770cb840c3 Use more flexible SpringFactoriesLoader
Closes gh-30235

Co-authored-by: Madhura Bhave <bhavem@vmware.com>
Co-authored-by: Stephane Nicoll <snicoll@vmware.com>
3 years ago
Andy Wilkinson 0fbfb8ef09 Remove remnants of support for Embedded Mongo
See gh-30863 and 7e089a6b
3 years ago
Scott Frederick 7e089a6b81 Remove support for embedded MongoDB
This commit removes auto-configuration and dependency management
for Flapdoodle embedded MongoDB in favor of the Spring Boot support
provided by Flapdoodle.

Closes gh-30863
3 years ago
Andy Wilkinson 1ee079c265 Reinstate support for pooled-jms as it is now JMS 3.0 compatible
Closes gh-30865
3 years ago
Andy Wilkinson 0e00fafe38 Polish "Provide callback mechanism for customizing validation configuration"
See gh-29429
3 years ago
Scott Frederick 7f395941c7 Add timezone offset to default logging date format patterns
Closes gh-28654
3 years ago
Andy Wilkinson 541ab69aff Merge branch '2.7.x' 3 years ago
Andy Wilkinson 4cd850cfc0 Merge branch '2.6.x' into 2.7.x
Closes gh-30851
3 years ago
Andy Wilkinson fa327a783d Merge branch '2.5.x' into 2.6.x
Closes gh-30850
3 years ago
Eddú Meléndez f7a7e8cb89 Add auto-configuration for OtlpMeterRegistry
See gh-30825
3 years ago
izeye 77c3b6c899 Polish Micrometer tracing changes
See gh-30833
3 years ago
Eddú Meléndez 6a65aa4a23 Auto-configure Micrometer's JvmInfoMetrics
See gh-30832
3 years ago
Moritz Halbritter 85a4c94dea Merge branch '2.7.x' 3 years ago
Moritz Halbritter b406971094 Remove hyphen from asserting-party
spring.security.saml2.relyingparty.registration.*.asserting-party.* is
now named spring.security.saml2.relyingparty.registration.*.assertingparty.*

Closes gh-30785
3 years ago
Moritz Halbritter 35efc23deb Merge branch '2.7.x' 3 years ago
Moritz Halbritter e8b7843fe9 Merge branch '2.6.x' into 2.7.x
Closes gh-30782
3 years ago
Moritz Halbritter 63eb6b6ad9 Merge branch '2.5.x' into 2.6.x
Closes gh-30781
3 years ago
Moritz Halbritter 9b8b87009c Document support for Java 18
Closes gh-30548
3 years ago
Phillip Webb 7a6ca8ce25 Merge branch '2.7.x' 3 years ago
Phillip Webb dd5696b59b Update copyright year of changed files 3 years ago
Phillip Webb 36f1249fc6 Polish 3 years ago
Moritz Halbritter 1950d06585 Merge branch '2.7.x' 3 years ago
Moritz Halbritter 6c400daa48 Rename 'identityprovider' property to 'asserting-party'
Rename spring.security.saml2.relyingparty.registration.*.identity-provider.*
to spring.security.saml2.relyingparty.registration.*.asserting-party.*

The old property names are still supported, but will lead to a warning
in the logs.

Closes gh-30642
3 years ago
Stephane Nicoll 1698faffee Merge branch '2.7.x' 3 years ago
Stephane Nicoll 38c2a5c14b Merge branch '2.6.x' into 2.7.x
Closes gh-30750
3 years ago
Stephane Nicoll d049ae8703 Merge branch '2.5.x' into 2.6.x
Closes gh-30749
3 years ago
rfigueroa ae267bfab2 Use eclipse-temurin in docker samples
As AdoptOpenJDK moved to the Eclipse Foundation, this commit updates the
docs to reflect that in docker file samples.

See gh-30748
3 years ago
Stephane Nicoll 2d663f2e94 Upgrade to Spring Data 2021.2.0-RC1
Closes gh-30610
3 years ago
Brian Clozel 2dc2e5ab11 Auto-configure RSocketGraphQlClient
This commit contributes a `RSocketGraphQlClient.Builder` component to
the context, pre-configured with the `RSocketStrategies`, a customized
`RSocketConnector` and the expected data MIME type.

See gh-30453
3 years ago
Stephane Nicoll eb2f840446 Merge branch '2.7.x' 3 years ago
Stephane Nicoll 9c3cce58ea Merge branch '2.6.x' into 2.7.x
Closes gh-30740
3 years ago
Stephane Nicoll 57b3cb5135 Polish "Fix incorrect link in kafka.adoc"
See gh-30674
3 years ago
Chanhyeong Cho 577f0add0c Fix incorrect link in kafka.adoc
See gh-30674
3 years ago
Stephane Nicoll a4cccc98c6 Merge branch '2.7.x' 3 years ago
izeye ed412af138 Polish
See gh-30695
3 years ago
Stephane Nicoll 2ce840986f Merge branch '2.7.x' 3 years ago
Stephane Nicoll 4c5cb772ff Polish
See gh-30674
3 years ago
Brian Clozel eddb2b16ff Configure RSocket server support in GraphQL
This commit adds the RSocket server auto-configuration for GraphQL.

See gh-30453
3 years ago
Moritz Halbritter 3860eb211a Implement auto-configurations for Brave and OpenTelemetry
- Configure Zipkin
- Configure Wavefront
- Configure Brave
- Configure OpenTelemetry
- Configure Micrometer Tracing bridges for OpenTelemetry and Brave
- Create the ObservationHandler for tracing with Micrometer

Closes gh-30156
3 years ago
Scott Frederick f5f7fc8e9a Merge branch '2.7.x' 3 years ago
Scott Frederick d387b3fa81 Support configuration of web SSL using PEM-encoded certificates
This commit adds the ability to configure SSL in embedded web containers
using PEM-encoded certificate and private key files, as an alternative
to configuring SSL with Java KeyStore files.

Closes gh-29273
3 years ago
Andy Wilkinson 258ae5e153 Merge branch '2.7.x' 3 years ago
Andy Wilkinson 562627fb42 Deprecate auto-configuration for RestHighLevelClient
Closes gh-28598
3 years ago
Andy Wilkinson d5a92ccb8b Merge branch '2.7.x' 3 years ago
Andy Wilkinson a7a71da9ef Polish "Bring back Elasticsearch RestClient auto-configuration"
See gh-28496
3 years ago
Filip Hrisafov eb3bf40bdb Bring back Elasticsearch RestClient auto-configuration
Prior to this commit, Spring Boot would only auto-configure the
`RestHighLevelClient` and `RestClientBuilder` if the
`RestHighLevelClient` was present. This was done in 1d73d4ed.

This commit brings back the exposing of the `RestClient` bean in when
exposing the `RestHighLevelClient` or when the `RestHighLevelClient`
is not present. It allows for using the auto-configuration and its
customizers of the `RestClientBuilder` in a similar way as it is done
for the `RestTemplateBuilder` and the `WebClient.Builder`.

The presence of the `elasticsearch-rest-high-level-client` module is
now optional. This opens the door for potentially adding support for
the new Elasticsearch Java Client[1] that is based on the same
`RestClient`.

The health contributor and its configuration has also been updated to
only depend on the low-level RestClient.

See gh-28496

[1] https://github.com/elastic/elasticsearch-java
3 years ago
Brian Clozel e57bbdfcf5 Polish
See gh-29666
3 years ago
Andy Wilkinson 44211564a4 Adapt to latest changes in Micrometer 2.0 snapshots
See gh-29666
3 years ago
Andy Wilkinson 6580f6c742 Align with latest changes in Micrometer 1.9 snapshots
See gh-30605
3 years ago
Andy Wilkinson b871a1e457 Merge branch '2.7.x' 3 years ago
Andy Wilkinson 48f8021d88 Migrate @Local*Port annotations to spring-boot-test
Closes gh-29589
3 years ago
Andy Wilkinson 2dcc1ea257 Merge branch '2.7.x' 3 years ago
Andy Wilkinson 612e4114d2 Merge branch '2.6.x' into 2.7.x
Closes gh-30584
3 years ago
Andy Wilkinson f027faafa2 Merge branch '2.5.x' into 2.6.x
Closes gh-30583
3 years ago
izeye 618d113fad Move Jetty 9 specific exclusions to correct dependency
See gh-30522
3 years ago
Andy Wilkinson e6b485b317 Merge branch '2.7.x' 3 years ago
Andy Wilkinson 8727361221 Polish "Order ExitCodeGenerators and return first non-zero exit code"
See gh-30457
3 years ago
dugenkui 6718b10fa9 Order ExitCodeGenerators and return first non-zero exit code
See gh-30457
3 years ago
Andy Wilkinson a70249e368 Merge branch '2.7.x' 3 years ago
Andy Wilkinson ffc0fafe1a Merge branch '2.6.x' into 2.7.x
Closes gh-30545
3 years ago
Andy Wilkinson 05d4093381 Merge branch '2.5.x' into 2.6.x
Closes gh-30544
3 years ago
Andy Wilkinson 83cfc951f8 Polish "Refer to list of internal proxies in reference documentation"
See gh-30461
3 years ago
Damiano Albani 91306b58d5 Refer to list of internal proxies in reference documentation
See gh-30461
3 years ago
Moritz Halbritter 5b05fd9fb2 Merge branch '2.7.x' 3 years ago
Moritz Halbritter eedb8573b7 Polish documentation 3 years ago
Moritz Halbritter 6fa696f13d Merge branch '2.7.x' 3 years ago
Moritz Halbritter bd1424b004 Merge branch '2.6.x' into 2.7.x
Closes gh-30528
3 years ago
Moritz Halbritter bf3c2d713d Merge branch '2.5.x' into 2.6.x
Closes gh-30526
3 years ago
izeye 09d6215b65 Polish documentation
See gh-30498
3 years ago
Moritz Halbritter 9791318e55 Merge branch '2.7.x' 3 years ago
Jonatan Ivanov d0bc31a5e9 Add support for Prometheus Exemplars
See gh-30472
3 years ago
Andy Wilkinson 24e6417ddc Adapt to latest changes in Spring for GraphQL snapshots
See gh-30463
3 years ago
Andy Wilkinson 5d8c1d9bd7 Merge branch '2.7.x' 3 years ago
Andy Wilkinson 2f3ae02385 Merge branch '2.6.x' into 2.7.x
Closes gh-30466
3 years ago
Andy Wilkinson 8f985474a6 Merge branch '2.5.x' into 2.6.x
Closes gh-30465
3 years ago
Andy Wilkinson d574563616 Document @ConstructorBinding and @DefaultValue with records
Closes gh-30460
3 years ago
Moritz Halbritter be3523b1cd Move metric properties
- Moved from 'management.metrics.export.<product>' to
  'management.<product>.metrics.export'
- The default enabled property moved from 'management.metrics.export.defaults.enabled'
  to 'management.defaults.metrics.export.enabled'

Closes gh-30381
3 years ago
Andy Wilkinson eabf6cd1d8 Merge branch '2.7.x' 3 years ago
Andy Wilkinson 685d2d4391 Polish
See gh-30152
3 years ago
Andy Wilkinson 2e32f800e1 Merge branch '2.7.x' 3 years ago
Andy Wilkinson 8646ac4215 Move JsonComponent docs to general Jackson section
Closes gh-30405
3 years ago
Andy Wilkinson 5d09260870 Reinstate support for REST Assured
Closes gh-29543
Closes gh-30426
3 years ago
Andy Wilkinson 2c1b30514a Merge branch '2.7.x' 3 years ago
Andy Wilkinson 06c3e2a041 Merge branch '2.6.x' into 2.7.x
Closes gh-30394
3 years ago
Andy Wilkinson 2317f69f4c Add Apache Kafka to Messaging section's description
Closes gh-30389
3 years ago
Andy Wilkinson 009666bc64 Merge branch '2.7.x' 3 years ago
Andy Wilkinson ac3b0ea24a Merge branch '2.6.x' into 2.7.x
Closes gh-30380
3 years ago
Henning Poettker 22eb301bcf Fix links to Spring Security Reference Guide
See gh-30349
3 years ago
Stephane Nicoll 9de234f913 Fix asciidoc include and anchor 3 years ago
Stephane Nicoll b8e93b27af Merge branch '2.7.x' 3 years ago
Stephane Nicoll 7402a584bd Merge branch '2.6.x' into 2.7.x
Closes gh-30347
3 years ago
Stephane Nicoll 55a385cc36 Merge branch '2.5.x' into 2.6.x
Closes gh-30346
3 years ago
Stephane Nicoll 8824a09572 Polish "Document WebSecurityCustomizer for H2 Console"
See gh-29932
3 years ago
Henning Poettker 9d46a18406 Document WebSecurityCustomizer for H2 Console
See gh-29932
3 years ago
Stephane Nicoll e342070ec4 Merge branch '2.7.x' 3 years ago
Stephane Nicoll d0a0e7c6a2 Merge branch '2.6.x' into 2.7.x
Closes gh-30345
3 years ago
Stephane Nicoll 0aa141b5d9 Merge branch '2.5.x' into 2.6.x
Closes gh-30344
3 years ago
Stephane Nicoll 9455831d2a Polish contribution
See gh-30234
3 years ago
Abel Salgado Romero 5e270c18ae Include Netty in servers that supports HTTP response compression
See gh-30234
3 years ago
Stephane Nicoll 2088381d4b Merge branch '2.7.x' 3 years ago
Stephane Nicoll a2959bbcf2 Polish "Add support for cache2k in memory caching"
See gh-28498
3 years ago
Andy Wilkinson 17b5611ace Merge branch '2.7.x' 3 years ago
Andy Wilkinson f05c19a40a Kotlin Fix JsonSerializer example in reference guide
Closes gh-30331
3 years ago
Chris Dennis 3ed3d3eb36 Restore Ehcache 3 Support
See gh-30002
3 years ago
Stephane Nicoll c322cebe49 Merge branch '2.7.x' 3 years ago
Stephane Nicoll d8bb2ec4e0 Merge branch '2.6.x' into 2.7.x
Closes gh-30331
3 years ago
Stephane Nicoll bce247eafb Merge branch '2.5.x' into 2.6.x
Closes gh-30330
3 years ago
Stephane Nicoll 39339ccb49 Update copyright year of change file
See gh-30329
3 years ago
SangHyun-Park 8536100009 Fix JsonSerializer example in reference guide
See gh-30329
3 years ago
Andy Wilkinson a1e972ebaa Update Spock for Groovy 4.0 compatibility
Closes gh-30318
3 years ago
Andy Wilkinson dd812a3f76 Upgrade to Groovy 4.0.1
Closes gh-30279
3 years ago
Andy Wilkinson 568cd687af Remove support for REST Assured until it supports Groovy 4.0
REST Assured does not work with Groovy 4.0 so support is being
temporarily removed again.

See gh-29543
3 years ago
Stephane Nicoll 3afda66be2 Merge branch '2.7.x' 3 years ago
Stephane Nicoll 2631b0ce01 Merge branch '2.6.x' into 2.7.x
Closes gh-30275
3 years ago
Stephane Nicoll be34ad36b5 Restore WebSockets section in the reference guide
Closes gh-30231
3 years ago
Andy Wilkinson 05130d9eb0 Merge branch '2.7.x' 3 years ago
Andy Wilkinson e97fa0ae52 Merge branch '2.6.x' into 2.7.x
See gh-30167
3 years ago
Andy Wilkinson 05c12737fe Merge branch '2.5.x' into 2.6.x
See gh-30166
3 years ago
Andy Wilkinson 3ab688ef82 Add missing task dependencies
See gh-29406
3 years ago
Andy Wilkinson 1dadc77346 Document that the minimum supported version of Kotlin is now 1.6
Closes gh-30197
3 years ago
Andy Wilkinson 5736f5401b Merge branch '2.7.x' 3 years ago
Andy Wilkinson c0a72bf5ea Merge branch '2.6.x' into 2.7.x
Closes gh-30167
3 years ago
Andy Wilkinson 4c1d1a6a69 Merge branch '2.5.x' into 2.6.x
Closes gh-30166
3 years ago
Andy Wilkinson cced7edd9c Document Devtools' property defaults directly in reference docs
Closes gh-29406
3 years ago
Madhura Bhave 44f71a46aa Merge branch '2.7.x' into main 3 years ago
Madhura Bhave 24c48f0b43 Merge branch '2.6.x' into 2.7.x
Closes gh-30150
3 years ago
Madhura Bhave bdcc2509f5 Merge branch '2.5.x' into 2.6.x
Closes gh-30149
3 years ago
Madhura Bhave d0883ba6ef Document the WebSocket-related exclusions that are required to use Jetty 10
Closes gh-29275
3 years ago
Stephane Nicoll e5cdcdadd5 Merge branch '2.7.x' 3 years ago
Stephane Nicoll a71d9f5088 Merge branch '2.6.x' into 2.7.x
Closes gh-30121
3 years ago
Stephane Nicoll 069c328075 Merge branch '2.5.x' into 2.6.x
Closes gh-30120
3 years ago
fml2 80b90ed386 Fix typo
See gh-30118
3 years ago
Stephane Nicoll 06321d4e55 Merge branch '2.7.x' 3 years ago
Stephane Nicoll b66bf393e4 Merge branch '2.6.x' into 2.7.x
Closes gh-30119
3 years ago
Stephane Nicoll be85f317d3 Fix anchor tag for Spring HATEOAS section
Closes gh-30106
3 years ago
Madhura Bhave 5368ed98ef Merge branch '2.7.x' into main 3 years ago
Madhura Bhave 06496d85cd Merge branch '2.6.x' into 2.7.x
Closes gh-30115
Closes gh-30116
3 years ago
Madhura Bhave 09dc4e5ce3 Merge branch '2.5.x' into 2.6.x
Closes gh-30113
Closes gh-30114
3 years ago
Madhura Bhave ef7d7487fa Document when config data properties are invalid
This commit also reinstates documentation for
`spring.profiles.include`

Closes gh-25849
Closes gh-28451
3 years ago
Madhura Bhave 70efe7d384 Fix javax import 3 years ago
Madhura Bhave 7846fb09be Merge branch '2.7.x' into main 3 years ago
Madhura Bhave ee291dc36f Merge branch '2.6.x' into 2.7.x
Closes gh-30112
3 years ago
Madhura Bhave b86ad89523 Merge branch '2.5.x' into 2.6.x
Closes gh-30111
3 years ago
Madhura Bhave 7d63faac7c Document the scalar types supported by MapBinder
Closes gh-27581
3 years ago
Madhura Bhave f10f27c3d4 Merge branch '2.7.x' into main 3 years ago
Madhura Bhave ba7ba08811 Merge branch '2.6.x' into 2.7.x
Closes gh-30110
3 years ago
Madhura Bhave 9c437c6cd9 Merge branch '2.5.x' into 2.6.x
Closes gh-30109
3 years ago
Madhura Bhave d240e293db Document how to obtain ServletContext with an embedded container setup
Closes gh-24561
3 years ago
Gautham Mohan 4388910435 Consider DataFetcherExceptionResolver in GraphQTest
Prior to this commit, `@GraphQlTest` slice tests would only consider
JsonComponent, RuntimeWiringConfigurer, Converter and
GenericConverter beans. But DataFetcherExceptionResolver,
Instrumentation and GraphQlSourceBuilderCustomizer are used in
setting up the GraphQL source.

This commit ensures that the `GraphQlTypeExcludeFilter` considers
those bean types.

Closes gh-30078
3 years ago
Brian Clozel 81754c8bc4 Upgrade to Spring GraphQL 1.0.0-SNAPSHOT
This commit switches to 1.0.0-SNAPSHOT for Spring GraphQL, before its
upcoming 1.0.0-M6 version.

This commit adapts to the changes introduced in
spring-projects/spring-graphql#317 : now that `GraphQlClient` has been
introduced, `GraphQlTester` has been aligned with the new
infrastructure. The `@GraphQlTest` and `@SpringBootTest` testing support
is now using different variants for each.

All samples have been updated to use the proper GraphQL terminology, see
and spring-projects/spring-graphql#310 .

See gh-29637
3 years ago
Stephane Nicoll 37ccc52b8a Merge branch '2.7.x' 3 years ago
Stephane Nicoll d67aa3c054 Fix null safety in Kotlin examples
Closes gh-30097
3 years ago
Madhura Bhave 5960d2dba1 Merge branch '2.7.x' into main 3 years ago
Madhura Bhave 9628507756 Merge branch '2.6.x' into 2.7.x
Closes gh-30094
3 years ago
Madhura Bhave d131003456 Merge branch '2.5.x' into 2.6.x
Closes gh-30093
3 years ago
Madhura Bhave 480ccc6175 Clarify devtools documentation when using with build plugins
Closes gh-17851
3 years ago
Madhura Bhave 0e71d80590 Merge branch '2.7.x' into main 3 years ago
Madhura Bhave 88bd0fa794 Merge branch '2.6.x' into 2.7.x 3 years ago