Commit Graph

2280 Commits

Author SHA1 Message Date
Stephane Nicoll ab43237c90 Polish 2017-09-04 10:08:00 +02:00
Stephane Nicoll 96399395ae Polish liquibase doc
Closes gh-10139
2017-09-04 10:05:27 +02:00
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
2017-08-30 12:42:24 +02:00
Stephane Nicoll b91ceef621 Polish "Polish"
Closes gh-10109
2017-08-30 10:41:51 +02:00
Johnny Lim db76112700 Polish
See gh-10109
2017-08-30 10:33:53 +02:00
Madhura Bhave b02edd2e81 Merge branch '1.5.x' 2017-08-29 13:04:26 -07:00
Madhura Bhave 64ffcfc83f Document JWK property
Closes gh-10022
2017-08-29 12:51:14 -07:00
Stephane Nicoll 441dd2bc16 Move endpoints.trace.filter to management.trace.filter
Closes gh-10007
2017-08-29 17:09:19 +02:00
Stephane Nicoll 54781c73b5 Move endpoints.metrics.filter to management.metrics.filter
See gh-10007
2017-08-29 17:04:59 +02:00
Stephane Nicoll 98455e30dc Rename default endpoint settings to "default"
Closes gh-10098
2017-08-29 11:27:35 +02:00
Stephane Nicoll edd7cea1c3 Merge branch '1.5.x' 2017-08-29 10:14:33 +02:00
Stephane Nicoll 36722510c5 Clarify that only production resources are filtered by Maven
See gh-10088
2017-08-29 10:14:13 +02:00
Stephane Nicoll da65158eae Disable Jolokia by default
To be consistent with Actuator web endpoints, Jolokia is now disabled
by default.

Closes gh-10090
2017-08-28 10:18:19 +02:00
Stephane Nicoll def094b844 Advertize web endpoints as disabled by default
Following the rework on Security that expects web endpoints to be
disabled by default, this commit updates the metadata (including the
automatic generation) to reflect this decision.
2017-08-28 10:08:38 +02:00
Stephane Nicoll f8e08f79ed Add DispatcherType enum for configuration purpose
This commit creates our own version of javax.servlet.DispatcherType for
configuration purpose as we can use the other one now the servlet api
is optional.

Closes gh-9856
2017-08-24 10:28:59 +02:00
Johnny Lim 14c9f91aab Polish
Closes gh-10054
2017-08-22 16:28:03 +02:00
Stephane Nicoll ac4219b1d8 Move management.jmx to management.endpoints.jmx
For consistency with #10053, this commit moves the JMX specific endpoint
properties to `management.endpoints.jmx`.
2017-08-22 11:46:38 +02:00
Stephane Nicoll 68fcea7b9a Migrate endpoints.cors to management.endpoints.cors
This commit moves CORS properties out of the endpoints namespace as they
do not refer to a "cors" endpoint but rather to the CORS configuration
of all endpoints.

Closes gh-10053
2017-08-22 11:40:39 +02:00
Stephane Nicoll 3087514b79 Move endpoints.health.mapping to management.health.status.http-mapping
Closes gh-10052
2017-08-22 11:11:22 +02:00
Stephane Nicoll f2a74946af Polish 2017-08-22 10:20:20 +02:00
Stephane Nicoll f801c12a69 Merge branch '1.5.x' 2017-08-21 18:13:03 +02:00
Johnny Lim 2c897385d9 Document default values for compression properties
Closes gh-10050
2017-08-21 18:12:27 +02:00
Stephane Nicoll 394371eb73 Polish "Harmonize database initializers"
Closes gh-9752
2017-08-18 18:14:22 +02:00
Vedran Pavic 14b7be8325 Harmonize database initializers
This commit updates database initializers configuration to enable them
automatically only when an embedded `DataSource` is used. Related
configuration properties have been updated to use a more expressive
`DatabaseInitializerMode` enum rather than `Boolean` flag.

See gh-9752
2017-08-18 14:55:48 +02:00
Stephane Nicoll 74c5e48715 Polish 2017-08-17 16:43:30 +02:00
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