Commit Graph

1239 Commits (85784ba6ea85dd3ed621a2960996076a5fc87ed7)

Author SHA1 Message Date
Phillip Webb 85784ba6ea Merge branch '2.1.x'
Closes gh-18025
5 years ago
Phillip Webb 1ff784ff54 Remove MBean shutdown warning from documentation
Closes gh-17988
5 years ago
Phillip Webb 51e71f7ff1 Merge branch '2.1.x'
Closes gh-18024
5 years ago
Phillip Webb 368eb566fb Use versioned links in documentation
Update the reference documentation to use versioned links rather then
`/current/` whenever possible.

Closes gh-18000
5 years ago
Phillip Webb f69b2669b3 Merge branch '2.1.x' 5 years ago
Phillip Webb 348d65b4fe Polish documentation 5 years ago
Phillip Webb dc870044c6 Merge branch '2.1.x' 5 years ago
Phillip Webb 7f9d143e01 Polish documentation
Update reference documentation source to use consistent attribute names
and fix a few formatting issues.
5 years ago
Phillip Webb ee130cfb3f Merge branch '2.1.x'
Closes gh-18023
5 years ago
Phillip Webb 572e491465 Remove Gemfire starter details from documentation
Closes gh-18002
5 years ago
Phillip Webb ddbc1e5b0a Merge branch '2.1.x'
Closes gh-18022
5 years ago
Phillip Webb dbccb705a8 Clarify "Web Application Conditions" documentation
Update the reference documentation so that "Web Application Conditions"
also covers reactive contexts.

Closes gh-18005
5 years ago
Andy Wilkinson 50eb6d3fd1 Merge branch '2.1.x'
Closes gh-18016
5 years ago
dreis2211 b6fff67f6e Remove reference to non-existent --edit option in CLI docs
See gh-18015
5 years ago
Andy Wilkinson e2edb6a539 Polish "Auto-configure Flyway with JavaMigration beans"
See gh-17993
5 years ago
Phillip Webb 1e2f8959d9 Fix broken asciidoc rendering
Restore the blank line at the end of `executable-jar-format.adoc`
which appears to be required.

See gh-18007
5 years ago
Phillip Webb b6e3f48a89 Delete old appendix file
Delete file accidentally added during merge.

See gh-18007
5 years ago
Phillip Webb d70519038b Fix broken asciidoc syntax
See gh-18007
5 years ago
Phillip Webb ca53780c43 Merge branch '2.1.x'
Closes gh-18007
5 years ago
Phillip Webb 64d4bf823a Reformat documentation to one sentence per line
Update reference documentation to use one sentence per line formatting
as recommended by the Asciidoctor team.

Closes gh-12445
5 years ago
Stephane Nicoll cda310ba0a Polish "Fix a broken Asciidoctor syntax"
See gh-17970
5 years ago
Johnny Lim 78a467f9d3 Fix a broken Asciidoctor syntax
See gh-17970
5 years ago
Stephane Nicoll e92a530640 Merge branch '2.1.x'
Closes gh-17972
5 years ago
leoli 34d28f48ca Fix Undertow access log dir property name in doc
See gh-17968
5 years ago
Madhura Bhave 48b5b6a24c Polish "Added support for devtools YAML configuration"
See gh-17915
5 years ago
Andy Wilkinson b43827d626 Configure ping (formerly application) health indicator by default
This commit renames ApplicationHealthIndicator to PingHealthIndicator
and changes the auto-configuration so that it is now always configured
by default.

Closes gh-17926
5 years ago
Andy Wilkinson 05e089601e Remove default favicon and support for serving from classpath root
Closes gh-17925
5 years ago
Phillip Webb e03f822c6d Add support for health indicator groups
Update the `HealthEndpoint` to support health groups. The
`HealthEndpointSettings` interface has been replaced with
`HealthEndpointGroups` which provides access to the primary group
as well as an optional set of additional groups.

Groups can be configured via properties and may have custom
`StatusAggregator` and `HttpCodeStatusMapper` settings.

Closes gh-14022

Co-authored-by: Stephane Nicoll <snicoll@pivotal.io>
5 years ago
Phillip Webb 3c535e0de3 Add HealthContributor and refactor HealthEndpoint
Overhaul `HealthEndpoint` support to make it easier to support health
groups. Prior to this commit the `HealthIndicator` interface was used
for both regular indicators and composite indicators. In addition the
`Health` result was used to both represent individual, system and
composite health. This design unfortunately means that all health
contributors need to be aware of the `HealthAggregator` and could not
easily support heath groups if per-group aggregation is required.

This commit reworks many aspects of the health support in order to
provide a cleaner separation between a `HealthIndicator`and a
composite. The following changes have been made:

- A `HealthContributor` interface has been introduced to represent
  the general concept of something that contributes health information.
  A contributor can either be a `HealthIndicator` or a
  `CompositeHealthContributor`.

- A `HealthComponent` class has been introduced to mirror the
  contributor arrangement. The component can be either
  `CompositeHealth` or `Health`.

- The `HealthAggregator` interface has been replaced with a more
  focused `StatusAggregator` interface which only deals with `Status`
  results.

- `CompositeHealthIndicator` has been replaced with
  `CompositeHealthContributor` which only provides access to other
  contributors. A composite can no longer directly return `Health`.

- `HealthIndicatorRegistry` has been replaced with
  `HealthContributorRegistry` and the default implementation now
  uses a copy-on-write strategy.

- `HealthEndpoint`, `HealthEndpointWebExtension` and
  `ReactiveHealthEndpointWebExtension` now extend a common
  `HealthEndpointSupport` class. They are now driven by a
  health contributor registry and `HealthEndpointSettings`.

- The `HealthStatusHttpMapper` class has been replaced by a
  `HttpCodeStatusMapper` interface.

- The `HealthWebEndpointResponseMapper` class has been replaced
  by a `HealthEndpointSettings` strategy. This allows us to move
  role related logic and `ShowDetails` to the auto-configure module.

- `SimpleHttpCodeStatusMapper` and `SimpleStatusAggregator`
  implementations have been added which are configured via constructor
  arguments rather than setters.

- Endpoint auto-configuration has been reworked and the
  `CompositeHealthIndicatorConfiguration` class has been replaced
  by `CompositeHealthContributorConfiguration`.

- The endpoint JSON has been changed make `details` distinct from
  `components`.

See gh-17926
5 years ago
Phillip Webb 5f88c592b3 Polish 5 years ago
Madhura Bhave 7494a2baad Merge branch '2.1.x'
Closes gh-17880
5 years ago
Madhura Bhave 8d7deb7b67 Polish "Expand documentation on remote devtools"
See gh-17780
5 years ago
Sergei Petunin ab33bc7deb Expand documentation on remote devtools
See gh-17780
5 years ago
Stephane Nicoll 704992e657 Merge branch '2.1.x'
Closes gh-17855
5 years ago
Stephane Nicoll fcf4680626 Polish "Document how to add metadata for collection and enum default values"
Closes gh-12874
5 years ago
Madhura Bhave 178746d678 Update Opaque Token Client Name following upstream changes
Closes gh-17846
5 years ago
Madhura Bhave c178c9dd47 Merge branch '2.1.x' 5 years ago
Madhura Bhave 38d36ab18d Document how to add metadata for collection and enum default values
Closes gh-12874
5 years ago
Stephane Nicoll 2059147421 Merge branch '2.1.x'
Closes gh-17840
5 years ago
Stephane Nicoll 56c2a52ea4 Polish "Fix syntax errors in docs"
Closes gh-17835
5 years ago
Stephane Nicoll d02000ecc0 Merge branch '2.1.x'
Closes gh-17840
5 years ago
dreis2211 2e32af4737 Fix syntax errors in docs
See gh-17835
5 years ago
Madhura Bhave 4208be0154 Merge branch '2.1.x'
Closes gh-17818
5 years ago
Madhura Bhave 47a9bb1c0e Document that auto-configuration classes are not public API
Closes gh-16704
5 years ago
Madhura Bhave 7997971b0e Merge branch '2.1.x'
Closes gh-17815
5 years ago
Madhura Bhave 1b62a05c40 Document Prometheus Pushgateway support
Closes gh-16853
5 years ago
Madhura Bhave faaada1416 Remove liquibase check change log location
Missing change logs would lead to an exception even
if the checkChangeLogLocation was set to false. Spring Boot's check
would pass but Liquibase would fail later making this property redundant.

Fixes gh-16232
5 years ago
Stephane Nicoll 45915d085e Merge branch '2.1.x'
Closes gh-17767
5 years ago
Stephane Nicoll bacb4d1715 Polish "Refine back-off strategy of Neo4j SessionFactory"
See gh-17662
5 years ago
Phillip Webb 890ea153bf Allow endpoint @Selector to capture all paths
Update `@Selector` with a `match` attribute that can be used to select
all remaining path segments. An endpoint method like this:

	 select(@Selector(match = Match.ALL_REMAINING) String... selection)

Will now have all reaming path segments injected into the `selection`
parameter.

Closes gh-17743
5 years ago