Commit Graph

1400 Commits (ca7201b4b2811a901c54b7bf1b7f8e313598572f)
 

Author SHA1 Message Date
Dave Syer caffc28b4c Add test for initializers when child context created 11 years ago
Dave Syer 60f3dd9386 Be defensive about adding autoconfig report bean 11 years ago
Christian Dupuis 2e926601f2 Polish 11 years ago
Christian Dupuis dba8c01035 Polish 11 years ago
Christian Dupuis ec6a488a95 Upgrade to crash-1.3.0-beta11 11 years ago
Christian Dupuis e16e23230c Clarify default authentication settings for shell access 11 years ago
Christian Dupuis 41cbbeba79 Re-Introduce authentication specific properties 11 years ago
Christian Dupuis e009d3e47d Polish
Fixed inconsistency in method naming after last polish. Method and class name should use 'crsh' instead of 'crash' to be aligned with CRaSH code base.

Implemented facility to provide custom shell properties by adding beans of type CrshShellProperties to the ApplicationContext.
11 years ago
Christian Dupuis dc252c7417 Remove unnecessary String concatenation 11 years ago
Andy Wilkinson fd2583ed28 Support concise @Grab on all types of imports
Previously, the automatic addition of the group and version to a
@Grab annotation based on the module name would only work on standard
import statements. This commit adds support for this functionality
on wildcard imports, static imports and wildcard static imports.

All of the following are now supported:

@Grab('spring-core')
import org.springframework.util.Assert

@Grab('spring-core')
import org.springframework.util.*

@Grab('spring-core')
import static org.springframework.util.Assert.isTrue

@Grab('spring-core')
import static org.springframework.util.Assert.*
11 years ago
Dave Syer 640b9d2680 Add RedisAutoConfiguration 11 years ago
Dave Syer 71fd474ed2 Ensure ApplicationContextInitializers are not overwritten
SpringApplicationBuilder has to be careful not to overwrite the
default initializers if user calls its initializers() method.

Fixes gh-120.
11 years ago
Dave Syer 79495e7ad9 Add repository declaration to starter parent
Fixes gh-117.
11 years ago
Dave Syer 17de6689ab ENsure Vcap initializer runs before config file parser
Fixes gh-119.
11 years ago
Dave Syer 2f7214002d Update Spring to catch SPR-11069 11 years ago
Phillip Webb 0f85f31960 Polish 11 years ago
Phillip Webb 64f32893bb Source format and clean-up 11 years ago
Phillip Webb 883fd9162f Polish 11 years ago
Phillip Webb 127da15c3c Add homebrew formula as generated artifact 11 years ago
Phillip Webb 077cd662e7 Add zsh shell completion script 11 years ago
Phillip Webb fe0dd8e08f Don't provide hints for the hint command 11 years ago
Phillip Webb d2678e08de Improve startup performance for nested JARs
Refactor spring-boot-loader to work directly with low level zip data
structures, removing the need to read every byte when the application
loads.

This change was initially driven by the desire to improve tab-completion
time when working with the Spring CLI tool. Local tests show CLI
startup time improving from ~0.7 to ~0.22 seconds.

Startup times for regular Spring Boot applications are also improved,
for example, the tomcat sample application now starts 0.5 seconds
faster.
11 years ago
Phillip Webb 6a6159f106 Add JVM uptime to startup info log output 11 years ago
Dave Syer 4254eb971e Upgrade Spring Data 11 years ago
Dave Syer 8bc5e9c36c Refine semantics of server.port=0
If the server port is 0 it doesn't mean you don't want *any* container
because there might still be servlet context aware components in the
classpath. Better to try and stop the server from actually starting.

This change is a step in the right direction: it prevents the server
from starting in the start() method (even though for technical reasons
it may have already been started and stopped in initialize()).

N.B. Tomcat at least uses port=0 as a signal it should pick a random
port. Pertty useful feature that we may want to capitalize on at some
point (on the other hand having our own port scanner would be useful
generally too).
11 years ago
Dave Syer 11149443e3 Make sure Batch autoconfig only gets inlcuded once 11 years ago
Dave Syer b39ab925cf Make the AutoConfigurationReportEndpoint path a bit shorter 11 years ago
Phillip Webb 6849640cba Update README with M6 references 11 years ago
Phillip Webb ff635cf75b Move shell completion logic to Java
Refactor bash shell completion to move the majority of the logic into
the Java code. This commit also removes the need for the '--' prefix on
every command.
11 years ago
Phillip Webb 202e32425e Reinstate git commit ID in loader tools manifest
Add Spring-Boot-Commit-Id to MANIFEST.MF of spring-boot-loader-tools.
The reinstates functionality of 498ca07698
but does not cause issues in eclipse.
11 years ago
Phillip Webb dc3d670019 Strip trailing whitespace 11 years ago
Phillip Webb e6597e6f33 Fix broken tests 11 years ago
Dave Syer 0c1aa1942e Add tests for loading dependencies in starters without parent 11 years ago
Dave Syer 578fadf6f9 Attempt to allow Aether to load from local repo 11 years ago
Dave Syer e46c427b75 Remove unused field 11 years ago
Dave Syer 0b130f6f6a Pin Spring version when using security 11 years ago
Dave Syer a41a2db976 Add all starters to parent pom 11 years ago
Dave Syer 811bd32ce2 More sensible signature for servlet initializer 11 years ago
Christian Dupuis 1f922f49b0 Switch to placeholders in conditional expressions; Ensure that Crsh auto configuration works without Spring Security 11 years ago
Christian Dupuis cc941bf89b Have spring-boot-starter-shell-remote depend on spring-boot-starter-actuator 11 years ago
Christian Dupuis a498a7f477 Make simple authentication the default and log default password 11 years ago
Phillip Webb dafeddca09 Rework auto-configure report
Update the auto-configuration report to improve log formatting and to
separate the internal report data-structure from the JSON friendly
endpoint data-structure.
11 years ago
Phillip Webb 04fd7fdbbe Improve message used on match
Update OnBeanCondition and OnClassCondition to improve the message used
on a successful match.
11 years ago
Phillip Webb ab249b034d Rename Outcome -> ConditionOutcome 11 years ago
Phillip Webb a9a6077fdb Polish SpringApplicationErrorHandler 11 years ago
Phillip Webb 68e07eba5c Minor formatting polish 11 years ago
Andy Wilkinson 32fc2c3d1c Remove Boot-specifics from AetherGrapeEngine
With the goal of making AetherGrapeEngine generally useful with Groovy,
this commit removes any Boot specifics from it. Specifically, there
is now only a single default repository: Maven Central. The
Boot-specific Spring milestone and snapshot repositories are now added
via @GrabResolver annotations that are added using an ASTTransformation.

As part of this change, AetherGrapeEngine has also been updated to store
its repositories using a LinkedHashSet, this ensures that the same
repository is not used more than once while maintaining their ordering.
11 years ago
Andy Wilkinson b05f3e2eec Fix CliTester so that sample integration tests can be run 11 years ago
Andy Wilkinson 6ab14a51eb Add detailed download reporting to AetherGrapeEngine
Groovy's Grape allows a user to enable download reports using the
system property groovy.grape.report.downloads. This commit updates
AetherGrapeEngine to honour this property and produce a detailed
download report when the system property is set to true. In the
absence of the system property, or when it's set to a value other than
true, the existing summary report is still produced.

[bs-344]
[60145094]
11 years ago
Andy Wilkinson dc4bf01e95 Add support for @GrabExclude to AetherGrapeEngine
@GrabExclude can now be used to exclude certain transitive dependencies.
In Aether (Maven), exclusions are applied to an individual dependency
rather than being global. In Grape, exclusions are global.
AetherGrapeEngine adheres to the Grape convention by applying every
exclusion create by @GrabExclude to every dependency, effectively making
them global.
11 years ago