Commit Graph

2340 Commits (0ea7d22870a26d61df40a10c3e263fbf30b853bf)

Author SHA1 Message Date
Stephane Nicoll e6811de4ac Merge branch '1.5.x' 7 years ago
Alexander Constantin 281a93a0c4 Use underline instead of dash in tomcat properties
Closes gh-10256
7 years ago
Stephane Nicoll 1cd3b0cabe Remove auto-configuration for MapSessionRepository
This commit removes auto-configuration for Spring Session's simple in
memory support.

Closes gh-10253
7 years ago
Andy Wilkinson dad7357b89 Merge branch '1.5.x' 7 years ago
Andy Wilkinson 5b1a4a0430 Note that management.context-path is relative to server.context-path
Closes gh-10200
7 years ago
Stephane Nicoll 46470b5196 Remove outdated additional metadata 7 years ago
Stephane Nicoll 2b2eb73cb0 Remove security properties 7 years ago
Stephane Nicoll 9e366f0fde Fix typo 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 024c23cedb Fix broken links
Closes gh-10229
7 years ago
Stephane Nicoll ab43237c90 Polish 7 years ago
Stephane Nicoll 96399395ae Polish liquibase doc
Closes gh-10139
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
Stephane Nicoll b91ceef621 Polish "Polish"
Closes gh-10109
7 years ago
Johnny Lim db76112700 Polish
See gh-10109
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 98455e30dc Rename default endpoint settings to "default"
Closes gh-10098
7 years ago
Stephane Nicoll edd7cea1c3 Merge branch '1.5.x' 7 years ago
Stephane Nicoll 36722510c5 Clarify that only production resources are filtered by Maven
See gh-10088
7 years ago
Stephane Nicoll da65158eae Disable Jolokia by default
To be consistent with Actuator web endpoints, Jolokia is now disabled
by default.

Closes gh-10090
7 years ago
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.
7 years ago
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
7 years ago
Johnny Lim 14c9f91aab Polish
Closes gh-10054
7 years ago
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`.
7 years ago
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