Andy Wilkinson
5e78bef9f8
Test security dialect auto-config without Spring Security
...
Closes gh-31097
2022-05-18 13:06:09 +01:00
Phillip Webb
23eceb0d8a
Merge branch '2.6.x' into 2.7.x
2022-05-17 22:21:41 -07:00
Phillip Webb
ea41e89c6c
Merge branch '2.5.x' into 2.6.x
2022-05-17 22:21:10 -07:00
Phillip Webb
7d2f1bafc0
Update copyright year of changed files
2022-05-17 22:20:05 -07:00
Madhura Bhave
f3cacbe6ec
Fix formatting
2022-05-17 14:42:11 -07:00
Scott Frederick
7d459a13c2
Add properties for SAML relying party single logout
...
Closes gh-30128
Co-authored-by: Madhura Bhave <bhavem@vmware.com>
2022-05-17 14:07:48 -07:00
Andy Wilkinson
d0e55643b1
Polish
...
Closes gh-30993
2022-05-12 12:11:51 +01:00
Andy Wilkinson
1fd9c4d82c
Polish
...
Closes gh-30992
2022-05-12 12:10:52 +01:00
izeye
624c41c80e
Polish
...
See gh-30862
2022-05-12 12:07:12 +01:00
Andy Wilkinson
2b4f042325
Merge branch '2.6.x' into 2.7.x
...
Closes gh-30874
2022-05-05 10:19:19 +01:00
Andy Wilkinson
c9571a04ab
Merge branch '2.5.x' into 2.6.x
...
Closes gh-30873
2022-05-05 10:19:01 +01:00
Andy Wilkinson
6d4f0232ca
Polish "Fix ConditionalOnProperty when used in an aliased composed annotation"
...
See gh-30505
2022-05-05 10:02:27 +01:00
Guirong Hu
dc57ad54d5
Fix ConditionalOnProperty when used in an aliased composed annotation
...
See gh-30505
2022-05-05 10:02:15 +01:00
Brian Clozel
5352c441e1
Do not use application/graphql as default MIME type
...
As seen in spring-projects/spring-graphql#375 , Spring Boot should also
use "application/json" as the default MIME type but remain compatible
with "application/graphql+json" still if clients POST content with this
type or explicitly accept it.
Closes gh-30860
2022-05-04 13:05:45 +02:00
Andy Wilkinson
4cd850cfc0
Merge branch '2.6.x' into 2.7.x
...
Closes gh-30851
2022-05-03 15:17:13 +01:00
Andy Wilkinson
fa327a783d
Merge branch '2.5.x' into 2.6.x
...
Closes gh-30850
2022-05-03 15:14:00 +01:00
Andy Wilkinson
4fd2e0c916
Polish "Fix typos"
...
See gh-30773
2022-05-03 14:09:53 +01:00
Andy Wilkinson
f6d24dc1a8
Fix typos
...
See gh-30773
2022-05-03 14:09:37 +01:00
Andy Wilkinson
8044df277b
Merge branch '2.6.x' into 2.7.x
...
Closes gh-30846
2022-05-03 13:51:49 +01:00
Andy Wilkinson
a8b5a1c688
Merge branch '2.5.x' into 2.6.x
...
Closes gh-30845
2022-05-03 13:51:38 +01:00
Andy Wilkinson
026b9e2efe
Polish "Make event handling in JobExecutionExitCodeGenerator thread-safe"
...
See gh-30705
2022-05-03 13:49:12 +01:00
dugenkui03
c8d1dfebab
Make event handling in JobExecutionExitCodeGenerator thread-safe
...
See gh-30705
2022-05-03 13:48:15 +01:00
Andy Wilkinson
facbc7b47b
Merge branch '2.6.x' into 2.7.x
...
Closes gh-30795
2022-04-25 19:31:47 +01:00
Andy Wilkinson
bf94ea24d3
Improve testing of Batch schema resolution
...
Closes gh-30794
2022-04-25 19:30:59 +01:00
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
2022-04-25 15:26:38 +02:00
Stephane Nicoll
b3e3581271
Polish "Add auto-configuration to Kafka Retry Topics"
...
See gh-29812
2022-04-21 09:26:42 +02:00
tomazfernandes
bf46d7244a
Add auto-configuration to Kafka Retry Topics
...
See gh-29812
2022-04-21 08:32:04 +02:00
Madhura Bhave
7a659e4e12
Polish "Add support for aud claim in resource server"
...
See gh-29084
2022-04-21 08:09:08 +02:00
Mushtaq Ahmed
ee65627f4c
Add support for aud claim in resource server
...
See gh-29084
2022-04-21 08:09:08 +02:00
Stephane Nicoll
9025d1d250
Fix deprecation warning
...
See gh-28851
2022-04-21 08:08:20 +02:00
Phillip Webb
dd5696b59b
Update copyright year of changed files
2022-04-20 15:26:30 -07:00
Phillip Webb
36f1249fc6
Polish
2022-04-20 15:26:15 -07:00
Madhura Bhave
71acc90da8
Simplify SecurityAutoConfiguration
...
Closes gh-28851
2022-04-20 12:50:10 -07:00
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
2022-04-20 08:25:58 +02:00
Stephane Nicoll
2d663f2e94
Upgrade to Spring Data 2021.2.0-RC1
...
Closes gh-30610
2022-04-20 08:05:15 +02:00
Brian Clozel
6bf6bde6bb
Add new auto-configurations to imports
...
See gh-30453
2022-04-19 20:52:35 +02:00
Brian Clozel
d137f92f66
Adapt to latest Spring for GraphQL changes
...
This commit adapts to changes done in spring-projects/spring-graphql#312
2022-04-19 16:58:06 +02:00
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
2022-04-19 10:53:15 +02:00
Stephane Nicoll
61915aa4d5
Update copyright year of changed files
...
See gh-30695
2022-04-19 09:36:38 +02:00
izeye
ed412af138
Polish
...
See gh-30695
2022-04-19 09:34:28 +02:00
Stephane Nicoll
a0707124f2
Remove unused method
...
See gh-30655
2022-04-19 08:42:00 +02:00
Brian Clozel
eddb2b16ff
Configure RSocket server support in GraphQL
...
This commit adds the RSocket server auto-configuration for GraphQL.
See gh-30453
2022-04-14 19:54:40 +02:00
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
2022-04-13 16:28:04 -05:00
Andy Wilkinson
5e76671859
Remove remaining code that was deprecated in 2.5
...
Closes gh-30442
2022-04-13 18:09:39 +01:00
Andy Wilkinson
a7a71da9ef
Polish "Bring back Elasticsearch RestClient auto-configuration"
...
See gh-28496
2022-04-12 21:13:05 +01:00
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
2022-04-12 21:13:05 +01:00
rstoyanchev
b91bfc7067
Update WebMVC GraphQL autoconfig to the latest
...
As a result of changes for
https://github.com/spring-projects/spring-graphql/issues/342 ,
GraphQlWebSocketHandler now exposes a method to create the
WebSocketHttpRequestHandler, pre-configured with a context propagating
HandshakeInterceptor. This commit updates the autoconfig to use it.
Closes gh-30641
2022-04-12 20:17:29 +02:00
Andy Wilkinson
48f8021d88
Migrate @Local*Port annotations to spring-boot-test
...
Closes gh-29589
2022-04-12 08:48:43 +01:00
Stephane Nicoll
2ded2bf71a
Adapt to latest change in Spring Framework snapshots
2022-04-09 17:10:48 +02:00
Stephane Nicoll
e735bb2fcd
Start building against Spring Framework 5.3.19 snapshots
...
See gh-30517
2022-04-09 10:01:00 +02:00
Andy Wilkinson
7534e50d0b
Merge branch '2.6.x' into 2.7.x
...
Closes gh-30621
2022-04-08 21:02:16 +01:00
Andy Wilkinson
7e44745816
Merge branch '2.5.x' into 2.6.x
...
Closes gh-30620
2022-04-08 21:01:48 +01:00
Andy Wilkinson
b88f062f04
Polish "Remove assumptions about ordering when comparing JSON in tests"
...
See gh-30514
2022-04-08 20:56:20 +01:00
Vivek Gupta
5b3bc1a936
Remove assumptions about ordering when comparing JSON in tests
...
See gh-30514
2022-04-08 20:55:54 +01:00
Scott Frederick
d67dcf16cd
Migrate FailureAnalyzers to constructor injection
...
All `FailureAnalyzer` implementations should use constructor
injection for `BeanFactory` and `Environment` instead of implementing
`BeanFactoryAware` or `EnvironmentAware` interfaces.
Fixes gh-30585
2022-04-07 16:58:59 -05:00
Moritz Halbritter
1b5927b325
Merge branch '2.6.x' into 2.7.x
...
Closes gh-30552
2022-04-06 08:56:59 +02:00
Moritz Halbritter
99a1b98e03
Merge branch '2.5.x' into 2.6.x
...
Closes gh-30551
2022-04-06 08:56:47 +02:00
Moritz Halbritter
41ab46d0c7
Fix wrong replacement hint for 'spring.data.neo4j.username'
...
Closes gh-30550
2022-04-06 08:56:23 +02:00
Brian Clozel
1c71567c94
Support "application/graphql+json" media type in GraphQL HTTP mapping
...
As seen in spring-projects/spring-graphql#108 , the GraphQL HTTP spec now
requires the "application/graphql+json" media type and accepts
"application/json" for backwards compatibility.
This commit updates the `RouterFunction` definition for the GraphQL HTTP
endpoints so that both types are accepted.
Closes gh-30407
2022-04-04 16:45:11 +02:00
Stephane Nicoll
1da5a7a600
Merge branch '2.6.x' into 2.7.x
2022-03-31 12:45:05 +02:00
Stephane Nicoll
546a7e5edb
Merge branch '2.5.x' into 2.6.x
2022-03-31 12:44:52 +02:00
Stephane Nicoll
17936b855c
Polish
2022-03-31 12:42:37 +02:00
Andy Wilkinson
b9029fcf9e
Merge branch '2.6.x' into 2.7.x
...
Closes gh-30476
2022-03-30 10:57:10 +01:00
Andy Wilkinson
64beaba99f
Merge branch '2.5.x' into 2.6.x
...
Closes gh-30475
2022-03-30 10:56:56 +01:00
Andy Wilkinson
8cb11b74cd
Polish "Make MustacheViewResolver bean back off without Spring MVC"
...
See gh-30456
2022-03-30 10:33:35 +01:00
Craig Andrews
7101b5099f
Make MustacheViewResolver bean back off without Spring MVC
...
See gh-30456
2022-03-30 10:31:44 +01:00
Andy Wilkinson
24e6417ddc
Adapt to latest changes in Spring for GraphQL snapshots
...
See gh-30463
2022-03-29 16:50:12 +01:00
Brian Clozel
93817c708e
Switch to Spring for GraphQL 1.0.0-SNAPSHOT
...
See gh-30463
2022-03-29 16:37:21 +02:00
Andy Wilkinson
685d2d4391
Polish
...
See gh-30152
2022-03-25 15:15:02 +00:00
Guirong Hu
df417bf317
Simplify registration of Jackson mixin types
...
See gh-30152
2022-03-25 15:15:02 +00:00
Moritz Halbritter
45f393b76b
Merge branch '2.6.x' into 2.7.x
...
Closes gh-30437
2022-03-25 14:56:01 +01:00
Moritz Halbritter
c003d5b533
Merge branch '2.5.x' into 2.6.x
...
Closes gh-30436
2022-03-25 14:55:31 +01:00
Moritz Halbritter
0ff8119a1b
Sort entries in additional-spring-configuration metadata alphabetically
...
Closes gh-30434
2022-03-25 14:54:39 +01:00
Andy Wilkinson
5d55c663ba
Allow spring.data.mongodb.uri to take precedence over separate props
...
Closes gh-30067
2022-03-23 20:15:04 +00:00
Andy Wilkinson
3255da23a2
Merge branch '2.6.x' into 2.7.x
...
Closes gh-30388
2022-03-23 12:11:13 +00:00
Andy Wilkinson
c739831087
Merge branch '2.5.x' into 2.6.x
...
Closes gh-30387
2022-03-23 12:11:02 +00:00
Andy Wilkinson
d8cf332c2e
Document default value of spring.thymeleaf.reactive.media-types
...
Closes gh-30280
2022-03-23 12:09:48 +00:00
Andy Wilkinson
3ee44ca0b0
Merge branch '2.6.x' into 2.7.x
...
Closes gh-30386
2022-03-23 11:47:53 +00:00
Andy Wilkinson
f378627f94
Merge branch '2.5.x' into 2.6.x
...
Closes gh-30385
2022-03-23 11:45:31 +00:00
Andy Wilkinson
8d882fa09b
Fix possible duplicate templateEngine bean in Thymeleaf auto-config
...
Closes gh-30384
2022-03-23 11:44:59 +00:00
Andy Wilkinson
47540eec61
Align default indices options with Spring Data Elasticsearch
...
Closes gh-30378
2022-03-23 09:39:05 +00:00
Andy Wilkinson
79ee53a587
Merge branch '2.6.x' into 2.7.x
...
Closes gh-30377
2022-03-22 20:13:04 +00:00
Andy Wilkinson
f063da30d2
Merge branch '2.5.x' into 2.6.x
...
Closes gh-30376
2022-03-22 20:12:48 +00:00
Andy Wilkinson
a8bddeb9cf
Remove redundant setting of refresh policy
...
Closes gh-30375
2022-03-22 20:12:09 +00:00
Brian Clozel
bae62c39a9
Adapt to latest Spring GraphQL changes
...
This commit adapts to the latest Spring GraphQL changes, renaming
`GraphQlService` to `ExecutionGraphQlService` as well as the
`WebInterceptor` contract to `WebGraphQlHandlerInterceptor`.
See spring-projects/spring-graphql#332
2022-03-21 11:12:59 +01:00
Stephane Nicoll
a2959bbcf2
Polish "Add support for cache2k in memory caching"
...
See gh-28498
2022-03-21 09:59:24 +01:00
Jens Wilke
774f61fcb5
Add support for cache2k in memory caching
...
See gh-28498
2022-03-21 08:22:19 +01:00
Scott Frederick
a14f3ed200
Use a ConfigurationProperties class for JMX properties
...
Closes gh-30327
2022-03-18 16:32:13 -05:00
Scott Frederick
e5a09b3b31
Apply unique-names consistently in JmxAutoConfiguration
...
Ensure that the `spring.jmx.unique-names` property is applied to the
auto-configured `MBeanExporter` as well as the `ObjectNamingStrategy`.
Fixes gh-29968
2022-03-18 16:32:13 -05:00
Stephane Nicoll
1169c6df16
Upgrade to Neo4j Java Driver 4.4.5
...
Closes gh-30326
2022-03-18 18:34:09 +01:00
Andy Wilkinson
c2d7e21312
Merge branch '2.6.x' into 2.7.x
...
Closes gh-30322
2022-03-18 15:56:13 +00:00
Andy Wilkinson
26719a211b
Merge branch '2.5.x' into 2.6.x
...
Closes gh-30321
2022-03-18 15:55:39 +00:00
Andy Wilkinson
1669062231
Apply server.tomcat.keep-alive-timeout to HTTP/2
...
Closes gh-30267
2022-03-18 15:38:27 +00:00
Stephane Nicoll
2ab0ce3ea7
Upgrade to Neo4j Java Driver 4.4.5
...
Closes gh-30303
2022-03-18 14:52:46 +01:00
Stephane Nicoll
2fbb36bd04
fixup! Upgrade to Flyway 8.5.4
2022-03-18 10:57:07 +01:00
Andy Wilkinson
b787ea4802
Add property for media types of reactive Mustache views
...
Closes gh-28858
2022-03-17 20:10:37 +00:00
Andy Wilkinson
3a5a748ec0
Rework Mustache properties to show which are Servlet-specific
...
Closes gh-30273
2022-03-17 19:25:07 +00:00
Andy Wilkinson
2ba064c855
Merge branch '2.6.x' into 2.7.x
...
Closes gh-30277
2022-03-17 17:51:28 +00:00
Andy Wilkinson
3c117ca2d4
Merge branch '2.5.x' into 2.6.x
...
Closes gh-30276
2022-03-17 17:50:58 +00:00
Andy Wilkinson
2b75ea5fb8
Improve testing of spring.mustache.* properties
...
Closes gh-30274
2022-03-17 17:40:22 +00:00