- 31 Oct, 2013 7 commits
-
-
Dave Syer authored
Previously the management endpoint filter was applied to all requests if the user had disabled security.management.enabled, but since it had no security applied it was letting all requests through. The fix was to explicitly exclude the whole enclosing configuration and carefully ignore the management endpoints in the normal security chain. Fixes gh-100.
-
Dave Syer authored
-
Rob Winch authored
-
Dave Syer authored
-
Dave Syer authored
-
Dave Syer authored
-
Andy Wilkinson authored
3d714d30 allowed all integration tests to download snapshots and milestones. The test for the integration sample, which depends upon a milestone, no longer needs to be a special case.
-
- 29 Oct, 2013 1 commit
-
-
Phillip Webb authored
Extract and refactor inner-classes from the GroovyCompiler to improve code readability.
-
- 28 Oct, 2013 4 commits
-
-
Dave Syer authored
RelaxedDataBinder now supports "env var" style variables that include the path prefix, e.g. FOO_BAR_BAZ=boom will bind to a bean with property "baz" and a binder with prefix "foo.bar". Fixes gh-98
-
Phillip Webb authored
Extract logic from SampleIntegrationTests into a reusable JUnit @Rule.
-
Phillip Webb authored
Aplly consistent formatting, drop JDK 8 support and cleanup repo locations to use spring.io.
-
Phillip Webb authored
Update CLI SampleIntegrationTests to no longer disable snapshot repos.
-
- 25 Oct, 2013 4 commits
-
-
Andreas Kluth authored
- Found typo while reading.
-
Andy Wilkinson authored
Previously, Repackage would attempt to repackage every jar in the project. This would cause it to incorrectly attempt to repackage source and javadoc jars. This commit updates Repackage so that it ignores any jar with a classifier. Hopefully this is a reasonable approximation for ignoring 'special' jars that should not be repackaged such as sources and javadoc.
-
Dave Syer authored
-
Andy Wilkinson authored
Previously, GrapeEngineInstaller would only install its GrapeEngine if an engine had not already been installed. As the Grape class stores the engine in a static field, this meant that the engine would only be installed once for the lifetime of Grape's classloader. This caused an ordering issue in SampleIntegrationTests. The test for the integration sample clears the disableSpringSnapshotRepos system property to allow M1 of the integration DSL to be resolved. However, this property is only examined and honoured in AetherGrapeEngine's constructor. If another test had run and had already created and installed an AetherGrapeEngine, the new AetherGrapeEngine that allowed the use of snapshot repositories would not be installed and the test would fail. This commit updates GrapeEngineInstaller so that it always installs its GrapeEngine, overwriting any previously installed engine.
-
- 24 Oct, 2013 8 commits
-
-
Dave Syer authored
-
Dave Syer authored
-
Dave Syer authored
-
Dave Syer authored
-
Andy Wilkinson authored
-
Andy Wilkinson authored
Previously, the Ivy-based Grape engine used a system property, disableSpringSnapshotRepos, to control whether or not Spring's snapshot and milestone repositories were used for dependency resolution. This commit adds the same capability to AetherGrapeEngine. [#59489826]
-
Andy Wilkinson authored
Depending on ASM itself can cause problems as it can clash with other libraries' dependency on it. This commit updates spring-boot-loader-tools to depend upon spring-core and use its repackaged copy of ASM instead. Depending on spring-core also brings with it the advantage of giving access to its various bits of utility code. spring-boot-maven-plugin has been updated to remove its ASM exclusions as they will no longer clash with the version from spring-boot-loader-tools (59483608)
-
Andy Wilkinson authored
@Grab allows a dependency to be declared, but for its transitive dependencies to be excluded by setting transitive to false. This commit enhances AetherGrapeEngine to honour this setting by using a wildcard exclusion on any dependency so declared.
-
- 23 Oct, 2013 5 commits
-
-
Dave Syer authored
-
Dave Syer authored
-
Dave Syer authored
SpringApplication (and the builder) now do not accept default command line args because the override semantics were wrong - you need to be able to override them with everything, including system properties and external properties (per profile). Also implements new semantics for profiles - you can add additional profiles in the Java API and they will not be squashed by command line or system properties entries for spring.profiles.active. [Fixes #58989906] [bs-336] DefaultArgs -> DefaultProperties
-
Dave Syer authored
-
Dave Syer authored
-
- 22 Oct, 2013 7 commits
-
-
Andy Wilkinson authored
-
Andy Wilkinson authored
Use of hasMappingForPattern was commented out during work on the Aether-based Grape implementation as it was temporarily removed in Spring 4's snapshots. It's since been reinstated in the snapshots, so its use should have been reinstated prior to merging Aether work into master.
-
Andy Wilkinson authored
-
Andy Wilkinson authored
Prior to this commit, the Aether-based GrapeEngine was loaded in the same class loader as the rest of Boot. This led to Aether's and its dependencies' types polluting the application's class path. Most notably, this caused problems with logging as the logging framework could be permaturely initialized. This commit isolates AetherGrapeEngine, Aether and its dependencies into a separate class loader. This is done by customizing the packaging of the CLI's jar file with the internal directory housing all of the types that will be loaded by the separate class loader.
-
Andy Wilkinson authored
Previously, @Grab annotations would use Ivy to download the dependencies with some of Ivy's known limitations being worked around by GrapeEngineCustomizer. This commit adds a GrapeEngine implementation that uses Aether, the dependency resolution 'engine' used by Maven and Grails. To ensure consistent behaviour with a Maven build, the Aether-powered dependency resolution uses the dependency management configuration from the spring-boot-starter-parent pom file.
-
Andy Wilkinson authored
-
Andy Wilkinson authored
The Git plugin was primarily being used to provide version information that Boot's maven plugin can add into the MANIFEST.MF of the uber-jars that it creates under the Spring-Boot-Commit-Id attribute. This commit removes the Git plugin from Boot's own projects, but leaves it in the spring-boot-starter-parent for use by Spring Boot-based applications. The attribute in the uber-jars' MANIFEST.MF has been replaced with a Spring-Boot-Version attribute. The value of this attribute is the implementation version of Repackager class's package.
-
- 18 Oct, 2013 2 commits
-
-
Phillip Webb authored
Issue: gh-86
-
Phillip Webb authored
Fix RandomAccessJarFile to correctly read certificate information as jar entries are loaded. This change allows signed nested jars to be used as JCE providers.
-
- 17 Oct, 2013 1 commit
-
-
Phillip Webb authored
-
- 16 Oct, 2013 1 commit
-
-
Dave Syer authored
-