- 13 Jan, 2015 5 commits
-
-
Phillip Webb authored
Add Atmosphere example application based on http://github.com/Atmosphere/atmosphere-samples/tree/master/samples/chat Closes gh-2341
-
Phillip Webb authored
Update WebSocketAutoConfiguration so that spring-websocket is no longer required for WebSocket support. See gh-2341
-
Andy Wilkinson authored
-
Andy Wilkinson authored
Previously, some classes that were annotatated with @ConditionalOnWebApplication assumed that, if the application was a web application, Spring MVC (spring-webmvc) would be on the classpath. If it was not, the application would fail to start, typically with an error relating to WebMvcConfigurerAdapter being unavailable. This commit updates the affected configuration classes and annotates them with @ConditionalOnClass(WebMvcConfigurerAdapter.class) to ensure that their auto-configuration only takes effect if its a web application and Spring MVC is on the classpath. Fixes gh-2345
-
Dave Syer authored
-
- 12 Jan, 2015 3 commits
-
-
Phillip Webb authored
-
Stephane Nicoll authored
* pull2323: Fix copy/paste errors
-
izeye authored
Closes gh-2323
-
- 09 Jan, 2015 1 commit
-
-
Dave Syer authored
The package names changed a bit from the prototype project, but wuth vanilla autconfiguration usage that shouldn't matter. Follows closely the Groovy templates support. Templates live in classpath:/templates/*.html by default. Fixes gh-2242
-
- 08 Jan, 2015 5 commits
-
-
Phillip Webb authored
-
Spring Buildmaster authored
-
Phillip Webb authored
Update the "Relaxed binding" with a small table of common relaxed property names and when they might be used. Fixes gh-2234
-
Phillip Webb authored
See gh-2304
-
Phillip Webb authored
Extended RelaxedDataBinder to include a case insensitive version of SEPARATED_TO_CAMELCASE. This allow properties of the form TEST_THE_VALUE to to bound to a @ConfigurationProperties class with a prefix of "test" and a field of `theValue`. Fixes gh-2304
-
- 07 Jan, 2015 18 commits
-
-
Phillip Webb authored
Use SourceVersion.latestSupported() rather than @SupportedSourceVersion since we might build with an earlier JDK. Fixes gh-2302
-
Phillip Webb authored
The last trailing `\n` is not required as the logging system will add it. See gh-2146
-
Phillip Webb authored
Fixes gh-2146
-
Phillip Webb authored
See gh-2288
-
Phillip Webb authored
See gh-2299
-
Phillip Webb authored
Make IntegrationTestPropertiesListener public so that it can be used when @TestExecutionListeners are declared on a parent class. See gh-2135
-
Phillip Webb authored
Update the @SupportedSourceVersion annotation to RELEASE_8 since it should indicate "the latest source version an annotation processor supports". Fixes gh-2302
-
Phillip Webb authored
Update the additional metadata detection logic to deal with Gradle folder layouts. Fixes gh-2271
-
Andy Wilkinson authored
Closes gh-2191
-
Andy Wilkinson authored
-
Andy Wilkinson authored
Sadly, Gradle handle's exclusions differently to Maven even when it's processing a Maven pom. In this case groovy-all is pulled in via org.crashub:crash.shell where we've excluded it. This is enough to prevent Maven from pulling in groovy-all when you depend on the remote shell starter. org.crashub:crash.shell is also pulled in as a transitive dependency of a number of other dependencies and Gradle requires each of these to also exclude groovy-all for it to actually be excluded. This commit adds the additional exclusions that are required to make Gradle's behaviour sane. Fixes gh-2257
-
Stephane Nicoll authored
See gh-2241
-
Phillip Webb authored
* fix-jetty9-jar-url: Fix potential Jetty MalformedURLException
-
cemo authored
Update JettyEmbeddedServletContainerFactory to use the JarResource class to create the base resource. This prevents a potential "java.lang.NullPointerException: no !/ in spec" error which can occur when using shaded executable jars. Fixes gh-2245
-
Phillip Webb authored
Fixes gh-2241
-
Phillip Webb authored
Add a TestNG sample that also demonstrates @WebIntegrationTest. See gh-2135
-
Phillip Webb authored
Add `@WebIntegrationTest` which is similar to `@IntegrationTest` and `@WebAppConfiguration`. The annotation using Spring's `@BootstrapWith` annotation rather than `@TestExecutionListeners` which allows it to work when `@TestExecutionListeners` (even ServletTestExecutionListener) are declared on the test class. This annotation is particularly useful for TestNG users that extend Spring's `AbstractTestNGSpringContextTests` class. Fixes gh-2299 See gh-1956 See gh-2135
-
Phillip Webb authored
Include more details in the message including the class being bound and the prefix from the annotation. Fixes gh-2246
-
- 06 Jan, 2015 8 commits
-
-
Phillip Webb authored
Update ConfigFileApplicationListener to make some of the static final constants public. Fixes gh-2253
-
Phillip Webb authored
* gh-2287: Don't fail build on merge failure
-
Kris De Volder authored
Be more lenient when processing additional metadata json files. Fixes gh-2287 Closes gh-2288
-
Phillip Webb authored
Update ConfigurationMetadataAnnotationProcessor to find the additional metadata json file using createResource rather than getResource. Prior to this commit the file could be skipped when multiple files were contained on the classpath. Fixes gh-2271
-
Phillip Webb authored
-
Phillip Webb authored
Update InMemoryAuditEventRepository to consider the date when searching for events. Also switch to a circular buffer implementation and update the capacity to limit the total number of items rather than limiting per principal. Fixes gh-2291
-
Phillip Webb authored
Update EmbeddedWebApplicationContext to store then restore any existing web scopes that may have been registered. This allows custom web scopes to be registered in an ApplicationContextInitializer. Fixes gh-2082
-
Phillip Webb authored
-