Commit Graph

3529 Commits

Author SHA1 Message Date
Stephane Nicoll 5cac8ac70b Upgrade to Elasticsearch 5.6.12
Closes gh-14534
2018-09-20 11:37:12 +02:00
Stephane Nicoll 0143cb6193 Upgrade to Janino 3.0.10
Closes gh-14533
2018-09-20 11:37:11 +02:00
Stephane Nicoll f49f407b99 Upgrade to Johnzon Jsonb 1.1.10
Closes gh-14532
2018-09-20 11:37:10 +02:00
Stephane Nicoll 59ecfea104 Upgrade to Unboundid Ldapsdk 4.0.8
Closes gh-14531
2018-09-20 11:37:09 +02:00
Stephane Nicoll 380696de58 Upgrade to Jackson 2.9.7
Closes gh-14530
2018-09-20 11:37:09 +02:00
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
2018-09-20 11:27:57 +02:00
Stephane Nicoll 9bca95e499 Upgrade to Reactor Californium RELEASE
Closes gh-14507
2018-09-20 10:47:19 +02:00
Stephane Nicoll 1e7c236589 Merge branch '2.0.x' 2018-09-20 10:46:01 +02:00
Stephane Nicoll 8aece088a4 Upgrade to Spring Web Services 3.0.4.RELEASE
Closes gh-14526
2018-09-20 10:43:52 +02:00
Stephane Nicoll ac2fefb6c3 Merge branch '2.0.x' 2018-09-20 10:25:20 +02:00
Stephane Nicoll 957321492f Merge branch '1.5.x' into 2.0.x 2018-09-20 10:24:57 +02:00
Johnny Lim 521f746151 Polish
Closes gh-14517
2018-09-20 09:51:10 +02:00
Andy Wilkinson efae363974 Register functional rather than reflective bean definitions where possible
Closes gh-14516
2018-09-19 19:59:09 +01:00
Andy Wilkinson 65295e0e14 Merge branch '2.0.x' 2018-09-19 19:52:19 +01:00
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
2018-09-19 18:02:01 +01:00
Johnny Lim fd97f07209 Use meaningful name for MockServerConfigurer bean
Closes gh-14512
2018-09-19 15:31:38 +02:00
Andy Wilkinson 6164c9e8b6 Start building against Spring Data Lovelace snapshots
See gh-14510
2018-09-19 14:21:20 +01:00
Stephane Nicoll ce60f82998 Merge branch '2.0.x' 2018-09-19 12:09:29 +02:00
Marcel Overdijk 0870f23902 Fix dependency management for Caffeine
Closes gh-14505
2018-09-19 12:04:49 +02:00
yongsungjeon 11864f2bb6 Use constant for produces attribute
Closes gh-14501
2018-09-19 11:38:29 +02:00
Stephane Nicoll 36d22c8541 Merge branch '2.0.x' 2018-09-19 11:34:39 +02:00
DK Lee 01cf52447c Fix typo in WebClient example
Closes gh-14499
2018-09-19 11:34:04 +02:00
Stephane Nicoll 390fc03769 Polish "Add reference to ssh shell spring boot starter"
Closes gh-14496
2018-09-19 11:27:26 +02:00
François Onimus b416a46674 Add reference to ssh shell spring boot starter
See gh-14496
2018-09-19 11:26:08 +02:00
Stephane Nicoll f42891489d Polish key description
Closes gh-14450
2018-09-19 10:31:01 +02:00
Johnny Lim d0a252181b Polish
Closes gh-14449
2018-09-19 09:58:31 +02:00
Brian Clozel 1b7325df52 Switch to Reactor Californium SNAPSHOTs
See gh-14507
2018-09-18 19:35:04 +02:00
Andy Wilkinson c974192497 Polish "Add outcome tag to MVC and WebFlux HTTP request metrics"
Closes gh-14486
2018-09-18 12:30:28 +01:00
Michael McFadyen 9e9dd40959 Add outcome tag to MVC and WebFlux HTTP request metrics
See gh-14486
2018-09-18 12:00:12 +01:00
Andy Wilkinson 6da483f970 Merge branch '2.0.x' 2018-09-18 11:59:52 +01:00
Andy Wilkinson 6fba477d5e Remove redundant handling of a null exchange from WebFluxTags.uri()
Closes gh-14504
2018-09-18 11:59:19 +01:00
Andy Wilkinson eefa7e9f78 Merge branch '2.0.x' 2018-09-18 11:30:44 +01:00
Andy Wilkinson 6020cb67d3 Polish javadoc of status method on WebFluxTags and WebMvcTags 2018-09-18 11:30:35 +01:00
Andy Wilkinson c1b864c826 Polish 2018-09-18 11:18:28 +01:00
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.
2018-09-17 15:25:54 -07:00
Madhura Bhave b2dd162572 Merge branch '2.0.x' 2018-09-17 14:30:38 -07:00
Madhura Bhave d7d5cbf959 Simplify printing ConditionEvaluationReport when using context runner
Closes gh-13119
2018-09-17 14:23:47 -07:00
Andy Wilkinson e1328f05e7 Merge branch '2.0.x' 2018-09-17 15:55:35 +01:00
Andy Wilkinson fc60d9f6d4 Merge branch '1.5.x' into 2.0.x 2018-09-17 15:50:12 +01:00
Gary Russell 19cea75e74 Start building against Spring Kafka 2.2.0 snapshots
See gh-14491
Closes gh-14420
2018-09-17 12:35:37 +01:00
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
2018-09-17 12:29:48 +01:00
Andy Wilkinson a1d1a7392f Polish "Use ExecutorProvider bean if available when auto-configuring jOOQ"
Closes gh-14471
2018-09-17 11:20:45 +01:00
davinkevin 620419f9e4 Use ExecutorProvider bean if available when auto-configuring jOOQ
See gh-14471
2018-09-17 11:15:47 +01:00
durigon 7aaeefbc0e Use Matcher from pre-compiled Pattern rather than String for replaceAll
Closes gh-14483
2018-09-17 10:54:54 +01:00
Andy Wilkinson 5e0e941632 Polish "Publish ApplicationContextInitializedEvent on contextPrepared"
Closes gh-14478
2018-09-17 10:50:28 +01:00
artsiom b4c6cef526 Publish ApplicationContextInitializedEvent on contextPrepared
See gh-14478
2018-09-17 10:43:12 +01:00
Phillip Webb d127d071fd Ensure classpath resource are also filtered
Update `ExtendedGroovyClassLoader` to also filter resources.

Closes gh-14482
2018-09-15 18:03:53 -07:00
Phillip Webb 99908fdfe7 Polish 2018-09-15 18:03:53 -07:00
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
2018-09-15 18:03:53 -07:00
Phillip Webb 0f653e69cd Start building against Spring Framework SNAPSHOTs
See gh-14481
2018-09-15 18:03:52 -07:00
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
2018-09-14 15:42:08 -07:00
Madhura Bhave 01e61d88e7 Merge branch '2.0.x' 2018-09-14 11:48:37 -07:00
Madhura Bhave 5708792d82 Merge branch '1.5.x' into 2.0.x 2018-09-14 11:43:33 -07:00
Madhura Bhave d9efca146e Merge branch '2.0.x' 2018-09-14 11:21:31 -07:00
Madhura Bhave 09ccf875b7 Merge branch '1.5.x' into 2.0.x 2018-09-14 11:17:59 -07:00
Madhura Bhave 1113c356dc ReactiveOAuth2ClientAutoConfiguration backs off for servlet env
Fixes gh-14463
2018-09-13 12:39:18 -07:00
Phillip Webb d4b11c8fa6 Attempt to fix test failures on Java 9+
See gh-14453
2018-09-12 18:31:50 -07:00
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
2018-09-12 16:25:14 -07:00
Phillip Webb c4caf2705a Defer devtools logging
Defer logging from devtools classes until the context is prepared.

Closes gh-14453
2018-09-12 16:25:14 -07:00
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
2018-09-12 16:25:14 -07:00
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
2018-09-12 16:25:14 -07:00
Andy Wilkinson 5bc56671cb Upgrade to Jest 6.3.1
Closes gh-14429
2018-09-12 17:48:54 +01:00
Andy Wilkinson a2cf2cd87f Raise the minimum supported version of Gradle to 4.4
Closes gh-14418
2018-09-12 17:06:03 +01:00
Andy Wilkinson ae4e1d0372 Test the Gradle plugin against Gradle 4.10
Closes gh-14417
2018-09-12 12:57:27 +01:00
Andy Wilkinson 630e2d0b41 Correct the permissions of scripts in archives of boot distribution
Closes gh-14158
2018-09-12 12:57:27 +01:00
Phillip Webb f99df98588 Unify maven-shade-plugin version in parent POM
Closes gh-14440
2018-09-11 22:49:36 -07:00
Phillip Webb 670d9bd6f8 Upgrade to classmate 1.4.0
Closes gh-14424
2018-09-11 22:49:35 -07:00
Phillip Webb b41e135713 Upgrade to mockito-kotlin 1.6.0
Closes gh-14426
2018-09-11 22:49:35 -07:00
Phillip Webb f0bfcd8947 Drop okhttp 2.x managed dependency
Closes gh-14442
2018-09-11 22:49:35 -07:00
Phillip Webb 9beab013f9 Upgrade to okhttp 3.11.0
Closes gh-14427
2018-09-11 22:49:35 -07:00
Phillip Webb 372fee11f5 Upgrade to JOpt Simple 5.0.4
Closes gh-14430
2018-09-11 22:49:34 -07:00
Phillip Webb 83a2031934 Upgrade to Commons Compress 1.18
Closes gh-14431
2018-09-11 22:36:13 -07:00
Phillip Webb 4adceec45f Upgrade to Ivy 2.4.0
Closes gh-14432
2018-09-11 22:36:13 -07:00
Phillip Webb 6e64ae0921 Upgrade to maven-archiver 3.2.0
Closes gh-14433
2018-09-11 22:36:12 -07:00
Phillip Webb e00a254729 Upgrade to maven-plugin-annotations 3.5.2
Closes gh-14434
2018-09-11 22:36:11 -07:00
Phillip Webb 8b16630a49 Upgrade to sisu-inject-plexus 2.6.0
Closes gh-14435
2018-09-11 22:36:11 -07:00
Phillip Webb abd08418c0 Upgrade to testcontainers 1.8.3
Closes gh-14436
2018-09-11 22:36:11 -07:00
Phillip Webb 3f8a5fd2e3 Upgrade to zt-zip 1.13
Closes gh-14437
2018-09-11 22:36:10 -07:00
Phillip Webb d5ba03c2ae Upgrade to maven-common-artifact-filters 3.0.1
Closes gh-14441
2018-09-11 22:36:10 -07:00
Phillip Webb c6398d3eef Polish 2018-09-11 22:36:06 -07:00
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
2018-09-11 20:13:27 -07:00
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
2018-09-11 18:08:59 -07:00
Phillip Webb 1f9754fc81 Upgrade to plexus-archiver to 3.6.0
Closes gh-14411
2018-09-11 18:08:59 -07:00
Phillip Webb 59e210642b Upgrade plexus-utils to 3.1.0
Closes gh-14422
2018-09-11 18:08:59 -07:00
Madhura Bhave 6c1915e81f Merge branch '2.0.x' 2018-09-11 17:03:38 -07:00
Madhura Bhave 7af6665a0e Ignore management.server.port for war
Fixes gh-14148
2018-09-11 16:56:03 -07:00
Phillip Webb 8ed516e9ae Polish 2018-09-11 15:10:25 -07:00
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
2018-09-11 15:07:34 -07:00
Phillip Webb 84b6fff8c0 Update copyright year for changed files 2018-09-11 14:28:28 -07:00
Phillip Webb 57ec09a55f Polish 2018-09-11 14:27:10 -07:00
Phillip Webb 0c00508b3c Register ApplicationConversionService for context
Update `SpringApplication` to automatically register the shared
`ApplicationConversionService` instance with the `BeanFactory` and
`Environment`.

Closes gh-12148
2018-09-11 14:24:27 -07:00
Madhura Bhave ab6bdc7ae2 Apply springSecurity configurer to WebTestClient
Also, @WebFluxTest now adds any ServerHttpSecurity beans
to the context.

Closes gh-13632
2018-09-11 13:28:13 -07:00
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
2018-09-11 12:51:14 -07:00
Andy Wilkinson e4b9316613 Merge branch '2.0.x' 2018-09-11 20:33:40 +01:00
Andy Wilkinson 78464f999f Test the Gradle plugin against Gradle 4.10
Closes gh-14417
2018-09-11 20:33:26 +01:00
Andy Wilkinson 6041bc5bb0 Correct the permissions of scripts in archives of boot distribution
Closes gh-14158
2018-09-11 20:32:18 +01:00
Andy Wilkinson cd2323358e Upgrade to Junit Jupiter 5.3.1
Closes gh-14416
2018-09-11 20:06:44 +01:00
Andy Wilkinson 634c7bcc42 Upgrade to Infinispan 9.3.3.Final
Closes gh-14415
2018-09-11 20:06:43 +01:00
Andy Wilkinson 6b8e23b265 Merge branch '2.0.x' 2018-09-11 20:05:47 +01:00
Andy Wilkinson 39d383006c Upgrade to Spring Cloud Connectors 2.0.3.RELEASE
Closes gh-14414
2018-09-11 20:04:58 +01:00
Brian Clozel 2872579efe Upgrade to Spring AMQP 2.1.0.M3
Closes gh-14409
2018-09-11 15:24:34 +02:00
Brian Clozel f51a7e7d46 Upgrade to Tomcat 9.0.12
Closes gh-14408
2018-09-11 15:23:39 +02:00
Andy Wilkinson 79e3deec0e Merge branch '2.0.x' 2018-09-11 12:41:27 +01:00
Andy Wilkinson 2e86a6f479 Merge branch '1.5.x' into 2.0.x 2018-09-11 12:31:09 +01:00
Andy Wilkinson 1332fcb0ad Polish "Issue a warning from launch script when app will run as root"
Closes gh-10275
2018-09-11 12:12:43 +01:00
Oliver B. Fischer 94ebd33747 Issue a warning from launch script when app will run as root
See gh-10275
2018-09-11 12:12:05 +01:00
LEVI PAUL 74891a75bb Include TaskExecutionAutoConfiguration in @WebMvcTest
Closes gh-14400
2018-09-11 11:29:17 +01:00
Brian Clozel ff0ae3b5c0 Upgrade to Spring Session Bean-M3
Closes gh-14333
2018-09-11 11:41:24 +02:00
Brian Clozel dcd568c4e3 Upgrade to Spring Security 5.1.0.RC2
Closes gh-14407
2018-09-11 11:40:19 +02:00
Andy Wilkinson 9b1e74b2f1 Upgrade to Spring Session Apple-SR5
Closes gh-14332
2018-09-11 10:13:25 +01:00
Andy Wilkinson 856f9cb0ea Merge branch '1.5.x' into 2.0.x 2018-09-11 07:45:53 +01:00
Madhura Bhave 968a637e50 Refactor ReactiveOAuth2ClientAutoConfiguration for non webapps
Non web applications might want to leverage
`ReactiveClientRegistrationRepository` and
`ServerOAuth2AuthorizedClientRepository` to configure `WebClient`.

Closes gh-14350
2018-09-10 14:13:26 -07:00
Andy Wilkinson d09436872c Upgrade to Spring Integration 5.0.8.RELEASE
Closes gh-14330
2018-09-10 22:02:21 +01:00
Andy Wilkinson 144bc69afc Upgrade to Spring Kafka 2.2.0.M3
Closes gh-14331
2018-09-10 20:22:17 +01:00
Andy Wilkinson d7bfd07724 Upgrade to Spring Security 5.0.8.RELEASE
Closes gh-14403
2018-09-10 20:19:32 +01:00
Andy Wilkinson 0174417fb0 Upgrade to Spring Kafka 2.1.10.RELEASE
Closes gh-14402
2018-09-10 20:19:32 +01:00
Andy Wilkinson 8552d57757 Upgrade to Spring Amqp 2.0.6.RELEASE
Closes gh-14401
2018-09-10 20:19:31 +01:00
Sebastien Deleuze 48367e7741 Make standard JSON builder customiser classes package-private
Closes gh-14399
2018-09-10 16:36:21 +01:00
Andy Wilkinson c33eda65c7 Upgrade to Spring Data Kay SR10
Closes gh-14328
2018-09-10 15:27:03 +01:00
Andy Wilkinson 61ca6f439c Retain property aliases when flattening dependencies pom
Closes gh-12544
2018-09-10 09:20:24 +01:00
Andy Wilkinson 366c4d6044 Upgrade to Versions Maven Plugin 2.7
Closes gh-14393
2018-09-10 08:56:21 +01:00
Andy Wilkinson 379a8a4781 Upgrade to Xmlunit2 2.6.2
Closes gh-14392
2018-09-10 08:56:20 +01:00
Andy Wilkinson c4103bf0c7 Upgrade to Mongo Driver Reactivestreams 1.9.1
Closes gh-14391
2018-09-10 08:56:20 +01:00
Andy Wilkinson 49ea341f26 Upgrade to Mongodb 3.8.1
Closes gh-14390
2018-09-10 08:56:19 +01:00
Andy Wilkinson 3307760bed Upgrade to Mockito 2.22.0
Closes gh-14389
2018-09-10 08:56:19 +01:00
Andy Wilkinson e27ba5875e Upgrade to Mariadb 2.3.0
Closes gh-14388
2018-09-10 08:56:18 +01:00
Andy Wilkinson f910a1e671 Upgrade to Junit Jupiter 5.3.0
Closes gh-14387
2018-09-10 08:56:17 +01:00
Andy Wilkinson bd4a5f5c91 Upgrade to Infinispan 9.3.2.Final
Closes gh-14386
2018-09-10 08:56:17 +01:00
Andy Wilkinson 9be62edfa2 Upgrade to Hibernate 5.3.6.Final
Closes gh-14385
2018-09-10 08:56:16 +01:00
Andy Wilkinson f897a50833 Upgrade to Elasticsearch 6.4.0
Closes gh-14384
2018-09-10 08:56:15 +01:00
Andy Wilkinson fccb8f5619 Upgrade to Ehcache3 3.6.0
Closes gh-14383
2018-09-10 08:56:14 +01:00
Andy Wilkinson 22ef443d51 Upgrade to Assertj 3.11.1
Closes gh-14382
2018-09-10 08:56:13 +01:00
Andy Wilkinson 495025af97 Upgrade to Tomcat 9.0.11
Closes gh-14381
2018-09-10 08:56:12 +01:00
Andy Wilkinson 1ef8e05374 Upgrade to Commons Lang3 3.8
Closes gh-14380
2018-09-10 08:56:12 +01:00
Andy Wilkinson 3b1c4f7c19 Upgrade to Artemis 2.6.3
Closes gh-14379
2018-09-10 08:56:11 +01:00
Andy Wilkinson e5680816fa Upgrade to Byte Buddy 1.8.22
Closes gh-14378
2018-09-10 08:56:10 +01:00
Andy Wilkinson 75a74d6a94 Upgrade to Rxjava2 2.2.2
Closes gh-14377
2018-09-10 08:56:10 +01:00
Andy Wilkinson 3cec99d8aa Upgrade to Netty Tcnative 2.0.15.Final
Closes gh-14376
2018-09-10 08:56:09 +01:00
Andy Wilkinson c9bdc09c14 Upgrade to Lettuce 5.1.0.RC1
Closes gh-14375
2018-09-10 08:56:08 +01:00
Andy Wilkinson 753dd454fb Upgrade to Cassandra Driver 3.6.0
Closes gh-14374
2018-09-10 08:56:07 +01:00
Andy Wilkinson 89944edf27 Upgrade to Couchbase Client 2.6.2
Closes gh-14373
2018-09-10 08:56:07 +01:00
Andy Wilkinson 2471d5c7c2 Merge branch '2.0.x' 2018-09-10 08:51:01 +01:00
Andy Wilkinson a6feebb39d Upgrade to Spring Kafka 2.1.9.RELEASE
Closes gh-14372
2018-09-10 08:46:06 +01:00
Andy Wilkinson be498f945c Upgrade to Postgresql 42.2.5
Closes gh-14371
2018-09-10 08:46:05 +01:00
Andy Wilkinson 54302b9a7b Upgrade to Jetty El 8.5.33
Closes gh-14370
2018-09-10 08:46:04 +01:00
Andy Wilkinson 5010a690e8 Upgrade to Jaybird 3.0.5
Closes gh-14369
2018-09-10 08:46:04 +01:00
Andy Wilkinson e2e8db3876 Upgrade to Elasticsearch 5.6.11
Closes gh-14368
2018-09-10 08:46:03 +01:00
Andy Wilkinson 03eda003d0 Upgrade to Janino 3.0.9
Closes gh-14367
2018-09-10 08:46:02 +01:00
Andy Wilkinson cdd819adaa Upgrade to Johnzon Jsonb 1.1.9
Closes gh-14366
2018-09-10 08:46:02 +01:00
Andy Wilkinson 59cb5bf44c Upgrade to Activemq 5.15.6
Closes gh-14365
2018-09-10 08:46:01 +01:00