- 15 Sep, 2016 3 commits
-
-
Andy Wilkinson authored
Breaking API changes in Gradle 3.0 make it impossible to support it reliably alongside Gradle 1 and 2 without mainintaining multiple versions of our Gradle plugin. This commit updates the documentation to note that Gradle 3 is not supported. Closes gh-6880
-
Andy Wilkinson authored
Previously, in a war deployment, the web environment’s property sources were initialized using the servlet context after the application’s configuration had been read by ConfigFileApplicationListener. This meant that spring.config.location configured via the servlet context had no effect. This commit adds a new ApplicationListener, ServletContextApplicationListener, that initialises the configurable web environment’s property sources using the servlet context. It’s ordered with higher precedence than ConfigFileApplicationListener to ensure that any properties defined in the servlet context are available when loading the application’s configuration. Closes gh-6801
-
Andy Wilkinson authored
-
- 12 Sep, 2016 2 commits
-
-
Stephane Nicoll authored
See gh-6869
-
Stephane Nicoll authored
This commit improves the JMS health indicator to identify a broken broker that uses failover. An attempt to start the connection is a good way to make sure that it is effectively available. Closes gh-6818
-
- 09 Sep, 2016 2 commits
-
-
Stephane Nicoll authored
* pr/6847: Trace endpoint defaults to 100
-
Huang YunKun authored
Closes gh-6847
-
- 05 Sep, 2016 2 commits
-
-
Stephane Nicoll authored
* pr/6815: Polish `HealthEndpoint` javadoc
-
Vedran Pavic authored
Closes gh-6815
-
- 31 Aug, 2016 5 commits
-
-
Andy Wilkinson authored
* gh-6759: Polish “Avoid null handler package in JarFile protocol handler registration” Avoid null handler package in JarFile protocol handler registration
-
Andy Wilkinson authored
See gh-6759
-
hengyunabc authored
Closes gh-6759
-
Andy Wilkinson authored
Closes gh-6762
-
Stephane Nicoll authored
Closes gh-6778
-
- 29 Aug, 2016 1 commit
-
-
Phillip Webb authored
-
- 27 Aug, 2016 1 commit
-
-
Stephane Nicoll authored
So far, one has to set the "fork" value to both the start and stop goals. Since they have the same name, sharing them in a global configuration element does the trick. However, the plugin also supports auto-detection of the fork value according to other parameters: typically if an agent or jvm arguments are set, forking will be automatically enabled. This is a problem since the stop goal is not aware of that. This commit transmits the value in a property attached to the `MavenProject`. That way, the stop goal can retrieve that value and apply the same defaults. This has the side effect that specifying the fork value isn't necessary anymore. Closes gh-6747
-
- 26 Aug, 2016 2 commits
-
-
Andy Wilkinson authored
Closes gh-6559
-
Andy Wilkinson authored
Previously, BeanTypeRegistry did not correctly determine the type that would be created by a factory bean if that factory bean was returned from a bean method with arguments on a configuration class found via component scanning. The key difference is that bean definitions for bean methods on configuration classes found via component scanning use ASM-based metadata rather than reflection-based metadata. The ASM-based method data does not provide direct access to the Method that will create the bean. In this case, BeanTypeRegistry was falling back to looking for a method with the matching name and no arguments. Therefore, if the bean method had any arguments it would fail to find the method and would, therefore, be unable to determine the type of bean produced by the factory bean. This commit updates BeanTypeRegistry to use logic that is very similar to Spring Framework's ConstructorResolver's resolveFactoryMethodIfPossible method to locate the method that will produce the factory bean. It looks for a single method with the required name with any number of arguments. If it finds multiple methods with the required name and different arguments it returns null, just as ConstructorResolver does. Closes gh-6755
-
- 22 Aug, 2016 2 commits
-
-
Andy Wilkinson authored
-
Andy Wilkinson authored
We make Liquibase aware of our custom Commons Logging-based logger by adding its package to the Liquibase ServiceLocator’s packages to scan. Previously, this was happening too late so Liquibase may have already initialized and cached a particular logger. This commit moves the registration of the extra package from the Liquibase auto-configuration to the application listener that customises Liquibase’s ServiceLocator. This ensures that the package is added before Liquibase is used. Unfortunately, configuring Liquibase’s ServiceLocator and its packages to scan causes it to try to perform some logging, resulting in it caching the wrong type of logger. We work around this problem by resetting Liquibase’s LogFactory once we’ve finished setting everything up. Closes gh-6713
-
- 18 Aug, 2016 3 commits
-
-
Andy Wilkinson authored
* gh-6683: Test that LaunchedURLClassLoader works when thread is interrupted Ensure that LaunchedURLClassLoader works when thread is interrupted
-
Andy Wilkinson authored
Previously, RandomAccessDataFile used a semaphore and acquired it interruptibly. This meant that an interrupted thread was unable to access the file. Notably, this would prevent LaunchedURLClassLoader from loading classes or resources on an interrupted thread. The previous commit (937f8576) updates RandomAccessDataFile to acquire the semaphore uninterruptibly. This commit adds a test to LaunchedURLClassLoader to verify that it can now load a resource from an interrupted thread. Closes gh-6683
-
hengyunabc authored
See gh-6683
-
- 15 Aug, 2016 1 commit
-
-
Andy Wilkinson authored
Previously, auto-configuration of the Flyway and Liquibase endpoints would fail if there were multiple Flyway or Spring Liquibase beans in the application context. This commit updates them so that they are now conditional on a single candidate. Closes gh-6609
-
- 12 Aug, 2016 3 commits
-
-
Andy Wilkinson authored
* gh-6623: Use 'travis_wait' to prevent Travis CI from aborting builds
-
Nick Pillitteri authored
Builds use the '-q' flag to suppress most output due to a limit of 4MB of logs on Travis CI. However, Travis will also abort builds that don't generate any output for 10 minutes. Thus we also use the 'travis_wait' function to make sure builds aren't aborted for up to 30 minutes. Fixes gh-6621 Closes gh-6623
-
Andy Wilkinson authored
The unpack location is (largely) an implementation detail and the Repackage Mojo was the only place where it was explicity documented. Rather than updating the outdated location, this commit removes it entirely to avoid encouraging people to rely on the location. Closes gh-6624
-
- 11 Aug, 2016 1 commit
-
-
Phillip Webb authored
Call afterPropertiesSet on the delegate `ResourceHttpRequestHandler` to prevent an NPE. This change is required for compatibility with Spring Framework 4.3 following SPR-13834. Closes gh-6592
-
- 08 Aug, 2016 1 commit
-
-
Andy Wilkinson authored
Previously, a NullPointerException would occur if endpoints.docs.curies.enabled was true and the default value was being used for either server.port or management.port. EndpointWebMvcHypermediaManagementContextConfiguration has been restructured to ensure that the DocsMvcEndpoint bean is defined before the condition on its existence is evaluated. Previously this was dependant on the class’s bean methods being processed in a particular ordering, something that would be ok when using ASM but would vary when using reflection. Closes gh-6584
-
- 01 Aug, 2016 1 commit
-
-
Stephane Nicoll authored
This commit uses maven filtering to set the Groovy version rather than an hard-coded value that can be easily outdated. Closes gh-6530
-
- 28 Jul, 2016 2 commits
-
-
Stephane Nicoll authored
-
Spring Buildmaster authored
-
- 26 Jul, 2016 6 commits
-
-
Andy Wilkinson authored
Closes gh-6480
-
Andy Wilkinson authored
Closes gh-6468
-
Andy Wilkinson authored
Closes gh-6467
-
Andy Wilkinson authored
Closes gh-6466
-
Andy Wilkinson authored
* gh-6458: Upgrade to Spring Integration 4.2.9.RELEASE
-
Artem Bilan authored
Closes gh-6458
-
- 25 Jul, 2016 2 commits
-
-
Phillip Webb authored
Update `spring-boot-dependencies` so that `json-simple` does not include an `<option>true</optional>` element. Fixes gh-6450
-
Phillip Webb authored
Update PropertiesConfigurationFactory so that collections can grow beyond 256 items. Prior to this commit configuration property binding used the default `DataBinder.autoGrowNestedPaths` setting of 256. Fixes gh-6436
-