Commit Graph

5663 Commits (892e517c217908cff902419124be79353386559c)

Author SHA1 Message Date
Stephane Nicoll 3324125088 Upgrade to Spring Kafka 2.2.6
Closes gh-16751
6 years ago
Stephane Nicoll 8c77bf85f2 Upgrade to Spring AMQP 2.1.6
Closes gh-16753
6 years ago
Stephane Nicoll 2c1a3548b6 Upgrade to Spring Integration 5.2.0.M2
Closes gh-16750
6 years ago
Stephane Nicoll fe33b25e5f Upgrade to Spring Integration 5.2.0.M2
Closes gh-16750
6 years ago
Stephane Nicoll aaf8247a8f Upgrade to Spring Kafka 2.3.0.M2
Closes gh-16752
6 years ago
Stephane Nicoll e02cdad0c3 Upgrade to Spring AMQP 2.2.0.M2
Closes gh-16754
6 years ago
Brian Clozel e8d39a1539 Add support for CBOR codecs in RSocket
This commit auto-configures CBOR (see https://cbor.io/) codecs in the
RSocketStrategies, using Jackson binary format support.

The required dependency is added to the rsocket starter. Binary codecs
are well suited for RSocket payloads, so this codec is added first to
the list of codecs (before the JSON one already supported).

Closes gh-16830
6 years ago
Brian Clozel 08cb8368ef Delete Devtools cache reset support for HATEOAS
As of spring-projects/spring-hateoas#854, Spring HATEOAS is not relying
on Objenesis anymore and removed the cache that was being used for it.

This commit removes the support for clearing that cache when running an
application with Devtools enabled.

See gh-16833
6 years ago
Stephane Nicoll f408c6efa4 Upgrade to Spring Data Moore-M4
Closes gh-16574
6 years ago
Stephane Nicoll 2e4d686054 Upgrade to Spring HATEOAS 1.0.0.M2
Closes gh-16833
6 years ago
Stephane Nicoll 019ec62a9c Upgrade to Mongodb 3.11.0-beta3
Closes gh-16798
6 years ago
Stephane Nicoll 1c3a91883d Remove reference to spring.datasource.jmx-enabled
This commits moves the single use of that property to the already
existing Tomcat-specific one.

Closes gh-16673
6 years ago
Brian Clozel 22ae160faa Upgrade to Spring-Doc-Resources 0.1.2.RELEASE
Closes gh-16690
6 years ago
Brian Clozel 20dfeddbb3 Auto-configure RSocketRequester.Builder
This commit auto-configures a prototype `RSocketRequester.Builder` bean
for building requester instances. This builder is pre-configured with
auto-detected `RSocketStrategies` (same as the server side).

Closes gh-16280
6 years ago
Stephane Nicoll 6544d19fbf Merge branch '2.1.x' 6 years ago
Stephane Nicoll 4c1ef630c9 Restore lazy evaluation of project/build/finalName
This commit restores the read-only `finalName` so that its value can
be lazily resolved against `${project.build.finalName}`.

While doing the evaluation ourselves and not relying on a dedicated
field at all would have been better, the evaluation increased the
number of required dependencies for no good reason.

IDEs should not offer auto-completion for that read-only field and it
is not published in the generated site either.

Closes gh-16456
6 years ago
Brian Clozel 9f2995af6f Migrate from deprecated Jetty's SslContextFactory
Closes gh-16827
6 years ago
Brian Clozel 2e504b4c3c Migrate from NCSARequestLog to CustomRequestLog
Closes gh-16416
6 years ago
Madhura Bhave f1786c357b Revert "Disable ConfigurationProperties scanning for slice tests"
This reverts commit 3b4ff7d746.
The commit caused the build to fail because it disabled
`@ConfigurationPropertiesScan` completely in slice tests. It
did not take into account components that were explicitly included
in slice tests using the `components` attribute. Since `@ConfigurationPropertiesScan`
replaces `@Component` and `@EnableConfigurationProperties`, these components
are no longer registered even though explicitly included.
6 years ago
Madhura Bhave 3b4ff7d746 Disable ConfigurationProperties scanning for slice tests
Closes gh-16659
6 years ago
Brian Clozel 930186e505 Merge branch '2.1.x' 6 years ago
Marcus Eisele 94a9748ce0 Fix 'spring.resources.cache.period' for WebMvc
Before this change it got overwritten by forwarding an empty
CacheControl to Spring. Spring itself sets CacheSeconds already
correctly in absence (=null) of a CacheControl.

Also:
* Fixes bug in WebMvcAutoConfigurationTests.cachePeriod which
prevented it to assert anything

See gh-16488
Closes gh-16730
6 years ago
Brian Clozel 0b4934d140 Fix DefaultErrorWebExceptionHandler test 6 years ago
Stephane Nicoll c4024d8b45 Upgrade to Spring Data Lovelace-SR7
Closes gh-16724
6 years ago
Brian Clozel d9ac3031c5 Remove Synchronoss nio-multipart from WebFlux starter
Closes gh-16817
6 years ago
Andy Wilkinson 552345fcd1 Disable more @Bean method proxying
Previously, due to a quirk in Spring Framework, it was necessary to use bean method
proxying in @Configuration classes that define one or more FactoryBeans. This quirk has
now been addressed so this commit disables bean method proxying where it is now no longer
needed.

Closes gh-16533
6 years ago
Stephane Nicoll c85c653e57 Polish "Add negative tests to ConfigurationPropertiesScanTests"
Closes gh-16758
6 years ago
Johnny Lim d44ffd3534 Add negative tests to ConfigurationPropertiesScanTests
See gh-16758
6 years ago
Stephane Nicoll 75eb0ef91d Upgrade to Mongodb 3.11.0-beta2
Closes gh-16798
6 years ago
Stephane Nicoll c4ecefe090 Upgrade to Spring Framework 5.2.0.M2
Closes gh-16589
6 years ago
Stephane Nicoll 6f70ad9c1c Upgrade to Spring Framework 5.1.7
Closes gh-16812
6 years ago
Gary Russell ef39ff8988 Start building against Spring Kafka 2.3.0.M2 snapshots
See gh-16739
See gh-16752
6 years ago
Andy Wilkinson 5514192672 Merge branch '2.1.x'
Closes gh-16809
6 years ago
Andy Wilkinson 96f3a482f0 Polish "Enable minIdle by allowing timeBetweenEviction runs to be configured"
See gh-16703
6 years ago
Gemini Kim 1659d46028 Enable minIdle by allowing timeBetweenEviction runs to be configured
See gh-16703
6 years ago
Andy Wilkinson bf294a762a Polish 6 years ago
Johnny Lim a56867da27 Consistent use of PropertyMapper::asInt
See gh-16738
6 years ago
Johnny Lim 1548fb655c Polish FlywayProperties
See gh-16737
6 years ago
Andy Wilkinson ece87cc4cc Polish "Provide control over how a Cassandra Cluster is created"
See gh-16702
6 years ago
Steffen Folman Qvistgaard 5daf310bf4 Provide control over how a Cassandra Cluster is created
See gh-16702
6 years ago
Stephane Nicoll 81af0f2fa6 Explicitly include JUnit 4 in test starter
Closes gh-16807
6 years ago
Andy Wilkinson ef11af8676 Polish "Remove unnecessary latches in tests"
Closes gh-16733
6 years ago
Johnny Lim 0baceb4aa4 Remove unnecessary latches in tests
See gh-16733
6 years ago
Johnny Lim 7c8bf48ebb Polish DevToolsEnablementDeducer and OnEnabledDevToolsCondition
See gh-16732
6 years ago
Andy Wilkinson ca51609cdf Align mock with Selenium HtmlUnit's new behaviour
See gh-16801
6 years ago
Stephane Nicoll 73764451eb Upgrade to Maven Help Plugin 3.2.0
Closes gh-16804
6 years ago
Stephane Nicoll 42e527d12b Upgrade to Maven Failsafe Plugin 2.22.2
Closes gh-16803
6 years ago
Stephane Nicoll c8731cfa7a Upgrade to Maven Compiler Plugin 3.8.1
Closes gh-16802
6 years ago
Stephane Nicoll 78e7dfe1a7 Upgrade to Selenium Htmlunit 2.35.1
Closes gh-16801
6 years ago
Stephane Nicoll a939687842 Upgrade to Lombok 1.18.8
Closes gh-16800
6 years ago
Stephane Nicoll 74be154932 Upgrade to Jetty El 8.5.40
Closes gh-16799
6 years ago
Stephane Nicoll 74baf35138 Upgrade to Mongodb 3.11.0-beta3
Closes gh-16798
6 years ago
Stephane Nicoll ba1951c1b5 Upgrade to Mockito 2.27.0
Closes gh-16797
6 years ago
Stephane Nicoll 387bdc572e Upgrade to Jolokia 1.6.1
Closes gh-16796
6 years ago
Stephane Nicoll adbfaf0b92 Upgrade to Kotlin 1.3.31
Closes gh-16795
6 years ago
Stephane Nicoll f48b4af180 Upgrade to Infinispan 9.4.13.Final
Closes gh-16794
6 years ago
Stephane Nicoll 928f406c6b Upgrade to Elasticsearch 6.7.2
Closes gh-16793
6 years ago
Stephane Nicoll 07c702e406 Upgrade to Ehcache3 3.7.1
Closes gh-16792
6 years ago
Stephane Nicoll a456b6e861 Upgrade to Jetty 9.4.18.v20190429
Closes gh-16791
6 years ago
Stephane Nicoll 6784831488 Upgrade to Commons Pool2 2.6.2
Closes gh-16790
6 years ago
Stephane Nicoll 6586db3509 Upgrade to Commons Lang3 3.9
Closes gh-16789
6 years ago
Stephane Nicoll 80c073b884 Upgrade to Artemis 2.8.0
Closes gh-16788
6 years ago
Stephane Nicoll b6001f8ec2 Upgrade to Htmlunit 2.35.0
Closes gh-16787
6 years ago
Stephane Nicoll 826610b760 Upgrade to Mysql 8.0.16
Closes gh-16786
6 years ago
Stephane Nicoll 9f769dd561 Upgrade to Jaxen 1.2.0
Closes gh-16785
6 years ago
Stephane Nicoll 636a7f64db Upgrade to Rsocket 0.12.2-RC2
Closes gh-16784
6 years ago
Stephane Nicoll 5626f57936 Upgrade to Netty Tcnative 2.0.25.Final
Closes gh-16783
6 years ago
Stephane Nicoll a2d1debbad Upgrade to Netty 4.1.36.Final
Closes gh-16782
6 years ago
Stephane Nicoll a407434e8a Upgrade to Appengine Sdk 1.9.74
Closes gh-16781
6 years ago
Stephane Nicoll 7c92af003c Upgrade to Reactor Californium-SR8
Closes gh-16723
6 years ago
Stephane Nicoll c7141fbe9e Upgrade to Maven Failsafe Plugin 2.22.2
Closes gh-16780
6 years ago
Stephane Nicoll 3f82b3327c Upgrade to Maven Compiler Plugin 3.8.1
Closes gh-16779
6 years ago
Stephane Nicoll b1f6a021ef Upgrade to Lombok 1.18.8
Closes gh-16778
6 years ago
Stephane Nicoll f2ea63d613 Upgrade to Neo4j Ogm 3.1.9
Closes gh-16777
6 years ago
Stephane Nicoll 73007757ec Upgrade to Jetty El 8.5.40
Closes gh-16776
6 years ago
Stephane Nicoll 9629671a0a Upgrade to Jooq 3.11.11
Closes gh-16775
6 years ago
Stephane Nicoll 6aeba7fcde Upgrade to Jolokia 1.6.1
Closes gh-16774
6 years ago
Stephane Nicoll 4c92d88e60 Upgrade to Infinispan 9.4.13.Final
Closes gh-16773
6 years ago
Stephane Nicoll 25cb7ce814 Upgrade to Hibernate 5.3.10.Final
Closes gh-16772
6 years ago
Stephane Nicoll a187376d54 Upgrade to Jetty 9.4.18.v20190429
Closes gh-16771
6 years ago
Stephane Nicoll 136ca881cb Upgrade to Aspectj 1.9.3
Closes gh-16770
6 years ago
Stephane Nicoll 3a5b5d13ff Upgrade to Commons Pool2 2.6.2
Closes gh-16769
6 years ago
Stephane Nicoll 81c2b1380b Upgrade to Mysql 8.0.16
Closes gh-16768
6 years ago
Stephane Nicoll 5d2e0b910b Upgrade to Undertow 2.0.20.Final
Closes gh-16767
6 years ago
Stephane Nicoll cd5ad2201c Upgrade to Netty Tcnative 2.0.25.Final
Closes gh-16766
6 years ago
Stephane Nicoll 46bdfdd325 Upgrade to Netty 4.1.36.Final
Closes gh-16765
6 years ago
Stephane Nicoll a0ca84d72c Upgrade to Hazelcast 3.11.3
Closes gh-16764
6 years ago
Stephane Nicoll 2e67b96f6e Upgrade to Appengine Sdk 1.9.74
Closes gh-16763
6 years ago
Stephane Nicoll c9d4ddd911 Upgrade to Reactor Dysprosium-M1
Closes gh-16595
6 years ago
Stephane Nicoll b6911799b8 Upgrade to Reactor Californium-SR7
Closes gh-16723
6 years ago
Stephane Nicoll 1de6f68238 Document that JUnit 5 is the default
See gh-14736
6 years ago
Madhura Bhave 684a1c7a3c Migrate tests to JUnit5 testcontainer extensions
Closes gh-15456
6 years ago
Madhura Bhave 1db1c8b03c Validate our own tests work with JUnit5 and the vintage engine
Closes gh-14737

Co-authored-by: Stephane Nicoll <snicoll@pivotal.io>
6 years ago
Madhura Bhave d9f339a1b6 Include Junit5 dependencies in Spring Boot Starter Test
Closes gh-14736

Co-authored-by: Stephane Nicoll <snicoll@pivotal.io>
6 years ago
Madhura Bhave d15347d4e5 Add Junit5 OutputCapture Extension
Closes gh-14738
6 years ago
Andy Wilkinson 95003d79d7 Merge branch '2.1.x'
Closes gh-16746
6 years ago
Andy Wilkinson 1297068528 Add dependency management for remaining non-example Kafka modules
See gh-16728
6 years ago
Gary Russell a5e26bff92 Add dependency management for kafka-streams-test-utils
See gh-16728
6 years ago
Stephane Nicoll c91578bbae Define surefire test provider to use
The `spring-boot-test` module has a dependency to TestNG to validate
some part of the test infrastructure but no tests are actually written
using TestNG. The presence of TestNG is a trigger for the maven surefire
plugin and it attempts to run tests using it.

This commit defines the explicit provider to use (JUnit 4)

Closes gh-16735
6 years ago
Stephane Nicoll 71b2ab0f0f Merge branch '2.1.x' 6 years ago
Stefan Dellmuth ecdcec2b5d Polish indentation
Closes gh-16731
6 years ago
Stephane Nicoll ff803a86a0 Merge branch '2.1.x'
Closes gh-16726
6 years ago
Stephane Nicoll 52c8bbaddf Upgrade to Maven Surefire Plugin 2.22.2
Closes gh-16725
6 years ago
Stephane Nicoll f0a9e0f616 Switch to Reactor snapshots
See gh-16723
6 years ago
Stephane Nicoll 9d72b74252 Merge branch '2.1.x' 6 years ago
Stephane Nicoll d8f1bd351f Polish "Add link to Heroku article"
Closes gh-16719
6 years ago
Tetsuya Hasegawa 2655122466 Add link to Heroku article
See gh-16719
6 years ago
Stephane Nicoll 5aeb31700d Merge branch '2.1.x' 6 years ago
Stephane Nicoll 680ac85a2a Polish
See gh-16714
6 years ago
Madhura Bhave 07d6eb6397 Disable auditing infrastructure by default
Prior to this commit, the audit auto-configuration provided
an `InMemoryAuditEventRepository` bean. This commit changes the auto-config
so that an `AuditEventRepository` is not provided and instead the auto-config
is conditional on the presence of a `AuditEventRepository` bean. This is done
to encourage the use of a custom implementation of `AuditEventRepository`
since the in-memory one is quite limited and not suitable for production.
A flag is available if the auto-configuration needs to be turned off even
in the presence of a bean.

Closes gh-16110
6 years ago
Madhura Bhave e2b15c3f2a Fix tests
See gh-15039
6 years ago
Madhura Bhave de128fed20 Disable HttpTrace infrastructure by default
Prior to this commit, the http trace auto-configuration provided
an `InMemoryHttpTraceRepository` bean. This commit changes the auto-config
so that an `HttpTraceRepository` is not provided and instead the auto-config
is conditional on the presence of a `HttpTraceRepository` bean. This is done
to encourage the use of a custom implementation of `HttpTraceRepository`
since the in-memory one is quite limited and not suitable for production.
A flag is available if the auto-configuration needs to be turned off even
in the presence of a bean.

Closes gh-15039
6 years ago
Stephane Nicoll fc9cd86718 Merge branch '2.1.x' 6 years ago
Stephane Nicoll 51c0fdcab1 Polish "Document that JUnit 4 is the default"
Closes gh-16707
6 years ago
Tetsuya Hasegawa e36ca923b9 Document that JUnit 4 is the default
See gh-16707
6 years ago
Andy Wilkinson f35b91a172 Raise minimum supported version of Gradle to 4.10 and encourage use of 5.x
Closes gh-16681
6 years ago
Brian Clozel 1f897ad923 Fix DefaultErrorWebExceptionHandler test 6 years ago
Johnny Lim 21b05bbafc Polish RSocketServerBootstrap bean name
Closes gh-16700
6 years ago
Stephane Nicoll f056b952d9 Merge branch '2.1.x' 6 years ago
Johnny Lim 1b9a4d5e45 Polish CompressionConnectorCustomizerTests
Closes gh-16699
6 years ago
Madhura Bhave cc99b13ecb Merge branch '2.1.x' 6 years ago
Madhura Bhave c9752f165f Fix javadoc 6 years ago
Andy Wilkinson 538030b57e Merge branch '2.1.x'
Closes gh-16693
6 years ago
Andy Wilkinson 881fbeff43 Test the Gradle Plugin against Gradle 5.4.1
Closes gh-16576
6 years ago
Johnny Lim cb0e3c793b Polish
Closes gh-16688
6 years ago
Stephane Nicoll ed538a2e31 Merge branch '2.1.x' 6 years ago
Stephane Nicoll 19413c0c71 Polish
See gh-16688
6 years ago
Stephane Nicoll 8045bf1f50 Polish "Allow configuration of auto-timed metrics"
Closes gh-15988
6 years ago
Tadaya Tsuyukubo 4df6f5dee0 Allow configuration of auto-timed metrics
When `management.metrics.web.server.auto-time-requests` is enabled
(default=true), Spring Boot collects metrics on controller methods even
when they are not annotated with `@Timed`.

When this happens, created metrics are based on the default
`@Timed` configuration and there is no way to customize the
configuration of those auto-timed controller metrics.

This commit adds default configurations to auto-timed requests on both
client and server sides.

See gh-15988
6 years ago
Madhura Bhave 3d814a5288 Move to Reactor Dysprosium snapshots
This should fix the NoClassDefFound errors after moving to Framework
snapshots
6 years ago
Madhura Bhave ffd979c2bb Document missing SpringApplication events
This commit also documents `ContextRefreshedEvent` and
`WebServerInitializedEvent`.

Closes gh-7382
6 years ago
Madhura Bhave fd97066604 Use MergedAnnotation.getRoot() method
Closes gh-16661
6 years ago
Madhura Bhave 8b30ad21bb Merge pull request #16622 from Kedar Joshi
* pr/16622:
  Polish "Document use of @Profile with @ConfigurationProperties scanning"
  Document use of @Profile with @ConfigurationProperties scanning
6 years ago
Madhura Bhave d4435e015c Polish "Document use of @Profile with @ConfigurationProperties scanning"
Closes gh-16622
6 years ago
Kedar Joshi 13b155eb2a Document use of @Profile with @ConfigurationProperties scanning
See gh-16612
6 years ago
Brian Clozel c4938055b4 Polish "Separate compound properties in appendices"
Closes gh-16480
6 years ago
dreis2211 5b63b807ad Separate compound properties in appendices 6 years ago
Stephane Nicoll 922ceed63a Polish "Auto-configure ReactiveStringRedisTemplate if necessary"
Closes gh-16604
6 years ago
Qiang Lee 866233bd2f Auto-configure ReactiveStringRedisTemplate if necessary
See gh-16604
6 years ago
Stephane Nicoll 81543873d4 Merge branch '2.1.x' 6 years ago
ielatif 3ffbe256f1 Exclude HikariCP specific dependency from Quartz
Closes gh-16628
6 years ago
Tetsuya Hasegawa 56c769f05c Remove redundant info
Closes gh-16668
6 years ago
Stephane Nicoll 05957689f4 Polish "Add jOOQ to SQL logging group"
Closes gh-16678
6 years ago
Maciej Walkowiak d7722e328a Add jOOQ to SQL logging group
See gh-16678
6 years ago
Toshiaki Maki e203f6a5f5 Fix typo
Closes gh-16684
6 years ago
Johnny Lim e22c2e5687 Polish
Closes gh-16685
6 years ago
Madhura Bhave a0d425332d Use ImportBeanDefintionRegistrar directly instead of import selector
Closes gh-16679
6 years ago
Andy Wilkinson 5639685770 Polish "Prefer file: to jar:file: URLs in launcher"
See gh-16248
6 years ago
hengyunabc c1b34d0307 Prefer file: to jar:file: URLs in launcher
See gh-16248
6 years ago
Stephane Nicoll 704da1750b Polish "Add support for Hazelcast YAML configuration"
Closes gh-16632
6 years ago