Commit Graph

5663 Commits (892e517c217908cff902419124be79353386559c)

Author SHA1 Message Date
Stephane Nicoll e99deb95f7 Fix source detection in case of multiple candidates
This commit improves the detection of a property source when more than
one group with the same type exist.

Closes gh-16549
6 years ago
Andy Wilkinson 84df37fd73 Merge branch '2.1.x'
Closes gh-16564
6 years ago
Andy Wilkinson bb0037f041 Restore indentation in published spring-boot-dependencies pom
The move to an HTTPS URL for the xmlns:xslt identifier has the unwanted
side-effect of disabling indentation.

This commit moves back to an HTTPS URL. It also changes the indent size
to 2, aligning with the size used by all the other poms that are written
by the flatten plugin.

Closes gh-16466
6 years ago
Andy Wilkinson 9d1f584560 Adapt Gradle plugin tests to change in Kotlin's packaging
Closes gh-16554
6 years ago
Brian Clozel b35424478b Deprecate Elasticsearch transport and Jest clients
As of Spring Data Moore, the Elasticsearch high level REST client is
supported for Spring Data repositories. The transport client is now
deprecated and is likely to be removed in a future Spring Data release.

This commit deprecates the transport client and marks all the associated
configuration properties as deprecated. The Spring Boot starter depends
on the `spring-data-elasticsearch` project, which now depends on both
transport client and high level REST client.

This commit also deprecates the Jest client, as Spring Boot will focus
on supporting the high level REST client and the reactive client
provided by Spring Data - both being in sync with the fast release pace
of Elasticsearch.

Closes gh-15008
6 years ago
Stephane Nicoll fe9da06a7e Remove outdated exclusion to http-client
Closes gh-16510
6 years ago
Stephane Nicoll 5e281fa8ec Switch to snapshots in preparation for the release 6 years ago
Stephane Nicoll 5c37e68a2b Upgrade to Spring AMQP 2.2.0.M1
Closes gh-16530
6 years ago
Sebastien Deleuze 86c75b9fd3 Upgrade to Kotlin 1.3.30
Closes gh-16554
6 years ago
Madhura Bhave b4d6ac1f41 Fix javadoc 6 years ago
Madhura Bhave 7bbeeaa4d2 Fix build following Spring Security changes 6 years ago
Madhura Bhave 8fd8a9b618 Fix javadoc 6 years ago
Madhura Bhave 62ec8f373a Forwarded header auto-config should be conditional on missing bean
See gh-5677
6 years ago
Madhura Bhave 959e161555 Provide an option to use Spring's forwarded header support
Previously, if the `server.use-forward-headers` property
was set to true, X-Forwarded-* headers support was provided
at the server level. The property has been deprecated in favor
of `server.forward-headers-strategy` which can be also be configured
to use Spring's forwarded header support apart from native server support.

Closes gh-5677
6 years ago
Stephane Nicoll 33fecec4a8 Upgrade to Spring Kafka 2.3.0.M1
Closes gh-16302
6 years ago
Brian Clozel ddc8b6f6b9 Fix Javadoc build for new RSocket dependencies
See gh-16021
6 years ago
Brian Clozel 9eb7260699 Polish RSocket server support
Relax the `NettyRSocketBootstrap` contract to allow all types of
`SocketAcceptor` implementations.

See gh-16021
6 years ago
Brian Clozel 2112e02eda Polish
Closes gh-15952
6 years ago
Dmytro Nosan 2c20d01e25 Add requestId info to ErrorAttributes in WebFlux
See gh-15952
6 years ago
Brian Clozel b33944b53f Add RSocket server support with Spring Messaging
This commit adds support for RSocket server applications.
The auto-configuration will either add RSocket support to an existing
Reactor Netty server in a WebFlux application (as a WebSocket endpoint),
or bootstrap a brand new RSocket server instance.

Spring Boot will also auto-configure the Spring Messaging infrastructure
that supports Controller beans with `@MessageMapping` annotated methods.

Fixes gh-16021
6 years ago
Stephane Nicoll 5e58f4a8c6 Fix unresolved directives in generated documentation
Closes gh-16452
6 years ago
Stephane Nicoll a5f29bb36b Upgrade to Spring Data Moore M3
Closes gh-16528
6 years ago
Stephane Nicoll 4d4566e0f9 Merge branch '2.1.x' 6 years ago
Adam Michalik 55987a51c7 Fix package of java.time.Duration in documentation
Closes gh-16527
6 years ago
Stephane Nicoll cb4aa4cef4 Upgrade to Jooq 3.11.11
Closes gh-16525
6 years ago
Stephane Nicoll 6d7b5bea5c Upgrade to Infinispan 9.4.12.Final
Closes gh-16524
6 years ago
Stephane Nicoll b2f73f8974 Upgrade to Aspectj 1.9.3
Closes gh-16523
6 years ago
Stephane Nicoll 071128c44e Upgrade to Undertow 2.0.20.Final
Closes gh-16522
6 years ago
Vedran Pavic bbaa98175f Upgrade to Hazelcast 3.12
Closes gh-16503
6 years ago
Stephane Nicoll 61f9816361 Upgrade to Neo4j Ogm 3.2.0-alpha05
Closes gh-16521
6 years ago
Stephane Nicoll 94775b796d Upgrade to Mongodb 3.10.2
Closes gh-16520
6 years ago
Stephane Nicoll 44176c12e1 Upgrade to Junit Jupiter 5.4.2
Closes gh-16519
6 years ago
Stephane Nicoll d4117699e4 Upgrade to Rabbit Amqp Client 5.7.0
Closes gh-16518
6 years ago
Brian Clozel 054c8ee0c4 Upgrade to Spring Framework 5.2.0.M1
Fixes gh-16173
6 years ago
Brian Clozel 3e56707132 Overriding getMappingPathPatterns is not required
After a hierarchy change in Spring Framework in gh-22543,
`AbstractWebFluxEndpointHandlerMapping` doesn't need to override the
`getMappingPathPatterns` method anymore.
6 years ago
Johnny Lim 4392d7c2ed Polish
Closes gh-16494
6 years ago
Stephane Nicoll ee735a61ce Polish
See gh-15814
6 years ago
Stephane Nicoll f42b6199ae Polish 6 years ago
Stephane Nicoll a828072132 Migrate tests to use withBean
See gh-16011
6 years ago
Stephane Nicoll a780875390 Allow `ApplicationContextRunner` to accept simple bean definitions
This commit adds `withBean` methods to the `ApplicationContextRunner`
abstraction so that simple beans can be registered inline. This is a
nice alternative for cases where a inner configuration class has to be
defined for the purpose of creating a simple bean.

Closes gh-16011
6 years ago
Madhura Bhave 7054a33e70 Add support for public key file for OAuth2 resource server
Closes gh-15814
6 years ago
Stephane Nicoll cf1d6ca660 Polish "Add missing backquote"
Closes gh-16483
6 years ago
Kaze 530d3da6c9 Add missing backquote
See gh-16483
6 years ago
Stephane Nicoll 20e98cb999 Merge branch '2.1.x' 6 years ago
Stephane Nicoll 391c8b6274 Add reference to https://github.com/alimate/errors-spring-boot-starter 6 years ago
dreis2211 7042884042 Fix Thymeleaf deprecations
Closes gh-16478
6 years ago
Stephane Nicoll 84735f58f3 Fix build failure 6 years ago
dreis2211 52cd9c6cac Fix compilation error
Closes gh-16476
6 years ago
Madhura Bhave 3c203e9b0d Update devtools to use @Lazy(false)
Fixes gh-16184
6 years ago
Madhura Bhave ce0282406f Skip lazy init for beans that explicitly set lazy to false
This commit also adds tests to ensure that the child
management context works when lazy initialization is
enabled. Also, it adds a BeanFactoryPostProcessor to
the child context so that the server is created and
listening for requests but other beans in the child
context are not created until requested.

See gh-16184
6 years ago
Andy Wilkinson ff1e5076dc Merge branch '2.1.x'
Closes gh-16473
6 years ago
Andy Wilkinson c0a91478f1 Only start management server once main server is initialized
Closes gh-15378
6 years ago
Phillip Webb 8626a33bbb Polish "Migrate ApplicationContext to common hierarchy"
Users calling the methods will still face problems but at least they
will have some guidance.

Closes gh-16096
6 years ago
Stephane Nicoll c432288ed1 Migrate ApplicationContext to common hierarchy
This commit migrates `AnnotationConfigReactiveWebApplicationContext`
parent to the `GenericApplicationContext` abstraction. Any use of
`AnnotationConfigWebApplicationContext` is also removed as it also
inherits from the `AbstractRefreshableApplicationContext` outdated
hierarchy.

A new `AnnotationConfigServletWebApplicationContext` context is
introduced instead, extending from `GenericApplicationContext` and
providing the counter part of the reactive context for the Servlet-based
web app tests.

See gh-16096
6 years ago
Stephane Nicoll dbf8245c1d Polish "Polish embedded tomcat setup"
Closes gh-16446
6 years ago
Rudy Adams 06028f83b2 Polish embedded tomcat setup
See gh-16446
6 years ago
Madhura Bhave 7587af343d Merge pull request #16342 Pascal Zwick
* pr/16342:
  Polish "Simplify the configuration of the ProtocolHandler"
  Simplify the configuration of the ProtocolHandler
6 years ago
Madhura Bhave ad767ca4e1 Polish "Simplify the configuration of the ProtocolHandler"
Closes gh-16342
6 years ago
Pascal Zwick 2eaa64f82e Simplify the configuration of the ProtocolHandler
This commit introduces a new callback interface that can
be used to customize the ProtocolHandler on a Tomcat Connector.

See gh-16342
6 years ago
Stephane Nicoll 0972ef3422 Merge branch '2.1.x'
Closes gh-16451
6 years ago
Stephane Nicoll fbb5ffe0a4 Avoid infinite cycle resolving generic type that refers itself
This commit improves type resolution for a unresolved generic type that
uses itself in its upper bound declaration.

Closes gh-16451
6 years ago
Andy Wilkinson 537a97c1e5 Merge branch '2.1.x'
Closes gh-16461
6 years ago
Andy Wilkinson 8a04e2cc86 Honor custom change log tables in Liquibase endpoint
Closes gh-16442
6 years ago
Stephane Nicoll bb4e559724 Let Hibernate detect the dialect to use
Closes gh-16172
6 years ago
Stephane Nicoll 5f6d8e1ead Polish 6 years ago
Stephane Nicoll 763c1a99e0 Polish 6 years ago
Phillip Webb 8aec4de399 Merge branch '2.1.x' 6 years ago
Phillip Webb 617f97f788 Fix checkstyle violation 6 years ago
Phillip Webb ddbfb2530d Update copyright header of changed files 6 years ago
Phillip Webb ad7eebee9e Merge branch '2.1.x' 6 years ago
Phillip Webb f12ab1ff90 Update copyright header of changed files 6 years ago
Phillip Webb 34fee1adfa Polish 6 years ago
Andy Wilkinson c5c53849ce Merge branch '2.1.x' 6 years ago
Andy Wilkinson e404ac39bf Upgrade to Spring Integration 5.1.4
See gh-16350
6 years ago
Andy Wilkinson efd2f685d3 Upgrade to Spring Session Bean-SR4
See gh-16357
6 years ago
Andy Wilkinson c3b5d9c363 Upgrade to Sqlite Jdbc 3.27.2
Closes gh-16440
6 years ago
Andy Wilkinson 4cf273770c Upgrade to Mockito 2.25.1
Closes gh-16439
6 years ago
Andy Wilkinson 78a15c2234 Upgrade to Mariadb 2.4.1
Closes gh-16438
6 years ago
Andy Wilkinson 3fd0c26402 Upgrade to Junit Jupiter 5.4.1
Closes gh-16437
6 years ago
Andy Wilkinson 62462c9ced Upgrade to Hibernate 5.4.2.Final
Closes gh-16436
6 years ago
Andy Wilkinson fe4d96e60b Upgrade to Elasticsearch 6.6.2
Closes gh-16435
6 years ago
Andy Wilkinson 8b195940a6 Upgrade to Assertj 3.12.2
Closes gh-16434
6 years ago
Andy Wilkinson e7261f3d3f Upgrade to Artemis 2.7.0
Closes gh-16432
6 years ago
Andy Wilkinson 7661287760 Upgrade to Thymeleaf Layout Dialect 2.4.1
Closes gh-16431
6 years ago
Andy Wilkinson 674a96e369 Upgrade to Classmate 1.5.0
Closes gh-16430
6 years ago
Andy Wilkinson ca0119950f Align with new fail-fast behaviour in Micrometer 1.1.4
Closes gh-16425
6 years ago
Stephane Nicoll 5f4bd37eb1 Merge branch '2.1.x' 6 years ago
Stephane Nicoll 3c058585bf Upgrade to Micrometer 1.1.4
Close gh-16425
6 years ago
Andy Wilkinson e3f4d4a165 Merge branch '2.1.x' 6 years ago
Andy Wilkinson 961b0307d6 Upgrade to Netty Tcnative 2.0.24.Final
Closes gh-16429
6 years ago
Andy Wilkinson 1db848af0d Upgrade to Solr 6.6.6
Closes gh-16428
6 years ago
Stephane Nicoll c5d0ebccff Merge branch '2.1.x' 6 years ago
Brian Clozel f221061d81 Avoid bean method proxying in WebMVC and WebFlux config
This commit applies changes similar to what's been done in gh-9068, for
MVC and WebFlux configurations. This is now possible thanks to the
changes done in Spring Framework in
https://github.com/spring-projects/spring-framework/pull/22596

Fixes gh-16427
6 years ago
Stephane Nicoll a90d0a224f Upgrade to Spring Batch 4.1.2
Closes gh-16423
6 years ago
Stephane Nicoll 3fb8d504c5 Upgrade to Spring Batch 4.0.3
Closes gh-16422
6 years ago
Stephane Nicoll edb5937571 Merge branch '2.1.x' 6 years ago
Johnny Lim 9fae1e5d0e Check for Reactor Netty disconnected client errors
Closes gh-16046
6 years ago
Andy Wilkinson 5c4537add9 Merge branch '2.1.x' 6 years ago
Andy Wilkinson 52ebf20cbf Merge branch '2.0.x' into 2.1.x 6 years ago
Andy Wilkinson bfe65c8a5c Merge branch '1.5.x' into 2.0.x 6 years ago
Stephane Nicoll 445870941f Upgrade to Spring Session Bean-SR4
Closes gh-16357
6 years ago
Stephane Nicoll 03762d5a96 Upgrade to Spring Session Apple-SR9
Closes gh-16356
6 years ago
Stephane Nicoll c57b4fcb04 Upgrade to Spring Integration 5.1.4
Closes gh-16350
6 years ago
Stephane Nicoll 1acc3d7161 Upgrade to Spring Integration 5.0.13
Closes gh-16349
6 years ago
Andy Wilkinson bc00ad0fc5 Merge branch '2.1.x' 6 years ago
Andy Wilkinson 7b151f2a11 Merge branch '2.0.x' into 2.1.x 6 years ago
Andy Wilkinson 49423645f7 Merge branch '1.5.x' into 2.0.x 6 years ago
Andy Wilkinson 925850f267 Upgrade to Kafka 2.2.0
Closes gh-16420
6 years ago
Andy Wilkinson 967aafedec Start building against Spring Kafka 2.3.0 snapshots
See gh-16302
6 years ago
dreis2211 03a5bb7857 Avoid using deprecated @SolrDocument#solrCoreName
Closes gh-16419
6 years ago
Phillip Webb 52e635b823 Merge branch '2.1.x' 6 years ago
Phillip Webb 912e0a87a8 Merge branch '2.0.x' into 2.1.x 6 years ago
Phillip Webb 8c2e0a61ae Merge branch '1.5.x' into 2.0.x 6 years ago
Madhura Bhave 04517495af Merge branch '2.1.x' 6 years ago
Madhura Bhave ddc52502f5 Document @MockBean behavior during context refresh
Closes gh-16333
6 years ago
Phillip Webb 2376f973f4 Merge branch '2.1.x' 6 years ago
Phillip Webb 47c6bf741d Merge branch '2.0.x' into 2.1.x 6 years ago
Phillip Webb 07c000c5b7 Merge branch '1.5.x' into 2.0.x 6 years ago
Andy Wilkinson 4e337f7466 Merge branch '2.1.x' 6 years ago
Andy Wilkinson b969d55e05 Upgrade to Spring Kafka 2.2.5
Closes gh-16351
6 years ago
Andy Wilkinson 08673c0191 Upgrade to Spring Security 5.1.5
Closes gh-16354
6 years ago
Andy Wilkinson da4a7203c7 Upgrade to Spring Security 5.0.12
Closes gh-16353
6 years ago
mmitropolitsky deaf5fa433 Replace ${sys:PID} with %pid in log4j2 configuration
Replacing property sys:PID which was set in the code with the default
log4j2 Pattern in log4j2.xml and log4j2-file.xml files.

Closes gh-16174
6 years ago
Stephane Nicoll df79808d38 Polish 6 years ago
Stephane Nicoll c4b1a22e89 Polish "Add Spring-specific styling to Gradle Plugin's documentation"
Closes gh-16327
6 years ago
Hendrig Sellik 466b57cd44 Add Spring-specific styling to Gradle Plugin's documentation
This commit replaces the default Asciidoctor styling with
Spring specific styling.

First, we need to unzip the contents of the Spring Asciidoctor
documentation resources provided by the
`io.spring.docsresources:spring-docs-resources` distribution zip. This
is done in a `/target/refdocs` folder. We then copy all files from
`src/main/asciidoc` to the same location, and then launch the generation
process.

See gh-16327
6 years ago
Stephane Nicoll 8c8a088c20 Fix zip structure of Actuator documentation
Closes gh-16326
6 years ago
Andy Wilkinson 9e7d922555 Allow processor cache to be configured to be unlimited
Closes gh-16415
6 years ago
Andy Wilkinson ea80ca2ffc Do not assume HTTP protocol when customizing processor cache
Closes gh-16413
6 years ago
Andy Wilkinson c5024f21a4 Merge branch '2.1.x' 6 years ago
Andy Wilkinson 6aa4fe579a Polish
See gh-16068
6 years ago
Stephane Nicoll 57cad53ea9 Adapt to latest API change 6 years ago
Andy Wilkinson e1a6726d76 Polish "Update CORS handling according to Framework changes"
See gh-16410
6 years ago
Sebastien Deleuze 2f9db7eec6 Update CORS handling according to Framework changes
This commit updates CORS handling according to Framework changes
introduced via [1]. It also fixes tests according to the new behavior.

See gh-16410

[1] d27b5d0ab6.
6 years ago
Andy Wilkinson 8ebe5f9983 Merge branch '2.1.x' 6 years ago
Andy Wilkinson f20d9a62ae Polish "Ensure that MongoClient's EventLoopGroup is shut down during context close"
See gh-16087
6 years ago
Dmytro Nosan ee7bed1849 Ensure that MongoClient's EventLoopGroup is shut down during context close
See gh-16087
6 years ago
Andy Wilkinson 4f42597aca Merge branch '2.1.x' 6 years ago
Andy Wilkinson 02b24b6ed3 Specify that log file endpoint's response is UTF-8 encoded
Closes gh-16189
6 years ago
Andy Wilkinson 512fbae715 Merge branch '2.1.x' 6 years ago
Andy Wilkinson 22c9364237 Only use AprLifecycleListener when native library is available
Closes gh-16040
6 years ago
Andy Wilkinson ac4d6bb10f Merge branch '2.1.x' 6 years ago
Andy Wilkinson db4623c519 Merge branch '2.0.x' into 2.1.x 6 years ago
Andy Wilkinson 7b5f46d6e3 Add Spring-Boot-* manifest attributes to jars and wars built with Gradle
Closes gh-16068
6 years ago
Andy Wilkinson 76450ec7ea Merge branch '2.1.x' 6 years ago
Andy Wilkinson d2c059f25f Upgrade to Spring AMQP 2.1.5
Closes gh-16347
6 years ago
Andy Wilkinson 336af93c7e Update to Spring AMQP 2.0.12
Closes gh-16346
6 years ago
Andy Wilkinson d33050220d Upgrade to Spring Data Lovelace-SR6
Closes gh-16360
6 years ago
Andy Wilkinson f4942b76f0 Upgrade to Spring Data Kay-SR14
Closes gh-16359
6 years ago
Madhura Bhave 8daa8c48fb Merge branch '2.1.x' 6 years ago
Madhura Bhave 768aa5dfcc Ignore exception if ValidationAdapter can't get a MessageInterpolator
Fixes gh-16177
6 years ago
Madhura Bhave c592e71449 Override missing methods in FilteredClassLoader
Closes gh-16404
6 years ago
Andy Wilkinson e74582d263 Merge branch '2.1.x' 6 years ago
Andy Wilkinson 23d237928b Merge branch '2.0.x' into 2.1.x 6 years ago
Andy Wilkinson 922ab115ab Switch custom repository to one with JDK 9-friendly SSL certification chain 6 years ago
Andy Wilkinson 2adb6b1fa4 Override version of Maven Site Plugin for JDK 9+181 compatibility
See gh-16400
6 years ago
Stephane Nicoll bd72ff5d83 Switch to snapshots 6 years ago
Stephane Nicoll 695dc8e992 Switch to snapshots 6 years ago
Stephane Nicoll 085ca0f915 Upgrade to Spring Framework 5.1.6.RELEASE
Closes gh-16340
6 years ago
Stephane Nicoll 165b9d950a Upgrade to Spring Framework 5.0.13.RELEASE
Closes gh-16339
6 years ago
Stephane Nicoll 076e327481 Polish "Complete support for customizing Tomcat's access log"
Closes gh-16039
6 years ago
Andrew McGhie f823ae488d Complete support for customizing Tomcat's access log
See gh-16039
6 years ago
Andy Wilkinson 6615e11e65 Merge branch '2.1.x' 6 years ago
Andy Wilkinson 4e734669fe Merge branch '2.0.x' into 2.1.x 6 years ago
Andy Wilkinson 7990c8ba68 Merge branch '1.5.x' into 2.0.x 6 years ago
Stephane Nicoll f4c4b1d3f0 Polish "Permit use of https for configuring Prometheus push gateway"
Closes gh-16084
6 years ago
Dmytro Nosan eed4e9ea56 Permit use of https for configuring Prometheus push gateway
See gh-16084
6 years ago
Stephane Nicoll d7d2c345c1 Merge branch '2.1.x' 6 years ago
Stephane Nicoll b894696efb Polish "Automatically detect log4j2.properties"
Closes gh-16262
6 years ago
Mohamed Rifni 2cb4403cd0 Automatically detect log4j2.properties
See gh-16262
6 years ago
Stephane Nicoll 1bc47b7e74 Polish "Add Spring-specific styling to Actuator's API documentation"
Closes gh-16326
6 years ago
Stephane Nicoll 604b0891d0 Use asciidoctor 1.5.8
This commit uses asciidoctor 1.5.8 for the time being. Once a new
version of the plugin is released, this override will be unnecessary.
6 years ago
simionAndrei 26cfbe04b2 Add Spring-specific styling to Actuator's API documentation
This commit replaces the default Asciidoctor styling with
Spring specific styling.

First, we need to unzip the contents of the Spring Asciidoctor
documentation resources provided by the
`io.spring.docsresources:spring-docs-resources` distribution zip. This
is done in a `/target/refdocs` folder. We then copy all files from
`src/main/asciidoc` to the same location, and then launch the generation
process.

See gh-16326
6 years ago
Stephane Nicoll d1507497d8 Merge branch '2.1.x' 6 years ago
Stephane Nicoll 1261c3960d Merge branch '2.0.x' into 2.1.x 6 years ago
Stephane Nicoll 28b38ddc9a Upgrade to Reactor Bom Bismuth-SR17
Closes gh-16372
6 years ago
Stephane Nicoll 4c1186cbd8 Merge branch '1.5.x' into 2.0.x 6 years ago
Stephane Nicoll 241171fcfa Merge branch '2.1.x' 6 years ago
liucheng.zhang 4d1717f18e Disable nulls serialization when serialize-nulls property is false
Closes gh-16332
6 years ago
Stephane Nicoll e80b6cfc44 Merge branch '2.1.x' 6 years ago
Stephane Nicoll 877a47f22b Upgrade to Jooq 3.11.10
Closes gh-16386
6 years ago
Stephane Nicoll e03f9e2467 Upgrade to Infinispan 9.4.11.Final
Closes gh-16385
6 years ago
Stephane Nicoll 3ae7257171 Upgrade to Hibernate 5.3.9.Final
Closes gh-16384
6 years ago
Stephane Nicoll 2af72170c6 Upgrade to Byte Buddy 1.9.12
Closes gh-16383
6 years ago
Stephane Nicoll 8ea0ecd07c Upgrade to Rxjava2 2.2.8
Closes gh-16382
6 years ago
Stephane Nicoll ab110ee39a Upgrade to Reactor Bom Californium-SR6
Closes gh-16381
6 years ago
Stephane Nicoll 59d2bc9bc6 Upgrade to Netty Tcnative 2.0.23.Final
Closes gh-16380
6 years ago
Stephane Nicoll 1d69d81f13 Upgrade to Lettuce 5.1.6.RELEASE
Closes gh-16379
6 years ago
Stephane Nicoll b4bfc4dc14 Merge branch '2.0.x' into 2.1.x 6 years ago
Stephane Nicoll 1a89087a87 Upgrade to Thymeleaf Extras Java8time 3.0.4.RELEASE
Closes gh-16378
6 years ago
Stephane Nicoll 7cff82647d Upgrade to Spring Cloud Connectors 2.0.5.RELEASE
Closes gh-16377
6 years ago
Stephane Nicoll e3e290e959 Upgrade to Quartz 2.3.1
Closes gh-16376
6 years ago
Stephane Nicoll 9ab942c54c Upgrade to Hibernate Validator 6.0.16.Final
Closes gh-16375
6 years ago
Stephane Nicoll 8c85f1a141 Upgrade to Elasticsearch 5.6.16
Closes gh-16374
6 years ago
Stephane Nicoll f7d2cc6aa7 Upgrade to Activemq 5.15.9
Closes gh-16373
6 years ago
Stephane Nicoll 49f2d1bd3e Upgrade to Netty 4.1.34.Final
Closes gh-16371
6 years ago
Stephane Nicoll ca9afa7b55 Upgrade to Micrometer 1.0.10
Closes gh-16370
6 years ago
Stephane Nicoll c88bfed669 Upgrade to Unboundid Ldapsdk 4.0.10
Closes gh-16369
6 years ago
Andy Wilkinson 5e22b421c5 Merge branch '2.1.x' 6 years ago
Andy Wilkinson 6aa78801ff Merge branch '2.0.x' into 2.1.x 6 years ago
Andy Wilkinson 21adbdef49 Upgrade to Tomcat 9.0.17
Closes gh-16367
6 years ago
Andy Wilkinson 6507d1723d Merge branch '1.5.x' into 2.0.x 6 years ago
Stephane Nicoll 270554d3cd Merge branch '2.1.x' 6 years ago
Stephane Nicoll 090f5f5397 Polish "Add error rendering support with @WebFluxTest"
Closes gh-16266
6 years ago
Ali Dehghani 53e7484d87 Add error rendering support with @WebFluxTest
See gh-16266
6 years ago
Stephane Nicoll 17a800b577 Merge branch '2.1.x' 6 years ago
Stephane Nicoll 62d9c0a8b3 Test against Gradle 5.3.1 6 years ago
Stephane Nicoll 680e2b223b Remove deprecated finalName attribute
See gh-16202
6 years ago
Stephane Nicoll cba1e8ada0 Merge branch '2.1.x' 6 years ago
Stephane Nicoll 04aadcdf2e Make sure custom finalName is ignored
A read-only plugin parameter can still be set by the user which leads
to an invalid repackaged archive. This commit actually ignores the field
and uses the standard attribute instead.

Closes gh-16202
6 years ago
Stephane Nicoll 6ab942f295 Polish 6 years ago
Stephane Nicoll 554dec1a3e Document finalName alternative for repackage goal
Closes gh-16334
6 years ago
Stephane Nicoll 465053c11e Merge branch '2.1.x' 6 years ago
Stephane Nicoll 6c3d64a2eb Test Thymeleaf auto-configuration backs off without spring integration
See gh-16341
6 years ago
Stephane Nicoll 29b1b38cc6 Migrate Thymeleaf tests to application runner 6 years ago
Andy Wilkinson ea2eaa1737 Merge branch '2.1.x' 6 years ago
Andy Wilkinson cf0811b0db Merge branch '2.0.x' into 2.1.x 6 years ago
Andy Wilkinson be32421b86 Merge branch '1.5.x' into 2.0.x 6 years ago
Johnny Lim 40d0d6b113 Polish
Closes gh-16299
6 years ago
Stephane Nicoll 89f93b28d7 Merge branch '2.1.x' 6 years ago
Krzysztof Koziol 17c0214cc6 Add missing class condition on thymeleaf-spring5
This commit adds an extra check for the presence of thymeleaf-spring5
library on the classpath. ThymeleafAutoConfiguration is now only
considered if both thymeleaf-spring5 and thymeleaf jars are present.

Closes gh-16341
6 years ago
Andy Wilkinson 24593f39f8 Polish "Use HTTPS for external links wherever possible"
See gh-16276
6 years ago
Spring Operator fb242c27d2 Use HTTPS for external links wherever possible
See gh-16276
6 years ago
Andy Wilkinson 878a635bfb Merge branch '2.1.x' 6 years ago
Andy Wilkinson 5a3474c7a8 Polish "Use HTTPS for external links wherever possible"
See gh-16320
6 years ago
Spring Operator 9fc3ac7d49 Use HTTPS for external links wherever possible
See gh-16320
6 years ago
Andy Wilkinson 864942ad4f Merge branch '2.0.x' into 2.1.x 6 years ago
Andy Wilkinson 14b21026bf Polish "Use HTTPS for external links wherever possible"
See gh-16319
6 years ago
Spring Operator 1a4c6f2dac Use HTTPS for external links wherever possible
See gh-16319
6 years ago
Andy Wilkinson ba4671f0ab Merge branch '1.5.x' into 2.0.x 6 years ago
Stephane Nicoll 3e3353e0e9 Merge branch '2.1.x' 6 years ago
Stephane Nicoll f417fa5c5b Add jaxb API to jersey starter
Closes gh-16268
6 years ago
Stephane Nicoll e57c0c0657 Do not attempt to add Jaxb customization if Jaxb is not present
See gh-16268
6 years ago
Stephane Nicoll bece962711 Merge branch '2.1.x' 6 years ago
Stephane Nicoll c2f9e7dd43 Fix StreamsBuilderFactoryBean injection definition
Closes gh-16329
6 years ago
Johnny Lim 038e213343 Restore setExtractBareNamePropertyMethods() for AssertJ
Closes gh-16325
6 years ago
Andy Wilkinson 4900505425 Merge branch '2.0.x' into 2.1.x 6 years ago
Spring Operator a5dba01cb9 Use HTTPS for external links from XML files where possible
See gh-16314
6 years ago
Andy Wilkinson fedb40a2bf Merge branch '1.5.x' into 2.0.x 6 years ago
Madhura Bhave 5bd2b349bc Merge branch '2.1.x' 6 years ago
Madhura Bhave 91c1fc3d97 Ignore unbound collection properties if collection bound
As of Spring Boot 2.0, if Collection properties are specified in
multiple property sources, only the elements from the property source
with the highest precedence are used for binding. This caused an
`UnboundConfigurationPropertiesException` if the size of the collection
from the higher order property source was smaller and `ignoreUnknownFields`
was set to true.

This commit ignores unbound collection properties if the
collection was properly bound.

Fixes gh-16290
6 years ago
Madhura Bhave 95d10388dd Merge branch '2.1.x' 6 years ago
Madhura Bhave 0c2e71cd08 Prevent early initialization of factory beans in text context customizers
Until Spring Framework 5.1.15, a FactoryBean with a non-default constructor
defined via component scanning would cause an error. This behavior has changed
as of https://github.com/spring-projects/spring-framework/issues/22409.
Regardless of this change we want to ensure that we avoid triggering eager
initialisation. `SimpleFactoryBean` has been written this way so that the tests
fail if early initialization is triggered regardless of the Spring Framework version.

Fixes gh-15898
6 years ago
Stephane Nicoll dec5a8cc7e Merge branch '2.1.x' 6 years ago
Stephane Nicoll 567a82f4ba Update multi release test jar to include Java 12
See gh-16212
6 years ago
Stephane Nicoll b055410ab4 Fix outdated tests
Closes gh-16298
6 years ago
Valery_Yalauchuk c880e10c41 Fix LogFile conditions to check for exposure as well
Closes gh-16298
6 years ago
Stephane Nicoll 76ca467d92 Merge branch '2.1.x' 6 years ago
Stephane Nicoll bd2cc6f48b Add missing condition on LogFile endpoint
See gh-16298
6 years ago
Stephane Nicoll 90160b16aa Merge branch '2.1.x' 6 years ago
dreis2211 c2335e130c Test against Gradle 5.3
Closes gh-16294
6 years ago
Stephane Nicoll 197e1669e2 Polish 6 years ago
Madhura Bhave 2225b36299 Merge branch '2.1.x' 6 years ago
Madhura Bhave 1ad52b651a Document using the same port for the management server on CF
Closes gh-15640
6 years ago
Stephane Nicoll 3125f424ce Add metadata support for immutable ConfigurationProperties type
Closes gh-16071
6 years ago
Madhura Bhave 8f693a0277 Add support for configuration properties scanning
See gh-12602
6 years ago
Brian Clozel 711169aa8a Adapt tests after Servlet.fn added to Spring Framework
Since Servlet.fn support has been added in Spring Framework, new
infrastructure beans (like `HandlerAdapter` and `HandlerMapping`) have
been added.

This commit adapts the Spring MVC auto-configuration tests to reflect
those changes.
6 years ago
Stephane Nicoll 6e9e5e5a8b Ignore duplicate "about.html" in Jetty HTTP client
Closes gh-16272
6 years ago
Madhura Bhave 0d136f0573 Merge branch '2.1.x' 6 years ago
Madhura Bhave 0a54fb73fa Remove redundant include from WebFluxTypeExcludeFilter
For webflux, security configuration is configured via a bean of type
`SecurityWebFilterChain` and not `ServerHttpSecurity`. We would have changed
the include to be `SecurityWebFilterChain` but the filter only applies to
beans registered via component scanning and not those registered in
`@Configuration` classes, making the includes redundant.

See gh-16088
6 years ago
Madhura Bhave 8f0850a69c Merge branch '2.1.x' 6 years ago
Madhura Bhave 6bd6279eff Document slice test behavior with @Configuration classes
Closes gh-16274
6 years ago
Andy Wilkinson 41967fc629 Correct the URI used for the properties DTD
See gh-16270
6 years ago
Andy Wilkinson 36c1c051b8 Merge branch '2.1.x' 6 years ago
Andy Wilkinson e23f72c8b0 Merge branch '2.0.x' into 2.1.x 6 years ago
Andy Wilkinson 9fbd38ab3c Merge branch '1.5.x' into 2.0.x 6 years ago
Stephane Nicoll 1aaab7ecc3 Upgrade to Solr 8.0.0
Closes gh-16272
6 years ago
Stephane Nicoll 82c434d581 Upgrade to Solr 7.7.1
Closes gh-16273
6 years ago
Spring Operator 00ab30362c Use HTTPS for external links in XML files
See gh-16270
6 years ago
dreis2211 dda0b3e2a1 Remove explicit types
Closes gh-16265
6 years ago
Madhura Bhave dd70c96ead Merge branch '2.1.x' 6 years ago
Madhura Bhave 0c52c3fc55 Clarify ambiguous documentation in default security section
Closes gh-16033
6 years ago
Madhura Bhave 448115609c Merge branch '2.1.x' 6 years ago
Madhura Bhave 4a230fdec9 Document AssertJ's satisfies with extractingJsonPathNumberValue
Closes gh-16229
6 years ago
Andy Wilkinson b828b398b5 Merge branch '2.1.x' 6 years ago
Spring Operator b32c0080c3 Update build and setup configuration to use HTTPS
See gh-16247
6 years ago
Andy Wilkinson a36aa67b52 Merge branch '2.0.x' into 2.1.x 6 years ago
Spring Operator 3e2b6ac8ed Update build and setup configuration to use HTTPS
See gh-16246
6 years ago
Andy Wilkinson daba01ab94 Merge branch '2.1.x' 6 years ago
Andy Wilkinson 716b4e8acf Test the Gradle plugin against Gradle 5.3-rc-3
Closes gh-16211
6 years ago
Madhura Bhave 0611eb49c8 Merge branch '2.1.x' 6 years ago
Madhura Bhave 7ea8770524 Polish "Fix request factory used with withBasicAuth"
Fixes gh-15982
6 years ago
Dmytro Nosan 756bd890eb Fix request factory used with TestRestTemplate withBasicAuth
This commit updates the behavior of withBasicAuth on TestRestTemplate
by trying to use the same request factory type as the underlying restTemplate.
If creation of a new instance of the configured request factory class fails,
it falls back to the `ClientHttpRequestFactorySupplier`.

See gh-15982
6 years ago
Mohamed Rifni e3269a7e9b Switch FaviconRequestHandler visibility to package private
Closes gh-16250
6 years ago
Stephane Nicoll 09ad80b3d9 Merge branch '2.1.x' 6 years ago
Stephane Nicoll 372802a203 Polish "Order the search locations in javadoc by precedence order"
Closes gh-16099
6 years ago
Muhammad Hewedy 4bac6c6688 Order the search locations in javadoc by precedence order
See gh-16099
6 years ago
Stephane Nicoll d625025051 Polish "Add default no-op method to SpringApplicationRunListener"
Closes gh-16104
6 years ago
ayudovin 997f07d13f Add default no-op method to SpringApplicationRunListener
See gh-16104
6 years ago
Madhura Bhave 3d0219c315 Merge branch '2.1.x' 6 years ago
Johnny Lim c5b5f752ed Polish
Closes gh-16219
6 years ago
Madhura Bhave 1893eeef4f Merge branch '2.1.x' 6 years ago
Dmytro Nosan 2f3e5d65be Test server port shouldn't affect management port when random
Closes gh-16108
6 years ago
Stephane Nicoll adaa49c0df Polish
See gh-8762
6 years ago
Stephane Nicoll 19cc584530 Polish "Update Kotlin documentation"
Closes gh-16235
6 years ago
Sebastien Deleuze e8ed128850 Update Kotlin documentation
This commit updates Kotlin reference documentation according to
latest features like immutable `@ConfigurationProperties` and
Kotlin BOM support.

See gh-16235
6 years ago
Stephane Nicoll c115ee1550 Fix build failure 6 years ago
Stephane Nicoll 0e0ea7f00a Fix checkstyle violation 6 years ago
Stephane Nicoll d2164a1ca3 Document constructor binding
Closes gh-8762
6 years ago
Stephane Nicoll de21d71e20 Remove support of `@Autowired` for configuration properties bean
See gh-8762
6 years ago
Stephane Nicoll fcdc414646 Remove use of `@Autowired` for configuration properties bean
See gh-8762
6 years ago
dreis2211 b39b990a72 Use isEmpty() where possible
Closes gh-16225
6 years ago
Madhura Bhave 223f2be7d2 Inject InfoContributors instead of exposing them on InfoEndpoint
Closes gh-13586
6 years ago
Madhura Bhave 2cdc93cf19 Make TestRestTemplate withBasicAuth fault tolerant
It's part of TestRestTemplate's contract that it's fault tolerant. This
commit aligns the behavior of `withBasicAuth` with that expectation.

Closes gh-15780
6 years ago
Andy Wilkinson 0872eb0dd9 Remove use of ReflectionUtils.doWithMethods from ConfigurationBeanFactoryMetadata
Closes gh-16220
6 years ago
Stephane Nicoll 4d73211c3a Polish "Check for multiple processors in OnClassCondition"
Closes gh-16115
6 years ago
Jan Thewes a96a79ea45 Check for multiple processors in OnClassCondition
See gh-16115
6 years ago
Stephane Nicoll 9da20b7e52 Merge branch '2.1.x' 6 years ago
Ruslan Stelmachenko fcde648c50 Fix typo in logging.group property description
Closes gh-16224
6 years ago
Andy Wilkinson ae3ea186e2 Align test with change to exception in latest Framework snapshots 6 years ago
Brian Clozel 5a66dc8c6e Merge branch '2.1.x' 6 years ago
Brian Clozel 9906ef2400 Merge branch '2.0.x' into 2.1.x 6 years ago
Brian Clozel 8866a25ef7 Polish Undertow tests 6 years ago
Brian Clozel 6138041578 Polish
Fixes gh-16014
6 years ago
Johnny Lim a6ccdbe19f Handle missing exceptions in WebMvcMetricsFilter
Prior to this commit, exceptions nested in
`NestedServletExceptions` would not be recorded by the
`WebMvcMetricsFilter`. This commit ensures that exceptions
happening downstream (e.g. happening while writing the response
body itself) are properly recorded.

See https://github.com/micrometer-metrics/micrometer/issues/1190
See gh-16014
6 years ago
Stephane Nicoll 2b4845b335 Add dependency needed by javadoc generation on JDK 11 6 years ago
Stephane Nicoll 81def1f21d Polish 6 years ago
Madhura Bhave e8cb75bba8 Enable git remote linking automatically on CF
Closes gh-13586
6 years ago
Stephane Nicoll b2290107db Polish "Trim trailing whitespace from spring.server.servlet.context-path"
Closes gh-16165
6 years ago
Mohamed Rifni bde2f850b2 Trim trailing whitespace from spring.server.servlet.context-path
See gh-16165
6 years ago
Stephane Nicoll 347daf69fb Merge branch '2.1.x' 6 years ago
Stephane Nicoll 765801983b Polish "Fix typo in spring-boot-features.adoc"
Closes gh-16213
6 years ago
Orangeroad0922 47169436ed Fix typo in spring-boot-features.adoc
See gh-16213
6 years ago
Andy Wilkinson 39971bbbd3 Add dependency needed by javadoc generation on JDK 11 6 years ago
Andy Wilkinson 68bfb020aa Reduce need for bean method proxying and disable where not needed
Closes gh-9068
6 years ago
Stephane Nicoll 0f71f22f3c Polish 6 years ago
Stephane Nicoll 628e44187f Merge branch '2.1.x' 6 years ago
Stephane Nicoll f07de1bbe2 Polish "Update ambiguous documentation about ConfigurationProperties"
Closes gh-16166
6 years ago
Viktoriya Kutsarova 6b6ac28430 Update ambiguous documentation about ConfigurationProperties
See gh-16166
6 years ago
Stephane Nicoll a44a55e948 Merge branch '2.1.x' 6 years ago
Stephane Nicoll 161c0b9fad Polish contribution
Closes gh-16170
6 years ago
ayudovin 51013421f2 Add support for Mustache, FreeMarker and Thymeleaf in WebFluxTest
See gh-16170
6 years ago
Stephane Nicoll 078bd890a6 Merge branch '2.0.x' into 2.1.x 6 years ago
Andy Wilkinson 28cf63354a Merge pull request #16106 from Spring Operator
* gh-16106:
  Drop AnyEdit from Eclipse setup as it is not available over HTTPS
  Update build and setup configuration to use HTTPS

Closes gh-16106
6 years ago
Stephane Nicoll 50d0b4df46 Polish 6 years ago
Spring Operator c9c554b834 Update build and setup configuration to use HTTPS
See gh-16106
6 years ago
Stephane Nicoll 3831aeeb39 Merge branch '2.1.x' 6 years ago
Johnny Lim 00bda4dc2a Add dependency management for micrometer-registry-stackdriver
Closes gh-16178
6 years ago
Stephane Nicoll 8ff0a9c5a9 Merge branch '2.1.x' 6 years ago
Johnny Lim bcfbabe6cd Polish
Closes gh-16193
6 years ago
Andy Wilkinson 4b98fa7d94 Alias proxyBeanMethods on annotations meta-annotated with @Configuration
Closes gh-16201
6 years ago
Phillip Webb 50425bd441 Rollback to Maven Invoker 3.1.0
Closes gh-16205
6 years ago
Phillip Webb 64a2e8d67f Update copyright year for changed files 6 years ago
Phillip Webb dd3e8154d9 Merge branch '2.1.x' 6 years ago
Phillip Webb fc3aa43cc2 Update copyright year for changed files 6 years ago
Phillip Webb f02887b6c6 Merge branch '2.0.x' into 2.1.x 6 years ago
Phillip Webb 9c3af103e0 Fix ScheduledTasksEndpointAutoConfigurationTests
Update the `CustomEndpointConfiguration` class in
`ScheduledTasksEndpointAutoConfigurationTests` to be package private
so that it can be enhanced by cglib.

Prior to merge commit 361437f4 the class was a lite configuration so
it didn't matter that it was a private class.
6 years ago
Phillip Webb ccfe20d3d3 Merge branch '2.1.x' 6 years ago
Phillip Webb 45ae97a4e9 Merge branch '2.0.x' into 2.1.x 6 years ago
Phillip Webb 03beed603c Fix ScheduledTasksEndpointTests BaseConfiguration
Update the `BaseConfiguration` class in `ScheduledTasksEndpointTests`
to be package private so that it can be enhanced by cglib.

Prior to merge commit 361437f4 the class was a lite configuration so
it didn't matter that it was a private class.
6 years ago
Madhura Bhave d92c2f7023 DefaultProperties profiles shouldn't take precedence over config files
Fixes gh-15445
6 years ago
Andy Wilkinson 404f5d33f3 Align Gradle plugin's tests with Kotlin 1.3's restructuring
See gh-16195
6 years ago
Stephane Nicoll fed145e195 Replace manual dependency management by Kotlin's bom
Closes gh-9486
6 years ago
Andy Wilkinson aa2008bc5a Merge branch '2.1.x' 6 years ago
Andy Wilkinson f0ef693376 Merge branch '2.0.x' into 2.1.x 6 years ago
Andy Wilkinson c2eeeb032c Work around javac bug 6 years ago
Stephane Nicoll 09d51089ba Polish 6 years ago
Stephane Nicoll fd0a11b7a7 Reuse Kotlin parameter names if possible
This commit detects a Kotlin constructor so that it is not required to
transmit the parameter names information to the Java side.

See gh-8762
6 years ago
Andy Wilkinson 8c3cec8f13 Merge branch '2.0.x' into 2.1.x 6 years ago
Andy Wilkinson 361437f4e2 Merge branch '1.5.x' into 2.0.x 6 years ago
Stephane Nicoll b34b217d1e Upgrade to Kotlin 1.3.21
Closes gh-16195
6 years ago
Stephane Nicoll 341859b5fe Start building against Spring Framework 5.2 snapshots
See gh-16173
6 years ago
Stephane Nicoll c30f9815c1 Fix detection of Autowired constructor with Kotlin
Previously, the import selector wrongly assumed that we should not
use constructor injection with Kotlin. Rather than looking up for the
primary constructor, we retrieve available constructors on the Java
counter-part.

This commit applies the same logic as in the constructor parameter
binder and checks for the primary constructor for Kotlin types.

See gh-8762
6 years ago
Andy Wilkinson 7675802338 Merge branch '2.1.x' 6 years ago
Andy Wilkinson f574213cc8 Mark log file endpoint as producing text/plain
Closes gh-16188
6 years ago
Andy Wilkinson 7d0317419d Polish 6 years ago
Andy Wilkinson 89bb973745 Merge branch '2.1.x' 6 years ago
Andy Wilkinson 7153525ee2 Annotation @JsonTest with @ExtendWith(SpringExtension.class)
Closes gh-16183
6 years ago
Stephane Nicoll d07a6ff0bb Fix binding of bean with no bean definition
See gh-16180
6 years ago
Andy Wilkinson f5eb853f26 Update web starter to depend on validator starter
Previously, the web starter declared direct dependencies on Hibernate Validator
and the Jakarta EE validation API. This meant that it required two exclusions to
exclude validation from a web application that did not need it.

This commit updates the web starter to get its validation dependencies via a
dependency on the validation starter. This allows validation to be excluded
using a single exclusion. The EL dependency from the validation starter has
been excluded to allow the EL implementation from the underlying container
starter (Tomcat, Jetty, or Undertow) to continue to be used instead.

Closes gh-16176
6 years ago
Stephane Nicoll 430571b37b Perform binding at creation time if possible
Previously, environment binding always happened in a post processor once
the bean has been created. Constructor binding requires to perform the
binding at creating time so this commit performs binding at creation
time if possible.

When this happens, a special `ConfigurationPropertiesBeanDefinition` is
created with a supplier that invokes the binder. To avoid a case where
a bean is processed twice, the post-processor now ignores any bean that
has already been bound to the environment.

Closes gh-8762

Co-authored-by: Madhura Bhave <mbhave@pivotal.io>
6 years ago
Madhura Bhave 7ca589d43c Add constructor based binding support
See gh-8762

Co-authored-by: Stephane Nicoll <snicoll@pivotal.io>
6 years ago
Andy Wilkinson 2bd3d19bee Ensure that DevTools' beans use eager init even when app is lazy
Closes gh-15870
6 years ago
Andy Wilkinson 1431a0f585 Upgrade to Spring Data Moore-M2
Closes gh-15197
6 years ago
Brian Clozel 8325fce53e Fix formatting 6 years ago
Brian Clozel 6586bae889 Guard Endpoint bean declarations with ConditionalOnExposedEndpoint
This commit adds the newly introduced `@ConditionalOnExposedEndpoint`
conditional annotation to all auto-configured `Endpoint` in Actuator.

With that change, `EndPoint` instances and related infrastructure will
only be created when they are meant to be exposed and used. This will
save CPU and memory resources when Actuator is present.

Closes gh-16093
6 years ago
Brian Clozel 4ffbe6c9e8 Add @ConditionalOnExposedEndpoint condition
Prior to this commit, Actuator `Endpoint` instantiations would be
guarded by `@ConditionalOnEnabledEnpoint` condition annotations. This
feature saves resources as disabled endpoints aren't unnecessarily
instantiated.

By default, only `"health"` and `"info"` endpoints are exposed over the
web and all endpoints are exposed over JMX.

As of gh-16090, JMX is now disabled by default. This is an opportunity
to avoid instantiating endpoints if they won't be exposed at all, which
is more likely due to the exposure defaults.

This commit adds a new `@ConditionalOnExposedEndpoint` conditional
annotation that checks the `Environment` for configuration properties
under `"management.endpoints.web.exposure.*"` and
`"management.endpoints.jmx.exposure.*"`. In the case of JMX, an
additional check is perfomed, checking that JMX is enabled first.
The rules implemented in the condition itself are following the ones
described in `ExposeExcludePropertyEndpointFilter`.

See gh-16093
6 years ago
Andy Wilkinson b8dff5fe17 Merge branch '2.1.x' 6 years ago
Andy Wilkinson 9d06d22b99 Merge branch '2.0.x' into 2.1.x 6 years ago
Andy Wilkinson affdbeef41 Polish 6 years ago
Andy Wilkinson e1a7f1e085 Upgrade to Cassandra Driver 3.7.1
Closes gh-16163
6 years ago
Andy Wilkinson c4756e9057 Merge branch '2.1.x' 6 years ago
Andy Wilkinson f46894dfd3 Merge branch '2.0.x' into 2.1.x 6 years ago
Andy Wilkinson 17a1b2822c Isolate LoggerContext state to each test
Closes gh-16162
6 years ago
Andy Wilkinson 3f3966adb0 Merge branch '2.1.x' 6 years ago
Andy Wilkinson 9963ed1249 Merge branch '2.0.x' into 2.1.x 6 years ago
Andy Wilkinson 83216c34e5 Merge branch '1.5.x' into 2.0.x 6 years ago
Andy Wilkinson 7c58d72734 Upgrade to Mongo Driver Reactivestreams 1.11.0
Closes gh-16159
6 years ago
Andy Wilkinson 36cbd00853 Disable AssertJ's bare-named property accessor discovery
AssertJ includes a change in 3.12 that means that, by default, it now incorrectly
identifies some of the builder methods on CacheControl as accessor methods for its fields.
This commit restores the behaviour of 3.11 so that a method is only considered to be a
property accessor if a matches the Java bean naming conventions.

Closes gh-16145
6 years ago
Andy Wilkinson e667911f91 Merge branch '2.1.x' 6 years ago
Andy Wilkinson 80f2e2260e Merge branch '2.0.x' into 2.1.x 6 years ago
Andy Wilkinson e56580ddc6 Merge branch '1.5.x' into 2.0.x 6 years ago
Andy Wilkinson 87d696d697 Align with breaking API change in AssertJ 3.12
Closes gh-16145
6 years ago
Andy Wilkinson c2e9f98655 Upgrade to Spring Plugin 2.0.0.M1
Closes gh-15940
6 years ago
Andy Wilkinson 7c568bb277 Upgrade to Spring HATEOAS 1.0.0.M1
Closes gh-15939
6 years ago
Andy Wilkinson c6811d6427 Upgrade to Maven Javadoc Plugin 3.1.0
Closes gh-16157
6 years ago
Andy Wilkinson 12c1271bcb Upgrade to Maven Invoker Plugin 3.2.0
Closes gh-16156
6 years ago
Andy Wilkinson 970f9abc9c Upgrade to Snakeyaml 1.24
Closes gh-16155
6 years ago
Andy Wilkinson 85f42df77f Upgrade to Webjars Locator Core 0.37
Closes gh-16154
6 years ago
Andy Wilkinson 3635885058 Upgrade to Selenium Htmlunit 2.34.0
Closes gh-16153
6 years ago