Commit Graph

1832 Commits (4e87f8163ead87e73a8cc776f3ede0d4e9b45bac)

Author SHA1 Message Date
Andy Wilkinson 41424e4529 Merge branch '1.5.x'
Closes gh-10457
7 years ago
Andy Wilkinson 9102eb32d1 Polish 7 years ago
Phillip Webb b08e51f0b3 Increase WebClient testing timeout 7 years ago
Phillip Webb 69a1eebf68 Polish 7 years ago
Madhura Bhave f1cfad6755 Handle required parameters in endpoint infrastructure
Closes gh-10372
7 years ago
Andy Wilkinson eefdbb7341 Merge Actuator's loggers package into its logging package
Closes gh-10430
7 years ago
Phillip Webb 9e43b99966 Polish 7 years ago
Andy Wilkinson 7e2d7dcd1d Polish 7 years ago
Stephane Nicoll 3894229381 Fix status handling of /application/env/{propertyName}
This commit makes sure to return a 404 status if the env endpoint is
invoked with a property that does not exist in the environment.

Closes gh-10179
7 years ago
Stephane Nicoll c2c6f49cbc Improve output of `/application/env/{propertyName}`
This commit changes the output of a single property to mention the
actual value in the environment as well as the property source that
contributed to the value.

Closes gh-10178
7 years ago
Madhura Bhave 1e11f80181 Fix typo in package-info.java 7 years ago
Stephane Nicoll 61bbaf140c Fix checkstyle violation 7 years ago
Stephane Nicoll eb045f1da1 Fix value of property in PropertySource descriptor
Prior to this commit, if a key was present in multiple PropertySources,
all descriptors shared the same common value. This commit makes sure
that each PropertySource descriptor shows the value it defines rather
than the one that is promoted in the Environment.

Closes gh-10428
7 years ago
Andy Wilkinson 32102c693b Avoid using classes from spring-web in core web endpoint infrastructure
Closes gh-10358
7 years ago
Andy Wilkinson f0693989f1 Polish 7 years ago
Andy Wilkinson 16edf72faa Test support for HTTP range requests to endpoints returning a Resource
Closes gh-9978
7 years ago
Vedran Pavic cf151b1717 Add actuator endpoint for finding and deleting sessions
See gh-8342
7 years ago
Stephane Nicoll f43aa9444d Polish "Remove usage of `HttpStatus` in Web Endpoints"
Closes gh-10350
7 years ago
Vedran Pavic 6c6ce7221a Remove usage of `HttpStatus` in Web Endpoints
See gh-10350
7 years ago
Andy Wilkinson aca30950cf Polish "Align prefix match in BufferCounterService with DefaultCounterService"
See gh-10278
7 years ago
Venil Noronha dcb81a3da5 Align prefix match in BufferCounterService with DefaultCounterService
Closes gh-10278
7 years ago
Andy Wilkinson e0bb9e700b Tidy up generics in WebFluxEndpointHandlerMapping
Closes gh-10113
7 years ago
Andy Wilkinson 49bab63ca6 Update metrics endpoint to return list of distinct names
Closes gh-10336
7 years ago
Raja Kolli a4a0eef186 Upgrade to Hibernate Validator 6.0.2.Final
Closes gh-9969
7 years ago
Jon Schneider 71495d1ad9 Make WebMvcMetrics#tagWithException public
Closes gh-10318
7 years ago
Johnny Lim 5e35a34cba Polish
Closes gh-10308
7 years ago
Vedran Pavic b6b2fd4ce8 Make Audit events Web endpoint `after` parameter required
Closes gh-10322
7 years ago
Phillip Webb 86926bf0e5 Upgrade to Micrometer 1.0.0-rc.1
Closes gh-10300
7 years ago
Phillip Webb 324a00fd6d Polish 7 years ago
Phillip Webb 796d400318 Use correct `percentilesTime` call
Update `MetricsClientHttpRequestInterceptor` to use `percentilesTime`
rather than `percentiles`.

See gh-9970
7 years ago
Andy Wilkinson 962b3df9c6 Add and polish package-info.java for actuator
Closes gh-10298
7 years ago
Jon Schneider c2958c27ab Replace Boot's own metrics with support for Micrometer
Closes gh-9970
7 years ago
Johnny Lim bd2d08bcd0 Polish
Closes gh-10282
7 years ago
Stephane Nicoll d89f3f9f2a Remove useless ConfigurationProperties on HeapDumpEndpoint
Closes gh-10263
7 years ago
Stephane Nicoll 5e7dbe8f4a Move configuration of LogFileWebEndpoint
See gh-10263
7 years ago
Stephane Nicoll d7f3008122 Move configuration of EnvironmentEndpoint
See gh-10263
7 years ago
Stephane Nicoll bb622292ba Move configuration of ConfigurationPropertiesReportEndpoint
See gh-10263
7 years ago
Stephane Nicoll 0d62b0cb3c Move configuration of TraceEndpoint
See gh-10263
7 years ago
Spring Buildmaster 30eb937a83 Next Development Version 7 years ago
Stephane Nicoll 40e6f004da Enable info and status endpoints by default
Closes gh-10161
7 years ago
Stephane Nicoll 222ed44bd4 Replace enabledByDefault to DefaultEnablement
This commit introduces a DefaultEnablement enum that replaces the
"enabledByDefault" boolean flag of Endpoint. This allows to better
control what indicates the default enablement of an endpoint.

With DefaultEnablement#ENABLED, the endpoint is enabled unless an
endpoint specific property says otherwise. With DefaultEnabled#DISABLED,
the endpoint is disabled unless an endpoint specific property says
otherwise. DefaultEnablement#NEUTRAL provides a dedicated option to
indicate that we should resort to the default settings in absence of
a specific property.

See gh-10161
7 years ago
Andy Wilkinson 3882552b43 Polish 7 years ago
Phillip Webb 2e51b48cd9 Refactor actuator package locations
Restructure actuator packages to improve structure. The following
changes have been made:

 - Separate actuator and actuator auto-configuration into different
   modules.
 - Move endpoint code into `spring-boot-actuator`.
 - Move `Endpoint` implementations from a single package into
   technology specific packages.
 - Move `HealthIndicator` implementations from a single package into
   technology specific packages.
 - As much as possible attempt to mirror the `spring-boot` package
   structure and class naming in `spring-boot-actuator` and
   `spring-boot-actuator-autoconfigure`.
 - Move `DataSourceBuilder` and DataSource meta-data support from
   `spring-boot-actuator` to `spring-boot`.

Fixes gh-10261
7 years ago
Andy Wilkinson 85493367b6 Rework health response structure to eliminate chance of key clashes
Previously, if a health's details contained a key named status (either
because an indicator bean was named statusHealthIndicator or an
indicator added an entry named status to its details) this would
clash with the health's own status as the details were serialized as
siblings of the status field.

This commit updates Health to remove @JsonAnyGetter from getDetails().
This means that all of a Health's details will now be nested within
a separate details field, thereby preventing a possible clash with
the status field.

Closes gh-10249
7 years ago
Andy Wilkinson c06de245d9 Allow endpoints to be mapped to /
This commit removes the restriction that was added in 4a61e45 to
prevent / from being used as the management context path when the
management context was not using a different port

The management context path can now be set to / irrespective of the
configuration of the management port. To avoid a possible clash
with the application's welcome page or similar, the links "endpoint"
that is mapping to the management context path is disabled when
the management context path is /.

As part of allowing / to be used as the management context path again,
the handling of endpoint mappings and the creation of paths for
individual operations has been consolidated into a new EndpointMapping
class that is used across the three (MVC, WebFlux, and Jersey)
implementations.

See gh-9898
7 years ago
Johnny Lim fd1b460027 Remove EndpointServletWebAutoConfigurationTests
Closes gh-10228
7 years ago
Andy Wilkinson 2e19f0b3e5 Upgrade to Jersey 2.26
Closes gh-10217
7 years ago
Madhura Bhave 86cd7275a1 MVC endpoints bean methods are @ConditionalOnMissingBean
Fixes gh-10105
7 years ago
Stephane Nicoll 905e851219 Fix build failure 7 years ago
Johnny Lim 30262e3bc1 Polish
Closes gh-10168
7 years ago