Commit Graph

6027 Commits (dc4cc214fe29d6a5b1b2564ffd8dc41f96ee4aad)

Author SHA1 Message Date
Vedran Pavic e9bd11ee83 Fix NoClassDefFound when missing Spring Security
Update Spring Session auto-configuration to ensure that the
`DefaultCookieSerializer` doesn't break when Spring Security is not
present on the classpath.

Closes gh-16889
6 years ago
Phillip Webb 5fc67c545c Work around Framework regression in handling of null model values
See https://github.com/spring-projects/spring-framework/issues/23038.
6 years ago
Phillip Webb df55d73bff Merge branch '2.1.x'
Closes gh-16990
6 years ago
Phillip Webb 278a0866cd Polish "Fix Spring Data Cassandra auto-configure condition"
See gh-16971
6 years ago
Dmytro Nosan be435130e6 Fix Spring Data Cassandra auto-configure condition
Update `CassandraDataAutoConfiguration` do that it's only applied when
a `Cluster` bean is found.

Fixes gh-16971
6 years ago
Phillip Webb 89f8e187d5 Merge branch '2.1.x'
Closes gh-16988
6 years ago
Phillip Webb 07ebfc036b Polish 6 years ago
Johnny Lim e2f69d040a Use actual resolvedType when checking Binder cache
Update `JavaBeanBinder` so that the `isOfDifferentType` method checks
both the actual type and the resolved type. Prior to this commit, it
was possible that when `canCallGetValue` is `true` the `resolvedType`
could be different from `type.resolve`.

Closes gh-16974
6 years ago
Andy Wilkinson 0eb6c0ddd3 Defer disabling registry until Tomcat server is being created
Closes gh-16498
6 years ago
dreis2211 e59d734098 Fix Gradle plugin code formatting
See gh-16984
6 years ago
Andy Wilkinson c80218064f Use sorted properties to make build info output repeatable
Closes gh-14494
6 years ago
Andy Wilkinson 6de14f71c6 Fail fast if config prop constructor binding cannot determine names
Previously, configuration property constructor binding relied on compilation
with -parameters to be able to discover the names of a constructor's
parameters, failing silently if the parameter names were not available. This
commit updates it to fail when the names could not be determined and switches
to using DefaultParameterNamesDiscoverer. This align configuration property
constructor binding with actuator endpoint operation invocation.

Closes gh-16928
6 years ago
Andy Wilkinson b603cd5d4b Disable Tomcat's MBean Registry by default
Closes gh-16498
6 years ago
Andy Wilkinson 080a2f5c3b Align with Framework’s removal of charset attribute from application/json
Closes gh-16979
6 years ago
Andy Wilkinson 892e517c21 Work around Framework regression in handling of null model values
See https://github.com/spring-projects/spring-framework/issues/23038.
6 years ago
Andy Wilkinson d21a091262 Avoid duplicate retrieval of @ConfigurationProperties in registrar
Closes gh-15802
6 years ago
Brian Clozel d46de7abc4 Polish "Set UTF-8 charset for whitelabel HTML error pages"
Closes gh-16611
6 years ago
qxo 64a8326989 Set UTF-8 charset for whitelabel HTML error pages
This commit changes the HTTP response Content-Type for whitelabel
error pages with Spring WebFlux.

See gh-16611
6 years ago
Stephane Nicoll 593bc22ecc Merge branch '2.1.x' 6 years ago
Stephane Nicoll 2c364ceb89 Fix wrong ApplicationContext import
Closes gh-16978
6 years ago
Brian Clozel 0b70862627 Fix RSocket websocket config with WebFlux
In the case of a WebFlux + RSocket over websocket setup, the RSocket
auto-configuration would not set up the required routes; only the
websocket endpoint for RSocket would be available, overriding the
handler configured for WebFlux.

This commit introduces `NettyRouteProvider`. Components implementing
that interface can contribute HTTP routes to the Reactor Netty server
being built.

* if none is provided, the regular handler setup is used
* if one or more routes are provided, routes are sorted and added before
the WebFlux handler (acting as a default)

Fixes gh-16826
6 years ago
Brian Clozel 45507c475b Configure String codecs in RSocket strategies
Closes gh-16924
6 years ago
Brian Clozel b2e395db7a Avoid codec auto-configuration when WebFlux is not present
This commit prevents the `CodecsAutoConfiguration` from being processed
if spring-webflux is not on classpath, since it is only useful for the
WebFlux server infrastructure or `WebClient`.

Closes gh-15690
6 years ago
Stephane Nicoll 4cdb5a8ecb Polish "Default to optimized launch of the JVM when using spring-boot:run"
Closes gh-16941
6 years ago
Dos Debug 569b850fe0 Default to optimized launch of the JVM when using spring-boot:run
See gh-16941
6 years ago
Johnny Lim d8e5169f5f Polish
Closes gh-16948
6 years ago
Andy Wilkinson 54b123028c Default to optimized launch of the JVM when using Gradle's bootRun
Closes gh-16222
6 years ago
Andy Wilkinson 7713a7f33a Fix inclusion of Gradle DSL snippets in plugin reference docs
Closes gh-16968
6 years ago
Andy Wilkinson f3ebd71b29 Merge branch '2.1.x'
Closes gh-16967
6 years ago
Robeatoz 9f248c6043 Correct name and description of spring-boot-project module
This commit corrects the Maven project name and description of spring-boot-project to
avoid the already used name "Spring Boot Build".

See gh-16938
6 years ago
Andy Wilkinson ead0cd91bf Start building against snapshots for Spring Session Corn-M2
See gh-16587
6 years ago
Andy Wilkinson a9089db9e7 Start building against snapshots for Spring Data Moore-RC1
See gh-16966
6 years ago
Andy Wilkinson 36ccfd9d1b Start building against snapshots for Spring Security 5.2.0.M3
See gh-16965
6 years ago
Andy Wilkinson 35568e4663 Start building against snapshots for Reactor Dysprosium-M2
See gh-16964
6 years ago
Andy Wilkinson b07a0193ec Start building against snapshots for Spring Framework 5.2.0.M3
See gh-16963
6 years ago
Andy Wilkinson d964357bfa Start building against snapshots for Reactor Californium-SR9
See gh-16962
6 years ago
Andy Wilkinson 636113823c Start building against Spring Framework 5.1.8 snapshots
See gh-16961
6 years ago
Andy Wilkinson bf670d0a5a Merge branch '2.1.x'
Closes gh-16960
6 years ago
Andy Wilkinson 60d60a8304 Use basedir as forked JVM's working directory in Maven plugin
Fixes gh-16811
6 years ago
Andy Wilkinson babb94c791 Migrate spring-boot-gradle-plugin's tests to JUnit 5
Closes gh-16959
6 years ago
Andy Wilkinson 5e62faf720 Handle null CodeSource when determining Spring Boot version
Closes gh-16956
See gh-16182
6 years ago
Stephane Nicoll a5537bd2e1 Fork application process with Maven by default
Closes gh-16945
6 years ago
Andy Wilkinson 3432044997 Use deferred logging to report Class-Path manifest attribute problems
Closes gh-16883
6 years ago
Andy Wilkinson 9f512ec3d9 Merge branch '2.1.x'
Closes gh-16950
6 years ago
Andy Wilkinson 32e1d68d2f Upgrade to Couchbase Client 2.7.6
Closes gh-16909
6 years ago
Andy Wilkinson 23f803c6b6 Upgrade to Hamcrest 2.1, switch to hamcrest artifact from -core and -library
Closes gh-15555
6 years ago
dreis2211 27ca7e17d9 Fix deprecated StandardAnnotationMetadata usages
Closes gh-16930
6 years ago
Andy Wilkinson 9ba5c78878 Merge branch '2.1.x'
Closes gh-16940
6 years ago
Andy Wilkinson 46ecf7a928 Only unwrap when DataSource is a wrapper for required type
Closes gh-16863
6 years ago
Andy Wilkinson 46cdd6ecb2 Merge branch '2.1.x'
Closes gh-16939
6 years ago
Andy Wilkinson da12ad0ca5 Make ReactiveSecurityAutoConfiguration back off without spring-webflux
Closes gh-16934
6 years ago
Andy Wilkinson d3849dc0c5 Revert "Upgrade to Jackson 2.9.9"
This reverts commit c8712e9ec5.

See gh-16914
6 years ago
Andy Wilkinson 6c7a6a6c3d Revert "Upgrade to Jackson 2.9.9"
This reverts commit 66fba9387a.

See gh-16910
6 years ago
Stephane Nicoll ffbc545a47 Change Logback's maxHistory property default to 7 days
Closes gh-15875
6 years ago
Andy Wilkinson 06c9e99895 Upgrade to Maven Source Plugin 3.1.0
Closes gh-16922
6 years ago
Andy Wilkinson b6a3ce3993 Upgrade to Pooled Jms 1.0.5
Closes gh-16921
6 years ago
Andy Wilkinson ebe40ad619 Upgrade to Jboss Logging 3.4.0.Final
Closes gh-16920
6 years ago
Andy Wilkinson a3bc6d1a10 Upgrade to Tomcat 9.0.20
Closes gh-16919
6 years ago
Andy Wilkinson 423f090948 Upgrade to Javax Cache 1.1.1
Closes gh-16918
6 years ago
Andy Wilkinson 7a30eb0df5 Upgrade to Dropwizard Metrics 4.1.0
Closes gh-16917
6 years ago
Andy Wilkinson 78fbbac114 Upgrade to Okhttp3 3.14.2
Closes gh-16916
6 years ago
Andy Wilkinson b5746671b7 Upgrade to Sendgrid 4.4.1
Closes gh-16915
6 years ago
Andy Wilkinson c8712e9ec5 Upgrade to Jackson 2.9.9
Closes gh-16914
6 years ago
Andy Wilkinson c8a02ed90a Upgrade to Pooled Jms 1.0.5
Closes gh-16913
6 years ago
Andy Wilkinson 2ce650901f Upgrade to Tomcat 9.0.20
Closes gh-16912
6 years ago
Andy Wilkinson 1af5fc7d62 Upgrade to Javax Cache 1.1.1
Closes gh-16911
6 years ago
Andy Wilkinson 66fba9387a Upgrade to Jackson 2.9.9
Closes gh-16910
6 years ago
Stephane Nicoll 2b5632ec3e Polish "Add Duration support in /configprops endpoint"
Closes gh-16539
6 years ago
dreis2211 47d85bb4fe Add Duration support in /configprops endpoint
See gh-16539
6 years ago
Stephane Nicoll 74208bb1a7 Polish "Auto-configure Kafka listener container with rebalance listener"
Closes gh-16755
6 years ago
Gary Russell abdc2e1b4f Auto-configure Kafka listener container with rebalance listener
This commit associates a `ConsumerAwareRebalanceListener` to the
auto-configured listener container factory if a single instance is found
in the context.

See gh-16755
6 years ago
Johnny Lim 652906ec7c Use MergedAnnotation.getRoot() in PropertyMappingCheckBeanPostProcessor
Closes gh-16745
6 years ago
Stephane Nicoll 2949561bf6 Polish "Add support for Couchbase's role-based access"
Closes gh-16389
6 years ago
Enes Açıkoğlu 3386856ccf Add support for Couchbase's role-based access
See gh-16389
6 years ago
Andy Wilkinson f8eb230dea Ignore Redshift in DatabaseDriverClassNameTests
Closes gh-16831
6 years ago
Andy Wilkinson 64860e196c Improve diagnostics when forked JVM exits with non-zero status
Closes gh-16869
6 years ago
Stephane Nicoll 3c46b9e83d Polish "Add configuration property for Spring Kafka's missingTopicsFatal"
Closes gh-16740
6 years ago
Gary Russell 1583ce8d26 Add configuration property for Spring Kafka's missingTopicsFatal
See gh-16740
6 years ago
Johnny Lim 7aaad7e5f4 Fix assertion for outcomeWhenDevtoolsShouldBeEnabledIsTrueShouldMatch()
Closes gh-16815
6 years ago
Stephane Nicoll 9e31c764fc Polish "Add support for AWS Redshift JDBC driver"
Closes gh-16831
6 years ago
Henryk Konsek 146f35d2bd Add support for AWS Redshift JDBC driver
See gh-16831
6 years ago
Stephane Nicoll 26df55761d Merge enablement and exposure conditions for Actuator endpoints
This commit merges the conditions for determining if an endpoint is
available in a single condition, deprecating
`ConditionalOnEnabledEndpoint` in the process.

Closes gh-16169
6 years ago
Stephane Nicoll 275d794553 Make sure JdbcTemplateConfiguration is imported once
Closes gh-13806
6 years ago
Stephane Nicoll 66dc728018 Polish "Make excludeDevtools available as a user property"
Closes gh-16701
6 years ago
jvwilge dcc09ffac2 Make excludeDevtools available as a user property
See gh-16701
6 years ago
Johnny Lim 4900117c71 Restore HttpTraceAutoConfigurationTests.configuresServletFilter()
Closes gh-16885
6 years ago
Johnny Lim 87874ffb70 Polish
Closes gh-16875
6 years ago
Phillip Webb 10e67f8977 Fix dashIgnoringElementEquals algorithm
Update `dashIgnoringElementEquals` so that trailing checks fail if
the last characters are not all `-`.

Fixes gh-16855
6 years ago
Phillip Webb 963a544fb1 Merge branch '2.1.x'
Closes gh-16860
6 years ago
Phillip Webb f790556f96 Polish 'Drop blocking RedisReactiveHealthIndicator calls'
See gh-16756
6 years ago
ayudovin de857372a5 Drop blocking RedisReactiveHealthIndicator calls
Update `RedisReactiveHealthIndicator` so that `getReactiveConnection`
is not called directly since it blocks.

Fixed gh-16756
6 years ago
Phillip Webb 3a9ca5fa30 Update copyright header of changed files 6 years ago
Phillip Webb 79e05c770f Merge branch '2.1.x' 6 years ago
Phillip Webb ed998ef0d3 Update copyright header of changed files 6 years ago
Phillip Webb c49b9bece5 Merge branch '2.1.x'
Closes gh-16859
6 years ago
Phillip Webb ab15b8e26d Support overloaded setters when binding beans
Update `JavaBeanBinder` so that overloaded setters can be used when
binding. Prior to this commit the setter picked would depend on the
order that the JVM returned the declared methods. We now consistently
prefer using the setter with a parameter type that matches the getter.

Closes gh-16206
6 years ago
Phillip Webb a82b5266ae Merge branch '2.1.x'
Closes gh-16858
6 years ago
Phillip Webb e2dc278cae Use default SslContextFactory for JettyClient
Update the auto-configured Jetty `HttpClient` so that a default
`SslContextFactory` is used.

Prior to this commit connecting to https URLs would cause a
`NullPointerException`.

Fixed gh-16810
6 years ago
Phillip Webb e03f3b8e9a Merge branch '2.1.x'
Closes gh-16857
6 years ago
Phillip Webb f665910cdb Use generic type for binder cache comparisons
Update `JavaBeanBinder` so that previously cached beans are compared
using full generic type information. Prior to this commit binding would
fail if a class with the same resolved type, but different generics was
in the cache.

Fixes gh-16821
6 years ago
Stephane Nicoll 4d8df3cc47 Polish "Allow configuration of auto-timed metrics"
This commit makes sure the "auto-time-requests" property is still
available in a deprecated fashion.

See gh-15988
6 years ago
Stephane Nicoll 128b41d43a Configure JmsMessagingTemplate default destination
Closes gh-16227
6 years ago
Stephane Nicoll 91f7a2b7f8 Upgrade to Maven Jar Plugin 3.1.2
Closes gh-16846
6 years ago
Stephane Nicoll ede377ba35 Upgrade to Groovy 2.5.7
Closes gh-16845
6 years ago
Stephane Nicoll cd0d5e2e9c Upgrade to Aspectj 1.9.4
Closes gh-16844
6 years ago
Stephane Nicoll 6cd8c58e5a Upgrade to Joda Time 2.10.2
Closes gh-16843
6 years ago
Stephane Nicoll da96def966 Upgrade to Maven Jar Plugin 3.1.2
Closes gh-16842
6 years ago
Stephane Nicoll eb6a2496e8 Upgrade to Spring Session Bom Bean-SR5
Closes gh-16841
6 years ago
Stephane Nicoll 6b0f1de5c8 Upgrade to Groovy 2.5.7
Closes gh-16840
6 years ago
Stephane Nicoll 870d31836b Upgrade to Aspectj 1.9.4
Closes gh-16839
6 years ago
Stephane Nicoll c4ab264bdb Upgrade to Joda Time 2.10.2
Closes gh-16838
6 years ago
Stephane Nicoll c2e077d9c1 Upgrade to Hazelcast 3.11.4
Closes gh-16837
6 years ago
Stephane Nicoll 424a6d21d8 Upgrade to Spring Data Lovelace-SR8
Closes gh-16724
6 years ago
Stephane Nicoll 98c94115de Upgrade to Spring Integration 5.1.5
Closes gh-16749
6 years ago
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
Rafal Leszko 82e18ae88f Add support for Hazelcast YAML configuration
Since Hazlecast 3.12, YAML configuration format is supported in
addition to XML. Therefore, this change makes Spring Boot automatically
discover not only `hazelcast.xml` (and `hazelcast-client.xml`), but also
`hazelcast.yaml` (and `hazelcast-client.yaml`).

See gh-16632
6 years ago
Brian Clozel b527d364dc Reinstate single page reference documentation
This commit reinstates the single-page variant for the Spring Boot
reference documentation.

Now the single and multi-page variants are hosted under the same
`"html"` folder, as `"index.html"` and `"single-index.html"`.
Note that files ending in `"index.html`" are treated as index files by
the spring-doc-resources project and their table of contents do not
display a "Back to index" link.

Fixes gh-16295
6 years ago
Stephane Nicoll 9cde736b59 Merge branch '2.1.x' 6 years ago
Stephane Nicoll 3c5ec8a04c Merge branch '2.0.x' into 2.1.x 6 years ago
Stephane Nicoll ac9ee952c7 Properly merge fix
See gh-16666
6 years ago
dreis2211 cf05959375 Optimize ConfigurationPropertyName.buildToString()
See gh-16658
6 years ago
Phillip Webb 32040e355b Merge branch '2.1.x'
Closes gh-16649
6 years ago
Phillip Webb d4151e0b51 Polish "Use Jackson configuration with JsonPath"
Polish contribution to use a factory method in `AbstractJsonMarshalTester`
rather than additional constructor arguments.

Also change the `JsonContent` tests so that the `Configuration` constructor
is package private. This keeps JsonPath classes out of our public API, at
the expense of limiting custom JsonPath configurations to just our code.

See gh-16629
6 years ago
Phillip Webb 17aaf26590 Use consistent javadoc style for annotation links
Closes gh-13920
6 years ago
Phillip Webb 1e44aba772 Fix compiler warnings and polish
Fix various compiler warnings and apply a little polish.
6 years ago
Diego Berrueta 756a7f12a3 Use Jackson configuration with JsonPath
Update `JacksonTester` so that the JsonPath instance is explicitly configured
with both a `JacksonJsonProvider` and a `JacksonMappingProvider`.

Prior to this commit, the handling of special characters was not symmetrical
between the serialization (handled via the JacksonTester) and the parsing (handled
via JsonPath) due to the fact that JsonPath used `SimpleJson` as its parser.

See gh-16629
6 years ago
Andy Wilkinson 4754386361 Merge branch '2.1.x'
Closes gh-16644
6 years ago
Andy Wilkinson 6b20d13b3d Polish "Prevent double update of metrics when CompositeMeterRegistry exists"
See gh-16221
6 years ago
Johnny Lim cc285d92dd Prevent double update of metrics when CompositeMeterRegistry exists
See gh-16221
6 years ago
Andy Wilkinson b39fdea508 Merge pull request #16474 from Christoph Dreis
* gh-16474:
  Speed up element equality checks in ConfigurationPropertyName

Closes gh-16474
6 years ago
dreis2211 3786dbc869 Speed up element equality checks in ConfigurationPropertyName
See gh-16474
6 years ago
Andy Wilkinson a0999dadb7 Merge branch '2.1.x'
Closes gh-16642
6 years ago
Andy Wilkinson ba0279be14 Remove race condition in TaskSchedulingAutoConfigurationTests
Closes gh-16640
6 years ago
Andy Wilkinson eb0b852e99 Merge branch '2.1.x'
Closes gh-16639
6 years ago
Andy Wilkinson 5d77b48aed Polish "Polish Maven Plugin's tests"
See gh-16618
6 years ago
daonan.zhan 52c2c534db Polish Maven Plugin's tests
See gh-16618
6 years ago
Andy Wilkinson d0b4dab1c8 Merge pull request #16620 from Christoph Dreis
* gh-16620:
  Optimize JarEntry construction

Closes gh-16620
6 years ago
dreis2211 f40b086ef5 Optimize JarEntry construction
This commit avoids calling the underlying ZipEntry.setExtra() method
that is not very inline friendly in cases where there is no extra
information to be set.

See gh-16620
6 years ago
Andy Wilkinson 915bde0e62 Use MIME decoder to read OAuth2 resource server public key
Fixes gh-16624
6 years ago
Andy Wilkinson dc39540def Merge branch '2.1.x'
Closes gh-16623
6 years ago
Andy Wilkinson e8955852a3 Add missing GlassFish JAXB dependency management
Closes gh-16619
6 years ago
Madhura Bhave 5c2a7e61d0 Fix tests 6 years ago
Madhura Bhave 9fb65e57c0 ConfigurationPropertiesScan should account for conditions
Fixes gh-16612
6 years ago
Madhura Bhave 23cf8565b1 Polish "Apply server customizer beans automatically"
Closes gh-16584
6 years ago
Sergey Serdyuk 8ff78ed4c3 Apply server customizer beans automatically
See gh-16584
6 years ago
Stephane Nicoll fd14cd0bd0 Merge branch '2.1.x' 6 years ago
Stephane Nicoll 1f656e75fc Polish "Fix UndertowWebServer's logger name"
Closes gh-16613
6 years ago
liaozan 360da66333 Fix UndertowWebServer's logger name
See gh-16613
6 years ago
ForeverHex 124d969b2d Fix checkstyle violation
Closes gh-16616
6 years ago
Phillip Webb 1f893d9376 Log warning on slow host resolution
Update `StartupInfoLogger` so that if the `InetAddress` call takes
more than 200ms a warning is logged.

Closes gh-7087
6 years ago
Phillip Webb 405135d5a8 Polish StartupInfoLogger message creation
Rework some of the internals of `StartupInfoLogger` so that fewer
strings are created.
6 years ago
Madhura Bhave ba196b47ac Fix failure analyzer message
See gh-16581
6 years ago
Stephane Nicoll e9447b0dbf Merge branch '2.1.x' 6 years ago
Stephane Nicoll 2448efc028 Polish "Cache MimeTypes to improve performance"
Closes gh-16507
6 years ago
wenqi.huang b3f94c47d9 Cache MimeTypes to improve performance
See gh-16507
6 years ago
Stephane Nicoll d55d6b35d9 Merge branch '2.1.x' 6 years ago
Stephane Nicoll 7b9471836b Polish "Improve DefaultCookieSerializer auto-configuration"
Closes gh-16513
6 years ago
Vedran Pavic 5e02541195 Improve DefaultCookieSerializer auto-configuration
Spring Session's own configuration support (i.e.
SpringHttpSessionConfiguration) will configure the default
DefaultCookieSerializer with rememberMeRequestAttribute if
SpringSessionRememberMeServices bean has been detected in the
application context.

In contrast, Spring Boot's auto-configured DefaultCookieSerializer does
not do this which results in a different out-of-the-box experience for
users that rely on Spring Session's remember-me integration.

This commit improves Spring Session DefaultCookieSerializer
auto-configuration to match Spring Session's behavior and make the
auto-configured DefaultCookieSerializer aware of
SpringSessionRememberMeServices bean.

See gh-16513
6 years ago
Johnny Lim 62549ffb49 Polish
Closes gh-16597
6 years ago
Phillip Webb b879972d0d Migrate to MergedAnnotations API
Migrate away from `AnnotationUtils` and `AnnotatedElementUtils`
when possible to the new `MergedAnnotations` API.

Closes gh-16551
6 years ago
Madhura Bhave 3ecefdbcdc Add dependency management for okhttp3
Closes gh-6385
6 years ago
Madhura Bhave eda14fb0f6 Analyze failure if configprop scanning results in two beans
Closes gh-16581
6 years ago
Andy Wilkinson 15f28dcc68 Polish "Determine Spring Boot version correctly when using module path"
See gh-16182
6 years ago
Hendrig Sellik ec8fb614f7 Determine Spring Boot version correctly when using module path
In Java 9, a package may return null for its implementation version
even when the manifest attribute specifying the version is present
in the jar from which the package was loaded.

This commit updates SpringBootVersion to fall back to
accessing the jar and its manifest attributes directly when the
implementation version of its package is null.

See gh-16182
6 years ago
Andy Wilkinson ca1a666f58 Polish "Add support for configuring remaining Undertow server options"
See gh-16278
6 years ago
Rafiullah Hamedy 186b1fae6d Add support for configuring remaining Undertow server options
This commit adds support for configuring Undertow's server options that were previously
not configurable via application properties. The additions are the following:

- allow-encoded-slash
- always-set-keep-alive
- decode-url
- max-cookies
- max-headers
- max-parameters,
- url-charset

See gh-16278
6 years ago
Patryk Kostrzewa ff7cf2dc96 Update WebFlux starter to depend on validation starter
Previously, the WebFlux 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 reactive web application that did not need it.

This commit updates the WebFlux 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 to continue to be used instead.

See gh-16593
6 years ago
Stephane Nicoll 2cfcd2690e Polish "Allow to configure the Elasticsearch rest client timeouts"
Closes gh-15965
6 years ago
Dmytro Nosan 5bacb32557 Allow to configure the Elasticsearch rest client timeouts
See gh-15965
6 years ago
Andy Wilkinson af4ce2d537 Merge branch '2.1.x'
Closes gh-16600
6 years ago
Andy Wilkinson 50bcfd25fd Make EL available to reactive web apps as it already is to servlet web apps
Closes gh-16596
6 years ago
Stephane Nicoll e24c17d524 Polish "Add auto-configuration support for ReactiveGridFsTemplate"
Closes gh-16467
6 years ago
ayudovin d9c9ed1d52 Add auto-configuration support for ReactiveGridFsTemplate
See gh-16467
6 years ago
Stephane Nicoll 0f60555031 Polish "Complete Jetty Access Log configuration properties support"
Closes gh-16080
6 years ago
nicolas 55a5a26b95 Complete Jetty Access Log configuration properties support
See gh-16080
6 years ago
Andy Wilkinson 1eac4d6046 Support configuration of Flyway's Pro properties
Closes gh-14989
6 years ago
Andy Wilkinson d3541fa672 Upgrade to Tomcat 9.0.19
Closes gh-16591
6 years ago
Andy Wilkinson 853b4952a0 Upgrade to Tomcat 9.0.19
Closes gh-16591
6 years ago
Johnny Lim 2b2afd785b Polish
Closes gh-16575
6 years ago
Stephane Nicoll a79e49f1dd Merge branch '2.1.x' 6 years ago
Johnny Lim 363994515b Polish
See gh-16575
6 years ago
Stephane Nicoll b710dc71fe Polish "Use BatchErrorHandler when Kafka listener type is batch"
Closes gh-16499
6 years ago
Andy Wilkinson 7d2a99943f Merge branch '2.1.x' 6 years ago
Andy Wilkinson dfbc787737 Test the Gradle plugin against Gradle 5.4
Closes gh-16576
6 years ago
Madhura Bhave bb7940f8e4 Use BatchErrorHandler when Kafka listener type is batch
Closes gh-16499
6 years ago
Madhura Bhave ac2b0093c7 Disable DevTools' post-processors and auto-config when running tests
Closes gh-5307
6 years ago
Andy Wilkinson dacbb65fd7 Merge branch '2.0.x' into 2.1.x
Closes gh-16579
6 years ago
Andy Wilkinson 7260c0f2c4 Merge branch '1.5.x' into 2.0.x 6 years ago
Andy Wilkinson 4941217323 Update docs to reflect rename of @ConfigurationPropertiesDefaultValue
See gh-8762
6 years ago
Andy Wilkinson e7455b454b Merge branch '2.1.x'
Closes gh-16564
6 years ago
Andy Wilkinson 043f0ffbeb Restore indentation in published spring-boot-starter-parent pom
Closes gh-16466
6 years ago
Andy Wilkinson 4e97f7998c Add missing RSocket dependency management
Closes gh-16568
6 years ago
Andy Wilkinson c722cc96fc Merge branch '2.1.x'
Closes gh-16572
6 years ago
Andy Wilkinson 4e4d5f0539 Remove dependency management for solr-uima following upgrade to 7.7.1
Closes gh-16490
6 years ago
Phillip Webb 5f1bbf8c72 Update copyright header of changed files 6 years ago
Phillip Webb 7d4118a0fe Align withBean methods with ApplicationContext
Rework `AbstractApplicationContextRunner.withBean` methods to
align signatures as much as possible with those provided by
the `ApplicationContext`.

Also update the implementation to use a dedicate member
variable rather than adding initializers.

Closes gh-16011
6 years ago
Phillip Webb 2dfd916c96 Polish 6 years ago
Madhura Bhave dabe75a281 Merge branch '2.1.x' 6 years ago
Madhura Bhave f0544fb86f Polish 6 years ago
Madhura Bhave bf6f9b4c43 Polish "Add property for mongo auto-index creation"
See gh-16454
6 years ago
ayudovin 2e9005de14 Add property to configure Mongo auto index creation
Closes gh-16454
6 years ago
Madhura Bhave 08260388bf Merge branch '2.1.x' 6 years ago
Rudy Adams 0aa25fb742 Add tests for CompressionConnectorCustomizer
Closes gh-16515
6 years ago
Madhura Bhave 1d20c73d22 Make nested classes in JsonTestersAutoConfiguration package private
Closes gh-15444
6 years ago
Brian Clozel 8ac69442f1 Deprecate ElasticsearchHealthIndicator
Since the transport client has been deprecated in gh-15008, the health
indicator for that should be deprecated as well.

See gh-15008
6 years ago
Brian Clozel 60cf80f8ce Upgrade to Spring Batch 4.2.0.M1
Closes gh-16529
6 years ago
Brian Clozel ddd400ff87 Upgrade to Spring Integration 5.2.0.M1
Closes gh-16531
6 years ago
Brian Clozel 2e107929a0 Upgrade to Elasticsearch 6.7.1
Closes gh-16569
6 years ago
Brian Clozel 687c58d62c Revert "Upgrade to asciidoctor-maven-plugin 1.6.0"
This commit introduced an incompatible change in the asciidoct
API: both asciidoctorj-pdf and spring-asciidoctor-extensions
expect `org.asciidoctor.extension.JavaExtensionRegistry` to be
a class, not an interface.

This reverts commit 120ffb1ed0.
6 years ago
Brian Clozel c0a360fd71 Fix imports ordering 6 years ago
Brian Clozel 71362299ae Polish RSocket server bootstrap
See gh-16021
6 years ago
Andy Wilkinson d4c47a13a0 Upgrade to Spring Security 5.2.0.M2
Closes gh-16534
6 years ago
Stephane Nicoll 9b0c1d305c Upgrade to Spring Session Corn-M1
Closes gh-16532
6 years ago
Stephane Nicoll 120ffb1ed0 Upgrade to asciidoctor-maven-plugin 1.6.0 6 years ago
Stephane Nicoll f9c74d983f Merge branch '2.1.x'
Closes gh-16565
6 years ago
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