Madhura Bhave
7054a33e70
Add support for public key file for OAuth2 resource server
...
Closes gh-15814
2019-04-08 18:17:12 -07:00
Madhura Bhave
ce0282406f
Skip lazy init for beans that explicitly set lazy to false
...
This commit also adds tests to ensure that the child
management context works when lazy initialization is
enabled. Also, it adds a BeanFactoryPostProcessor to
the child context so that the server is created and
listening for requests but other beans in the child
context are not created until requested.
See gh-16184
2019-04-05 18:02:26 -07:00
Madhura Bhave
04517495af
Merge branch '2.1.x'
2019-04-02 15:52:35 -07:00
Madhura Bhave
ddc52502f5
Document @MockBean behavior during context refresh
...
Closes gh-16333
2019-04-02 15:50:51 -07:00
Andy Wilkinson
5e22b421c5
Merge branch '2.1.x'
2019-03-29 11:14:06 +00:00
Andy Wilkinson
6aa78801ff
Merge branch '2.0.x' into 2.1.x
2019-03-29 11:13:53 +00:00
Andy Wilkinson
6507d1723d
Merge branch '1.5.x' into 2.0.x
2019-03-29 11:02:56 +00:00
Spring Operator
fb242c27d2
Use HTTPS for external links wherever possible
...
See gh-16276
2019-03-28 12:07:01 +00:00
Andy Wilkinson
878a635bfb
Merge branch '2.1.x'
2019-03-28 11:48:47 +00:00
Spring Operator
9fc3ac7d49
Use HTTPS for external links wherever possible
...
See gh-16320
2019-03-28 09:49:30 +00:00
Andy Wilkinson
864942ad4f
Merge branch '2.0.x' into 2.1.x
2019-03-28 09:35:53 +00:00
Andy Wilkinson
14b21026bf
Polish "Use HTTPS for external links wherever possible"
...
See gh-16319
2019-03-28 09:17:50 +00:00
Spring Operator
1a4c6f2dac
Use HTTPS for external links wherever possible
...
See gh-16319
2019-03-27 20:06:52 +00:00
Madhura Bhave
8f693a0277
Add support for configuration properties scanning
...
See gh-12602
2019-03-21 13:30:44 -07:00
Madhura Bhave
8f0850a69c
Merge branch '2.1.x'
2019-03-20 17:48:57 -07:00
Madhura Bhave
6bd6279eff
Document slice test behavior with @Configuration classes
...
Closes gh-16274
2019-03-20 17:48:14 -07:00
Madhura Bhave
dd70c96ead
Merge branch '2.1.x'
2019-03-19 17:29:37 -07:00
Madhura Bhave
0c52c3fc55
Clarify ambiguous documentation in default security section
...
Closes gh-16033
2019-03-19 17:25:47 -07:00
Madhura Bhave
448115609c
Merge branch '2.1.x'
2019-03-19 17:12:04 -07:00
Madhura Bhave
4a230fdec9
Document AssertJ's satisfies with extractingJsonPathNumberValue
...
Closes gh-16229
2019-03-19 17:11:28 -07:00
Stephane Nicoll
19cc584530
Polish "Update Kotlin documentation"
...
Closes gh-16235
2019-03-15 12:09:35 +01:00
Sebastien Deleuze
e8ed128850
Update Kotlin documentation
...
This commit updates Kotlin reference documentation according to
latest features like immutable `@ConfigurationProperties` and
Kotlin BOM support.
See gh-16235
2019-03-15 12:01:16 +01:00
Stephane Nicoll
d2164a1ca3
Document constructor binding
...
Closes gh-8762
2019-03-14 12:19:48 +01:00
Stephane Nicoll
347daf69fb
Merge branch '2.1.x'
2019-03-12 17:22:39 +01:00
Stephane Nicoll
765801983b
Polish "Fix typo in spring-boot-features.adoc"
...
Closes gh-16213
2019-03-12 17:21:18 +01:00
Orangeroad0922
47169436ed
Fix typo in spring-boot-features.adoc
...
See gh-16213
2019-03-12 17:20:43 +01:00
Andy Wilkinson
68bfb020aa
Reduce need for bean method proxying and disable where not needed
...
Closes gh-9068
2019-03-12 13:18:42 +00:00
Stephane Nicoll
628e44187f
Merge branch '2.1.x'
2019-03-12 11:13:25 +01:00
Stephane Nicoll
f07de1bbe2
Polish "Update ambiguous documentation about ConfigurationProperties"
...
Closes gh-16166
2019-03-12 11:12:45 +01:00
Viktoriya Kutsarova
6b6ac28430
Update ambiguous documentation about ConfigurationProperties
...
See gh-16166
2019-03-12 11:12:21 +01:00
Stephane Nicoll
8ff0a9c5a9
Merge branch '2.1.x'
2019-03-12 10:51:08 +01:00
Johnny Lim
bcfbabe6cd
Polish
...
Closes gh-16193
2019-03-12 10:50:32 +01:00
Stephane Nicoll
d83a614bd9
Merge branch '2.1.x'
2019-03-05 08:18:41 +01:00
Stephane Nicoll
8d033e73d1
Polish
...
See gh-16094
2019-03-05 08:18:14 +01:00
Stephane Nicoll
6b273279fb
Merge branch '2.1.x'
2019-03-04 15:58:35 +01:00
Stephane Nicoll
4f2e788835
Fix import in docs
...
Closes gh-16017
2019-03-04 15:45:59 +01:00
Stephane Nicoll
c8e46f66e2
Merge branch '2.1.x'
2019-02-27 16:04:45 +01:00
Stephane Nicoll
ce17a923dd
Polish contribution
...
Closes gh-15978
2019-02-27 16:03:28 +01:00
Dmytro Nosan
cf89ebcf92
Add an example showing how to use Spring REST Docs with WebTestClient
...
See gh-15978
2019-02-27 16:03:15 +01:00
Stephane Nicoll
c1cccc886a
Merge branch '2.1.x'
2019-02-14 15:22:35 +01:00
Stephane Nicoll
cd322d7b9c
Polish "Add a link to SpringMockK in the Kotlin documentation"
...
Closes gh-15943
2019-02-14 15:22:02 +01:00
Sebastien Deleuze
da6de215a6
Add a link to SpringMockK in the Kotlin documentation
...
See gh-15943
2019-02-14 15:21:12 +01:00
Andy Wilkinson
3a4a431eaa
Provide a configuration option to enable lazy initialization
...
Closes gh-15870
2019-02-14 12:41:49 +00:00
Stephane Nicoll
3d6def9f81
Handle BatchMessagingMessageConverter with Kafka batch listeners
...
Closes gh-15942
2019-02-13 17:06:38 +01:00
Andy Wilkinson
18174a8e9e
Polish "Add opt-in support for Neo4j-OGM native types"
...
See gh-15637
2019-02-13 15:04:54 +00:00
Michael Simons
af21b847a0
Add opt-in support for Neo4j-OGM native types
...
This includes tests for the autoconfiguration using that new property.
The test require the native types for Bolt and embedded in the test
scope, so the Neo4j-OGM native types have been added to managed
dependencies.
The enhanced autoconfiguration throws an
InvalidConfigurationPropertyValueException when native types cannot be
used due to missing dependencies or wrong transport mode.
See gh-15637
2019-02-13 14:38:44 +00:00
Stephane Nicoll
7413584b00
Polish "Support expressing application `args` in `@SpringBootTest`"
...
Closes gh-14823
2019-02-13 15:07:11 +01:00
Justin Griffin
422e6b7d41
Support expressing application `args` in `@SpringBootTest`
...
Add `args` property to the `@SpringBootTest` annotation so tests
can easily supply application arguments to pass to their app under test.
See gh-14823
2019-02-13 14:38:26 +01:00
Stephane Nicoll
c3c22c0a8a
Polish "Fix broken links to appendix"
...
Closes gh-15933
2019-02-13 10:58:55 +01:00
Govinda
3428c0efa2
Fix broken links to appendix
...
See gh-15933
2019-02-13 10:52:17 +01:00
Andy Wilkinson
5045c3b8b8
Merge branch '2.1.x'
2019-02-12 16:34:43 +00:00
Andy Wilkinson
3a6d15acf6
Caution against using component scanning in an auto-configuration
...
Closes gh-15348
2019-02-12 16:34:05 +00:00
Stephane Nicoll
f42cec9eac
Polish "Support for capping archived log files"
...
Closes gh-15325
2019-02-12 16:31:58 +01:00
Robert Thornton
999780f342
Support for capping archived log files
...
See gh-15325
2019-02-12 16:31:58 +01:00
Stephane Nicoll
6905edc649
Merge branch '2.1.x'
2019-02-12 13:35:37 +01:00
Stephane Nicoll
4469c46b0a
Polish "Document internationalization support"
...
Closes gh-15881
2019-02-12 13:34:53 +01:00
Kedar Joshi
989ac08f34
Document internationalization support
...
See gh-15881
2019-02-12 13:03:50 +01:00
Stephane Nicoll
380d7ec01c
Merge branch '2.1.x'
2019-02-08 09:21:06 +01:00
Johnny Lim
885c28891b
Polish
...
Closes gh-15873
2019-02-08 09:20:15 +01:00
Madhura Bhave
e3fad4e973
Merge branch '2.1.x'
2019-02-07 16:42:10 -08:00
Madhura Bhave
dc31f617b3
Document limitations of YAML documents & profile-specific files
...
Fixes gh-15790
2019-02-07 16:40:53 -08:00
Stephane Nicoll
cea6a79e49
Merge branch '2.1.x'
2019-01-17 10:58:55 -05:00
Stephane Nicoll
708ca0636f
Clarify that Spring Boot uses the platform MBeanServer by default
...
Closes gh-15728
2019-01-17 10:58:08 -05:00
Stephane Nicoll
448f1626f9
Merge branch '2.1.x'
2019-01-07 14:56:18 +01:00
Stephane Nicoll
830da28b8c
Fix JPA bootstrap executor detection with multiple candidates
...
Spring Boot provides two separate auto-configurations that can
potentially expose an `AsyncTaskExecutor` implementation so relying on
the presence of a single instance is too weak.
This commit fixes the detection of the AsyncTaskExecutor that can be
used to bootstrap JPA so that a single instance is used and, in the case
more than one exists, the one named `applicationTaskExecutor`.
Closes gh-15447
2019-01-07 14:54:59 +01:00
Stephane Nicoll
8136db69b6
Merge branch '2.1.x'
2019-01-07 13:59:55 +01:00
Stephane Nicoll
d4992777b9
Improve TaskExecution documentation with custom Executor and Spring MVC
...
Closes gh-15447
2019-01-07 13:59:42 +01:00
Stephane Nicoll
6ba1f40e59
Polish "Allow easy customization of EmbeddedMongo DownloadConfig"
...
Closes gh-15496
2019-01-02 10:33:17 +01:00
Stephane Nicoll
33547569db
Merge branch '2.1.x'
2018-12-31 10:36:41 +01:00
Stephane Nicoll
c6202b57e0
Merge branch '2.0.x' into 2.1.x
2018-12-31 10:36:24 +01:00
Stephane Nicoll
be161b23cb
Polish class conditions documentation
...
Closes gh-15578
2018-12-31 10:36:02 +01:00
Andy Wilkinson
064f6478df
Move back to JUnit 4 until SUREFIRE-1614 has been resolved
...
See gh-14736
See gh-14737
See gh-14738
2018-12-12 16:49:30 +00:00
Stephane Nicoll
6f6e712a7b
Merge branch '2.1.x'
2018-12-06 09:08:12 +01:00
Stephane Nicoll
bd21113e9f
Fix indent of WebServiceTemplate section
...
Closes gh-15389
2018-12-06 09:06:02 +01:00
Jay Bryant
a7d22aaf4b
Reorganize asciidoc content
...
This commit adds an index page for the multi-file HTML version, and
fixed a couple of casing issues (significant words starting with lower
case in headings).
While researching how to get the content from index-docinfo.xml into
the output, I came across the notion of a colophon, which is a good name
for the information in that file. I have consequently changed "Legal"
(which I never liked but couldn't think of a better term for at the
time) to "Colophon".
See gh-12611
2018-12-05 10:32:37 +01:00
TwinProduction
21da4a5d12
Rename logging.file to logging.file.name
...
See gh-15089
2018-12-03 10:42:30 +01:00
Andy Wilkinson
dee8085f20
Merge branch '2.0.x'
2018-11-27 16:09:02 +00:00
Johannes Zick
83cf348ec8
Warn about Quartz dropping tables on restart
...
Closes gh-15295
2018-11-27 16:05:11 +00:00
Andy Wilkinson
760003b9d7
Polish "Document that test slices should not be combined"
...
Closes gh-15310
2018-11-27 15:50:19 +00:00
dreis2211
29cd1cc762
Document that test slices should not be combined
...
See gh-15310
2018-11-27 15:50:19 +00:00
Andy Wilkinson
51a5b841dd
Merge branch '2.0.x'
2018-11-27 12:51:16 +00:00
Andy Wilkinson
4a385e89bd
Mention fully executable jars in Jersey’s scanning limitations
...
Closes gh-3413
2018-11-27 12:51:05 +00:00
Andy Wilkinson
f25c32e8b9
Merge branch '2.0.x'
2018-11-23 15:26:08 +00:00
Andy Wilkinson
d104205880
Update docs to reflect that @AutoConfigureRestDocs supports WebTestClient
...
Closes gh-15220
2018-11-23 15:26:01 +00:00
Stephane Nicoll
0bd69fded8
Fix detection of ScheduledExecutorService
...
`@EnableScheduling` detects primarily a suitable `TaskScheduler` in the
context and fallbacks to the presence of a `ScheduledExecutorService` if
that is not the case.
This commit improves the auto-configuration to back off when such
scheduled executor service is present, so that the framework
initialization code can pick it up as usual.
Closes gh-15032
2018-11-04 09:58:41 +01:00
Stephane Nicoll
7257572dbd
Merge branch '2.0.x'
2018-11-02 14:00:30 +01:00
Stephane Nicoll
01091aab2a
Polish "Update docs to Spock 1.2"
...
Closes gh-15060
2018-11-02 13:59:03 +01:00
Jeff Sheets
01b17af530
Update docs to Spock 1.2
...
See gh-15060
2018-11-02 13:58:47 +01:00
Phillip Webb
807743b679
Merge branch '2.0.x'
2018-10-28 09:00:32 -07:00
Phillip Webb
43dd3cfa76
Polish "Improve Path Matching and Content Negotiation docs"
...
See gh-14977
2018-10-28 08:59:30 -07:00
Nishant Raut
113abbe6e6
Improve Path Matching and Content Negotiation docs
...
Add a note to the "Path Matching and Content Negotiation" section about
the `spring.mvc.pathmatch.use-suffix-pattern` property.
Closes gh-14977
2018-10-28 08:52:36 -07:00
Stephane Nicoll
39f8b685df
Merge branch '2.0.x'
2018-10-16 11:38:39 +02:00
Johnny Lim
47daf96c48
Polish
...
See gh-14843
2018-10-16 11:37:02 +02:00
dreis2211
8b14754cda
Remove usages of BasicAuthorizationInterceptor
...
See gh-14830
2018-10-16 10:21:32 +02:00
Brian Clozel
2588a71ac4
Auto-Configure HTTP ResourceFactories on servers
...
This commit auto-configures HTTP resource factories on both Reactor
Netty and Jetty server instances. This creates `ReactorResourceFactory`
and `JettyResourceFactory` beans when necessary - those beans can be
reused and applied by the client auto-configuration in order to share
resources between client and server for optimal performance.
The server auto-configuration has the highest precedence, so from now
on, the auto-configured ResourceFactory bean on the client side will be
skipped if a reactive server is configured.
Closes gh-14495
2018-10-12 11:32:55 +02:00
Phillip Webb
d102e0d7f7
Introduce Ordered Filter and WebFilter interfaces
...
Add `Ordered` variants of `javax.servlet.Filter` and
`org.springframework.web.server.WebFilter` mainly so that we can
deprecate `FilterRegistrationBean.REQUEST_WRAPPER_FILTER_MAX_ORDER`.
Closes gh-14793
2018-10-11 23:13:23 -07:00
Phillip Webb
01f7805c19
Merge branch '2.0.x'
2018-10-11 16:19:29 -07:00
Phillip Webb
b1399db994
Add a warning about `webDriver` scope to the docs
...
Update the reference documentation with a warning about the `webDriver`
scope that we create.
Closes gh-13093
2018-10-11 16:17:24 -07:00
Phillip Webb
0d35af1813
Add "Encrypting Properties" documentation
...
Update the reference documentation with a section about encrypting
properties and a link to Spring Cloud Vault.
Closes gh-13618
2018-10-11 16:03:42 -07:00
Andy Wilkinson
fa47073d11
Merge branch '2.0.x'
2018-10-09 15:09:15 +01:00
Andy Wilkinson
c6fdb4f0f2
Improve documentation of Quartz DataSource customization
...
Closes gh-12780
2018-10-09 15:05:25 +01:00
Andy Wilkinson
602f23c3eb
Merge branch '2.0.x'
2018-10-09 14:37:25 +01:00
Hanope
8b08f04e39
Correct TIP typo in the documentation
...
Closes gh-14735
2018-10-09 14:36:16 +01:00
Andy Wilkinson
83e1a61510
Merge branch '2.0.x'
2018-10-09 14:06:18 +01:00
Andy Wilkinson
73122fa8f3
Improve documentation of supported JSON mapping libraries
...
Closes gh-14703
2018-10-09 14:04:48 +01:00
Stephane Nicoll
a22d089cdc
Use a dedicated hook point to customize InfluxDB's HTTP client
...
This commit introduces a dedicated hook point for InfluxDB's http client
builder and retains backward compatibility, in a deprecated fashion, for
looking up a OkHttpClient.Builder bean.
Closes gh-14709
2018-10-09 13:33:14 +02:00
Andy Wilkinson
04d69f10e0
Merge branch '2.0.x'
2018-10-08 16:29:37 +01:00
Andy Wilkinson
07dd689c9c
Polish
2018-10-08 16:29:21 +01:00
dreis2211
e6313fd96f
Fix @Cacheable typo
...
Closes gh-14720
2018-10-08 16:28:05 +01:00
Andy Wilkinson
b413333abb
Merge branch '2.0.x'
2018-10-08 16:10:21 +01:00
Andy Wilkinson
9afd6f53e5
Document need for -parameters compilation with @SpyBean and @Cacheable
...
Closes gh-13945
2018-10-08 16:10:15 +01:00
Madhura Bhave
daa3d457b7
Revert OAuth2 Client Registration Grant Type Hierarchy
...
Closes gh-14554
2018-10-04 15:21:36 -07:00
Stephane Nicoll
aaecdfb527
Deprecate Cassandra properties that require a default constructor
...
Closes gh-14473
2018-10-02 17:43:59 +02:00
Stephane Nicoll
2d36a6f952
Merge branch '2.0.x'
2018-10-01 10:50:58 -04:00
Johnny Lim
1eca492c5e
Polish
...
See gh-14621
2018-10-01 10:46:27 -04:00
Johnny Lim
698bbd6a9e
Polish
...
Closes gh-14597
2018-09-26 11:45:21 -04:00
Andy Wilkinson
ade79f7ded
Fix duplicate section ID in the docs
2018-09-21 16:07:24 +01:00
Andy Wilkinson
4b00dc8a5c
Add support for Spring Data JDBC (auto-config, starter, and test slice)
...
Closes gh-14489
2018-09-21 14:18:52 +01:00
Stephane Nicoll
61858767ed
Merge branch '2.0.x'
2018-09-21 11:49:35 +02:00
Stephane Nicoll
5506d972c6
Polish "Fix and improve Neo4j related documentation"
...
Closes gh-14548
2018-09-21 11:44:50 +02:00
Michael J. Simons
8a53adf3d2
Fix and improve Neo4j related documentation
...
See gh-14548
2018-09-21 11:44:32 +02:00
Johnny Lim
521f746151
Polish
...
Closes gh-14517
2018-09-20 09:51:10 +02:00
Stephane Nicoll
36d22c8541
Merge branch '2.0.x'
2018-09-19 11:34:39 +02:00
DK Lee
01cf52447c
Fix typo in WebClient example
...
Closes gh-14499
2018-09-19 11:34:04 +02:00
Johnny Lim
d0a252181b
Polish
...
Closes gh-14449
2018-09-19 09:58:31 +02:00
Madhura Bhave
b2dd162572
Merge branch '2.0.x'
2018-09-17 14:30:38 -07:00
Madhura Bhave
d7d5cbf959
Simplify printing ConditionEvaluationReport when using context runner
...
Closes gh-13119
2018-09-17 14:23:47 -07:00
Andy Wilkinson
a1d1a7392f
Polish "Use ExecutorProvider bean if available when auto-configuring jOOQ"
...
Closes gh-14471
2018-09-17 11:20:45 +01:00
Madhura Bhave
d5a197fe66
Support random actuator port in SpringBootTest
...
This commit changes @SpringBootTest(randomPort = true) to
generate a random port for the actuator endpoints if the
management server runs on a different port from the main
server.
Closes gh-4424
2018-09-14 15:42:08 -07:00
Phillip Webb
b32887b8eb
Add support for logging groups
...
Provide a way for users to quickly group related loggers together for
easier configuration. The `loggers.group` property can be used to define
a group that can then be configured in the usual `loggers.level.<group>`
way.
Additionally, provide pre-defined groups for `web` and `sql.
Closes gh-14421
2018-09-12 16:25:14 -07:00
Phillip Webb
c3de4c84f2
Polish
2018-09-05 12:54:20 -07:00
Stephane Nicoll
3d732e86f4
Merge branch '2.0.x'
2018-09-04 08:52:35 +02:00
Johnny Lim
ca57e58ee5
Polish
...
See gh-14293
2018-09-04 08:52:13 +02:00
Johnny Lim
d510bc71b1
Polish
...
Closes gh-14271
2018-09-03 08:53:07 +02:00
Madhura Bhave
f3dbd946de
Document how to test secure mockmvc tests
...
See gh-14227
2018-08-31 12:47:25 -07:00
Stephane Nicoll
2fc557a5a9
Improve WebSocket documentation for reactive applications
...
Closes gh-14069
2018-08-31 11:53:51 +02:00
Madhura Bhave
a33e58fc45
Deprecate OAuth2 login redirect-uri-template
...
This property is deprecated in favor of
`spring.security.oauth2.client.registration.login.*.redirect-uri
Closes gh-14226
2018-08-28 15:40:54 -07:00
Madhura Bhave
f5deebf0cb
Support authorization_code grant for OAuth2 client
...
This commit also refactors OAuth2 client properties. With
the added support for authorization_code clients, client
registrations are now divided into `login` and `authorization_code`.
An environment post processor is used for backward compatibility with
old Open ID Connect login clients.
Closes gh-13812
2018-08-28 13:49:07 -07:00
Stephane Nicoll
b7ae55866e
Polish "Improve Kafka Auto-configuration"
...
Closes gh-14215
2018-08-28 17:10:49 +02:00
Gary Russell
59c6dc5c7a
Improve Kafka Auto-configuration
...
- transaction manager
- error handler
- after rollback processor
See gh-14215
2018-08-28 16:22:12 +02:00
Stephane Nicoll
e8d21fc964
Merge branch '2.0.x'
2018-08-28 16:21:33 +02:00
Stephane Nicoll
3997b3ae5e
Polish
2018-08-28 16:21:17 +02:00
Stephane Nicoll
56329e67d7
Polish "Add support for com.mongodb.client.MongoClient"
...
Closes gh-14176
2018-08-28 15:24:31 +02:00
Johnny Lim
cf17106d8d
Polish
...
Closes gh-14212
2018-08-27 17:28:27 +02:00
Johnny Lim
fe3fe0fa63
Polish
...
Closes gh-14202
2018-08-26 10:48:05 +02:00
Madhura Bhave
cf31325e5d
Polish "OIDC issuer uri in OAuth resource server config"
...
Closes gh-14190
2018-08-24 14:57:45 -07:00
mhyeon.lee
c827530f4b
Add user-info-authentication-method
...
Closes gh-13865
2018-08-24 12:38:27 -07:00
Stephane Nicoll
dea67e9aca
Merge branch '2.0.x'
2018-08-24 18:05:18 +02:00
Stephane Nicoll
af426e383f
Review slice documentation to clarify the scope and alternative options
...
Closes gh-13810
2018-08-24 18:05:05 +02:00
Stephane Nicoll
7eecfe3108
Polish
...
See gh-14184
2018-08-24 11:50:18 +02:00
Stephane Nicoll
82280e34c7
Merge branch '2.0.x'
2018-08-24 11:49:30 +02:00
Johnny Lim
fb71174c24
Polish
...
Closes gh-14184
2018-08-24 11:48:41 +02:00
Madhura Bhave
fc4340c5d4
Rename OAuth2 resource server properties
...
Closes gh-14165
2018-08-23 16:51:27 -07:00
Johnny Lim
9602a32a8d
Polish
...
Closes gh-14172
2018-08-23 11:40:44 +02:00
Brian Clozel
53f3982748
Support Jetty RS as HTTP driver for WebClient
...
This commit adds a new auto-configuration choice for
`ClientHttpConnector`, this time using the Jetty RS HTTP client library
if available.
This is the best choice in case the application runs on a Jetty reactive
server, as both client and server will share resources.
Closes gh-14005
2018-08-23 10:51:43 +02:00
Brian Clozel
e2a7594246
Configure Reactor HTTP client resources
...
This commit adds support for the new `ReactorResourceFactory` and
ensures that such a bean is created and destroyed with the application
context. This will create a `ClientHttpConnector` bean, to be configured
on the `WebClient.Builder` instance - or let developers create their own
`ClientHttpConnector` bean to override that opinion.
By default, the `ReactorResourceFactory` is configured to participate
with the global resources, for better efficiency.
Closes gh-14058
2018-08-22 19:14:34 +02:00
Stephane Nicoll
6d4bab911c
Polish "Add Kafka Streams auto-configuration"
...
Closes gh-14021
2018-08-22 16:08:25 +02:00
Gary Russell
a7acbbd625
Add Kafka Streams auto-configuration
...
See gh-14021
2018-08-22 15:41:42 +02:00
Stephane Nicoll
930c838da9
Remove Narayana support
...
The Spring Boot integration is now handled by the Narayana project
itself at https://github.com/snowdrop/narayana-spring-boot
This commit removes our support.
Closes gh-12026
2018-08-17 15:08:55 +02:00
Andy Wilkinson
f28528a527
Allow Data JPA's bootstrap mode to be configured via the environment
...
In Spring Data Lovelace, repositories' bootstrap mode can be
configured via @EnableJpaRepositories. This commit adds support for
configuring the mode via the environment rather than having to use
the annotation. Additionally, when deferred or lazy bootstrapping is
being used, the LocalContainerEntityManagerFactoryBean is configured
to use a bootstrap executor. This allows JPA's initialization to be
performed on a separate thread, allowing the rest of application
context initialization to proceed in parallel.
Closes gh-13833
2018-08-16 20:01:24 +01:00
Stephane Nicoll
de470540ea
Add auto-configuration support for TaskScheduler
...
This commit adds support for providing a default ThreadPoolTaskScheduler
with sensible defaults. A new TaskSchedulerBuilder is provided with
defaults from the `spring.task.scheduler.*` namespace and can be used
to create custom instances.
If no custom `TaskScheduler` bean is present, `@EnableScheduling` now
uses the auto-configured task scheduler.
Closes gh-1397
2018-08-16 14:55:57 +02:00
Stephane Nicoll
dcd80c087e
Harmonize task execution naming
2018-08-16 14:55:57 +02:00
Andy Wilkinson
075a745e32
Polish "Allow properties to be configured using slice test annotations"
...
Closes gh-14052
2018-08-16 11:27:49 +01:00
Johnny Lim
d5eaaf6e2a
Polish
...
Closes gh-14049
2018-08-15 10:43:46 +03:00
Stephane Nicoll
94013aaba6
Add support for DataSize
...
This commit adds support for Spring Framework's `DataSize` allowing to
express a size in bytes and other convenient units.
Similar to the `Duration` support introduced previously, this commit
adds transparent binding support as well as detection of default values
in `@ConfigurationProperties`-annotated object.
Closes gh-13974
2018-08-13 16:43:23 +03:00
Stephane Nicoll
eede660b84
Merge branch '2.0.x'
2018-08-13 13:11:08 +03:00
Stephane Nicoll
f4b0101632
Merge branch '1.5.x' into 2.0.x
2018-08-13 13:10:05 +03:00
Madhura Bhave
bc6e4e6e55
Add auto-config for reactive OAuth2 Resource Server
...
Closes gh-13948
2018-08-07 20:46:55 -07:00
Stephane Nicoll
5cfe8dbee9
Polish
2018-08-07 17:52:47 +02:00
Madhura Bhave
d6b6a5f81f
Add auto-config for spring-security-oauth2-resource-server
...
Closes gh-13787
2018-08-06 16:53:36 -07:00
Stephane Nicoll
c071f34a4a
Add auto-configuration support for TaskExecutor
...
This commit adds support for providing a default ThreadPoolTaskExecutor
with sensible defaults. A new TaskExecutorBuilder is provided with
defaults from the `spring.task.*` namespace and can be used to create
custom instances.
If no custom `Executor` bean is present, `@EnableAsync` now uses the
auto-configure application task executor. Same goes for the async support
in Spring MVC.
Closes gh-1563
2018-08-06 11:00:40 +02:00
Stephane Nicoll
435c47925e
Switch JMS pooling to `pooled-jms`
...
This commit removes support for `activemq-pool` in benefit of
`pooled-jms`. While the former is not JMS 2 compliant, the latter is and
is independent of the ActiveMQ codebase (so potentially reusable in
custom code).
Closes gh-13927
2018-07-31 16:55:52 +02:00
Stephane Nicoll
fbf95b6997
Merge branch '2.0.x'
2018-07-31 16:25:11 +02:00
Stephane Nicoll
d31f68380a
Deprecate PooledConnectionFactory properties
...
This commit deprecated the properties of `PooledConnectionFactory` that
are no longer supported by an alternative that is a JMS 2 compliant.
This commit also adds a note to warn users that this pool implementation
is not JMS 2 compliant.
Closes gh-13956
2018-07-31 16:17:43 +02:00
Madhura Bhave
14a0064c53
Merge branch '2.0.x'
2018-07-19 16:32:59 -07:00
Madhura Bhave
660d284f45
Document when and how to use brackets when binding to maps
...
Closes gh-13506
2018-07-19 16:31:59 -07:00
Stephane Nicoll
1c0eb8de36
Merge branch '2.0.x'
2018-07-19 16:42:51 +02:00
Stephane Nicoll
a1ef3f070a
Improve documentation for using a mock environment with @SpringBootTest
...
Closes gh-13827
2018-07-19 16:40:24 +02:00
Madhura Bhave
ceaac98847
Update docs with OIDC provider configuration
...
See gh-13210
2018-07-18 12:27:13 -07:00
Madhura Bhave
ddce819e6f
Merge branch '2.0.x'
2018-07-17 16:44:23 -07:00
Madhura Bhave
c36804908c
Merge branch '1.5.x' into 2.0.x
2018-07-17 16:43:02 -07:00
Stephane Nicoll
c0b9c72d74
Merge branch '2.0.x'
2018-07-17 14:07:34 +02:00
Stephane Nicoll
e679690a74
Clarify the WebTestClient requires WebFlux on the classpath
...
Closes gh-13469
2018-07-17 14:06:41 +02:00
Stephane Nicoll
ada699a9f6
Allow to customize the RabbitMQ RetryTemplate
...
This commit adds the ability to customize the RetryTemplate used in the
RabbitMQ infrastructure. The customizer is slightly unusual and offer
a `Target` enum that define the component that will use the retry
template: `SENDER` for the auto-configured `RabbitTemplate` and
`LISTENER` for a listener container created by a
`RabbitListenerContainerFactoryConfigurer`.
Closes gh-13793
2018-07-17 11:31:20 +02:00
Stephane Nicoll
fd6023fe49
Polish contribution
...
Closes gh-13790
2018-07-17 10:25:55 +02:00
Johnny Lim
58df752af4
Polish
...
See gh-13790
2018-07-17 10:25:38 +02:00
Stephane Nicoll
3c67edafcd
Expose more Quartz properties
...
Closes gh-13782
2018-07-16 14:07:10 +02:00
Stephane Nicoll
66cb4ce3c7
Polish "Allow to configure Quartz's "overwriteExistingJobs" property"
...
Closes gh-13582
2018-07-16 14:06:13 +02:00
Taras Danylchuk
910e6dc4cc
Allow to configure Quartz's "overwriteExistingJobs" property
...
See gh-13582
2018-07-16 14:06:13 +02:00
Johnny Lim
1ae420670a
Polish
...
Closes gh-13776
2018-07-16 10:38:40 +02:00
Madhura Bhave
c0574c8437
Update docs to reflect new health & info security
...
See gh-13722
2018-07-13 13:40:01 -07:00
Stephane Nicoll
04bca3f37f
Merge branch '2.0.x'
2018-07-12 16:58:16 +02:00
Stephane Nicoll
19709f7dea
Polish
2018-07-12 16:57:52 +02:00
Andy Wilkinson
6a48a440b2
Annotate our test annotations with @ExtendWith(SpringExtension.class)
...
Closes gh-13739
2018-07-11 17:25:21 +01:00
Madhura Bhave
149c7a85c3
Merge branch '2.0.x'
2018-07-02 13:18:45 -07:00
Madhura Bhave
673a08d228
Support microseconds in Duration conversions
...
Closes gh-13624
2018-07-02 13:18:09 -07:00
Andy Wilkinson
45fdf2ffa4
Support Tomcat 9 and Undertow 2
...
Closes gh-11749
Closes gh-12243
2018-06-28 11:33:30 +01:00
Andy Wilkinson
8dbeb68afa
Merge branch '2.0.x'
2018-06-25 13:13:42 +01:00
Andy Wilkinson
04119585e8
Merge branch '1.5.x' into 2.0.x
2018-06-25 13:13:34 +01:00
Stephane Nicoll
d4d169277d
Merge branch '2.0.x'
2018-06-21 09:23:43 +02:00
Johnny Lim
b9ea0fd5a7
Polish
...
See gh-13534
2018-06-21 09:20:50 +02:00
Stephane Nicoll
8365d53554
Add support for JMS session caching
...
This commit adds support for CachingConnectionFactory for both Artemis
and ActiveMQ. If connection pooling is not enabled explicitly, sessions,
producers and consumers are cached. The factory can be further
customized, including reverting to the raw ConnectionFactory, using the
`spring.jms.*` namespace.
Closes gh-12161
2018-06-19 15:17:00 +02:00
Stephane Nicoll
0ef54a79b1
Add support for connection pooling with Artemis
...
This commit expands ActiveMQ's connection pooling to artemis. The same
pooling features are now shared by the two brokers and a
PooledConnectionFactory can be auto-configured when the necessary jar is
present.
Closes gh-13523
2018-06-19 15:05:32 +02:00
Stephane Nicoll
b4584e6a28
Support profile expression in Logback's <springProfile>
...
Closes gh-13496
2018-06-18 13:23:58 +02:00
Stephane Nicoll
a89b2ae46e
Support profile expression in yml profile matching
...
Closes gh-12469
2018-06-18 13:05:52 +02:00
Andy Wilkinson
db7789ad87
Merge branch '2.0.x'
2018-06-08 15:47:55 +01:00
Andy Wilkinson
7b3be82cfa
Merge branch '1.5.x' into 2.0.x
2018-06-08 15:47:50 +01:00
Stephane Nicoll
a9e56aa089
Merge branch '2.0.x'
2018-06-07 10:46:20 +02:00
Stephane Nicoll
5c96943e59
Merge branch '1.5.x' into 2.0.x
2018-06-07 10:45:59 +02:00
Stephane Nicoll
42c2059dd8
Merge branch '2.0.x'
2018-06-06 11:00:25 +02:00
Stephane Nicoll
f6c99361a4
Merge branch '1.5.x' into 2.0.x
2018-06-06 11:00:02 +02:00
Madhura Bhave
26b826e017
Merge branch '2.0.x'
2018-06-05 13:49:42 -07:00
Madhura Bhave
d0a2a8e929
Document ConfigurableServletWebServerFactory variants
...
Closes gh-13083
2018-06-05 13:48:43 -07:00
Stephane Nicoll
93396aef51
Polish
2018-06-04 17:50:29 +02:00
Stephane Nicoll
ee158df993
Merge branch '2.0.x'
2018-06-04 17:36:01 +02:00
Dmytro Nosan
20003489be
Auto-configure jOOQ with TransactionListenerProvider
...
Closes gh-13331
2018-06-04 17:35:40 +02:00
Stephane Nicoll
8bcea0d8cc
Polish "Add auto-configuration for WebServiceTemplate"
...
Closes gh-1270
2018-06-04 12:27:29 +02:00
dnosan
c9df1c551a
Add auto-configuration for WebServiceTemplate
...
See gh-12707
2018-06-04 11:12:02 +02:00
Stephane Nicoll
bc47bf44a9
Merge branch '2.0.x'
2018-06-01 09:26:29 +02:00
Johnny Lim
6b0ce46491
Polish
...
Closes gh-13320
2018-06-01 09:22:20 +02:00
Stephane Nicoll
74379da726
Merge branch '2.0.x'
2018-05-31 16:39:11 +02:00
Stephane Nicoll
32aa5b9bae
Merge branch '1.5.x' into 2.0.x
2018-05-31 16:38:23 +02:00
Madhura Bhave
9f4a5c13a5
Add auto-config for WebFlux OAuth2 Login
...
Closes gh-13142
2018-05-30 18:53:11 -07:00
Stephane Nicoll
ec65cb1753
Merge branch '2.0.x'
2018-05-28 10:52:42 +02:00
Stephane Nicoll
15ba50ab3e
Merge branch '1.5.x' into 2.0.x
2018-05-28 10:52:21 +02:00
Stephane Nicoll
699b6ce6dc
Remove reference to Jersey 1
...
Closes gh-12582
2018-05-22 10:50:27 +02:00
Stephane Nicoll
beafba4487
Merge branch '2.0.x'
2018-05-17 09:35:29 +02:00
Stephane Nicoll
1d2edc1d37
Fix wrong reference to WebApplicationType
...
Closes gh-13195
2018-05-17 09:35:07 +02:00
Stephane Nicoll
b839c98de9
Merge branch '2.0.x'
2018-05-14 16:04:30 +02:00
Sebastien Deleuze
d747d43b23
Update Kotlin refdoc with the new tutorial
...
Closes gh-13161
2018-05-14 16:03:46 +02:00
Stephane Nicoll
8e9a873787
Polish "Improve LDAP auto-configuration conditions"
...
Closes gh-13143
2018-05-11 17:59:21 +02:00
Brian Clozel
84c9a65e9d
Auto-configure Elasticsearch REST clients
...
This commit adds auto-configuration support for both `RestClient` and
`RestHighLevelClient` which are provided by `elasticsearch-rest-client`
and `elasticsearch-rest-high-level-client` dependencies respectively.
`RestClient` is associated with configuration properties in the
`spring.elasticsearch.rest.*` namespace, since this is the component
taking care of HTTP communication with the actual Elasticsearch node.
`RestHighLevelClient` wraps the first one and naturally inherits that
configuration.
Closes gh-12600
2018-05-07 17:57:09 +02:00
Stephane Nicoll
9dccf5b895
Polish
...
See gh-13078
2018-05-07 14:48:56 +02:00
Stephane Nicoll
126f928f36
Polish "Improve Spring Session docs"
...
Closes gh-13061
2018-05-04 14:26:51 +02:00
Vedran Pavic
370160720d
Improve Spring Session docs
...
See gh-13061
2018-05-04 14:26:39 +02:00
Stephane Nicoll
b3ad902902
Merge branch '1.5.x' into 2.0.x
2018-05-03 11:14:42 +02:00
Madhura Bhave
d268b2102f
Fix typo
2018-05-01 11:33:47 -07:00
Stephane Nicoll
9f7be62687
Backport polish commit "22b99a90"
2018-05-01 11:33:26 -07:00
Madhura Bhave
0385bd4131
Use spring.session.timeout for Spring Session timeout
...
Fallback to server.servlet.session.timeout for backwards compatibility.
Fixes gh-12906
2018-04-27 13:16:17 -07:00
Johnny Lim
b941c5f1a6
Polish
...
Closes gh-12981
2018-04-27 09:29:16 +02:00
Madhura Bhave
24ce3ecb43
Fix typo in docs
2018-04-26 13:43:51 -07:00
Madhura Bhave
228c85fe67
Improve List and Map binding documentation
...
Closes gh-12444
2018-04-26 12:18:49 -07:00
Stephane Nicoll
9cf8080a17
Polish "Document Kotlin custom metadata generation"
...
Closes gh-12960
2018-04-25 17:19:55 +02:00
sdeleuze
c24e7a5930
Document Kotlin custom metadata generation
...
See gh-12960
2018-04-25 17:19:38 +02:00
Stephane Nicoll
f58f23c5b8
Document that binder doesn't handle static properties
...
Closes gh-12912
2018-04-22 11:11:56 +02:00
Stephane Nicoll
026d8bed5f
Fix additional missing semicolon on sample code
...
Closes gh-12895
2018-04-18 09:49:15 +02:00
Stephane Nicoll
38bd4bd58c
Stop associating an Executor bean to Quartz
...
This commits make sure that the Quartz auto-configuration no longer
associates an `Executor` bean if present in the context as Quartz offers
properties to tune it, which would mutate and lead to unexpected
results.
Closes gh-12823
2018-04-12 15:48:20 +02:00
DK Lee
1f91ae541f
Fix WebClient example constructor name
...
Closes gh-12842
2018-04-12 09:44:03 +02:00
Ken Kwon
16ad34aa19
Fix typo
...
Closes gh-12825
2018-04-11 10:51:20 +02:00
Stephane Nicoll
ad6a888e47
Polish
2018-04-04 11:29:37 +02:00