Stephane Nicoll
48bf9a58c6
Upgrade to Reactor Dysprosium-RELEASE
...
Closes gh-18276
2019-09-25 09:01:03 +02:00
Stephane Nicoll
56623bd57b
Upgrade to Reactor Californium-SR12
...
Closes gh-18348
2019-09-25 09:00:13 +02:00
Phillip Webb
323a78c4b9
Add property to migrate deprecated endoint IDs
...
Allow legacy actuator endpoint IDs that contain dots to be transparently
migrated to the new format. This update will allow Spring Cloud users
to proactively migrate from endpoints such as `hystrix.stream` to
`hystrixstream`.
Closes gh-18148
2019-09-24 19:53:50 -07:00
Madhura Bhave
0a70e33009
Merge branch '2.1.x'
...
Closes gh-18345
2019-09-24 10:28:54 -07:00
Madhura Bhave
342a0535d7
Explicitly configure SecurityWebFilterChain bean for reactive oauth2 client
...
This will ensure that ReactiveManagementWebSecurityAutoConfiguration backs
off and that the actuator endpoints are also secured via OAuth2.
Fixes gh-17949
2019-09-24 09:50:45 -07:00
Andy Wilkinson
a354657ace
Merge branch '2.1.x'
...
Closes gh-18343
2019-09-24 16:17:36 +01:00
Andy Wilkinson
c613418451
Suppress body when handling a no content (204) "error"
...
Fixes gh-18136
2019-09-24 16:01:18 +01:00
Andy Wilkinson
4ab53dc8ce
Fix broken and redirected links in the reference documentation
...
Fixes gh-18332
2019-09-24 15:19:04 +01:00
Andy Wilkinson
b483e78f55
Revert "Workaround Spring Data Rest enforcer issue"
...
This reverts commit 90defac71c
.
Closes gh-18335
2019-09-24 12:40:41 +01:00
Andy Wilkinson
35ad5cd011
Fix intermittent failure of inMemoryDerbyIsShutdown
2019-09-24 11:45:50 +01:00
Andy Wilkinson
419f92d381
Tune @ConditionalOnMissingBean for interface-based back off
...
Previously, a number of usages of @ConditionalOnMissingBean prevented
a bean that implements an auto-configured bean's "main" interface from
causing the auto-configuration of the bean to back off. This would
happen when @ConditionalOnMissingBean did not specify a type, the
@Bean method returned the bean's concrete type, and that concreate
type implements a "main" interface.
This commit updates such usages of @ConditionalOnMissingBean to
specify the "main" interface as the type of the bean that must be
missing. This will allow, for example, the auto-configured
MongoTemplate bean to back off when a MongoOperations bean is defined.
Fixes gh-18101
2019-09-24 11:13:35 +01:00
Brian Clozel
eeaa9bc6c1
Fix ref docs code snippet theme
...
This commit also fixes a link in the reference documentation.
See gh-18293
2019-09-24 11:25:57 +02:00
dreis2211
d89adfac91
Test compression with invalid content type for all webservers
...
Closes gh-18338
2019-09-24 10:03:38 +01:00
Andy Wilkinson
3fa9e037fa
Merge pull request #18337 from dreis2211
...
* gh-18337:
Test compression with invalid content type for all webservers
Closes gh-18337
2019-09-24 09:57:49 +01:00
dreis2211
7bc28fc646
Test compression with invalid content type for all webservers
...
See gh-18337
2019-09-24 09:57:28 +01:00
Eddú Meléndez
82bf819c49
Add dependency management for io.rest-assured:spring-web-test-client
...
See gh-18330
2019-09-24 09:46:17 +01:00
Stephane Nicoll
3c8402f6af
Polish
...
See gh-18194
2019-09-24 09:35:39 +02:00
Stephane Nicoll
ddc96c1a62
Merge branch '2.1.x'
...
Closes gh-18336
2019-09-24 09:19:04 +02:00
leoli
09cf1e6791
Fix property name in "Task Execution and Scheduling" example
...
See gh-18331
2019-09-24 09:16:17 +02:00
Phillip Webb
d7a472b8a6
Restore HealthIndicatorRegistry beans
...
Restore `HealthIndicatorRegistry` and `ReactiveHealthIndicatorRegistry`
auto-configured beans with a version that adapts to the new contributor
interfaces.
Closes gh-16903
2019-09-23 23:43:43 -07:00
Phillip Webb
5076d8562a
Fix Artemis EmbeddedJMS initialization
...
Update `ArtemisConnectionFactoryFactory` to reference the new
embedded Artemis classes.
See gh-16646
2019-09-23 23:42:30 -07:00
Phillip Webb
90defac71c
Workaround Spring Data Rest enforcer issue
...
Temporarily update `spring-boot-starter-data-rest` to declare
the correct spring-plugin version.
2019-09-23 23:41:36 -07:00
Andy Wilkinson
42e0dc14b5
Migrate from deprecated Artemis EmbeddedJMS
...
Closes gh-16646
2019-09-23 18:27:32 +01:00
Brian Clozel
60b1bbb8b2
Polish "Reference Spring Framework RSocket section + polish"
...
See gh-18321
2019-09-23 18:07:31 +02:00
Rossen Stoyanchev
9a70b5d1f5
Reference Spring Framework RSocket section + polish
2019-09-23 17:51:11 +02:00
Andy Wilkinson
b9cfbf7c8b
Merge branch '2.1.x'
...
Closes gh-18323
2019-09-23 16:46:53 +01:00
Andy Wilkinson
9df356ec4c
Fix destination checking in Artemis auto-configuration tests
...
Closes gh-18319
2019-09-23 16:45:36 +01:00
Stephane Nicoll
98ad5e53ef
Start building against Spring Web Services 3.0.8 snapshots
...
See gh-18316
2019-09-23 15:42:41 +02:00
Stephane Nicoll
ba2c8b333f
Start building against Spring HATEOAS 1.0.0 snapshots
...
See gh-18258
2019-09-23 15:42:41 +02:00
Stephane Nicoll
71e39c7847
Start building against Spring Security 5.2.0 snapshots
...
See gh-18256
2019-09-23 15:42:41 +02:00
Stephane Nicoll
06f5f73362
Start building against Spring Kafka 2.3.0 snapshots
...
See gh-18255
2019-09-23 15:42:41 +02:00
Stephane Nicoll
c2df1afff0
Start building against Spring Integration 5.2.0 snapshots
...
See gh-18254
2019-09-23 15:42:41 +02:00
Stephane Nicoll
c8dc76c5bf
Start building against Spring Data Moore snapshots
...
See gh-18253
2019-09-23 15:42:41 +02:00
Stephane Nicoll
8d131c4fcd
Start building against Spring Batch 4.2.0 snapshots
...
See gh-18252
2019-09-23 15:42:41 +02:00
Stephane Nicoll
e70da5edb0
Start building against Spring AMQP 2.2.0 snapshots
...
See gh-18251
2019-09-23 15:42:41 +02:00
Andy Wilkinson
f027139743
Upgrade to Commons Compress 1.19
...
Closes gh-18311
2019-09-23 14:18:01 +01:00
Andy Wilkinson
5cd7c727d4
Drop dependency management for Spring Plugin
...
Closes gh-18318
2019-09-23 14:11:03 +01:00
Andy Wilkinson
79d8089cd0
Remove redundant spring-plugin-core dependencies
...
Closes gh-18317
2019-09-23 14:11:03 +01:00
Stephane Nicoll
7533bfd0d3
Start building against Spring Web Services 3.0.8 snapshots
...
See gh-18315
2019-09-23 13:57:31 +02:00
Stephane Nicoll
f6589e66c2
Start building against Spring Kafka 2.2.9 snapshots
...
See gh-18314
2019-09-23 13:56:26 +02:00
Stephane Nicoll
d38d3ea940
Start building against Spring Integration 5.1.8 snapshots
...
See gh-18313
2019-09-23 13:55:14 +02:00
Stephane Nicoll
05f857d1f1
Start building against Spring AMQP 2.1.11 snapshots
...
See gh-18312
2019-09-23 13:53:54 +02:00
Andy Wilkinson
e6d60d937e
Ensure the use of UTF-8 encoding in ImageBannerTests
...
Closes gh-18301
2019-09-22 20:31:51 +01:00
Andy Wilkinson
ec2483e897
Polish assertions in ImageBannerTests
2019-09-22 19:44:50 +01:00
Phillip Webb
b3141d8887
Use hexadecimal for string compare failure
...
Update `ImageBannerTests` to use `inHexacecimal()` to help with
failure logs.
See gh-18301
2019-09-22 09:46:58 -07:00
Andy Wilkinson
2de7b3af4a
Merge branch '2.1.x'
2019-09-22 11:30:51 +01:00
Andy Wilkinson
e5f26a4f1a
Rename test resource to be Windows-friendly
2019-09-22 11:29:45 +01:00
Andy Wilkinson
30c05b2b49
Support X-Forwarded-Host header when auto-configuring RemoteIpValve
...
Closes gh-18233
2019-09-22 08:30:27 +01:00
Phillip Webb
303974fde9
Add block pixel mode support for image banners
...
Add support for a `spring.banner.image.pixelmode` property which can
be set to `block` to use unicode block characters when rendering image
banners.
Closes gh-18301
2019-09-22 00:18:54 -07:00
Phillip Webb
4ef1e18216
Add ANSI 8-bit color image banner support
...
Update `ImageBanner` and `AnsiColors` to optionally support 8-bit
color output.
See gh-18264
2019-09-21 23:30:05 -07:00
Phillip Webb
7f79c26b6b
Polish 'Add ANSI 8-bit color support'
...
See gh-18264
2019-09-21 23:30:05 -07:00
Toshiaki Maki
65a27ef6d6
Add ANSI 8-bit color support
...
Update ANSI property support to include an 8-bit (256 color) option.
See gh-18264
2019-09-21 23:15:58 -07:00
Phillip Webb
5ca5ec8395
Merge branch '2.1.x'
...
Closes gh-18299
2019-09-21 12:46:13 -07:00
Phillip Webb
1ceb96f9f2
Ensure matches is not called before initialization
...
Update `ApplicationContextRequestMatcher` to ensure that the `matches`
method is never called before `initialized`. This fixes an issue
accidentally introduced in commit 5938ca78
where concurrent calls
to `matches` could trigger unexpected errors due to the fact that the
second call proceeded before the `initialized` method had returned.
Fixes gh-18211
2019-09-21 12:29:46 -07:00
Phillip Webb
5427526bcc
Fix ApplicationContextRequestMatcher javadoc
...
Fix an error in the `ApplicationContextRequestMatcher` javadoc.
2019-09-21 12:28:58 -07:00
Andy Wilkinson
4cc7fef728
Deprecate support for Spring Cloud Connectors in favor of Java CFEnv
...
Closes gh-17877
2019-09-21 20:23:56 +01:00
Andy Wilkinson
79b5fd9d73
Polish "Allow the user that runs the app to be specified via an env var"
...
See gh-16973
2019-09-21 20:14:49 +01:00
Wagner Macedo
b57f35893c
Allow the user that runs the app to be specified via an env var
...
See gh-16973
2019-09-21 17:57:20 +01:00
Andy Wilkinson
ea6d9f3328
Merge branch '2.1.x'
...
Closes gh-18298
2019-09-21 13:42:54 +01:00
aohana
51a8c73b7b
Test custom comment prefix with one that does not work by default
...
See gh-18285
2019-09-21 13:33:20 +01:00
Andy Wilkinson
451703f321
Merge branch '2.1.x'
...
Closes gh-18297
2019-09-21 13:29:21 +01:00
Alessandro Falappa
b1750defde
Fix typo in configuration metadata appendix
...
See gh-18289
Closes gh-18289
2019-09-21 13:28:43 +01:00
Phillip Webb
838e7eb605
Extract spring-doc-resources URL property
...
Update the build to use a shared spring-doc-resources URL
rather than repeating it multiple times.
See gh-18293
2019-09-20 21:38:56 -07:00
Madhura Bhave
7978c3d75c
Polish
2019-09-20 15:04:29 -07:00
Madhura Bhave
48960c54d1
Drop . prefix from files in .config directory for devtools
...
Closes gh-18006
2019-09-20 15:01:12 -07:00
Madhura Bhave
d092df43b7
Merge branch '2.1.x'
...
Closes gh-18296
2019-09-20 14:41:55 -07:00
Madhura Bhave
3c4449bf0e
Polish "Fix typo in logback example"
...
See gh-18295
2019-09-20 14:38:57 -07:00
Harald Brabenetz
0091c04720
Fix typo in logback example
...
See gh-18295
2019-09-20 14:36:01 -07:00
Brian Clozel
73ed96893f
Polish spring-doc-resources update
...
See gh-18293
2019-09-20 23:10:17 +02:00
Phillip Webb
221ff0ff6d
Polish configuration property bean classes
...
Refactor the `org.springframework.boot.actuate.context` package
with the following changes:
- Deprecate several classes which would ideally be internal
- Replace `ConfigurationBeanFactoryMetadata` with a new
`ConfigurationPropertiesBean` class to better reflect that we no
longer maintain meta-data directly.
- Use constructor injection and final fields whenever possible
- Rename `ConfiguraionPropertiesBeanDefinition` to
`ConfigurationPropertiesValueObjectBeanDefinition` to align
with the binder changes made in commit 0b3015e4ff
- Add additional tests
Closes gh-16903
2019-09-20 13:42:33 -07:00
Brian Clozel
3b0c4b1837
Upgrade Spring Doc Resources and switch to light theme
...
See gh-18293
2019-09-20 20:52:13 +02:00
Brian Clozel
79e4d1354d
Warn about RSocket web server compatibility
...
This commit warns developers about the fact that plugging RSocket into
an existing web server is only possible with Reactor Netty web servers.
RSocket itself is using Reactor Netty, so this is why we can plug an
RSocket over websocket handler in an existing Reactor Netty handler.
This feature is not possible with other web servers, as existing APIs do
not make that possible.
Fixes gh-17494
2019-09-20 19:20:32 +02:00
Andy Wilkinson
8791b696f8
Add auto-configuration support for TransactionalOperator
...
Closes gh-18265
2019-09-20 17:37:41 +01:00
Andy Wilkinson
3b01bc0366
Switch TransactionAutoConfigurationTests to ApplicationContextRunner
2019-09-20 17:37:08 +01:00
Brian Clozel
070eedaa19
Configure RouteMatcher at the RSocketStrategies level
...
After a change in Spring Framework (see
spring-projects/spring-framework#23314 ), the `RouteMatcher` to be used
with the RSocket infrastructure is configured on the `RSocketStrategies`
directly.
This commit moves the auto-configuration of the
`PathPatternRouteMatcher` from the message handling parts to the RSocket
strategy one.
Closes gh-17571
2019-09-20 18:32:21 +02:00
Andy Wilkinson
02ac089767
Polish "Support zip64 jars"
...
See gh-16091
2019-09-20 14:35:19 +01:00
Camille Vienot
1917e1eac5
Support zip64 jars
...
See gh-16091
2019-09-20 12:44:04 +01:00
Andy Wilkinson
d5fc324537
Upgrade to Asciidoctor Maven Plugin 1.6.0
...
Closes gh-17234
2019-09-20 11:59:16 +01:00
Johnny Lim
0243cfa23e
Fix a broken Asciidoctor syntax
...
Along the way, this commit also fixes a typo.
See gh-18288
2019-09-20 08:50:53 +02:00
Madhura Bhave
02759d65bf
Merge branch '2.1.x'
2019-09-19 16:32:11 -07:00
Madhura Bhave
f9d94c6ed0
Remove duplicate word in docs
2019-09-19 16:30:25 -07:00
Andy Wilkinson
39c1e47eb7
Use 3 decimal places at most for logged startup time
...
Fixes gh-18278
2019-09-19 10:18:23 +01:00
Andy Wilkinson
7d3e53c94c
Fix test expectations for run-fork JVM args on Java 13+
...
Closes gh-17008
2019-09-19 10:07:03 +01:00
Stephane Nicoll
19115d19f0
Merge branch '2.1.x'
...
Closes gh-18283
2019-09-19 09:24:14 +02:00
Alessandro Falappa
6dab9bb224
Fix pre-defined logging group documentation
...
See gh-18270
2019-09-19 09:19:24 +02:00
Johnny Lim
b70be97cbf
Polish
...
See gh-18281
2019-09-19 09:03:38 +02:00
Andy Wilkinson
d2b28ceba5
Don't add -Xverify:none to JVM args when running on Java 13
...
Closes gh-17008
2019-09-18 21:51:41 +01:00
Brian Clozel
ce2c26e934
Use Reactor's new Schedulers.boundedElastic()
...
Prior to this commit, Spring Boot would use `Schedulers.elastic()` when
required to process blocking tasks in a reactive environment.
reactor/reactor-core#1804 introduced a new scheduler,
`Schedulers.boundedElastic()` that behaves quite similarly but:
* will limit the number of workers thread
* will queue tasks if no worker thread is available and reject them is
the queue is exceeds a limit
This allows Spring Boot to schedule blocking tasks as before and allows
greater flexibility.
Fixes gh-18269
See gh-18276
2019-09-18 22:17:07 +02:00
Andy Wilkinson
9377b9a9e4
Support -- and # by default as Quartz datasource init comment prefixes
...
Closes gh-17435
2019-09-18 20:38:16 +01:00
rajadilipkolli
abcff3a3b3
Use try-with-resources in HttpTunnelPayload
...
See gh-11779
2019-09-18 17:49:24 +01:00
Andy Wilkinson
9d3586d0b8
Test DatabaseDriver.ORACLE now it's available from Maven Central
...
Closes gh-18274
2019-09-18 17:08:18 +01:00
Andy Wilkinson
dce9d3da82
Add dependency management for Oracle's JDBC driver
...
Closes gh-18242
2019-09-18 17:06:42 +01:00
Andy Clement
4fecefe149
Add Graal checks ahead of some interactions with ClassLoader methods
...
See gh-18262
2019-09-18 09:58:33 +01:00
Andy Wilkinson
b15e427a3e
Improve handling of non-standard status codes in WebFluxTags
...
Closes gh-18267
2019-09-18 09:52:39 +01:00
Andy Wilkinson
6534047fcf
Rework test slice annotation javadoc to reflect JUnit 5 default
...
Closes gh-18178
2019-09-17 17:32:29 +01:00
Alessandro Falappa
38fb16a79d
Fix typos in HealthContributors definition
...
See gh-18249
2019-09-17 12:38:33 +01:00
Andy Wilkinson
5ea994d955
Merge pull request #18248 from AlexFalappa
...
* gh-18248:
Remove duplicated row from HealthIndicators table
Closes gh-18248
2019-09-17 12:37:23 +01:00
Alessandro Falappa
4aa186d6e5
Remove duplicated row from HealthIndicators table
...
See gh-18248
2019-09-17 12:36:51 +01:00
Andy Wilkinson
c662c404c5
Do not enable H2C by default when using Reactor Netty
...
Previously, Reactor Netty was the only embedded server that enabled
H2C by default. This commit updates the factory to only enable HTTP/2
when SSL has also been configured, aligning it with Jetty, Tomcat,
and Undertow.
If H2C is required, it can be enabled using a NettyServerCustomizer:
@Bean
NettyServerCustomizer h2cCustomizer() {
return (httpServer) ->
httpServer.protocol(HttpProtocol.HTTP11, HttpProtocol.H2C);
}
Closes gh-17867
2019-09-17 10:57:24 +01:00
Andy Wilkinson
d5adbbb626
Split appendices into multiple pages and include a ToC in each
...
Closes gh-16289
2019-09-17 09:44:40 +01:00