- 18 Jun, 2014 2 commits
- 17 Jun, 2014 15 commits
-
-
Phillip Webb authored
Move ApplicationContextTestUtils from src/main to src/test since it is probably of limited use to others. Fixes gh-1034
-
Phillip Webb authored
-
Christian Dupuis authored
-
Christian Dupuis authored
-
Tobias Gesellchen authored
-
Stephane Nicoll authored
Prior to this commit it was not safe to start several contexts using the HornetQAutoConfiguration in the same VM. Each context was trying to start their own HornetQ embedded broker by default but only the first was really starting. Worse, the various InVM connection factories were all silently connecting to the first broker. This commit introduces a new "serverId" property that is an auto- incremented integer by default. This identifies the server to connect to and allows each context to start its own embedded broker in total isolation of other contexts. This commits makes it possible for a context to disable its own embedded broker and connect to an existing one, potentially started by another context. Fixes gh-1063
-
Stephane Nicoll authored
This commit reuses the standard behavior provided by Properties for parsing keys rather than parsing the keys ourselves. This provides a consistent features set regardless of where the property is defined. Fixes gh-1110
-
Dave Syer authored
-
Dave Syer authored
Fixes gh-1067
-
Dave Syer authored
See gh-1072
-
Dave Syer authored
Fixes gh-320, since this is the officially supported mechanism for changing the version of Spring (and other dependencies).
-
Dave Syer authored
Fixes gh-1068
-
Stephane Nicoll authored
Prior to this commit, some tests were creating a parent/child relationship but were only closing the child context. This could be an issue with the autoconfig module as a lot of auto-config kicks in by default. This commit adds a new test utility designed to properly handle those situations. Updated tests that were creating a context hierarchy to benefit from that. Fixes gh-1034
-
Dave Syer authored
-
Dave Syer authored
I'm sure someone can do a better job of this, but here's a proposal that works. It uses our FindMainTask to set the relevant properties if theu are missing in the application plugin. Fixes gh-1105
-
- 16 Jun, 2014 12 commits
-
-
Phillip Webb authored
Simplify the exclusion logic used in Gradle by implementing implicit exclusions rather than trying to detect transitive excludes. This commit reverts much of the code originally included to fix gh-1047 which adds far too much complexity to the build and still doesn't solve the underlying issue. Fixes gh-1103
-
Dave Syer authored
Fixes gh-1099
-
Phillip Webb authored
This reverts commit e6e89077 which has an incorrect commit message.
-
Phillip Webb authored
-
Dave Syer authored
The test is a bit crap at the minute (no assertion), but the build is successful and you can see from the log that the correct main is used Fixes gh-1099
-
Dave Syer authored
-
Dave Syer authored
-
Dave Syer authored
Spring Plugin is required when using @EnableHypermediaSupport
-
Dave Syer authored
The Actuator endpoints ought to take precedence over others (since they are important and users can isolate them using management.contextPath if necessary). This change puts the @Order at -100 (well before the default order of the RequestMappingHandlerMapping at 0). Fixes gh-1107
-
Dave Syer authored
-
Dave Syer authored
See gh-1105
-
Dave Syer authored
-
- 15 Jun, 2014 3 commits
-
-
Phillip Webb authored
Catch exceptions thrown from SpringBootCondition and re-throw with more context. See gh-1098
-
Phillip Webb authored
Update `spring-boot-loader` ZIP processing code to support prefixed bytes within the fat jar. This technique allows a bash script to be embedded at the start of the JAR whilst still allowing `java -jar` execution. Fixes gh-1073
-
Phillip Webb authored
-
- 13 Jun, 2014 4 commits
- 12 Jun, 2014 4 commits
-
-
Dave Syer authored
The lists are comma separated. In addition, user can add prefixes "+" or "-", to signal that those values should be removed from the default list, not added to a fresh one. E.g. $ spring jar app.jar --include lib/*.jar,-static/** --exclude -**/*.jar to include a jar file specifically, and make sure it is not excluded, and additionally not include the static/** resources that would otherwise be included in the defaults. As soon as "+" or "-" prefixes are detected the default entries are all added (except the ones exlcuded with "-"). Fixes gh-1090
-
Dave Syer authored
Fixes gh-1088
-
Andy Wilkinson authored
There was a problem with the Gradle plugin packaging application dependencies in WEB-INF/lib-provided when only the servlet container and its dependencies should be packaged there. See #1064 for details. This commit adds two tests, one for Tomcat and one for Jetty, to verify that only the expected entries appear in WEB-INF/lib-provided. Closes #1071
-
Dave Syer authored
Fixes gh-1085
-