1531 Commits

Author SHA1 Message Date
leoli
2b5f8f36a2 Fix ImmutableConfigurationProperties import statement in ref docs
See gh-18548
2019-10-10 07:34:46 -05:00
Andy Wilkinson
002b2709d9 Document auditevent and httptrace endpoints' need for repositories
Closes gh-18352
2019-10-07 07:22:10 -05:00
Johnny Lim
701bd0dd46 Polish
See gh-18490
2019-10-02 22:15:05 -07:00
Phillip Webb
795303d667 Replace depends-on post processor configurations
Replace `AbstractDependsOnBeanFactoryPostProcessor` `@Configuration`
classes with simple `@Import` component classes.

Closes gh-18382
2019-10-02 21:41:31 -07:00
Phillip Webb
386c0a60a7 Relax @ConstructorBinding member class requirement
Update `@ConfigurationProperties` so that `@ConstructorBinding` classes
no longer need to repeat the annotation for their members.

Closes gh-18481
2019-10-02 17:17:44 -07:00
Madhura Bhave
e6bb7a0a6f Add spring security rsocket dependency to docs 2019-10-02 16:24:07 -07:00
Madhura Bhave
5547a8499f Polish 2019-10-02 14:41:01 -07:00
Madhura Bhave
fd721575f0 Add spring security saml dependency to docs 2019-10-02 14:02:54 -07:00
Madhura Bhave
22ed56ac52 Add auto-config for Spring Security's SAML support
Closes gh-18260

Co-authored-by: Phillip Webb <pwebb@pivotal.io>
2019-10-02 11:23:21 -07:00
Andy Wilkinson
96f85a40de Support customization of WebTestClient.Builder when using @SpringBootTest
Closes gh-15132
2019-10-02 17:51:00 +01:00
Andy Wilkinson
46c30d6bb0 Merge branch '2.1.x'
Closes gh-18476
2019-10-02 10:48:57 +01:00
Andy Wilkinson
3d4157ad6d Correct SCM URLs in published poms
Previously, Maven's default behaviour was relied up which resulted
in the artifact ID being appended to each URL as it was inherited.
This behaviour can only be disabled in Maven 3.6 and later, a version
that we cannot use due to an incompatibility with the Flatten Plugin.

This commit works around Maven's default behaviour by defining
properties for the SCM URL, connection, and developer connection and
then explicitly defining the settings in each pom using these
properties. The explicit definition of the properties in each pom
prevents them being inherited from the parent, thereby disabling the
unwanted appending of the artifact ID to the URL.

Fixes gh-18328
2019-10-02 10:48:30 +01:00
Phillip Webb
e41c5a4327 Require annotation signal for constructor binding
Update `@ConfigurationProperties` constructor binding support to only
apply when a `@ConstructorBinding` annotation is present on either the
type or the specific constructor to use.

Prior to this commit we didn't have a good way to tell when constructor
binding should be used vs regular autowiring.

For convenience, an `@ImmutableConfigurationProperties` meta-annotation
has also been added which is composed of `@ConfigurationProperties` and
`@ConstructorBinding`.

Closes gh-18469
2019-10-01 21:56:09 -07:00
Johnny Lim
3a63179d81 Fix a broken Asciidoctor syntax
Along the way, this commit also fixes a typo.

Closes gh-18325
2019-10-01 18:32:01 +02:00
Andy Wilkinson
a6f1619971 Use Asciidoctor extension to verify documented configuration properties
Closes gh-18451
2019-10-01 10:39:06 +01:00
Stephane Nicoll
1066b97113 Merge branch '2.1.x'
Closes gh-18437
2019-09-29 16:22:58 +02:00
dreis2211
208fb8f1ef Add Mustache to 'Customize ViewResolvers' docs section
See gh-18378
2019-09-29 16:21:49 +02:00
dreis2211
37dbe647f2 Polish some external documentation links
See gh-18384
2019-09-28 22:01:05 -07:00
dreis2211
edefbfde42 Mention Java 13 in system requirements docs
See gh-18383
2019-09-28 21:59:50 -07:00
Stephane Nicoll
15eeedb59a Merge branch '2.1.x'
Closes gh-18380
2019-09-27 17:00:23 +02:00
Johnny Lim
7319908b40 Polish
See gh-18347
2019-09-27 16:57:09 +02:00
dreis2211
14d7777138 Add missing appendices to PDF reference documentation
See gh-18371
2019-09-27 16:37:38 +02:00
Phillip Webb
a94ab673a3 Add health endpoint 'show-components' support
Add a `show-components` property under `management.endpoint.health` and
`management.endpoint.health.group.<name>` that can be used to change
when components are displayed.

Prior to this commit it was only possible to set `show-details` which
offered an "all or nothing" approach to the resulting JSON. The new
switch allows component information to be displayed whilst still hiding
potentially sensitive details returned from the actual `HealthIndicator`.

Closes gh-15076
2019-09-26 16:17:28 -07:00
Andy Wilkinson
4ab53dc8ce Fix broken and redirected links in the reference documentation
Fixes gh-18332
2019-09-24 15:19:04 +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
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
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
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
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
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
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
02ac089767 Polish "Support zip64 jars"
See gh-16091
2019-09-20 14:35:19 +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
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
Alessandro Falappa
38fb16a79d Fix typos in HealthContributors definition
See gh-18249
2019-09-17 12:38:33 +01:00
Alessandro Falappa
4aa186d6e5 Remove duplicated row from HealthIndicators table
See gh-18248
2019-09-17 12:36:51 +01:00