Commit Graph

15407 Commits (b0e86bd7acbc0c3bd50e19a82986cb7150aeede6)
 

Author SHA1 Message Date
Phillip Webb 8903f04990 Merge pull request #11724 from dreis2211
* pr/11724:
  Polish
7 years ago
dreis2211 b7e663e820 Polish
Closes gh-11724
7 years ago
Phillip Webb 66d5c03c39 Add checkstyle to prevent reactor Assert import 7 years ago
Phillip Webb d0ca1a3eea Rename configuration-analyzer
Rename `spring-boot-configuration-analyzer` to
`spring-boot-deprecated-properties-support`.

Also renamed classes to match and polished some of the code.

See gh-11301
7 years ago
Phillip Webb 66f8279f65 Polish 7 years ago
Andy Wilkinson 77596fa8e6 Polish 7 years ago
Andy Wilkinson a41e28eea2 Merge branch '1.5.x' 7 years ago
Andy Wilkinson b6576fbe9c Test compression defaults against 8.5.24 as they changed in 8.5.27
See gh-11727
7 years ago
Andy Wilkinson f5a8c2a705 Upgrade to Postgresql 42.2.0
Closes gh-11741
7 years ago
Andy Wilkinson 26ea4037a3 Upgrade to Neo4j Ogm 3.0.3
Closes gh-11740
7 years ago
Andy Wilkinson d5b58a60e0 Upgrade to Jetty El 8.5.24.1
Closes gh-11739
7 years ago
Andy Wilkinson 89953f0d46 Upgrade to Jooq 3.10.4
Closes gh-11738
7 years ago
Andy Wilkinson 3b760d3620 Upgrade to Kotlin 1.2.20
Closes gh-11737
7 years ago
Andy Wilkinson 0ebff9aa80 Upgrade to Flyway 5.0.6
Closes gh-11736
7 years ago
Andy Wilkinson 37d3416627 Upgrade to Elasticsearch 5.6.6
Closes gh-11735
7 years ago
Andy Wilkinson c825167ec7 Upgrade to Netty 4.1.20.Final
Closes gh-11734
7 years ago
Andy Wilkinson 67c74ff123 Upgrade to Embedded Mongo 2.0.1
Closes gh-11733
7 years ago
Andy Wilkinson 884486aba7 Upgrade to Hikaricp 2.7.6
Closes gh-11732
7 years ago
Andy Wilkinson 315d2b620e Upgrade to Unboundid Ldapsdk 4.0.4
Closes gh-11731
7 years ago
Andy Wilkinson 59e577d9ac Upgrade to Cassandra Driver 3.4.0
Closes gh-11730
7 years ago
Andy Wilkinson 1fdfcfd042 Upgrade to Couchbase Client 2.5.4
Closes gh-11729
7 years ago
Andy Wilkinson 61eb93f9b0 Upgrade to Atomikos 4.0.6
Closes gh-11728
7 years ago
Andy Wilkinson b5444430ca Merge branch '1.5.x' 7 years ago
Andy Wilkinson de6c406260 Upgrade to Tomcat 8.5.27
Closes gh-11727
7 years ago
Andy Wilkinson a1a02a577a Upgrade to Httpclient 4.5.5
Closes gh-11726
7 years ago
Brian Clozel a8baf42f2f Ensure that CharacterEncodingFilter is ordered first
This commit makes sure that `CharacterEncodingFilter` is ordered with
the `Ordered.HIGHEST_PRECEDENCE` and that other filters, potentially
reading the request body, are ordered after.

In this particular case, both `WebMvcMetricsFilter` and
`ErrorPageFilter` are now ordered at `Ordered.HIGHEST_PRECEDENCE + 1` to
avoid cases where the request body is read before the encoding
configuration is taken into account.

Closes gh-11607
7 years ago
Stephane Nicoll 6aa639253a Analyse the environment for properties that are no longer supported
This commit adds a new `spring-boot-configuration-analyzer` module that
can be added to any app to analyze its environment on startup.

Each configuration key that has a matching replacement is temporarily
transitioned to the new name with a `WARN` report that lists all of
them.

If the project defines configuration keys that don't have a replacement,
an `ERROR` report lists them with more information if it is available.

Closes gh-11301
7 years ago
Stephane Nicoll 93168ea0dd Merge pull request #11716 from sdeleuze:kotlin-stdlib-jdk
* pr/11716:
  Manage dependencies for kotlin-stdlib-jdk7/8
7 years ago
sdeleuze d1b18b75d7 Manage dependencies for kotlin-stdlib-jdk7/8
As explained in the "Split package compatibility" section of
https://blog.jetbrains.com/kotlin/2017/09/kotlin-1-2-beta-is-out/
kotlin-stdlib-jdk7 and kotlin-stdlib-jdk8 are the recommended
dependencies to use with Kotlin 1.2 for Java 9+ compatibility.

Closes gh-11716
7 years ago
Stephane Nicoll 9fb4290579 Merge pull request #11674 from izeye:platform-specifc-line-separator
* pr/11674:
  Use the platform-specific line separator
7 years ago
Johnny Lim a0f6abffb6 Use the platform-specific line separator
Closes gh-11674
7 years ago
Stephane Nicoll 34b19de68f Merge pull request #11692 from izeye:null-check
* pr/11692:
  Add missing null checks and volatile keyword
7 years ago
Johnny Lim 13a7c9df4b Add missing null checks and volatile keyword
Closes gh-11692
7 years ago
Andy Wilkinson 66164bff14 Polish 7 years ago
Andy Wilkinson fbb1ba1bb3 Move actuator mappings introspection classes into dedicated packages
Closes gh-9979
7 years ago
Andy Wilkinson 9da9221b48 Merge branch '1.5.x' 7 years ago
Andy Wilkinson c06956376c Use correct Assert class in ServerPropertiesAutoConfiguration 7 years ago
Andy Wilkinson e973eaf2c3 Configure WebClient to use same address (IPv4 or IPv6) as server
Closes gh-11712
7 years ago
Stephane Nicoll 886ee9c870 Polish 7 years ago
Stephane Nicoll 68cc373daa Polish 7 years ago
Stephane Nicoll 126f8783a2 Polish 7 years ago
Phillip Webb 80bba046a3 Fix broken javadoc import 7 years ago
Phillip Webb bda9b892b3 Add direct WebFlux and WebMvc endpoint support
Add `@ControllerEndpoint` and `@RestControllerEndpoint` annotations that
can be used to develop a Spring-only request mapped endpoint. Both
Spring MVC and Spring WebFlux are supported.

This feature is primarily for use when deeper Spring integration is
required or when existing Spring Boot 1.5 projects want to migrate to
Spring Boot 2.0 without re-writing existing endpoints. It comes at the
expense of portability, since such endpoints will be missing from
Jersey.

Fixes gh-10257
7 years ago
Phillip Webb 340ef52f78 Refactor endpoint path concerns
Create a `PathMappedEndpoint` interface that allows any `ExposedEndpoint`
to provide root path details. The `EndpointPathResolver` interface has
been renamed to `PathMapper` and is now only used during endpoint
discovery.

`EndpointPathProvider` has been replaced with `PathMappedEndpoints`
which simply finds relevant path mapped endpoints.

Fixes gh-10985
7 years ago
Phillip Webb 1d39feffea Overhaul actuator endpoint code
Refactor several areas of the actuator endpoint code in order to make
future extensions easier. The primary goal is to introduce the concept
of an `ExposableEndpoint` that has technology specific subclasses and
can carry additional data for filters to use. Many other changes have
been made along the way including:

* A new EndpointSupplier interface that allows cleaner separation of
  supplying vs discovering endpoints. This allows cleaner class names
  and allows for better auto-configuration since a user can choose to
  provide their own supplier entirely.

* A `DiscoveredEndpoint` interface that allows the `EndpointFilter`
  to be greatly simplified. A filter now doesn't need to know about
  discovery concerns unless absolutely necessary.

* Improved naming and package structure. Many technology specific
  concerns are now grouped in a better way. Related concerns are
  co-located and concepts from one area no longer leakage into another.

* Simplified `HandlerMapping` implementations. Many common concerns have
  been pulled up helping to create simpler subclasses.

* Simplified JMX adapters. Many of the intermediary `Info` classes have
  been removed. The `DiscoveredJmxOperation` is now responsible for
  mapping methods to operations.

* A specific @`HealthEndpointCloudFoundryExtension` for Cloud Foundry.
  The extension logic used to create a "full" health endpoint extension
  has been made explicit.

Fixes gh-11428
Fixes gh-11581
7 years ago
Phillip Webb dc935fba48 Polish 7 years ago
Madhura Bhave d9ff51ccd3 Add StaticResourceRequest for WebFlux Security
Closes gh-11040
7 years ago
Madhura Bhave 5e2cc02499 Move servlet specific security auto-config 7 years ago
Stephane Nicoll 5c164d850e Upgrade to Spring Kafka 2.1.1.RELEASE
Closes gh-11524
7 years ago
Andy Wilkinson cc450ccb02 Merge branch '1.5.x' 7 years ago