Commit Graph

3959 Commits (22c7546607cfa86e540313ed92581dde7574c1fe)

Author SHA1 Message Date
Stephane Nicoll d445ed7560 Merge branch '2.0.x' 6 years ago
Roland Weisleder d2a063b26a Clarify Javadoc of ConditionalOn annotations
Closes gh-14681
6 years ago
Andy Wilkinson da7daece08 Tolerate Integer values for port properties
Closes gh-14682
6 years ago
Andy Wilkinson b473f2996d Polish 6 years ago
Andy Wilkinson b4638b82d0 Prevent ApplicationListener that depends on EMF from creating a cycle
Previously, when an EntityManagerFactory was being initialized
synchronously, the DataSourceSchemaCreatedEvent would be published
during its initialization. This meant that an application listener that
depends on the EntityManagerFactory would create a dependency cycle if
it was a potential recipient of the event.

For the synchronous case, this commit moves the publication of the
event so that it occurs after the initialisation of the entity manager
factory. This allows an application listener that is a potential
recipient of the DataSourceSchemaCreatedEvent to depend on the
EntityManagerFactory without creating a cycle.

Closes gh-14651
6 years ago
Andy Wilkinson 7cbee701cd Allow user-provided ExecuteListenerProvider to go after Boot's
Closes gh-14598
6 years ago
Brian Clozel 7e4b22d25e Upgrade to Spring Framework 5.1.1 SNAPSHOTs
See gh-14677
6 years ago
Stephane Nicoll 00e122c7ec Merge branch '2.0.x' 6 years ago
Stephane Nicoll b4c5aea152 Fix detection of WebApplicationType with context class
Closes gh-14589
6 years ago
Johnny Lim 335775892b Polish
See gh-14667
6 years ago
Stephane Nicoll b4a8ad06de Merge branch '2.0.x' 6 years ago
Janne Valkealahti 26345d3900 Polish docs
This commit replaces tabs to spaces in a yaml example for configuring
endpoint web exposure include.

Closes gh-14670
6 years ago
Stephane Nicoll 84c8f38368 Merge branch '2.0.x' 6 years ago
Stephane Nicoll b248afc808 Clarify conversion system in Appendix
Closes gh-14645
6 years ago
Stephane Nicoll 42e6126066 Merge branch '2.0.x' 6 years ago
Stephane Nicoll 135797c347 Remove useless prerequisites section
Closes gh-14668
6 years ago
dreis2211 e68b9e8322 Remove unnecessary parameters for String.substring
Closes gh-14661
6 years ago
Phillip Webb 7087f90f2d Merge branch '2.0.x' 6 years ago
Phillip Webb bd9500290e Defer HttpHandler initialization
Update `ReactiveWebServerApplicationContext` so that the `HttpHandler`
bean is not longer created from `onRefresh`, but is instead created
only when the server starts.

Prior to this commit, the WebFlux hander would cause early
initialization of several beans, including Jackson Modules.

Closes gh-14666
6 years ago
Phillip Webb 7f35f8a982 Fix ConfigurationPropertyName.equals
Fix a regression in `ConfigurationPropertyName.equals` that was causing
incorrect results.

Closes gh-14665
6 years ago
Phillip Webb aa6a58d24c Merge branch '2.0.x' 6 years ago
Phillip Webb 7afde2ba43 Add another ConfigurationPropertyName.equals test
Include an additional test to ensure that `.equals` works for names
starting with the same value.

See gh-14665
6 years ago
Phillip Webb d76bba5e6f Migrate from ExpectedException rule to AssertJ
Replace ExpectedException JUnit rules with AssertJ exception
assertions.

Closes gh-14336
6 years ago
Phillip Webb 42cb0effc4 Merge branch '2.0.x' 6 years ago
Phillip Webb 3ff20b2440 Restore import-control checkstyle
Restore checkstyle import control and fix a few violations in the
process.

Closes gh-14660
6 years ago
Andy Wilkinson fcc73c6d88 Polish "Fix shellcheck warnings in CLI's bash script"
Closes gh-11458
6 years ago
leogtzr 69b844cb13 Fix shellcheck warnings in CLI's bash script
See gh-11458
6 years ago
Stephane Nicoll aaecdfb527 Deprecate Cassandra properties that require a default constructor
Closes gh-14473
6 years ago
Stephane Nicoll 068040e227 Register SpringBeanContainer with default Hibernate setup
Closes gh-13717
6 years ago
Stephane Nicoll 7bf32290c6 Update description of the `logger-name` hint
Closes gh-14456
6 years ago
Stephane Nicoll 3f9c41df81 Merge branch '2.0.x' 6 years ago
Rodolpho Couto e30f693699 Add reference to valiktor-spring-boot-starter
Closes gh-14514
6 years ago
Phillip Webb 2add65fe15 Polish Neo4J BookmarkManager auto-configuration
Closes gh-14568
6 years ago
Michael J. Simons b7847d98a7 Auto-configure Neo4J BookmarkManager when possible
Add `Neo4jBookmarkManagementConfiguration` which provides an instance
of `BookmarkManager` if necessary and Caffeine cache is on the
classpath. Depending on the kind of application, the `BookmarkManager`
will be request scoped or singleton, as recommended by Spring Data
Neo4j.

See gh-14568
6 years ago
Phillip Webb 94b366bc16 Make assertable context interfaces configurable
Update `Assertable*ApplicationContext` interfaces so that they also
extend the appropriate `Configurable*ApplicationContext` interface.

Closes gh-14650
6 years ago
Johnny Lim b079eeff1a Polish
Closes gh-14621
6 years ago
Stephane Nicoll 2d36a6f952 Merge branch '2.0.x' 6 years ago
Johnny Lim 1eca492c5e Polish
See gh-14621
6 years ago
Andy Wilkinson 121aad8397 Merge branch '2.0.x' 6 years ago
Andy Wilkinson da1fde6a5f Merge branch '1.5.x' into 2.0.x 6 years ago
Andy Wilkinson d145fab7e5 Merge branch '2.0.x' 6 years ago
Andy Wilkinson fd10226c54 Merge branch '1.5.x' into 2.0.x 6 years ago
Andy Wilkinson 9735774b4a Merge branch '2.0.x' 6 years ago
Andy Wilkinson 62b481c7db Merge branch '1.5.x' into 2.0.x 6 years ago
Andy Wilkinson 726579a910 Merge branch '2.0.x' 6 years ago
Andy Wilkinson 89f5cfc5a4 Merge branch '1.5.x' into 2.0.x 6 years ago
Johnny Lim 1e756db966 Use Commons Logging for OnlyOnceLoggingDenyMeterFilter
Closes gh-14637
6 years ago
Andy Wilkinson 285f6bfd5f Merge branch '2.0.x' 6 years ago
jnizet eee07a840f Move away from deprecated Gradle configurations
Closes gh-14593
6 years ago
Johnny Lim 698bbd6a9e Polish
Closes gh-14597
6 years ago
Stephane Nicoll c403ac9db6 Merge branch '2.0.x' 6 years ago
Stephane Nicoll b6e5103dc4 Polish contribution
Closes gh-14592
6 years ago
Marten Deinum 77afe76ed5 Polish
The SpringBootContextLoader still checked if tests were annotated with
@IntegrationTest or @WebIntegrationTest. Those classes have been
removed in Spring Boot 1.5 and been deprecated since 1.4.

This commit removes the check on the annotations as well as the static
list of names.

See gh-14592
6 years ago
Andy Wilkinson f88ebf75cd Use Mongo 3.5.5 by default with Embedded mongo
Closes gh-14476
6 years ago
Andy Wilkinson 1a8f519922 Raise the default version of Mongo to 3.6.5 when using Embedded Mongo
While MongoDB 3.6.7 has been released, 3.6.5 is the latest version that's supported
by the version of Embedded Mongo that we're currently using.

Closes gh-14476
6 years ago
Hanope e5ed5ebf8b Fix "Query Parameters" section name
Closes gh-14600
6 years ago
Phillip Webb 64627fa9d6 Restore Maven 3.3 compatibility
Downgrade the `spring-boot-maven-plugin` maven version to 3.3.

Closes gh-14464
6 years ago
Phillip Webb a04e913c22 Make ResourceHandlerRegistrationCustomizer public
Make `ResourceHandlerRegistrationCustomizer` a public top level class.

Closes gh-14587
6 years ago
Phillip Webb ff98ba0fa5 Allow early OnWebApplication filtering
Update `OnWebApplicationCondition` to be an
`AutoConfigurationImportFilter` and filter out classes early.

Closes gh-13328
6 years ago
Phillip Webb 75bde00334 Generate auto-configuration OnWebApplication data
Update the auto-configuration annotation processor to generate
properties for `@OnWebApplication`.

See gh-13328
6 years ago
Phillip Webb c2f8398c06 Allow early OnBeanCondition filtering
Update `OnBeanCondition` to be an `AutoConfigurationImportFilter` and
filter out classes early.

See gh-13328
6 years ago
Phillip Webb 586507c49a Generate auto-configuration OnBean data
Update the auto-configuration annotation processor to generate
properties for `@ConditionalOnBean` and `@ConditionalOnSingleCandidate`.

See gh-13328
6 years ago
Phillip Webb e4f54a45be Add AutoConfigurationImportFilter base classes
Add `FilteringSpringBootCondition` base class and refactor the existing
`OnClassCondition` to use it. Also update the `match` method so that
the `autoConfigurationClasses` array may include `null` elements.

See gh-13328
6 years ago
Stephane Nicoll 5765ed00e8 Polish 6 years ago
Stephane Nicoll 19779951a1 Handle class not found
See gh-14575
6 years ago
Brian Clozel 0f11e69ca3 Upgrade to Micrometer 1.1.0-m.1
Closes #14567
6 years ago
Phillip Webb 84e72193b3 Remove automatic devtools web debug logging
Rework `DevToolsPropertyDefaultsPostProcessor` so that web logging no
longer defaults to `DEBUG`. The post processor now logs an info hint
to suggest the user configure the logging themselves.

Closes gh-14575
6 years ago
Andy Wilkinson 6e00d13d68 Polish 6 years ago
Andy Wilkinson 4c3e2d10d1 Auto-configure Micrometer's Elastic registry
Closes gh-14523
6 years ago
Andy Wilkinson 95ecbc736b Update example for disk space health indicator to use DataSize
See gh-14549
6 years ago
Stephane Nicoll 6145b3d278 Polish 6 years ago
Stephane Nicoll 831b0d7bdd Merge branch '2.0.x' 6 years ago
Stephane Nicoll 885948ce3b Polish 6 years ago
Stephane Nicoll da59d5c6d9 Polish 6 years ago
Stephane Nicoll 47f9379305 Adapt to changes in latest Micrometer snapshot
See gh-14522
6 years ago
Johnny Lim 3dc78d19bf Add log messages to lines only when the destination isn't set
Closes gh-14565
6 years ago
Johnny Lim f1552029ea Add @since in ApplicationContextInitializedEvent
Closes gh-14579
6 years ago
Stephane Nicoll 92afd041b0 Merge branch '2.0.x' 6 years ago
artsiom 7fb13d0dc2 Fix WebSocket web server customizer bean names
Closes gh-14582
6 years ago
Andy Wilkinson 8e9a93e5f3 Align SessionAutoConfigurationRedisTests with changes in Bean-RC1
See gh-14573
6 years ago
Andy Wilkinson 86c2b4a335 Upgrade to Spring Batch 4.1.0.RC1
Closes gh-14577
6 years ago
Andy Wilkinson d4942a11a8 Upgrade to Spring Session Bean-RC1
Closes gh-14573
6 years ago
Andy Wilkinson 977f8b4479 Auto-configure Micrometer's Kafka consumer metrics
Closes gh-14525
6 years ago
Andy Wilkinson 5196e138fa Upgrade to Spring Integration 5.1.0.RC1
Closes gh-14572
6 years ago
Andy Wilkinson 06d05684e5 Upgrade to Spring Kafka 2.2.0.RC1
Closes gh-14491
6 years ago
Andy Wilkinson 5d0a1ee0da Upgrade to Spring AMQP 2.1.0.RC1
Closes gh-14574
6 years ago
Andy Wilkinson ce75a585b1 Make spring-data-jdbc available to javadoc generation
See gh-14489
6 years ago
Andy Wilkinson cce693f708 Upgrade to Spring Security 5.1.0.RELEASE
Closes gh-14571
6 years ago
Andy Wilkinson ade79f7ded Fix duplicate section ID in the docs 6 years ago
Stephane Nicoll 9d46fee6db Merge branch '2.0.x' 6 years ago
Gary Russell 26c1e389df Polish RabbitMQ properties doc
Fix description for `prefetch`; remove reference to transactions since
the direct container does not support transactionSize.

Also fix `transactionSize` to just reference acks; autoConfiguration
doesn't support enabling transactions.

Closes gh-14569
6 years ago
Stephane Nicoll cbae22f0c9 Polish "Migrate size properties to DataSize"
Closes gh-14549
6 years ago
qct eb9f635004 Migrate size properties to DataSize
See gh-14549
6 years ago
Andy Wilkinson def02deaf0 Make micrometer-registry-dynatrace available to javadoc generation
See gh-14522
6 years ago
Andy Wilkinson 258c4838b1 Auto-configure Micrometer's Log4j2 metrics
Closes gh-14524
6 years ago
Andy Wilkinson 0f7897a0ca Upgrade to Spring Data Lovelace-RELEASE
Closes gh-14510
6 years ago
Andy Wilkinson 4b00dc8a5c Add support for Spring Data JDBC (auto-config, starter, and test slice)
Closes gh-14489
6 years ago
Andy Wilkinson fe75f966ff Auto-configure Micrometer's Dynatrace meter registry
Closes gh-14522
6 years ago
Andy Wilkinson 42abf733be Start building against snapshots for Micrometer 1.1.0 M1
See gh-14567
6 years ago
Stephane Nicoll 61858767ed Merge branch '2.0.x' 6 years ago
Stephane Nicoll 5506d972c6 Polish "Fix and improve Neo4j related documentation"
Closes gh-14548
6 years ago
Michael J. Simons 8a53adf3d2 Fix and improve Neo4j related documentation
See gh-14548
6 years ago
Stephane Nicoll f3c637f5c2 Upgrade to Spring Framwork 5.1.0.RELEASE
Closes gh-14481
6 years ago
Stephane Nicoll f1a38c461f Merge branch '2.0.x' 6 years ago
Stephane Nicoll 8cce5d3f64 Polish "Add dependency management for Neo4J OGM embedded driver"
Closes gh-14560
6 years ago
Michael J. Simons ad449e9520 Add dependency management for Neo4J OGM embedded driver
See gh-14560
6 years ago
Phillip Webb 11b1318cad Reduce GC pressure in JAR handler
Update the JAR `Hander` so that URL `startsWith` checks produce less
garbage. Comparisons are now performed first on the `path` rather than
the full `toString`. URL `toString` operations produce quite a lot of
garbage since a `StringBuilder` is always used.

In addition, we now also cache the JarFile URL toString to save repeated
calculation.

Closes gh-14561
6 years ago
Phillip Webb d0de4657d4 Reduce ConfigurationPropertyName GC pressure
Rewrite `ConfigurationPropertyName` in an attempt to consume less memory
and to reduce GC pressure from `toString()`.

Prior to this commit the `toString()` method would always construct a
new value from the name elements. This is sub-optimal since on on many
occasions the `ConfigurationPropertyName` is created from an already
well-formed String. The updated code now attempts to directly use the
original value for both `toString` and `equals` whenever possible.

Further refinements have also been made to the way that elements are
stored. Rather than a list or objects, we now use arrays that contains
the split points and types. This helps to reduce the amount of memory
required to store the name.

Closes gh-13414
6 years ago
Phillip Webb 0a187675b5 Reduce GC in SpringConfigurationPropertySource
Update `SpringConfigurationPropertySource` so that the
`DelegatingPropertyMapper` accepts a maximum of two values and does
not need to wrap arguments in an array. Also optimize the merge
operation to return a single result directly rather than always using
a new `List`.

Closes gh-14563
6 years ago
Phillip Webb 2bc3d8d01f Use shared BindConverter when possible
Update the `Binder` so that a single shares static `BindConverter` is
used whenever possible.

Closes gh-14562
6 years ago
Phillip Webb 865b7ae47f Reduce object creation when binding
Use static finals and private instances to reduce the number of objects
created when binding from the `ConfigFileApplicationListener`.

Closes gh-13436
6 years ago
Phillip Webb 624cd40598 Reduce GC pressure creating load descriptions
Update `ConfigFileApplicationListener` to build description methods
using a `StringBuilder` and not to use `String.format`.

See gh-13436
6 years ago
Andy Wilkinson 426ff3ada7 Store ObjectProvider rather than their Streams to allow reuse
Generally speaking, methods on configuration classes will only be called once
and, therefore, it should be safe to hold a reference to a Stream for later
one-time usage. However, there are some scenarios in Spring Fu where functional
registration results in an attempt being made to use a Stream more than use.

This commit protects against multiple use by storing the ObjectProvider and
getting a new ordered Stream each time it's needed.

Closes gh-14467
6 years ago
Andy Wilkinson cc6cf880cf Stop using ObjectProvider<List> and ObjectProvider<Collection>
Closes gh-14467
6 years ago
Stephane Nicoll 5323095e44 Fix broken build 6 years ago
Stephane Nicoll 22e77e02b6 Polish "Add support for SAP Hana Database"
Closes gh-14513
6 years ago
Michael cea95c303f Add support for SAP Hana Database
See gh-14513
6 years ago
Stephane Nicoll cd45343d41 Upgrade to Maven Shade Plugin 3.2.0
Closes gh-14546
6 years ago
Stephane Nicoll 90f4da0dac Upgrade to Mongo Driver Reactivestreams 1.9.2
Closes gh-14545
6 years ago
Stephane Nicoll 8b2bf3e0d9 Upgrade to Mongodb 3.8.2
Closes gh-14544
6 years ago
Stephane Nicoll 2a2f1e4023 Upgrade to Jooq 3.11.5
Closes gh-14543
6 years ago
Stephane Nicoll fd8c074371 Upgrade to Kotlin 1.2.70
Closes gh-14542
6 years ago
Stephane Nicoll ad340d253c Upgrade to Influxdb Java 2.13
Closes gh-14541
6 years ago
Stephane Nicoll 705ac1b4f3 Upgrade to Elasticsearch 6.4.1
Closes gh-14540
6 years ago
Stephane Nicoll a176e64ad8 Upgrade to Htmlunit 2.33
Closes gh-14539
6 years ago
Stephane Nicoll 310d6a5c79 Upgrade to Lettuce 5.1.0.RELEASE
Closes gh-14538
6 years ago
Stephane Nicoll 1ce6fdeeb8 Upgrade to Hazelcast 3.10.5
Closes gh-14537
6 years ago
Stephane Nicoll a376ebafd3 Merge branch '2.0.x' 6 years ago
Stephane Nicoll 63d276da58 Upgrade to Neo4j Ogm 3.1.3
Closes gh-14536
6 years ago
Stephane Nicoll 75c893164e Upgrade to Hibernate Validator 6.0.13.Final
Closes gh-14535
6 years ago
Stephane Nicoll 5cac8ac70b Upgrade to Elasticsearch 5.6.12
Closes gh-14534
6 years ago
Stephane Nicoll 0143cb6193 Upgrade to Janino 3.0.10
Closes gh-14533
6 years ago
Stephane Nicoll f49f407b99 Upgrade to Johnzon Jsonb 1.1.10
Closes gh-14532
6 years ago
Stephane Nicoll 59ecfea104 Upgrade to Unboundid Ldapsdk 4.0.8
Closes gh-14531
6 years ago
Stephane Nicoll 380696de58 Upgrade to Jackson 2.9.7
Closes gh-14530
6 years ago
Stephane Nicoll 8652f40781 Allow Quartz property to set the scheduler name
This commit makes sure that "org.quartz.scheduler.instanceName" is
honoured if set. Previously, "spring.quartz.scheduler-name" had a
default value and was always set. As a result, `SchedulerFactoryBean`
did not take the quartz property into account.

Closes gh-14243
6 years ago
Stephane Nicoll 9bca95e499 Upgrade to Reactor Californium RELEASE
Closes gh-14507
6 years ago
Stephane Nicoll 1e7c236589 Merge branch '2.0.x' 6 years ago
Stephane Nicoll 8aece088a4 Upgrade to Spring Web Services 3.0.4.RELEASE
Closes gh-14526
6 years ago
Stephane Nicoll ac2fefb6c3 Merge branch '2.0.x' 6 years ago
Stephane Nicoll 957321492f Merge branch '1.5.x' into 2.0.x 6 years ago
Johnny Lim 521f746151 Polish
Closes gh-14517
6 years ago
Andy Wilkinson efae363974 Register functional rather than reflective bean definitions where possible
Closes gh-14516
6 years ago
Andy Wilkinson 65295e0e14 Merge branch '2.0.x' 6 years ago
Andy Wilkinson bff93a67ce Fix remote DevTools restart when a previously added class is then changed
Previously, if a class was added and then changed, a restart would be triggered
and things would behave as if the class had been deleted. This occurred
because, when looking for additional classes that were not on the original
classpath, only files that had been added were considered. The subsequent
change to the class was noticed as a modified rather than an addition,
resulting in the class being skipped.

This commit updates the resource resolver to only ignore deleted files and
consider both added files and modified files when looking for additional
resources.

Closes gh-14205
6 years ago
Johnny Lim fd97f07209 Use meaningful name for MockServerConfigurer bean
Closes gh-14512
6 years ago
Andy Wilkinson 6164c9e8b6 Start building against Spring Data Lovelace snapshots
See gh-14510
6 years ago
Stephane Nicoll ce60f82998 Merge branch '2.0.x' 6 years ago
Marcel Overdijk 0870f23902 Fix dependency management for Caffeine
Closes gh-14505
6 years ago
yongsungjeon 11864f2bb6 Use constant for produces attribute
Closes gh-14501
6 years ago
Stephane Nicoll 36d22c8541 Merge branch '2.0.x' 6 years ago
DK Lee 01cf52447c Fix typo in WebClient example
Closes gh-14499
6 years ago
Stephane Nicoll 390fc03769 Polish "Add reference to ssh shell spring boot starter"
Closes gh-14496
6 years ago
François Onimus b416a46674 Add reference to ssh shell spring boot starter
See gh-14496
6 years ago
Stephane Nicoll f42891489d Polish key description
Closes gh-14450
6 years ago
Johnny Lim d0a252181b Polish
Closes gh-14449
6 years ago
Brian Clozel 1b7325df52 Switch to Reactor Californium SNAPSHOTs
See gh-14507
6 years ago
Andy Wilkinson c974192497 Polish "Add outcome tag to MVC and WebFlux HTTP request metrics"
Closes gh-14486
6 years ago
Michael McFadyen 9e9dd40959 Add outcome tag to MVC and WebFlux HTTP request metrics
See gh-14486
6 years ago
Andy Wilkinson 6da483f970 Merge branch '2.0.x' 6 years ago
Andy Wilkinson 6fba477d5e Remove redundant handling of a null exchange from WebFluxTags.uri()
Closes gh-14504
6 years ago
Andy Wilkinson eefa7e9f78 Merge branch '2.0.x' 6 years ago
Andy Wilkinson 6020cb67d3 Polish javadoc of status method on WebFluxTags and WebMvcTags 6 years ago
Andy Wilkinson c1b864c826 Polish 6 years ago
Madhura Bhave 9201e23f67 Revert "Raised the default version of Mongo to 3.6.5 when using Embedded Mongo."
This reverts commit 1a4ad96dd0. Reverting
to see if this fixes CI timeouts.
6 years ago
Madhura Bhave b2dd162572 Merge branch '2.0.x' 6 years ago
Madhura Bhave d7d5cbf959 Simplify printing ConditionEvaluationReport when using context runner
Closes gh-13119
6 years ago
Andy Wilkinson e1328f05e7 Merge branch '2.0.x' 6 years ago
Andy Wilkinson fc60d9f6d4 Merge branch '1.5.x' into 2.0.x 6 years ago
Gary Russell 19cea75e74 Start building against Spring Kafka 2.2.0 snapshots
See gh-14491
Closes gh-14420
6 years ago
Andy Wilkinson 1a4ad96dd0 Raised the default version of Mongo to 3.6.5 when using Embedded Mongo.
While MongoDB 3.6.7 has been released, 3.6.5 is the latest version that's supported
by the version of Embedded Mongo that we're currently using.

Closes gh-14476
6 years ago
Andy Wilkinson a1d1a7392f Polish "Use ExecutorProvider bean if available when auto-configuring jOOQ"
Closes gh-14471
6 years ago
davinkevin 620419f9e4 Use ExecutorProvider bean if available when auto-configuring jOOQ
See gh-14471
6 years ago
durigon 7aaeefbc0e Use Matcher from pre-compiled Pattern rather than String for replaceAll
Closes gh-14483
6 years ago
Andy Wilkinson 5e0e941632 Polish "Publish ApplicationContextInitializedEvent on contextPrepared"
Closes gh-14478
6 years ago
artsiom b4c6cef526 Publish ApplicationContextInitializedEvent on contextPrepared
See gh-14478
6 years ago
Phillip Webb d127d071fd Ensure classpath resource are also filtered
Update `ExtendedGroovyClassLoader` to also filter resources.

Closes gh-14482
6 years ago
Phillip Webb 99908fdfe7 Polish 6 years ago
Phillip Webb 5cc1a830b2 Fixup abstract configuration following SPR-16839
Spring Framework now requires that all nested configuration classes
are contained within a `@Component` class (see SPR-16839). This means
that our abstract `JpaBaseConfiguration` class should have a
`@Configuration` annotation.

Closes gh-14480
6 years ago
Phillip Webb 0f653e69cd Start building against Spring Framework SNAPSHOTs
See gh-14481
6 years ago
Madhura Bhave d5a197fe66 Support random actuator port in SpringBootTest
This commit changes @SpringBootTest(randomPort = true) to
generate a random port for the actuator endpoints if the
management server runs on a different port from the main
server.

Closes gh-4424
6 years ago
Madhura Bhave 01e61d88e7 Merge branch '2.0.x' 6 years ago
Madhura Bhave 5708792d82 Merge branch '1.5.x' into 2.0.x 6 years ago
Madhura Bhave d9efca146e Merge branch '2.0.x' 6 years ago
Madhura Bhave 09ccf875b7 Merge branch '1.5.x' into 2.0.x 6 years ago
Madhura Bhave 1113c356dc ReactiveOAuth2ClientAutoConfiguration backs off for servlet env
Fixes gh-14463
6 years ago
Phillip Webb d4b11c8fa6 Attempt to fix test failures on Java 9+
See gh-14453
6 years ago
Phillip Webb cef635d86c Reinstate devtools debug logging with opt-out
Reinstate `web` logging when devtools is in use, making use of the new
logging groups support. Devtools now also logs an `INFO` message
informing that properties defaults are offers an easy way to disable
them.

Closes gh-14450
6 years ago
Phillip Webb c4caf2705a Defer devtools logging
Defer logging from devtools classes until the context is prepared.

Closes gh-14453
6 years ago
Phillip Webb bc92becfd8 Allow DeferredLogger to replay and switch loggers
Add additional `switchTo` methods to allow a `DeferredLogger` to behave
like a regular logger once it has been replayed.

This commit also improves thread thread safety within the implementation.

Closes gh-14452
6 years ago
Phillip Webb b32887b8eb Add support for logging groups
Provide a way for users to quickly group related loggers together for
easier configuration. The `loggers.group` property can be used to define
a group that can then be configured in the usual `loggers.level.<group>`
way.

Additionally, provide pre-defined groups for `web` and `sql.

Closes gh-14421
6 years ago
Andy Wilkinson 5bc56671cb Upgrade to Jest 6.3.1
Closes gh-14429
6 years ago
Andy Wilkinson a2cf2cd87f Raise the minimum supported version of Gradle to 4.4
Closes gh-14418
6 years ago
Andy Wilkinson ae4e1d0372 Test the Gradle plugin against Gradle 4.10
Closes gh-14417
6 years ago
Andy Wilkinson 630e2d0b41 Correct the permissions of scripts in archives of boot distribution
Closes gh-14158
6 years ago
Phillip Webb f99df98588 Unify maven-shade-plugin version in parent POM
Closes gh-14440
6 years ago
Phillip Webb 670d9bd6f8 Upgrade to classmate 1.4.0
Closes gh-14424
6 years ago
Phillip Webb b41e135713 Upgrade to mockito-kotlin 1.6.0
Closes gh-14426
6 years ago
Phillip Webb f0bfcd8947 Drop okhttp 2.x managed dependency
Closes gh-14442
6 years ago
Phillip Webb 9beab013f9 Upgrade to okhttp 3.11.0
Closes gh-14427
6 years ago
Phillip Webb 372fee11f5 Upgrade to JOpt Simple 5.0.4
Closes gh-14430
6 years ago
Phillip Webb 83a2031934 Upgrade to Commons Compress 1.18
Closes gh-14431
6 years ago
Phillip Webb 4adceec45f Upgrade to Ivy 2.4.0
Closes gh-14432
6 years ago
Phillip Webb 6e64ae0921 Upgrade to maven-archiver 3.2.0
Closes gh-14433
6 years ago
Phillip Webb e00a254729 Upgrade to maven-plugin-annotations 3.5.2
Closes gh-14434
6 years ago
Phillip Webb 8b16630a49 Upgrade to sisu-inject-plexus 2.6.0
Closes gh-14435
6 years ago
Phillip Webb abd08418c0 Upgrade to testcontainers 1.8.3
Closes gh-14436
6 years ago
Phillip Webb 3f8a5fd2e3 Upgrade to zt-zip 1.13
Closes gh-14437
6 years ago
Phillip Webb d5ba03c2ae Upgrade to maven-common-artifact-filters 3.0.1
Closes gh-14441
6 years ago
Phillip Webb c6398d3eef Polish 6 years ago
Phillip Webb bb19d5690c Fix spring-boot-actuator-autoconfigure test logs
Add log4j to `spring-boot-actuator-autoconfigure` test scope so that
we get valid log output.

See gh-14148
6 years ago
Phillip Webb 894e0e11d4 Switch from Aether to Maven Resolver
Replace Aether dependencies with Maven Resolver following the Eclipse
EOL announcement for Aether.

Closes gh-7627
6 years ago
Phillip Webb 1f9754fc81 Upgrade to plexus-archiver to 3.6.0
Closes gh-14411
6 years ago
Phillip Webb 59e210642b Upgrade plexus-utils to 3.1.0
Closes gh-14422
6 years ago
Madhura Bhave 6c1915e81f Merge branch '2.0.x' 6 years ago
Madhura Bhave 7af6665a0e Ignore management.server.port for war
Fixes gh-14148
6 years ago
Phillip Webb 8ed516e9ae Polish 6 years ago
Phillip Webb aa2da0bb0d Remove logging level changes from devtools
Update `DevToolsPropertyDefaultsPostProcessor` to remove custom logging
level configuration. Unfortunately it's not easy to back-off logging
overrides when the user has a custom logback/log4j configuration.

Closes gh-14310
6 years ago
Phillip Webb 84b6fff8c0 Update copyright year for changed files 6 years ago
Phillip Webb 57ec09a55f Polish 6 years ago
Phillip Webb 0c00508b3c Register ApplicationConversionService for context
Update `SpringApplication` to automatically register the shared
`ApplicationConversionService` instance with the `BeanFactory` and
`Environment`.

Closes gh-12148
6 years ago
Madhura Bhave ab6bdc7ae2 Apply springSecurity configurer to WebTestClient
Also, @WebFluxTest now adds any ServerHttpSecurity beans
to the context.

Closes gh-13632
6 years ago
Phillip Webb 424dfc398b Move 'insights.web' properties to 'spring.http'
Relocate the 'spring.insights.web.log-request-details' property to
'spring.http.log-request-details'.

Closes gh-14313
6 years ago
Andy Wilkinson e4b9316613 Merge branch '2.0.x' 6 years ago
Andy Wilkinson 78464f999f Test the Gradle plugin against Gradle 4.10
Closes gh-14417
6 years ago
Andy Wilkinson 6041bc5bb0 Correct the permissions of scripts in archives of boot distribution
Closes gh-14158
6 years ago
Andy Wilkinson cd2323358e Upgrade to Junit Jupiter 5.3.1
Closes gh-14416
6 years ago
Andy Wilkinson 634c7bcc42 Upgrade to Infinispan 9.3.3.Final
Closes gh-14415
6 years ago
Andy Wilkinson 6b8e23b265 Merge branch '2.0.x' 6 years ago
Andy Wilkinson 39d383006c Upgrade to Spring Cloud Connectors 2.0.3.RELEASE
Closes gh-14414
6 years ago
Brian Clozel 2872579efe Upgrade to Spring AMQP 2.1.0.M3
Closes gh-14409
6 years ago
Brian Clozel f51a7e7d46 Upgrade to Tomcat 9.0.12
Closes gh-14408
6 years ago
Andy Wilkinson 79e3deec0e Merge branch '2.0.x' 6 years ago
Andy Wilkinson 2e86a6f479 Merge branch '1.5.x' into 2.0.x 6 years ago
Andy Wilkinson 1332fcb0ad Polish "Issue a warning from launch script when app will run as root"
Closes gh-10275
6 years ago
Oliver B. Fischer 94ebd33747 Issue a warning from launch script when app will run as root
See gh-10275
6 years ago
LEVI PAUL 74891a75bb Include TaskExecutionAutoConfiguration in @WebMvcTest
Closes gh-14400
6 years ago
Brian Clozel ff0ae3b5c0 Upgrade to Spring Session Bean-M3
Closes gh-14333
6 years ago
Brian Clozel dcd568c4e3 Upgrade to Spring Security 5.1.0.RC2
Closes gh-14407
6 years ago
Andy Wilkinson 9b1e74b2f1 Upgrade to Spring Session Apple-SR5
Closes gh-14332
6 years ago
Andy Wilkinson 856f9cb0ea Merge branch '1.5.x' into 2.0.x 6 years ago
Madhura Bhave 968a637e50 Refactor ReactiveOAuth2ClientAutoConfiguration for non webapps
Non web applications might want to leverage
`ReactiveClientRegistrationRepository` and
`ServerOAuth2AuthorizedClientRepository` to configure `WebClient`.

Closes gh-14350
6 years ago
Andy Wilkinson d09436872c Upgrade to Spring Integration 5.0.8.RELEASE
Closes gh-14330
6 years ago
Andy Wilkinson 144bc69afc Upgrade to Spring Kafka 2.2.0.M3
Closes gh-14331
6 years ago
Andy Wilkinson d7bfd07724 Upgrade to Spring Security 5.0.8.RELEASE
Closes gh-14403
6 years ago
Andy Wilkinson 0174417fb0 Upgrade to Spring Kafka 2.1.10.RELEASE
Closes gh-14402
6 years ago
Andy Wilkinson 8552d57757 Upgrade to Spring Amqp 2.0.6.RELEASE
Closes gh-14401
6 years ago
Sebastien Deleuze 48367e7741 Make standard JSON builder customiser classes package-private
Closes gh-14399
6 years ago
Andy Wilkinson c33eda65c7 Upgrade to Spring Data Kay SR10
Closes gh-14328
6 years ago
Andy Wilkinson 61ca6f439c Retain property aliases when flattening dependencies pom
Closes gh-12544
6 years ago
Andy Wilkinson 366c4d6044 Upgrade to Versions Maven Plugin 2.7
Closes gh-14393
6 years ago
Andy Wilkinson 379a8a4781 Upgrade to Xmlunit2 2.6.2
Closes gh-14392
6 years ago
Andy Wilkinson c4103bf0c7 Upgrade to Mongo Driver Reactivestreams 1.9.1
Closes gh-14391
6 years ago
Andy Wilkinson 49ea341f26 Upgrade to Mongodb 3.8.1
Closes gh-14390
6 years ago
Andy Wilkinson 3307760bed Upgrade to Mockito 2.22.0
Closes gh-14389
6 years ago
Andy Wilkinson e27ba5875e Upgrade to Mariadb 2.3.0
Closes gh-14388
6 years ago
Andy Wilkinson f910a1e671 Upgrade to Junit Jupiter 5.3.0
Closes gh-14387
6 years ago
Andy Wilkinson bd4a5f5c91 Upgrade to Infinispan 9.3.2.Final
Closes gh-14386
6 years ago
Andy Wilkinson 9be62edfa2 Upgrade to Hibernate 5.3.6.Final
Closes gh-14385
6 years ago
Andy Wilkinson f897a50833 Upgrade to Elasticsearch 6.4.0
Closes gh-14384
6 years ago
Andy Wilkinson fccb8f5619 Upgrade to Ehcache3 3.6.0
Closes gh-14383
6 years ago
Andy Wilkinson 22ef443d51 Upgrade to Assertj 3.11.1
Closes gh-14382
6 years ago
Andy Wilkinson 495025af97 Upgrade to Tomcat 9.0.11
Closes gh-14381
6 years ago
Andy Wilkinson 1ef8e05374 Upgrade to Commons Lang3 3.8
Closes gh-14380
6 years ago
Andy Wilkinson 3b1c4f7c19 Upgrade to Artemis 2.6.3
Closes gh-14379
6 years ago
Andy Wilkinson e5680816fa Upgrade to Byte Buddy 1.8.22
Closes gh-14378
6 years ago
Andy Wilkinson 75a74d6a94 Upgrade to Rxjava2 2.2.2
Closes gh-14377
6 years ago
Andy Wilkinson 3cec99d8aa Upgrade to Netty Tcnative 2.0.15.Final
Closes gh-14376
6 years ago
Andy Wilkinson c9bdc09c14 Upgrade to Lettuce 5.1.0.RC1
Closes gh-14375
6 years ago
Andy Wilkinson 753dd454fb Upgrade to Cassandra Driver 3.6.0
Closes gh-14374
6 years ago
Andy Wilkinson 89944edf27 Upgrade to Couchbase Client 2.6.2
Closes gh-14373
6 years ago
Andy Wilkinson 2471d5c7c2 Merge branch '2.0.x' 6 years ago
Andy Wilkinson a6feebb39d Upgrade to Spring Kafka 2.1.9.RELEASE
Closes gh-14372
6 years ago
Andy Wilkinson be498f945c Upgrade to Postgresql 42.2.5
Closes gh-14371
6 years ago
Andy Wilkinson 54302b9a7b Upgrade to Jetty El 8.5.33
Closes gh-14370
6 years ago
Andy Wilkinson 5010a690e8 Upgrade to Jaybird 3.0.5
Closes gh-14369
6 years ago
Andy Wilkinson e2e8db3876 Upgrade to Elasticsearch 5.6.11
Closes gh-14368
6 years ago
Andy Wilkinson 03eda003d0 Upgrade to Janino 3.0.9
Closes gh-14367
6 years ago
Andy Wilkinson cdd819adaa Upgrade to Johnzon Jsonb 1.1.9
Closes gh-14366
6 years ago
Andy Wilkinson 59cb5bf44c Upgrade to Activemq 5.15.6
Closes gh-14365
6 years ago
Andy Wilkinson 5c891f8e1b Upgrade to Netty 4.1.29.Final
Closes gh-14364
6 years ago
Andy Wilkinson 956ef0f785 Upgrade to Javax Mail 1.6.2
Closes gh-14363
6 years ago
Andy Wilkinson 2a44319706 Merge branch '2.0.x' 6 years ago
Andy Wilkinson 590ea73097 Merge branch '1.5.x' into 2.0.x 6 years ago
Stephane Nicoll 67d543c64c Start building against Spring Session Bean snapshots
See gh-14333
6 years ago
Stephane Nicoll 8afa201271 Start building against Spring Session Apple snapshots
See gh-14332
6 years ago
Stephane Nicoll 1740f039f3 Start building against Spring Integration snapshots
See gh-14330
6 years ago
Stephane Nicoll d53839eecb Start building against Spring Data Kay snapshots
See gh-14328
6 years ago
Stephane Nicoll 0493355241 Use deterministic order for configuration properties metadata
This commit updates the annotation processor to write metadata in a
consistent way. Groups, properties and hints are written and each item
is ordered alphabetically based on its name.

Also, deprecated items are written last.

Closes gh-14347
6 years ago
Madhura Bhave d3ecd02987 Merge branch '2.0.x' 6 years ago
Madhura Bhave e41394233b Harmonize ReactiveSecurityAutoConfiguration
Fixes gh-14263
6 years ago
Stephane Nicoll 24051b42d0 Polish "Add support for configuring missingQueuesFatal property"
See gh-14252
6 years ago
dreis2211 4fc2806089 Polish CommandCompleter
Closes gh-14339
6 years ago
Stephane Nicoll c1322a543c Polish "Add support for configuring missingQueuesFatal property"
Closes gh-14252
6 years ago
Dmytro Nosan 91e731a4b4 Add support for configuring missingQueuesFatal property
See gh-14252
6 years ago
Stephane Nicoll ce63db2e42 Upgrade to Spring Framework 5.0.9
Closes gh-14325
6 years ago
Stephane Nicoll 49b4913d48 Upgrade to Spring Framework 5.1.0.RC3
Closes gh-14324
6 years ago
Stephane Nicoll 0dafc37f76 Merge branch '2.0.x' 6 years ago
Stephane Nicoll b7e1a2ea6c Add reference to Rollbar starter
Closes gh-14343
6 years ago
Andy Wilkinson 4ae057694f Merge branch '2.0.x' 6 years ago
Andy Wilkinson aa45f3c702 Merge branch '1.5.x' into 2.0.x 6 years ago
Stephane Nicoll 61344f7d9c Upgrade to Reactor Bom Bismuth-SR11
Closes gh-14322
6 years ago
Stephane Nicoll 128ed77a69 Start building against Spring Framework 5.0 snapshots
See gh-14325
6 years ago
Brian Clozel 5e83192d7d Upgrade to Reactor Californium RC1
Closes gh-14323
6 years ago
Madhura Bhave 62cb87b40b Merge branch '2.0.x' 6 years ago
Madhura Bhave ccdbc0aa06 Polish "Remove redundancy from actuator documentation"
Closes gh-14206
6 years ago
kuldeepsidhu88 abf5e63b54 Remove redundancy from actuator documentation
See gh-14206
6 years ago
Phillip Webb 04710373bf Add @Author attribution
See gh-11077
6 years ago
Phillip Webb bc357225b5 Polish MockitoPostProcessor
Closes gh-11077
6 years ago
Andreas Neiser a5b3a2646b Test @MockBean/@SpyBean with @Primary
Add additional tests to ensure that `@MockBean` and `@SpyBean`
work consistently when combined with `@Primary`.

See gh-11077
6 years ago
Phillip Webb c777614d8f Support @MockBean/@SpyBean with @Primary
Update `MockitoPostProcessor` so that `@MockBean` and `@SpyBean`
work consistently when combined with `@Primary`.

See gh-11077

Co-authored-by: Andreas Neiser <andreas.neiser@gmail.com>
6 years ago
Phillip Webb 82b27c60a4 Drop MockitoPostProcessor factory method
Remove factory method previously used to create the mock instance.
Since commit 0e00a49dcc, the method is not longer needed.

See gh-11077
6 years ago
Brian Clozel a32cd1965e Switch to Reactor Californium-BUILD-SNAPSHOT
In preparation for gh-14323
6 years ago
Andy Wilkinson ad4179cc43 Merge branch '2.0.x' 6 years ago
Andy Wilkinson 6c865f9b43 Polish
See gh-1176
6 years ago
Stephane Nicoll 4d031999ce Polish "Fix use of deprecated Mongo API"
Closes gh-14318
6 years ago
Mark Paluch b97892ff88 Fix use of deprecated Mongo API
We now use com.mongodb.MongoClientSettings to configure the reactive
MongoDB driver. This is a breaking change as
MongoClientSettingsBuilderCustomizer and user-provided
MongoClientSettings beans referenced the package the settings type
from com.mongodb.async.client.

MongoClient.getSettings() is deprecated and still in use within tests
until a replacement is available.

See gh-14318
6 years ago
Stephane Nicoll f3ece97d9d Add spring-framework.version alias for spring.version
Closes gh-12544
6 years ago
Stephane Nicoll a170bfcc76 Deprecate micrometer meter's enabled flags
This commit deprecates the few 'enabled' flags that control whether
certain meter binders are registered in the context.

Metrics auto-configuration for the JVM, Logback and System-related
information have been moved to individual auto-configurations so that
they can be excluded rather than using the now deprecated flag.

This harmonizes our policy with regards to disabling behaviour,
especially since other similar auto-configurations do not have such
flag.

Closes gh-13408
6 years ago
Andy Wilkinson 79a964e563 Merge branch '2.0.x' 6 years ago
Andy Wilkinson 53372d5fd7 Document the use of --args to pass arguments to bootRun
Closes gh-1176
6 years ago
Stephane Nicoll 45ef926a90 Merge branch '2.0.x' 6 years ago
Stephane Nicoll ff8b8c55c6 Remove reference to "management.metrics.binders.integration.enabled"
Closes gh-14319
6 years ago
Phillip Webb 0e725543d5 Merge branch '2.0.x' 6 years ago
Phillip Webb a2cea6a45a Upgrade amqp-client to 5.4.1
See gh-14259
6 years ago
Phillip Webb ec27137632 Merge branch '1.5.x' into 2.0.x 6 years ago
Phillip Webb 8c34e053f5 Update copyright header of changed files 6 years ago
Phillip Webb c3de4c84f2 Polish 6 years ago
Stephane Nicoll 9dec5811fb Polish "Add reference to Stripe Payment Gateway Service starter"
Closes gh-14304
6 years ago
pankajtandon 40e574c3c2 Add reference to Stripe Payment Gateway Service starter
See gh-14304
6 years ago
Andy Wilkinson b580dd70f8 Polish 6 years ago
Andy Wilkinson da13871f84 Merge branch '2.0.x' 6 years ago
Andy Wilkinson 86d87ad215 Polish 6 years ago
Andy Wilkinson 7442e37154 Add JAXB API to Data JPA starter so it works out-of-the-box on Java 9+
Closes gh-14287
6 years ago
Stephane Nicoll 304c6a02ba Polish "Make it possible to disable the BackgroundPreinitializer"
Closes gh-14298
6 years ago
artsiom 5779767513 Make it possible to disable the BackgroundPreinitializer
See gh-14298
6 years ago
Stephane Nicoll 5f56adc334 Add activation API to WebServices samples on Java 11+
Closes gh-14308
6 years ago
Stephane Nicoll 7ff41e7c8c Polish 6 years ago
Stephane Nicoll ca8be3f6bd Polish "Add Health details using maps"
Closes gh-14305
6 years ago
Michael Pratt 5c86f9eca4 Add Health details using maps
See gh-14305
6 years ago
Stephane Nicoll 45204d7ee0 Harmonize JAXB version in dependency management
Closes gh-14308
6 years ago
Stephane Nicoll 3469142fec Partially revert 59d911d
This commit restores the public `UsesUnsafeJava` and flag it as
deprecated.

Closes gh-14072
6 years ago
Stephane Nicoll 5df75e74ae Update property description 6 years ago
Stephane Nicoll 9da0b25890 Merge branch '2.0.x' 6 years ago
Stephane Nicoll c410f7d153 Merge branch '1.5.x' into 2.0.x 6 years ago
Johnny Lim 49c760d275 Update @since tag
This commit updates @since tag in CloudServiceConnectorsAutoConfiguration
as it has been renamed in cfd0ab7646.

Closes gh-14297
6 years ago
Madhura Bhave f0d7533e0b Merge branch '2.0.x' 6 years ago
Madhura Bhave 9c82d5c382 Make ApplicationContextServerWebExchangeMatcher and subclasses thread-safe
Fixes gh-14161
6 years ago
Phillip Webb 9d1b3a2b49 Merge branch '2.0.x' 6 years ago
Phillip Webb cafff43022 Update copyright header of changed files 6 years ago
Phillip Webb 9af6b3422f Polish 6 years ago
Madhura Bhave 75937f5b5c Make jmsListenerContainerFactory @ConditionalOnSingleCandidate
Closes gh-12700
6 years ago
Phillip Webb 59b5c54489 Upgrade to Rabbit AMQP Client to 5.4.0
Closes gh-14303
6 years ago
Phillip Webb 0cd64ea690 Merge branch '2.0.x' 6 years ago
Phillip Webb 45613f8c3c Merge branch '1.5.x' into 2.0.x 6 years ago
Andy Wilkinson 8ee4775820 Polish 6 years ago
Brian Clozel 2af8a9617b Revert temporary workaround for reactor resources
This switches back the Reactor resources on global by default.

See gh-14058
See SPR-17199
6 years ago
Stephane Nicoll 3e745eefc0 Upgrade to Spring Batch 4.1.0.M3
Closes gh-14296
6 years ago
Stephane Nicoll 1ceb076035 Harmonize Metrics test
This commit harmonizes metrics test to rely on `MetricRun.simple()`
rather than configuring a simple `MeterRegistry` manually. Rather than
applying related auto-configurations automatically, `MetricsRun` only
enable the absolute minimum.

See gh-14255
6 years ago
Stephane Nicoll c0e45b7333 Adapt to Spring Framework API change 6 years ago
Stephane Nicoll cb7de2a963 Allow binding number to DataSize
Closes gh-14294
6 years ago
Stephane Nicoll 8771b34c15 Polish "Align max HTTP header size configuration"
Closes gh-14234
6 years ago
qct dbbb378650 Align max HTTP header size configuration
See gh-14234
6 years ago
Johnny Lim 5427d778fe Polish
Closes gh-14293
6 years ago
Stephane Nicoll 3d732e86f4 Merge branch '2.0.x' 6 years ago
Johnny Lim ca57e58ee5 Polish
See gh-14293
6 years ago
Stephane Nicoll e0ee4f22a5 Merge branch '2.0.x' 6 years ago
Johnny Lim 3eef927499 Use InvalidEndpointRequestException for MetricsEndpoint
Closes gh-14291
6 years ago
Brian Clozel 1a20e7efa1 Merge branch '2.0.x' 6 years ago
Kedar Joshi 72ebfb0332 Update default compressible media types
Closes gh-14278
6 years ago
Stephane Nicoll 3dfece779c Upgrade to Kotlin 1.2.61
Closes gh-14290
6 years ago
Stephane Nicoll 960acb0cbf Merge branch '2.0.x' 6 years ago
Stephane Nicoll 42bf594d96 Polish condition name
See gh-14285
6 years ago
artsiom 11f0f668ff Throw an exception on invalid syntax in SPRING_APPLICATION_JSON
Closes gh-14251
6 years ago
Stephane Nicoll 5a1aefc76f Merge branch '2.0.x' 6 years ago
Stephane Nicoll ddeae9b58e Polish "Fix WSDL locations condition to work with a list"
Closes gh-14285
6 years ago
Eneias Cordeiro da Silva 80358f7fbf Fix WSDL locations condition to work with a list
See gh-14285
6 years ago
Stephane Nicoll 143ca5d1fa Merge branch '2.0.x' 6 years ago
Stephane Nicoll 6078865372 Merge branch '1.5.x' into 2.0.x 6 years ago
Johnny Lim d510bc71b1 Polish
Closes gh-14271
6 years ago
Stephane Nicoll 7dff13b632 Merge branch '2.0.x' 6 years ago
Stephane Nicoll 8950c3ebb4 Polish
See gh-14271
6 years ago
Stephane Nicoll 314cd34716 Merge branch '2.0.x' 6 years ago
Stephane Nicoll 00233cd57e Merge branch '1.5.x' into 2.0.x 6 years ago
Madhura Bhave f3dbd946de Document how to test secure mockmvc tests
See gh-14227
6 years ago
Stephane Nicoll 8b753297c3 Merge branch '2.0.x' 6 years ago
Stephane Nicoll ea2fb620b4 Clarify structure of prefixes
Closes gh-14258
6 years ago
Stephane Nicoll 4634811c7c Polish 6 years ago
Stephane Nicoll 7bee9dfc22 Harmonize HTTP client metrics
This commit harmonizes the auto-configurations for RestTemplate and
WebClient in a single `HttpClientMetricsAutoConfiguration`. Doing so
allows to give a better scope for the shared `MeterFilter`.

As a result`WebClientMetricsAutoConfiguration` has moved to the `client`
package.

Closes gh-14269
6 years ago
Stephane Nicoll 2fc557a5a9 Improve WebSocket documentation for reactive applications
Closes gh-14069
6 years ago
Stephane Nicoll 374cf2c781 Merge branch '2.0.x' 6 years ago
Stephane Nicoll 6d637bc53b Add missing condition
Closes gh-14264
6 years ago
Madhura Bhave b16927ce91 Add @WithMockUser to tests
See gh-14227
6 years ago
Madhura Bhave 8f946260d2 Update copyright year for changed files 6 years ago
Madhura Bhave 0384a88b57 Include web security config classes in @WebMvcTest
Security config classes are not included when the
secure flag is set to false.

Closes gh-6514
6 years ago
Madhura Bhave d91c71b508 Deprecate secure flag on @WebMvcTest
Closes gh-14227
6 years ago
Phillip Webb 174f53e1cf Merge branch '2.0.x' 6 years ago
Phillip Webb 2e2f91d4a0 Merge branch '1.5.x' into 2.0.x 6 years ago
Stephane Nicoll 6c26315cd1 Merge branch '2.0.x' 6 years ago
Stephane Nicoll 0625443d27 Polish "Limit metrics collection of incoming requests"
Closes gh-14173
6 years ago
Dmytro Nosan 81a6701914 Limit metrics collection of incoming requests
See gh-14173
6 years ago
asomov 46c30d01e9 Upgrade to SnakeYAML 1.23
Closes gh-14224
6 years ago
Stephane Nicoll 0590c4de32 Merge branch '2.0.x' 6 years ago
Stephane Nicoll f9081a2c23 Revert "Polish some joining collectors"
See gh-14221
6 years ago
Stephane Nicoll cfd0ab7646 Remove `spring.cloud.enabled` property
This commit removes an undocumented property and rename the Spring
Cloud Service Connectors auto-configuration.

Closes gh-14219
6 years ago
Madhura Bhave a33e58fc45 Deprecate OAuth2 login redirect-uri-template
This property is deprecated in favor of
`spring.security.oauth2.client.registration.login.*.redirect-uri

Closes gh-14226
6 years ago
Madhura Bhave a54898b8f5 Remove explicit call to `authorizationCodeGrant`
See gh-13812
6 years ago
Madhura Bhave f5deebf0cb Support authorization_code grant for OAuth2 client
This commit also refactors OAuth2 client properties. With
the added support for authorization_code clients, client
registrations are now divided into `login` and `authorization_code`.
An environment post processor is used for backward compatibility with
old Open ID Connect login clients.

Closes gh-13812
6 years ago
Stephane Nicoll 5af7835e83 Merge branch '2.0.x' 6 years ago
dreis2211 afda71e419 Polish some joining collectors
Closes gh-14221
6 years ago
Stephane Nicoll b7ae55866e Polish "Improve Kafka Auto-configuration"
Closes gh-14215
6 years ago
Gary Russell 59c6dc5c7a Improve Kafka Auto-configuration
- transaction manager
- error handler
- after rollback processor

See gh-14215
6 years ago
Stephane Nicoll e8d21fc964 Merge branch '2.0.x' 6 years ago
Stephane Nicoll 3997b3ae5e Polish 6 years ago
Stephane Nicoll 56329e67d7 Polish "Add support for com.mongodb.client.MongoClient"
Closes gh-14176
6 years ago
Christoph Strobl d549e6001a Add support for com.mongodb.client.MongoClient
Next to com.mongodb.MongoClient the MongoDB Java driver offers the
com.mongodb.client.MongoClient as entry point for database and
collection operations. Spring Data MongoDB supports
c.m.client.MongoClient via its MongoDbFactory using
SimpleMongoClientDbFactory.

The MongoAutoConfiguration now backs off if any of those two clients is
already defined in the Application context allowing
MongoDataAutoConfiguration to pick up the users driver implementation of
choice.

See gh-14176
6 years ago
Johnny Lim 46415cb859 Add Spring Boot starter for Narayana in doc
Closes gh-14220
6 years ago
Stephane Nicoll dd94adbc11 Merge branch '2.0.x' 6 years ago
Stephane Nicoll ff11166af8 Restore RabbitMQ advanced starter as it is compatible with Spring Boot 2 6 years ago
Madhura Bhave f3fa952cbc Support WebExceptionHandler in @WebFluxTest
Closes gh-13627
6 years ago
Madhura Bhave 35d7bb7f34 Polish "issuer uri in reactive resource-server config"
Closes gh-14199
6 years ago
artsiom 04b7c4c6d9 Support issuer uri in reactive OAuth2 resource-server config 6 years ago
Stephane Nicoll db27d8fdf8 Revert "Polish dependency management for OIDC starter"
This reverts commit 3ad3cfd7e2.

Closes gh-14137
6 years ago
Stephane Nicoll 20c8f61473 Merge branch '2.0.x' 6 years ago
dreis2211 70add0617a Collapse identical catch blocks
Closes gh-14213
6 years ago
Dave Syer c7b7a1402a Make some nested private classes package private
Closes gh-13795
6 years ago
Stephane Nicoll d9c0dbb99d Polish "Polish some Collectors"
Closes gh-13727
6 years ago
dreis2211 422a436df1 Polish some Collectors
See gh-13727
6 years ago
Johnny Lim cf17106d8d Polish
Closes gh-14212
6 years ago
Stephane Nicoll a86d7cdb97 Add execution id to `repackage` goal
Closes gh-14210
6 years ago
Johnny Lim fe3fe0fa63 Polish
Closes gh-14202
6 years ago
Madhura Bhave cf31325e5d Polish "OIDC issuer uri in OAuth resource server config"
Closes gh-14190
6 years ago
artsiom 0c299bbc1f Support OIDC issuer uri in OAuth resource server config 6 years ago
mhyeon.lee c827530f4b Add user-info-authentication-method
Closes gh-13865
6 years ago
Madhura Bhave d07e2fa0b2 Polish "OAuth2 client secret should not be required"
Closes gh-14156
6 years ago
artsiom 6be4307712 OAuth2 client secret property should not be required 6 years ago
Madhura Bhave caf7221485 Update OAuth2 config following changes in Spring Security DSL
Closes gh-14169
6 years ago
Stephane Nicoll dea67e9aca Merge branch '2.0.x' 6 years ago
Stephane Nicoll af426e383f Review slice documentation to clarify the scope and alternative options
Closes gh-13810
6 years ago
Stephane Nicoll 876def3693 Merge branch '2.0.x' 6 years ago
Stephane Nicoll f53e6c701f Improve actuator documentation about the types supported for endpoints
Closes gh-13896
6 years ago
Stephane Nicoll 086fec09ef Merge branch '2.0.x' 6 years ago
Stephane Nicoll f5482a33a3 Document custom DispatcherServlet requirement
Closes gh-14145
6 years ago
Stephane Nicoll 7eecfe3108 Polish
See gh-14184
6 years ago
Stephane Nicoll 82280e34c7 Merge branch '2.0.x' 6 years ago
Johnny Lim fb71174c24 Polish
Closes gh-14184
6 years ago
Stephane Nicoll 833e39eeb6 Let Hibernate configure the transaction manager on WebSphere
Closes gh-8926
6 years ago
Madhura Bhave fc4340c5d4 Rename OAuth2 resource server properties
Closes gh-14165
6 years ago
Stephane Nicoll 26353a8f35 Port test to use ehcache3
Hibernate 5.3 has deprecated the ehcache2 region factory so this commit
upgrades the integration test to use JCache instead.
6 years ago
Brian Clozel 0881b7c390 Revert "Consider only current context in WebFlux setup"
This reverts commit da4624a882.
6 years ago