Commit Graph

13191 Commits (cda820494480c9f45ca7a87b3aaec438898a5b9b)
 

Author SHA1 Message Date
Stephane Nicoll e244d75bd2 Restore `endpoints.env.keys-to-sanitize` binding
Closes gh-10174
7 years ago
Brian Clozel 1cf7c32a1e Polish 7 years ago
Stephane Nicoll 7388b4b768 Fix build failure 7 years ago
Andy Wilkinson cc8a1fc3b9 Merge branch '1.5.x' 7 years ago
Andy Wilkinson beb257f452 Rework JettyEmbeddedErrorHandler to support Jetty 8
Closes gh-10175
7 years ago
Stephane Nicoll c2dd51792b Merge pull request #10170 from MarcGiffing:reference-bucket4j-starter
* pr/10170:
  Add reference to Bucket4j starter
7 years ago
MarcGiffing 78b55bbbc4 Add reference to Bucket4j starter
Closes gh-10170
7 years ago
Andy Wilkinson 90573193c0 Merge branch '1.5.x' 7 years ago
Andy Wilkinson 301eedfbe6 Upgrade to Tomcat 8.5.20
Closes gh-10114
7 years ago
Andy Wilkinson 45e74543d2 Merge branch '1.5.x' 7 years ago
Andy Wilkinson 92faf85dd5 Start building against Spring Data Ingalls snapshots for SR7
See gh-10165
7 years ago
Andy Wilkinson f1c5fc41b4 Polish 7 years ago
Andy Wilkinson ad4ce9cf57 Return objects from trace, audit event, and thread dump endpoints
Closes gh-7648
7 years ago
Andy Wilkinson a6b30a3aab Reflect context hierarchy in beans endpoint’s response structure
Closes gh-10156
7 years ago
Andy Wilkinson ab54801143 Improve structure of response from configprops endpoint
Closes gh-10162
7 years ago
Brian Clozel 27c1b5eb4c Add "onClass" condition on web server auto-configurations
This commit adds new Conditional annotations on auto-configurations
creating the Servlet/Reactive web servers. These conditions only depend
on request primitives used by the servers themselves and aren't
framework specific.

Closes gh-10163
7 years ago
Stephane Nicoll 5111b03aa3 Remove duplicated method
This commit removes the beanNamesForAnnotationIncludingAncestors
method as it is now part of Spring Framework's BeanFactoryUtils.

Closes gh-10150
7 years ago
Stephane Nicoll 2d79d63a9d Resume building against Spring Framework 5 snapshots
See gh-10123
Closes gh-9949
7 years ago
Stephane Nicoll 0e21af4082 Fix typo 7 years ago
Stephane Nicoll 67fc5ca433 Create a public API to bind a ConfigurationProperties object
Previously, the API used to bind a ConfigurationProperties annotated
object was private to the BeanPostProcessor implementation.

This commit moves most of the logic to ConfigurationPropertiesBinder. As
we want this object to have the same state regardless of how it is built,
a builder is now provided that detects the components that the binder
needs if not specified explicitly.

Closes gh-8344
7 years ago
Andy Wilkinson 9242def4c0 Improve structure and JSON serialization of beans endpoint's response
Closes gh-10156
7 years ago
Andy Wilkinson 9ffbfb0d80 Ensure that endpoints are created before their web extensions
Closes gh-10140
7 years ago
Stephane Nicoll ab82aed96a Improve configuration properties binding test coverage
See gh-8344
7 years ago
Stephane Nicoll ab43237c90 Polish 7 years ago
Stephane Nicoll 96399395ae Polish liquibase doc
Closes gh-10139
7 years ago
Stephane Nicoll 37d92807d6 Polish test
See gh-10139
7 years ago
Stephane Nicoll 35f457caf9 Merge pull request #10154 from izeye:kotlin-runtime
* pr/10154:
  Upgrade to kotlin-runtime 1.1.4-3
7 years ago
Johnny Lim 7227051712 Upgrade to kotlin-runtime 1.1.4-3
Closes gh-10154
7 years ago
Stephane Nicoll 6975e1b783 Merge pull request #10153 from mp911de:close-redis-connection
* pr/10153:
  Close reactive Redis connection after health check
7 years ago
Mark Paluch 0e2f7c57ee Close reactive Redis connection after health check
Closes gh-10153
7 years ago
Stephane Nicoll 11edff7576 Discover endpoints in parent context
Closes gh-10144
7 years ago
Stephane Nicoll a274c78fa0 Add support for reactive health indicator
This commit introduces a "ReactiveHealthIndicator" contract that can be
implemented for health checks against a reactive API.

When running in a WebFlux-based web app, the health and status endpoints
transparently use this in a WebFlux-based application and regular
HealthIndicator are executed on the elastic scheduler.

When running in a Servlet-based web app, the endpoints includes and
adapts available ReactiveHealthIndicators automatically

Closes gh-7972
7 years ago
Andy Wilkinson 8df852bf71 Change default order of AutoConfigureOrder to 0
Previously, AutoConfigureOrder defaulted to Ordered.LOWEST_PRECEDENCE.
This made is impossible for an individual auto-configuration to
indicate that it wanted to go "last", i.e. after any
auto-configuration classes that didn't not specify an order, or
specified an order other than LOWEST_PRECEDENCE.

This commit changes to default to 0, allowing a single
 auto-configuration to easily indicate that it should go last.

 Closes gh-10142
7 years ago
Andy Wilkinson f49741e3ed Allow an operation to specify the media types that it produces
Closes gh-10118
7 years ago
Phillip Webb 80f023f996 Polish 7 years ago
Phillip Webb 9cb0a81e50 Polish adapt to and from Mono conversion
See gh-10112
7 years ago
Andy Wilkinson 7fc12bc8a3 Polish 7 years ago
Stephane Nicoll afda0ec129 Default Hibernate DDL auto to none with Flyway/Liquibase
This commit adds a strategy interface to specific if a given DataSource
has its schema managed. The Hibernate auto-configuration uses it to set
it to "none" if a mechanism to initialize the DataSource is
found and "create-drop" otherwise.

Both Flyway and Liquibase implements that strategy interface and
register it in the context accordingly.

Closes gh-9262
7 years ago
Andy Wilkinson 8babd5d4c5 Adapt to and from Mono when calling an operation on an endpoint
This commit adds support for adapting to and from Mono when calling
an operation on an endpoint.

When an endpoint is exposed using WebFlux, a call to a blocking
operation is adapted to return a Mono by dispatching the operation
invocation on a separate thread using Reactor's elastic scheduler.

When an endpoint is exposed using Jersey, a call to an endpoint that
returns a Mono is adapted to return the Mono's result by blocking
until it is available. Note that such adaptation is not necessary when
using Spring MVC as it supports Mono natively.

Closes gh-10112
7 years ago
Stephane Nicoll 75edca6e55 Merge pull request #10109 from izeye:polish-20170830
* pr/10109:
  Polish "Polish"
  Polish
7 years ago
Stephane Nicoll b91ceef621 Polish "Polish"
Closes gh-10109
7 years ago
Johnny Lim db76112700 Polish
See gh-10109
7 years ago
Phillip Webb 2c97d3a5e9 Polish 7 years ago
Madhura Bhave b02edd2e81 Merge branch '1.5.x' 7 years ago
Madhura Bhave 64ffcfc83f Document JWK property
Closes gh-10022
7 years ago
Stephane Nicoll 441dd2bc16 Move endpoints.trace.filter to management.trace.filter
Closes gh-10007
7 years ago
Stephane Nicoll 54781c73b5 Move endpoints.metrics.filter to management.metrics.filter
See gh-10007
7 years ago
Stephane Nicoll 4c7088981f Add support for delete operations
This commit adds a `@DeleteOperation` annotation that can be used to
indicate that an endpoint's operation is meant to delete a resource.

Such operation is mapped to a DELETE http method.

Closes gh-10023
7 years ago
Stephane Nicoll 26b93e9454 Polish
See gh-10084
7 years ago
Stephane Nicoll 1897d76cda Merge branch '1.5.x' 7 years ago