Commit Graph

2313 Commits (61c6662b9cac92d9cb2cd662df9162ab07454039)

Author SHA1 Message Date
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
7 years ago
Stephane Nicoll 3087514b79 Move endpoints.health.mapping to management.health.status.http-mapping
Closes gh-10052
7 years ago
Stephane Nicoll f2a74946af Polish 7 years ago
Stephane Nicoll f801c12a69 Merge branch '1.5.x' 7 years ago
Johnny Lim 2c897385d9 Document default values for compression properties
Closes gh-10050
7 years ago
Stephane Nicoll 394371eb73 Polish "Harmonize database initializers"
Closes gh-9752
7 years ago
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
7 years ago
Stephane Nicoll 74c5e48715 Polish 7 years ago
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
7 years ago
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
7 years ago
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
7 years ago
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
7 years ago
Stephane Nicoll 35cf0c56a8 Merge branch '1.5.x' 7 years ago
Stephane Nicoll cabd798353 Polish NestedConfigurationProperty documentation
Closes gh-9895
7 years ago
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
7 years ago
Andy Wilkinson a3f5aaafef Update the documentation following changes to Jolokia's auto-config
See gh-9843
7 years ago
Andy Wilkinson b817dc1e04 Merge branch '1.5.x' 7 years ago
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
7 years ago
Andy Wilkinson 83c8c0b848 Fix layout of endpoint tables
See gh-9924
7 years ago
Andy Wilkinson 5c06bd5ab9 Merge branch '1.5.x' 7 years ago
Johnny Lim 56f47e1a50 Polish
Closes gh-9938
7 years ago
Madhura Bhave ea087b9bac Move liquibase config properties to spring.liquibase
Closes gh-9897
7 years ago
Madhura Bhave f9e316306a Move Flyway config properties to spring.flyway
Closes gh-9896
7 years ago
Andy Wilkinson bb55f49396 Remove concept of sensitivity from Actuator's endpoints
Closes gh-9924
7 years ago
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
7 years ago
Andy Wilkinson fb3d79c750 Drop support for self-hosted Actuator docs
Closes gh-9899
7 years ago
Andy Wilkinson c2459fce47 Raise the minimum version of Gradle to 4.0
Closes gh-9516
7 years ago
Spring Buildmaster 17a5bb0be4 Next development version 7 years ago
Stephane Nicoll 9575b4b723 Polish "Polish Hibernate naming strategy doc"
Closes gh-9763
7 years ago
Tom Hombergs eeee1bdae5 Polish Hibernate naming strategy doc
See gh-9763
7 years ago
Johnny Lim 9b15389009 Polish
Closes gh-9855
7 years ago
Stephane Nicoll 75fc0c38c8 Merge branch '1.5.x' 7 years ago
Johnny Lim fe1eb8b5f3 Polish
See gh-9855
7 years ago
Spring Buildmaster 41c5c0e7c9 Next development version 7 years ago
Andy Wilkinson 02e836b7a7 Allow Session's repository filter to be configured via the environment
Closes gh-8301
7 years ago
Stephane Nicoll b18a34924f Update InfluxDB documentation
Closes gh-9669
7 years ago
jnizet 99b394a668 replace reference to deprecated WebMvcConfigurerAdapter by WebMvcConfigurer 7 years ago
Stephane Nicoll 5516e8626c Merge branch '1.5.x' 7 years ago
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
7 years ago
Stephane Nicoll 6c21b0090b Merge branch '1.5.x' 7 years ago
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
7 years ago
Stephane Nicoll 8cae031441 Remove Devtools remote debugging support
Closes gh-9489
7 years ago
Phillip Webb 9db72450da Merge branch '1.5.x' 7 years ago
Phillip Webb 68910f2b8f Polish 7 years ago
Stephane Nicoll 10bcf60803 Merge branch '1.5.x' 7 years ago
Stephane Nicoll 9c28637185 Move code snippet to regular source file
Closes gh-9740
7 years ago
Stephane Nicoll 38ad582959 Polish "Add support for arbitrary producer/consumer Kafka properties"
Closes gh-9775
7 years ago
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
7 years ago
Andy Wilkinson bc5e4418ea Merge branch '1.5.x' 7 years ago
Andy Wilkinson 144d987cb8 Polish 7 years ago
Andy Wilkinson 3ba53a4c6f Merge branch '1.5.x' 7 years ago
Andy Wilkinson 29f1bd9953 Make it clearer that default config locations are always used
Closes gh-4062
7 years ago
Madhura Bhave 4e8592ffc5 Update documentation with new relaxed rules
Closes gh-9025
7 years ago
Stephane Nicoll e0a1fe99a4 Merge branch '1.5.x' 7 years ago
Stephane Nicoll e2880ee2c3 Polish "Improve ExitCodeGenerator doc"
Closes gh-9740
7 years ago
Tom Hombergs cf2ebbcb25 Improve ExitCodeGenerator doc
See gh-9740
7 years ago
Johnny Lim 360e3a492c Polish
closes gh-9729
7 years ago
Phillip Webb 8e3baf3130 Polish 7 years ago
Brian Clozel 7bbae21d62 Start documenting WebFlux support
This commit adds new reference documentation sections about WebFlux
support in Spring Boot:

* Support for multiple HTTP servers (gh-8403)
* `CodecCustomizer` and JSON codecs (gh-8897, gh-9166)
* `WebClient.Builder` auto-configuration (gh-9522)
* Tests with `@WebFluxTest` (gh-8401)
* `WebTestClient` auto-configuration (gh-8399)
* Support for Thymeleafi and Mustache templating (gh-8124, gh-8648)
* Choose another HTTP server with WebFlux (closes gh-9690)
7 years ago
Phillip Webb eb17aa06f9 Merge branch '1.5.x' 7 years ago
Phillip Webb aa57ca7e18 Polish 7 years ago
Madhura Bhave f6b613b0d4 Merge branch '1.5.x' 7 years ago
Madhura Bhave a064a52f0b Document health aggregation strategy and default status mappings
Closes gh-9580
7 years ago
Madhura Bhave 4dc5346a6d Merge branch '1.5.x' 7 years ago
Madhura Bhave 528e334e1c Document @EnableWebSecurity behavior when management security disabled
Closes gh-9270
7 years ago
Stephane Nicoll 7275c8795e Merge branch '1.5.x' 8 years ago
Stephane Nicoll 90112559bf Expand doc on `@MockBean` usage
Closes gh-9609
8 years ago
Stephane Nicoll 531c0708c1 Merge branch '1.5.x' 8 years ago
Stephane Nicoll d8d156bd1b Improve documentation on EnvironmentPostProcessor
Closes gh-9617
8 years ago
Stephane Nicoll e3a9d7647d Merge branch '1.5.x' 8 years ago
Dave Syer 21f616f853 Add short docs on using Google App Engine
Now that Google actually supports arbitrary docker container
execution in app engine, we can provide some more guidance
on how to use it in the "deployment" section.

Closes gh-9585
8 years ago
Johnny Lim 533c418ad4 Polish
Closes gh-9610
8 years ago
Stephane Nicoll 01272fa0cc Polish "Add health indicator for Neo4j"
Closes gh-9557
8 years ago
Andy Wilkinson f26f8176b6 Start building against Spring Session 2.0 snapshots
See gh-9541
8 years ago
Stephane Nicoll aac80e0b02 Polish
Closes gh-9570
8 years ago
Stephane Nicoll beb72ca8ee Merge branch '1.5.x' 8 years ago
Stephane Nicoll b037d7a4cb Polish 8 years ago
Johnny Lim 8ca70a7efd Polish
See gh-9570
8 years ago
Stephane Nicoll 350c701da3 Polish 8 years ago
Stephane Nicoll d559f7a5bb Harmonize key description
See gh-9374
8 years ago
Andy Wilkinson 4a030d5a7a Drop support for auto-configuring an embedded Elasticsearch node
Elastic have announced [1] that embedded Elasticsearch is no longer
supported. This commit brings us into line with that announcement by
removing the auto-configuration that would create an Elasticsearch
Node and NodeClient.

To use the Elasticsearch auto-configuration, a user must now provide
the address of one or more cluster nodes
(via the spring.elastisearch.cluster-nodes property) which will then
be used to create a TransportClient.

See gh-9374

[1] https://www.elastic.co/blog/elasticsearch-the-server
8 years ago
Stephane Nicoll 053b8b5853 Polish "Set Lettuce shutdown timeout properly"
Closes gh-9526
8 years ago
Stephane Nicoll dd53ed0aec Polish "Add Slice test annotation for Redis"
Closes gh-9224
8 years ago
Jayaram Pradhan 2d36d2a7e4 Add Slice test annotation for Redis
This commit adds new annotation `@DataRedisTest` which provides test
infrastructure for redis.

See gh-9224
8 years ago
Stephane Nicoll 4cb0a5cef3 Add a note about Redis customization
See gh-8894
8 years ago
Jeroen Heijmans 766655916e Adds maven install note for Windows
See also: https://chocolatey.org/packages/maven

Closes gh-9512
8 years ago
Stephane Nicoll f05f1bcfba Polish "Add support for Kafka batch listener"
This commit reworks the property to be an enum with the list of
supported listener types rather than a boolean that flip to a
batch listener.

Closes gh-9448
8 years ago
mzagar 257f44357e Add support for Kafka batch listener
This commit adds a `spring.kafka.listener.batch-listener` property so
that a batch listener is created automatically.

See gh-9448
8 years ago
Phillip Webb b94bb00fa1 Remove need for attached test-jar artifacts
Remove test-jar artifacts from Maven projects and relocate classes. The
majority of utilities now live in the `spring-boot-testsupport` module.

This update will help us to deploy artifacts using the standard Maven
deploy plugin in the future (which doesn't support the filtering of
individual artifacts).

Fixes gh-9493
8 years ago
Johnny Lim bbab520926 Polish
Closes gh-9438
8 years ago
Stephane Nicoll fe3e1cf1d3 Merge branch '1.5.x' 8 years ago
Stephane Nicoll 61eda3e6b0 Polish
See gh-9438
8 years ago
Spring Buildmaster 05d4d0281c Next Development Version 8 years ago
Stephane Nicoll e9dceb4207 Merge branch '1.5.x' 8 years ago
Stephane Nicoll bddf9232a8 Polish 8 years ago
Stephane Nicoll c2aca4d7f5 Document SpringPhysicalNamingStrategy
Closes gh-9084
8 years ago
Andy Wilkinson 901f37de93 Merge branch '1.5.x' 8 years ago
Andy Wilkinson 223b694d3a Sort the table of starter modules alphabetically
Closes gh-9422
8 years ago
Stephane Nicoll 05fbd5dc46 Merge branch '1.5.x' 8 years ago
Stephane Nicoll cbdab9edb3 Add support for custom ProtocolResolver with Devtools
Prior to this commit, custom `ProtocolResolvers` set on the
`ApplicationContext` were lost when Devtools is used as the customized
`ResourceLoader` did not copy any customization made to the default
resource loader.

This commit makes sure to copy any `ProtocolResolver` set on the context.

Closes gh-9331
8 years ago