- 25 Feb, 2014 5 commits
-
-
Dave Syer authored
Spring 4.0.3 is not released yet, but we can anticipate the change. With this commit SpringApplicationContextLoader can discover default config (nested) classes if none are provided. It should just work when Spring is upgraded. Fixes gh-395
-
Dave Syer authored
This is a holding pattern until SPR-11455 is fixed. We now throw an exception with a helpful message instead of ttrying to detect default configuration. Fixes gh-380
-
Dave Syer authored
It turns out that loader.path=. was pathological and before this change ended up making the classpath empty (loader.path=.,lib/ would have fixed it). With this change the old behaviour is still supported, but if the only user-supplied path entry is "." (or empty) then it is now kept, and translates into the root of the current archive if running as "java -jar ...". Fixes gh-270
-
Phillip Webb authored
Fixes gh-392
-
Phillip Webb authored
Fixes gh-393
-
- 24 Feb, 2014 17 commits
-
-
Phillip Webb authored
Add `tomcat-embed-el` dependency (newly released as part of Tomcat 7.0.52) allowing EL usage without jasper. Fixes gh-248
-
Phillip Webb authored
Fixes gh-245
-
Phillip Webb authored
-
Phillip Webb authored
* pull365: Upgrade to Spring Data Codd GA release.
-
Oliver Gierke authored
Adapt auto-configuration code to use the new constructor introduced in Spring Data Commons' AnnotationConfigurationSource. Fixes gh-365
-
Phillip Webb authored
Restore previous behavior where JarFile URLs are always prefixed with "jar:". I believe that the prefix is required in order to remain compatible with standard JAR URLs. This reverts commit 825fc2f7.
-
Phillip Webb authored
-
Dave Syer authored
The existing behaviour of JobLauncherCommandLineRunner was really too basic. It has now been enhanced (at the expense of duplicating a lot of code in Spring Batch it seems) to automatically increment job parameters if it can, and to retry a failed or stopped execution if it can (without incrementing, but with additional job parameters added from command line if they are non-identifying). The JobLauncherCommandLineRunner is more extendable and exposes its DI wiring points now as well, so hopefully users can make use of it independently of autoconfig (by providing a @Bean of that type). Not everything from the wishlist in gh-325 is implememented yet, but it should be a good platform to work with and to extend.
-
Dave Syer authored
...that was already executed as part of the "local" set. Also added some howto docs on executing Batch jobs. See gh-382
-
hoserdude authored
-
Dave Syer authored
Lists AbstractUrlMappings and AbstractHandlerMethodMappings in a loose Map structure. E.g. { "/**/favicon.ico": { "bean": "faviconHandlerMapping" }, "/**": { "bean": "resourceHandlerMapping" }, "/webjars/**": { "bean": "resourceHandlerMapping" }, "{[/error],methods=[],params=[],headers=[],consumes=[],produces=[],custom=[]}": { "bean": "requestMappingHandlerMapping", "method": "public java.util.Map<java.lang.String, java.lang.Object> org.springframework.boot.actuate.web.BasicErrorController.error(javax.servlet.http.HttpServletRequest)" ... } Fixes gh-378
-
Dave Syer authored
The default executor for publishing metrics was a single thread (native JDK) ExecutorService with a non-daemon thread. Changed it to a Spring-managed thread pool of size 1, which is then shutdown with e ApplicationContext automatically. Fixes gh-388
-
Dave Syer authored
Better even than logging would be to fail fast? Surely it's a mistake not to have any /templates if Thymeleaf is in use. User can disable failfast by exlcuding thymeleaf configuration or by providing their own ITemplateResolver. Fixes gh-294
-
Dave Syer authored
User can switch the behaviour on and off with spring.datasource.continueOnError:true|false. I decided not to add an extra nested level of property resolution because of the existing spring.datasource.schema (and other properties relating to initialization) because concision seemed like a good thing with those more common settings. Fixes gh-374
-
Dave Syer authored
The Spring resource transformer class name changed (at least once) since the parent was originally created. Fixes gh-384
-
Dave Syer authored
If there is a run task with an explicit main it can be used by the repackage task (assuming its own native setting is not used). Fixes gh-389
-
joschs authored
... to allow for OS_VAR to be bound to a @ConfigurationPropertes("os") class with field "var". Fixes gh-387, Fixes gh-391
-
- 20 Feb, 2014 10 commits
-
-
Dave Syer authored
-
Christian Dupuis authored
-
Dave Syer authored
-
Dave Syer authored
-
Dave Syer authored
-
Dave Syer authored
-
Dave Syer authored
Mapping is exposed via server.servletPath. Fixes gh-379
-
Dave Syer authored
Stacktrace is then obviously about DataSource, not EntityManager. Fixes gh-375
-
Dave Syer authored
-
Dave Syer authored
Fixes gh-377
-
- 19 Feb, 2014 7 commits
-
-
Dave Syer authored
Fixes gh-364
-
Dave Syer authored
Added basic-* log configuration files that are loaded in the beforeInitialization() phase. They don't contain any file logger so no empty spring.log is ever created. Fixes gh-303
-
Dave Syer authored
-
Dave Syer authored
Jetty apparently does it differently (different version of Jasper maybe), so you need a unique jarFileURL for each nested JAR (previously they were all set to the parent archive URL). Also added the root of the main archive as a valid document root. For gh-367
-
Dave Syer authored
The DispatcherServletAutoConfiguration had a condition on it that meant it wasn't used at all if there was no EmbeddedServletContainerFactory. It's amazing that any WAR ever deployed. Also added some info logging to servlet and filter registrations.
-
Phillip Webb authored
Restore the order that `ConfigFileApplicationListener` attempts to load application.properties so that local files always have a higher precedence than bundled classpath files. This fixes a regression introduced with 1.0.0.RC2. Fixes gh-370
-
Phillip Webb authored
-
- 18 Feb, 2014 1 commit
-
-
Dave Syer authored
E.g. can be used to add SSL support to a Jetty container, similarly to a TomcatConnectorCustomizer. Fixes gh-345
-