Brian Clozel
b35424478b
Deprecate Elasticsearch transport and Jest clients
...
As of Spring Data Moore, the Elasticsearch high level REST client is
supported for Spring Data repositories. The transport client is now
deprecated and is likely to be removed in a future Spring Data release.
This commit deprecates the transport client and marks all the associated
configuration properties as deprecated. The Spring Boot starter depends
on the `spring-data-elasticsearch` project, which now depends on both
transport client and high level REST client.
This commit also deprecates the Jest client, as Spring Boot will focus
on supporting the high level REST client and the reactive client
provided by Spring Data - both being in sync with the fast release pace
of Elasticsearch.
Closes gh-15008
2019-04-15 12:05:07 +02:00
Madhura Bhave
959e161555
Provide an option to use Spring's forwarded header support
...
Previously, if the `server.use-forward-headers` property
was set to true, X-Forwarded-* headers support was provided
at the server level. The property has been deprecated in favor
of `server.forward-headers-strategy` which can be also be configured
to use Spring's forwarded header support apart from native server support.
Closes gh-5677
2019-04-12 10:34:19 -07:00
Brian Clozel
ddc8b6f6b9
Fix Javadoc build for new RSocket dependencies
...
See gh-16021
2019-04-11 21:07:26 +02:00
Brian Clozel
b33944b53f
Add RSocket server support with Spring Messaging
...
This commit adds support for RSocket server applications.
The auto-configuration will either add RSocket support to an existing
Reactor Netty server in a WebFlux application (as a WebSocket endpoint),
or bootstrap a brand new RSocket server instance.
Spring Boot will also auto-configure the Spring Messaging infrastructure
that supports Controller beans with `@MessageMapping` annotated methods.
Fixes gh-16021
2019-04-11 15:44:17 +02:00
Stephane Nicoll
5e58f4a8c6
Fix unresolved directives in generated documentation
...
Closes gh-16452
2019-04-11 14:31:41 +02:00
Stephane Nicoll
4d4566e0f9
Merge branch '2.1.x'
2019-04-11 13:55:34 +02:00
Adam Michalik
55987a51c7
Fix package of java.time.Duration in documentation
...
Closes gh-16527
2019-04-11 13:54:18 +02:00
Johnny Lim
4392d7c2ed
Polish
...
Closes gh-16494
2019-04-10 08:03:18 +02:00
Madhura Bhave
7054a33e70
Add support for public key file for OAuth2 resource server
...
Closes gh-15814
2019-04-08 18:17:12 -07:00
Stephane Nicoll
cf1d6ca660
Polish "Add missing backquote"
...
Closes gh-16483
2019-04-08 09:46:28 +02:00
Kaze
530d3da6c9
Add missing backquote
...
See gh-16483
2019-04-08 09:46:12 +02: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
Stephane Nicoll
bb4e559724
Let Hibernate detect the dialect to use
...
Closes gh-16172
2019-04-04 14:10:01 +02: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
Phillip Webb
2376f973f4
Merge branch '2.1.x'
2019-04-02 13:46:36 -07:00
Phillip Webb
47c6bf741d
Merge branch '2.0.x' into 2.1.x
2019-04-02 13:40:21 -07:00
Phillip Webb
07c000c5b7
Merge branch '1.5.x' into 2.0.x
2019-04-02 13:34:28 -07:00
Stephane Nicoll
df79808d38
Polish
2019-04-02 16:52:02 +02: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
Johnny Lim
40d0d6b113
Polish
...
Closes gh-16299
2019-03-28 16:42:27 +01: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
Andy Wilkinson
ba4671f0ab
Merge branch '1.5.x' into 2.0.x
2019-03-27 19:59:36 +00:00
Andy Wilkinson
4900505425
Merge branch '2.0.x' into 2.1.x
2019-03-26 13:53:57 +00:00
Andy Wilkinson
fedb40a2bf
Merge branch '1.5.x' into 2.0.x
2019-03-26 13:48:32 +00:00
Madhura Bhave
2225b36299
Merge branch '2.1.x'
2019-03-22 15:18:23 -07:00
Madhura Bhave
1ad52b651a
Document using the same port for the management server on CF
...
Closes gh-15640
2019-03-22 15:17:34 -07:00
Stephane Nicoll
3125f424ce
Add metadata support for immutable ConfigurationProperties type
...
Closes gh-16071
2019-03-22 15:33:35 +01: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
Andy Wilkinson
36c1c051b8
Merge branch '2.1.x'
2019-03-20 16:55:10 +00:00
Andy Wilkinson
e23f72c8b0
Merge branch '2.0.x' into 2.1.x
2019-03-20 16:53:48 +00:00
Andy Wilkinson
9fbd38ab3c
Merge branch '1.5.x' into 2.0.x
2019-03-20 16:45:26 +00: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
Andy Wilkinson
b828b398b5
Merge branch '2.1.x'
2019-03-19 17:11:45 +00:00
Andy Wilkinson
a36aa67b52
Merge branch '2.0.x' into 2.1.x
2019-03-19 17:04:41 +00:00
Spring Operator
3e2b6ac8ed
Update build and setup configuration to use HTTPS
...
See gh-16246
2019-03-19 16:58:31 +00:00
Madhura Bhave
3d0219c315
Merge branch '2.1.x'
2019-03-15 18:09:47 -07:00
Johnny Lim
c5b5f752ed
Polish
...
Closes gh-16219
2019-03-15 17:54:48 -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
2b4845b335
Add dependency needed by javadoc generation on JDK 11
2019-03-13 09:49:18 +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
39971bbbd3
Add dependency needed by javadoc generation on JDK 11
2019-03-12 14:19:24 +00: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
Andy Wilkinson
aa2008bc5a
Merge branch '2.1.x'
2019-03-11 16:40:19 +00:00
Andy Wilkinson
8c3cec8f13
Merge branch '2.0.x' into 2.1.x
2019-03-11 16:14:19 +00:00
Andy Wilkinson
361437f4e2
Merge branch '1.5.x' into 2.0.x
2019-03-11 15:53:34 +00:00
Andy Wilkinson
0959698c32
Upgrade to Jersey 2.28
...
Closes gh-16114
2019-03-06 12:58:35 +00:00
Andy Wilkinson
d6a869fa98
Switch to Jakarta EE API dependencies where possible
...
Closes gh-16113
Closes gh-16112
Closes gh-16111
Closes gh-15916
Closes gh-15689
2019-03-06 11:20:51 +00:00
Brian Clozel
ce9626d00f
Disable JMX by default
...
This commit switches the default value for the `spring.jmx.enabled`
configuration property.
JMX is now disabled by default and can be enabled with
`spring.jmx.enabled=true`.
Closes gh-16090
2019-03-05 18:51:00 +01:00
Johnny Lim
4a738e3c49
Polish
...
Closes gh-16094
2019-03-05 08:19:29 +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
4eb73e0050
Recommend that DevTools is excluded with custom packaging arrangement
...
Closes gh-15382
2019-03-04 15:57:47 +01:00
Stephane Nicoll
4f2e788835
Fix import in docs
...
Closes gh-16017
2019-03-04 15:45:59 +01:00
Stephane Nicoll
ad6e58e489
Merge branch '2.1.x'
2019-02-28 09:37:30 +01:00
XYUU
7aedb0a33d
Fix a colon format
...
Closes gh-16054
2019-02-28 09:36:22 +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
5e4418973e
Merge branch '2.1.x'
2019-02-26 16:59:32 +01:00
Stephane Nicoll
c47edd15af
Polish "Update instructions on how to use JAXB as XML renderer"
...
Closes gh-16005
2019-02-26 16:57:47 +01:00
Lars Grefer
221ff8d69f
Update instructions on how to use JAXB as XML renderer
...
See gh-16005
2019-02-26 16:50:30 +01:00
Stephane Nicoll
0c45019200
Upgrade to Spring Doc Resources 0.1.0.RELEASE
...
Closes gh-15805
2019-02-19 14:24:20 +01:00
Stephane Nicoll
20c39dc554
Document missing keys mapped on third party types
...
Closes gh-15980
2019-02-18 16:48:51 +01:00
Brian Clozel
2a2bfb9915
Auto-generate the "Common application properties"
...
Prior to this commit, the application properties listed in the reference
documentation would be manually managed and updated.
This commit adds a new `spring-boot-configuration-docs` project that
extracts that information from the available JSON metadata and writes
Asciidoctor tables ready for inclusion in the reference documentation.
The `generateConfigurationPropertyTables.groovy` is using this library
and configures the sections and how namespaces should be organized.
Fixes gh-8237
2019-02-18 15:46:15 +01:00
Stephane Nicoll
71df2f311b
Polish "Expose Tomcat AccessLog Max days property"
...
Closes gh-15954
2019-02-14 16:01:21 +01:00
Dmytro Nosan
596f0c28c0
Expose Tomcat AccessLog Max days property
...
See gh-15954
2019-02-14 16:01:21 +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