Commit Graph

13388 Commits

Author SHA1 Message Date
Andy Wilkinson
c00a42f437 Add auto-configuration for separate Spring Session Data MongoDB module
Closes gh-9552
2017-09-21 12:47:28 +01:00
Andy Wilkinson
c3bc32db02 Polish and reinstate usage of FileSystemUtils.deleteRecursively
Closes gh-9942
2017-09-21 12:03:51 +01:00
Andy Wilkinson
c4aba91c47 Expand dependency management for Hibernate
Closes gh-9950
2017-09-21 11:40:28 +01:00
Andy Wilkinson
2a087c8827 Align reference docs with new Gradle DSL for archive's launch script
Closes gh-9935
2017-09-21 11:30:57 +01:00
Andy Wilkinson
7c1bc68fbe Consider JUnit Jupiter test classes in TestTypeExcludeFilter
Previously, TestTypeExcludeFilter only looked for JUnit 4 class
and method annotations when determining if a class was a test class.
As a result, if an application was using JUnit Jupiter, its test
classes would not be exluded during component scanning.

This commit expands TestTypeExcludeFilter to also identify classes
using JUnit Jupiter. This includes classes (meta-)annotated with
@ExtendWith and methods (meta-)annotated with @Testable. The later
provides detection of Jupiter's @Test, @TestFactory, and @RepeatedTest
annotations all of which are meta-annotated with @Testable.

Closes gh-6898
2017-09-21 11:19:41 +01:00
Andy Wilkinson
e9147c2f20 Remove Spring Security OAuth Auto-Configuration
This commit removes auto-configuration support for Spring Security
OAuth, paving the way for the introduction of auto-configuration for
Spring Security 5's new OAuth-related features.

Closes gh-10255
2017-09-21 10:33:16 +01:00
Stephane Nicoll
a0fee6fe3b Merge pull request #10367 from izeye:clean-up-java-6
* pr/10367:
  Polish "Clean up Java 6 leftover"
  Clean up Java 6 leftover
2017-09-21 09:27:41 +02:00
Stephane Nicoll
4ddba74e2f Polish "Clean up Java 6 leftover"
Closes gh-10367
2017-09-21 09:27:11 +02:00
Johnny Lim
bbeba4a016 Clean up Java 6 leftover
See gh-10367
2017-09-21 08:58:47 +02:00
Andy Wilkinson
96bf799b5c Simply Gradle plugin DSL for configuring a jar or war's launch script
Closes gh-9948
2017-09-21 06:55:37 +01:00
Stephane Nicoll
56d82eb68f Merge pull request #8342 from vpavic:sessions-endpoint
* pr/8342:
  Polish "Add actuator endpoint for finding and deleting sessions"
  Add actuator endpoint for finding and deleting sessions
2017-09-20 16:21:24 +02:00
Stephane Nicoll
27f22229e2 Polish "Add actuator endpoint for finding and deleting sessions"
Closes gh-8342
2017-09-20 16:17:06 +02:00
Vedran Pavic
cf151b1717 Add actuator endpoint for finding and deleting sessions
See gh-8342
2017-09-20 15:48:25 +02:00
Stephane Nicoll
714c533509 Apply Surefire's defaults in starter-parent
Closes gh-9966
2017-09-20 14:13:15 +02:00
Andy Wilkinson
e0a6b16138 Merge pull request #9839 from kashike
* gh-9839:
  Polish "Use -parameters compiler arg by default in Gradle builds"
  Use -parameters compiler arg by default in Gradle builds
2017-09-20 12:34:20 +01:00
Andy Wilkinson
70393300c2 Polish "Use -parameters compiler arg by default in Gradle builds"
Closes gh-9839
2017-09-20 12:32:14 +01:00
kashike
238ef98f8b Use -parameters compiler arg by default in Gradle builds
See gh-9839
2017-09-20 12:31:28 +01:00
Andy Wilkinson
8ab12d909e Use standard bean validation annotations that are new in 2.0
See gh-9969
2017-09-20 12:08:13 +01:00
Stephane Nicoll
92beba10fe Merge pull request #10350 from vpavic:gh-10348
* pr/10350:
  Polish "Remove usage of `HttpStatus` in Web Endpoints"
  Remove usage of `HttpStatus` in Web Endpoints
2017-09-20 11:30:17 +02:00
Stephane Nicoll
f43aa9444d Polish "Remove usage of HttpStatus in Web Endpoints"
Closes gh-10350
2017-09-20 11:27:06 +02:00
Vedran Pavic
6c6ce7221a Remove usage of HttpStatus in Web Endpoints
See gh-10350
2017-09-20 11:12:12 +02:00
Stephane Nicoll
326290b2c9 Merge pull request #10351 from vpavic:improve-session-sample
* pr/10351:
  Polish "Improve Spring Session sample"
  Improve Spring Session sample
2017-09-20 11:10:27 +02:00
Stephane Nicoll
efc3188cff Polish "Improve Spring Session sample"
Closes gh-10351
2017-09-20 11:09:44 +02:00
Vedran Pavic
8561929164 Improve Spring Session sample
This commit improves the Spring Session sample by providing multiple
build profiles that make it possible to easily try out different session
stores. By default, JDBC session store backed by an in-memory embedded H2
database is used.

See gh-10351
2017-09-20 11:08:46 +02:00
Andy Wilkinson
17a349b691 Update to Mockito 2.10
Closes gh-10245
2017-09-20 09:04:24 +01:00
Andy Wilkinson
6e2dfc75f3 Drop support for Mockito 1.x
Closes gh-10247
2017-09-20 08:56:14 +01:00
Andy Wilkinson
7e9180f0b8 Tweak Travis configuration as Surefire is now silent in quite mode
Surefire 2.20 is completely silent when running in quiet mode which
causes Travis to incorrectly detect that the build has hung. This
commit removes the use of quiet mode in the hope that it will
strike a reasonable balance between enough log output to prevent
a false positive for the build being hung while also not generating
so much output that Travis cannot cope.
2017-09-20 07:26:43 +01:00
Andy Wilkinson
d7b8dbac21 Merge branch '1.5.x' 2017-09-20 06:57:06 +01:00
Andy Wilkinson
2bf428707d Merge pull request #10278 from Venil Noronha
* gh-10278:
  Polish "Align prefix match in BufferCounterService with DefaultCounterService"
  Align prefix match in BufferCounterService with DefaultCounterService
2017-09-20 06:52:06 +01:00
Andy Wilkinson
aca30950cf Polish "Align prefix match in BufferCounterService with DefaultCounterService"
See gh-10278
2017-09-20 06:51:22 +01:00
Venil Noronha
dcb81a3da5 Align prefix match in BufferCounterService with DefaultCounterService
Closes gh-10278
2017-09-20 06:34:29 +01:00
Andy Wilkinson
3b21a88e3c Merge branch '1.5.x' 2017-09-20 06:26:02 +01:00
Andy Wilkinson
eb2c0fab18 Merge pull request #10355 from Kyle Anderson
* gh-10355:
  Upgrade Git Maven plugin to 2.2.3
2017-09-20 06:25:58 +01:00
Kyle Anderson
628c643e32 Upgrade Git Maven plugin to 2.2.3
Closes gh-10355
2017-09-20 06:25:39 +01:00
Andy Wilkinson
b18857cf72 Update deployment tests to cope with Bean Validation 2.0
Closes gh-10353
2017-09-19 22:01:48 +01:00
Madhura Bhave
4a740a16f3 Duplicate values should bind properly to List
Fixes gh-10106
2017-09-19 13:58:51 -07:00
Andy Wilkinson
0f25dd0ea6 Update Failsafe and Surefire Maven plugins to 2.20.1
Closes gh-9414
2017-09-19 21:31:24 +01:00
Andy Wilkinson
e0bb9e700b Tidy up generics in WebFluxEndpointHandlerMapping
Closes gh-10113
2017-09-19 20:52:51 +01:00
Andy Wilkinson
975c005dfb Determine Spring Boot version for bom import correctly when using Java 9
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 DependencyManagementPluginAction to fall back to
accessing the jar and its manifest attributes directly when the
implementation version of its package is null.

Closes gh-10049
2017-09-19 20:46:48 +01:00
Stephane Nicoll
0f2d91c7e0 Fix broken build
Hibernate Validator 6 has a slightly different structure for default
messages. This commit adapts our tests accordingly.

See gh-9969
2017-09-19 19:19:36 +02:00
Stephane Nicoll
8c0ffa331b Polish
See gh-9969
2017-09-19 18:45:08 +02:00
Stephane Nicoll
95697688cf Upgrade to javax.validation 2.0.0.Final
This should have been done in par with #9969

Closes gh-9784
2017-09-19 18:35:31 +02:00
Andy Wilkinson
49bab63ca6 Update metrics endpoint to return list of distinct names
Closes gh-10336
2017-09-19 17:12:56 +01:00
Stephane Nicoll
2ac6c10719 Merge pull request #9969 from rajadilipkolli:patch-3
* pr/9969:
  Upgrade to Hibernate Validator 6.0.2.Final
2017-09-19 17:41:10 +02:00
Raja Kolli
a4a0eef186 Upgrade to Hibernate Validator 6.0.2.Final
Closes gh-9969
2017-09-19 17:40:45 +02:00
Stephane Nicoll
ac9c2c0bd5 Merge pull request #10045 from blasd:clean1.5.x
* pr/10045:
  Add dependency management for tomcat-catalina-jmx-remote
2017-09-19 17:13:55 +02:00
Benoit Lacelle
9e69a41eae Add dependency management for tomcat-catalina-jmx-remote
Closes gh-10045
2017-09-19 17:13:10 +02:00
Stephane Nicoll
d89ff8cb28 Polish sample
Closes gh-10330
2017-09-19 17:03:27 +02:00
Andy Wilkinson
974a630f6b Upgrade to Spring Social Twitter 2.0.0.M4
Closes gh-10346
2017-09-19 16:03:14 +01:00
Andy Wilkinson
daeff23b6e Upgrade to Spring Social Linkedin 2.0.0.M3
Closes gh-10345
2017-09-19 16:03:14 +01:00