- 01 May, 2014 9 commits
-
-
Dave Syer authored
There was an issue with the generated poms for the dependency tools (I'm not sure the generation step works if you don't do "mvn clean"). Anyway I verified that it works and removed the (now) unnecessary provided dependency from spring-boot-cli. Fixes gh-362
-
Dave Syer authored
The existing freemarker support only works in a webapp. This change adds a FreeMarker Configuration bean (in both web- and non webapps) so it can be used to load a Template and render it (e.g. with Spring's FreeMarkerTemplateUtils). See gh-679
-
Dave Syer authored
This change harmonizes the profile ordering between spring.profiles.active (where last one already wins) and SpringApplication.setAdditionalProfiles() (where the first one has been winning in 1.0.x). Last one wins is the correct strategy since it mimics a map merge, and also matches the behaviour of file ordering already defined in spring.config.location and spring.config.name. Fixes gh-645
-
Andy Wilkinson authored
Previously, spring-boot-dependencies listed a subset of Spring Security's modules. This commit updates it to import Spring Security's bom instead, thereby providing dependency management for every module in Spring Security. Closes #760
-
Dave Syer authored
Fixed gh-756, Fixes gh-757
-
Artem Bilan authored
Closes #751
-
Dave Syer authored
-
Dave Syer authored
-
Dave Syer authored
By forking a new process we get to attach the agent much earlier and JPA can co-exist. Fixes gh-648
-
- 30 Apr, 2014 21 commits
-
-
Phillip Webb authored
-
Artem Bilan authored
The encoding of UTF-8 (et al.) chars in the JarUrlConnection has to be made explicit, otherwise Wdinows apparently does not pick the default(?). Fixes gh-711, Fixes gh-753
-
Dave Syer authored
Fixed gh-746
-
Phillip Webb authored
-
Phillip Webb authored
Move TemplateAvailabilityProvider from the spring-boot project to spring-boot-autoconfigure
-
Phillip Webb authored
-
Phillip Webb authored
-
Dave Syer authored
-
Dave Syer authored
-
Dave Syer authored
SpringApplication now picks up a classpath:banner.txt by default, and user can choose a different one with banner.location. The encoding is banner.encoding. Fixes gh-458
-
Dave Syer authored
Fixes gh-670
-
Marcel Overdijk authored
-
Stephane Nicoll authored
Two modules are still relying on the spring-boot test-jar but it was not generated anymore. Adding the generation of test-jar again as a workaround until we completely removes the use of it.
-
Dave Syer authored
$ (cd spring-boot-tools; mvn clean install -DskipTests=true) $ (cd spring-boot-samples/spring-boot-sample-simple/; mvn clean package) $ java -jar spring-boot-samples/spring-boot-sample-simple/target/spring-boot-sample-simple-1.1.0.BUILD-SNAPSHOT.jar (vanilla executable jar archive: works) $ java -cp spring-boot-samples/spring-boot-sample-simple/target/spring-boot-sample-simple-1.1.0.BUILD-SNAPSHOT.jar:spring-boot-tools/spring-boot-loader/src/test/resources/jars/app.jar org.springframework.boot.loader.JarLauncher (jar archive plus vanilla plugin: works) $ (cd spring-boot-samples/spring-boot-sample-simple/target; rm -rf app && mkdir $_ && cd $_ && jar -xf ../*.jar) $ java -cp spring-boot-samples/spring-boot-sample-simple/target/app/ org.springframework.boot.loader.JarLauncher (exploded directory: works) $ java -cp spring-boot-tools/spring-boot-loader/s:spring-boot-tools/spring-boot-loader/src/test/resources/jars/app.jar org.springframework.boot.loader.JarLauncher (exploded directory with plugin jar: works) Potential fix for gh-529
-
Christian Dupuis authored
Add more runtime metrics like information about heap, class loading and threads to the metrics infrastructure
-
Fermin Gallego authored
-
Artem Bilan authored
The encoding of UTF-8 (et al.) chars in the JarUrlConnection has to be made explicit, otherwise Wdinows apparently does not pick the default(?). Fixes gh-711, Fixes gh-753
-
Dave Syer authored
See gh-679
-
Dave Syer authored
We still prefer Tomcat if it is available (that can change if the community asks loudly enough). Hikari is supported via the same spring.datasource.* properties as Tomcat (and DBCP), with some modifications: * The validation and timeout settings are not as fine-grained in Hikari, so many of them will simply be ignored. The most common options (url, username, password, driverClassName) all work as expected. * The Hikari team recommends using a vendor-specific DataSource via spring.datasource.dataSourceClassName and supplying it with Properties (spring.datasource.hikari.*). Hikari prefers the JDBC4 isValid() API (encapsulates vendor- specific queries) which is probably a good thing, but we haven't provided any explicit support or testing for that yet. Fixes gh-418
-
Dave Syer authored
Fixes gh-706
-
Stephane Nicoll authored
This commit replaces the "index" property of Review to use a custom column name ("idx") as index is a reserved keyword in some RDMS such as Oracle and MySQL. Fixes gh-752
-
- 29 Apr, 2014 7 commits
-
-
Andy Wilkinson authored
-
Andy Wilkinson authored
This commit adds auto-configuration and a starter, spring-boot-starter-freemarker, for using FreeMarker view templates in a web application. A new abstraction, TemplateAvailabilityProvider, has been introduced. This decouples ErrorMvcAutoConfiguration from the various view technologies that Spring Boot now supports, allowing it to determine when a custom error template is provided without knowing the details of each view technology. Closes #679
-
Dave Syer authored
Fixed gh-746
-
Dave Syer authored
-
Dave Syer authored
Since Spring supports gobal error handling through @ControllerAdvice, it is quite easy to set up more meta-data about an exception for the BasicErrorController. You need to be careful not to swallow Security exceptions, and probably others (optionally) so this feature needs a bit more work. See gh-538
-
Andy Wilkinson authored
-
Andy Wilkinson authored
-
- 28 Apr, 2014 3 commits
-
-
Andy Wilkinson authored
Salvatore has indicated that Jedis is his Java Redis client of choice. This commit updates the auto-configuration support, actuator and Redis starter accordingly. Completes #745
-
Dave Syer authored
-
Dave Syer authored
-