- 01 Feb, 2018 22 commits
-
-
Phillip Webb authored
Update the CLI encodepassword command to also include the algorithm prefix. Closes gh-11875
-
Phillip Webb authored
-
Phillip Webb authored
Update `SpringBootContextLoader` so that `getInitializers()` is now a protected method for subclasses to override if necessary. Closes gh-11457
-
Phillip Webb authored
Update the CLI so that `encodepassword <password>` can be used to generate an encoded password. Fixes gh-11875
-
Andy Wilkinson authored
-
Phillip Webb authored
-
Phillip Webb authored
-
Phillip Webb authored
See gh-11877
-
Madhura Bhave authored
Closes gh-11861
-
Madhura Bhave authored
-
Andy Wilkinson authored
By default, AbstractTestExecutionListeners have an order of lowest precedence. This means that it is impossible to write a listener with lower precedence that any listener that's using the default order. This commit updates Boot's 6 AbstractTestExecutionListeners to order them explicitly. MockitoTestExecutionListener performs injection of Mockito mocks and spies into the test instance. It now has an order of 2050 giving it slightly lower precedence than the dependency injection test execution listener (2000). The remaining 5 listeners have all been ordered with lowest precedence - 100. This leaves them near their current lowest precedence position while creating some room for any listeners that require lower precedence. Closes gh-11796
-
Andy Wilkinson authored
Previously, the order of the entries in a TestJarFile was determined by the underlying file system rather than by the order in which they were added. This could lead to unpredicatable ordering and failures in tests that verify archive entry ordering. This commit updates TestJarFile to add entries to the archive in insertion order. See gh-11695 See gh-11696
-
Andy Wilkinson authored
Closes gh-11761
-
Andy Wilkinson authored
Closes gh-11830
-
Andy Wilkinson authored
Previously, the Repackager would write entries in the following order: - Libraries that require unpacking - Existing entries - Application classes - WEB-INF/lib jars in a war - Libraries that do not require unpacking - Loader classes Libraries that require unpacking were written before existing entries so that, when repackaging a war, an entry in WEB-INF/lib would not get in first and prevent a library with same location from being unpacked. However, this had the unwanted side-effect of changing the classpath order when an entry requires unpacking. This commit reworks the handling of existing entries and libraries that require unpacking so that existing entries can be written first while also marking any that match a library that requires unpacking as requiring unpacking. Additionally, loader classes are now written first. They are the first classes in the jar that will be used so it seems to make sense for them to appear first. This aligns Maven-based repackaging with the Gradle plugin's behaviour and with the structure documented in the reference documentation's "The Executable Jar Format" appendix. The net result of the changes described above is that entries are now written in the following order: - Loader classes - Existing entries - Application classes - WEB-INF/lib jars in a war marked for unpacking if needed - Libraries Closes gh-11695 Closes gh-11696
-
Andy Wilkinson authored
See gh-11397
-
Stephane Nicoll authored
* pr/11874: Remove obsolete comment
-
dreis2211 authored
Closes gh-11874
-
Stephane Nicoll authored
* pr/11871: Polish
-
Johnny Lim authored
Closes gh-11871
-
Madhura Bhave authored
-
Madhura Bhave authored
Closes gh-11420
-
- 31 Jan, 2018 16 commits
-
-
Andy Wilkinson authored
Closes gh-11504
-
Andy Wilkinson authored
See gh-11870
-
Andy Wilkinson authored
Closes gh-11225
-
Andy Wilkinson authored
* gh-11866: Add dependency management for remaining REST Assured modules Add dependency management for io.rest-assured:spring-mock-mvc
-
Stephane Nicoll authored
This commit makes sure that caching is enabled if an operation has nullable parameters and the actual invocation provides null values. Closes gh-11795
-
Andy Wilkinson authored
Close gh-11866
-
Tony Findeisen authored
See gh-11866
-
Andy Wilkinson authored
Closes gh-10138
-
Stephane Nicoll authored
-
Andy Wilkinson authored
Previously, the ordering of the entries in an archive produced by BootJar was different to the ordering of the entries in an archive produced by BootWar. The latter placed application classes before any nested jars, whereas the former was the other way around. This commit updates BootJar to use the same ordering as BootWar and adds tests to verify that the ordering is the following: 1. Loader classes 2. Application classes (BOOT-INF/classes or WEB-INF/classes) 3. Nested jars (BOOT-INF/lib or WEB-INF/lib) 4. Provided nested jars in a war (WEB-INF/lib-provided) The tests also verify that the position of a library is not affected by it requiring unpacking. See gh-11695 See gh-11696
-
Phillip Webb authored
-
Phillip Webb authored
Stop running apply-plugin tests as part of the build since during a release the version number will change and the jar will not be available. Fixes gh-11857
-
Jon Schneider authored
Update `CompositeMeterRegistryPostProcessor` to use constructor autowiring for `Clock` detection. Fixes gh-11856
-
Phillip Webb authored
Update a couple of the `spring-boot-gradle-plugin` sample gradle flies so that they include the running classpath. The additional lines are contained within a tag which is ultimately filtered from the final documentation. Fixes gh-11857
-
Phillip Webb authored
-
Phillip Webb authored
-
- 30 Jan, 2018 2 commits
-
-
Spring Buildmaster authored
-
Madhura Bhave authored
-