- 16 Oct, 2014 2 commits
-
-
Brett Wooldridge authored
For those running applications on Java 8, dependency management for the Java 8-compatible artifact is also provided. Closes gh-1721
-
Andy Wilkinson authored
Previously, Bitronix's server ID was hard-coded to be spring-boot-jta-bitronix. This created the possibility of multiple transaction managers performing recovery on each other's behalf as they would be unable to identify their own XIDs due to the common server ID. This commit reinstates the default (which is the IP address of the machine on which Bitronix is running), and introduces a new property, spring.jta.transaction-manager-id, that can be used to configure the id for both Atomikos and Bitronix. A cautionary note has also been added to the documentation for Atomikos and Bitronix explaining the need to configure this property. Closes gh-1548
-
- 15 Oct, 2014 10 commits
-
-
Dave Syer authored
Spring 4.2 has a @TestPropertySource which has some of the features of @IntegrationTest. This change adds @TestPropertySource to the @IntegrationTest annotation, so that (for instance) the cache key for the context includes properties for the test. Since @IntegrationTest has slightly different semantics I do not propose to deprecate it. Users can use it or @TestPropertySource, the main difference being that with @IntegrationTest the Spring Boot context loader is aware of the annotation and it will set sensible defaults for server.port and spring.jmx.enabled. There are some reflection hacks to overcome the usual fortifications of Spring Test. Fixes gh-1697
-
Andy Wilkinson authored
Closes gh-1698
-
Andy Wilkinson authored
-
Andy Wilkinson authored
-
Andy Wilkinson authored
Spring 4.1 has added support for XML HTTP message conversion using Jackson. This was resulting in the response being sent back as XML rather than JSON. Jackson's XML support doesn't cope well with lists when it's being asked to deserialize to a Map [1] which is what the test was doing. This commit updates the test to indicate that it only accepts application/json, thereby ensuring that the response can be correctly deserialized into a Map. Fixes gh-1715 [1] https://github.com/FasterXML/jackson-dataformat-xml/issues/122
-
Andy Wilkinson authored
Maven is configured to run tests found in classes ending in Tests. This meant that the tests in BasicErrorControllerIntegrationTest (note the missing s) were not being run. This commit renames the test class so that it's picked up by Maven.
-
Dave Syer authored
-
Dave Syer authored
-
Andy Wilkinson authored
-
Andy Wilkinson authored
Closes gh-1710
-
- 14 Oct, 2014 7 commits
-
-
Andy Wilkinson authored
-
Andy Wilkinson authored
This reverts commit 26a528ce. Fixes gh-1706
-
Andy Wilkinson authored
Previously, the CLI did not keep track of a dependency's users. This meant that installing two extensions with a common dependency and then unistalling one extension would break the other extension as the common dependency would be deleted: 1. Install a that depends on c 2. Install b that depends on c 3. Uninstall b 4. a is now broken as c has been deleted This commit updates the CLI to maintain a count for each artifact that's installed into /lib. An artifact is now only deleted when the count reaches zero. As part of this change the code has been extensively refactored to bring the structure into line with other CLI commands and to improve testability. Closes gh-1410
-
Andy Wilkinson authored
Closes gh-1506
-
Andy Wilkinson authored
Closes gh-1704
-
Gotzon Illarramendi authored
Closes gh-1699
-
Andy Wilkinson authored
-
- 13 Oct, 2014 10 commits
-
-
Stephane Nicoll authored
Fixes gh-1701
-
Dave Syer authored
I think this fixes gh-446 (it seems unreasonable to want to log the DDL even if it is not being executed)
-
Andy Wilkinson authored
-
Andy Wilkinson authored
Fixes gh-1693
-
Andy Wilkinson authored
Previously, Spring Data’s web support was auto-configured as part of the JPA repositories auto-configuration. However, Spring Data’s web support isn’t dependent on the use of Spring Data JPA or even repositories. This commit moves the auto-configuration into a standalone class, making it independent of the use of Spring Data JPA and Spring Data repositories. Closes gh-1097
-
Dave Syer authored
Windows absolute paths cannot be processed by the CLI compiler, so the install command wasn't working on Windows. This change converts ths path to a URI first and then it works as a Spring Resource.
-
Andy Wilkinson authored
Closes gh-1695
-
Andy Wilkinson authored
-
Eric Dahl authored
-
Andy Wilkinson authored
JerseyAutoConfiguration is annotated with @ConditionalOnClass. It references both SpringComponentProvider.class and ServletRegistration.class. Normally, this wouldn't be a problem as, in the absence of either of those classes, the configuration class bean will not be present in the bean factory and, therefore, its annotations will never be introspected using reflection. However, JerseyAutoConfiguration is a WebApplicationInitializer. This means that when it's deployed to a standalone container, JerseyAutoConfiguration is found by the container and its class is passed to SpringServletContainerInitializer. SpringServletContainerInitializer introspects every WebApplicationInitializer class so that it can order them. This blows up if Jersey's SpringComponentProvider class isn't on the classpath as the annotation is referencing SpringComponentProvider as a Class and the attempt to load it fails. The problem can be avoided by referencing SpringComponentProvider using a String. Fixes gh-1696
-
- 11 Oct, 2014 1 commit
-
-
Phillip Webb authored
-
- 10 Oct, 2014 10 commits
-
-
Phillip Webb authored
-
Spring Buildmaster authored
-
Phillip Webb authored
Remove the direct unconditional JmsBootstrapConfiguration @Import from JmsAnnotationDrivenConfiguration in favor of the nested EnableJmsConfiguration class. Fixes gh-1513
-
Phillip Webb authored
Update the JNDI auto-configured DataSource so that the close method isn't called when the ApplicationContext is closed. Fixes gh-1520
-
Phillip Webb authored
Update FaviconConfiguration to allow favicon.ico files to be resolved from static resource folders (/META-INF/resources, /resources, /static, /public) in addition to the root classpath. Fixes gh-1656
-
Phillip Webb authored
* pull1688: Remove superfluous maven-antrun-plugin
-
Michael Vitz authored
Remove the maven-antrun-plugin from the pluginManagement section of spring-boot-starter-parent since it is already declared in the spring-boot-dependencies POM. Closes gh-1688
-
Phillip Webb authored
Update the MessageSourceAutoConfiguration condition to skip scanning for well known JARs. Results are now also cached. Fixes gh-1689
-
Phillip Webb authored
Improve startup performance by skipping more JARs that we know don't contain servlet files. Fixes gh-1687
-
Phillip Webb authored
Update SkipPatternJarScanner to apply skipped JARs to Tomcat 8's StandardJarScanFilter. Fixes gh-1686
-