Commit Graph

2255 Commits

Author SHA1 Message Date
Stephane Nicoll
ad3a14141f Polish endpoints metadata
This commit introduces manual metadata for the endpoints.all.* namespace
and polish the appendix following the work that happened in #9692
2017-08-17 11:34:08 +02:00
Stephane Nicoll
19e211a1c2 Add Status endpoint
This commit adds a new `/application/status` endpoint that provides only
the Health's status of an application.

Previously, `/application/health` was returning full health details or
only the status depending on configuration. Those two use cases are now
separate in two endpoints that can be configured, secured and enabled
separately.

Closes gh-9721
2017-08-16 15:30:41 +02:00
Stephane Nicoll
74b552826b Remove EndpointProperties
`EndpointProperties` is a left over of the infrastructure in 1.x and is
no longer used. Besides the `endpoints.enabled` property is now
`endpoints.all.enabled`.

Closes gh-10016
2017-08-16 13:41:32 +02:00
Stephane Nicoll
151f7ef325 Reinstate JMX customizations of Endpoints ObjectName
This commit restores the configuration properties used to configure how
the ObjectName of an endpoint is generated. For consistency, those
properties have been renamed to `management.jmx`

Closes gh-10005
2017-08-16 13:37:24 +02:00
Stephane Nicoll
35cf0c56a8 Merge branch '1.5.x' 2017-08-14 16:15:17 +02:00
Stephane Nicoll
cabd798353 Polish NestedConfigurationProperty documentation
Closes gh-9895
2017-08-14 16:13:54 +02:00
Andy Wilkinson
ee16332745 Update Actuator to use the new endpoint infrastructure
This commit migrates the Actuator onto the new endpoint infrastruture.
In addition to the existing support for accessing the endpoints via
JMX and HTTP using Spring MVC, support for access via HTTP using
Jersey and WebFlux has been added. This includes using a separate
management port where we now spin up an additional, appropriately
configured servlet or reactive web server to expose the management
context on a different HTTP port to the main application.

Closes gh-2921
Closes gh-5389
Closes gh-9796
2017-08-11 16:38:41 +01:00
Andy Wilkinson
a3f5aaafef Update the documentation following changes to Jolokia's auto-config
See gh-9843
2017-08-11 13:12:31 +01:00
Andy Wilkinson
b817dc1e04 Merge branch '1.5.x' 2017-08-09 12:02:16 +01:00
pulsation
c9faefc562 Clarify docs on effect RANDOM_PORT or DEFINED_PORT has on transactions
Previously, when read too quickly, the current note may lead a user to
think that RANDOM_PORT or DEFINED_PORT directly affect transaction
management. This is not the case.

This commit attempts to clarify that the difference in transaction
behaviour is due to transactions being bound to a particular thread
and separate threads being used for the client and server when
tests are making HTTP requests.

Closes gh-9965
2017-08-09 11:57:34 +01:00
Andy Wilkinson
83c8c0b848 Fix layout of endpoint tables
See gh-9924
2017-08-04 13:15:18 +01:00
Andy Wilkinson
5c06bd5ab9 Merge branch '1.5.x' 2017-08-03 21:23:28 +01:00
Johnny Lim
56f47e1a50 Polish
Closes gh-9938
2017-08-03 21:17:10 +01:00
Madhura Bhave
ea087b9bac Move liquibase config properties to spring.liquibase
Closes gh-9897
2017-08-01 10:24:47 -07:00
Madhura Bhave
f9e316306a Move Flyway config properties to spring.flyway
Closes gh-9896
2017-08-01 10:24:47 -07:00
Andy Wilkinson
bb55f49396 Remove concept of sensitivity from Actuator's endpoints
Closes gh-9924
2017-08-01 10:05:09 +01:00
Andy Wilkinson
9f75da9a8f Simplify the Actuator's hypermedia support
This commit replaces the Acuator's support for hypermedia with a
single endpoint that returns HAL-formatted links to all of the
available endpoints. This is done without requiring Spring HATEOAS
to be on the classpath in a similar manner to the existing
CloudFoundry discovery endpoint.

Closes gh-9901
2017-07-30 22:43:05 +01:00
Andy Wilkinson
fb3d79c750 Drop support for self-hosted Actuator docs
Closes gh-9899
2017-07-29 09:19:53 +01:00
Andy Wilkinson
c2459fce47 Raise the minimum version of Gradle to 4.0
Closes gh-9516
2017-07-28 14:35:33 +01:00
Spring Buildmaster
17a5bb0be4 Next development version 2017-07-27 08:00:21 +00:00
Stephane Nicoll
9575b4b723 Polish "Polish Hibernate naming strategy doc"
Closes gh-9763
2017-07-26 14:49:42 +02:00
Tom Hombergs
eeee1bdae5 Polish Hibernate naming strategy doc
See gh-9763
2017-07-26 14:33:22 +02:00
Johnny Lim
9b15389009 Polish
Closes gh-9855
2017-07-26 13:39:47 +02:00
Stephane Nicoll
75fc0c38c8 Merge branch '1.5.x' 2017-07-26 13:39:25 +02:00
Johnny Lim
fe1eb8b5f3 Polish
See gh-9855
2017-07-26 13:39:00 +02:00
Spring Buildmaster
41c5c0e7c9 Next development version 2017-07-26 08:30:55 +00:00
Andy Wilkinson
02e836b7a7 Allow Session's repository filter to be configured via the environment
Closes gh-8301
2017-07-25 09:26:14 +01:00
Stephane Nicoll
b18a34924f Update InfluxDB documentation
Closes gh-9669
2017-07-25 08:55:32 +02:00
jnizet
99b394a668 replace reference to deprecated WebMvcConfigurerAdapter by WebMvcConfigurer 2017-07-25 07:04:05 +02:00
Stephane Nicoll
5516e8626c Merge branch '1.5.x' 2017-07-24 15:34:09 +02:00
Stephane Nicoll
9fd94720f1 Better customization of the auto-configured ActiveMQConnectionFactory
This commit exposes additional properties and a callback interface to
further tune the auto-configured ActiveMQConnectionFactory.

Closes gh-9667
2017-07-24 15:27:17 +02:00
Stephane Nicoll
6c21b0090b Merge branch '1.5.x' 2017-07-24 14:00:24 +02:00
Stephane Nicoll
9a34d952e9 Provide an alternative to spring.activemq.pool.configuration
This commit expands the support of PooledConnectionFactory so that
binding the third party object is no longer necessary. All 3rd party
properties are now deprecated in favour of our explicit support.

The main reason behind this change is that a `connection-factory` and
`properties` property were exposed. The former is used to set the
`ConnectionFactory` and makes no sense as a key. The latter is
rebuilding the underlying `ActiveMQConnectionFactory` at each call
without reusing any existing settings.

Closes gh-9837
2017-07-24 13:48:53 +02:00
Stephane Nicoll
8cae031441 Remove Devtools remote debugging support
Closes gh-9489
2017-07-22 15:23:52 +02:00
Phillip Webb
9db72450da Merge branch '1.5.x' 2017-07-19 10:23:23 -07:00
Phillip Webb
68910f2b8f Polish 2017-07-19 10:21:06 -07:00
Stephane Nicoll
10bcf60803 Merge branch '1.5.x' 2017-07-19 18:30:30 +02:00
Stephane Nicoll
9c28637185 Move code snippet to regular source file
Closes gh-9740
2017-07-19 18:29:39 +02:00
Stephane Nicoll
38ad582959 Polish "Add support for arbitrary producer/consumer Kafka properties"
Closes gh-9775
2017-07-19 18:17:55 +02:00
Gary Russell
191752d2c0 Add support for arbitrary producer/consumer Kafka properties
PR #7672 Added support for arbitrary common properties.

However, Kafka emits a warning if a producer configuration contains
properties intended only for consumers, and vice versa.

The documentation showed a sample of how to write code to configure
arbitrary properties but this is inconvenient.

Add arbitrary properties to the consumer and procucer configs.

See gh-9775
2017-07-19 18:02:28 +02:00
Andy Wilkinson
bc5e4418ea Merge branch '1.5.x' 2017-07-19 14:41:39 +01:00
Andy Wilkinson
144d987cb8 Polish 2017-07-19 14:41:32 +01:00
Andy Wilkinson
3ba53a4c6f Merge branch '1.5.x' 2017-07-19 14:40:25 +01:00
Andy Wilkinson
29f1bd9953 Make it clearer that default config locations are always used
Closes gh-4062
2017-07-19 14:39:27 +01:00
Madhura Bhave
4e8592ffc5 Update documentation with new relaxed rules
Closes gh-9025
2017-07-14 12:07:55 -07:00
Stephane Nicoll
e0a1fe99a4 Merge branch '1.5.x' 2017-07-13 09:22:06 +02:00
Stephane Nicoll
e2880ee2c3 Polish "Improve ExitCodeGenerator doc"
Closes gh-9740
2017-07-13 09:21:36 +02:00
Tom Hombergs
cf2ebbcb25 Improve ExitCodeGenerator doc
See gh-9740
2017-07-13 09:12:48 +02:00
Johnny Lim
360e3a492c Polish
closes gh-9729
2017-07-12 13:25:19 +02:00
Phillip Webb
8e3baf3130 Polish 2017-07-11 13:57:21 -07:00