- 20 Sep, 2016 4 commits
-
-
Spring Buildmaster authored
-
Stephane Nicoll authored
Closes gh-6956
-
Stephane Nicoll authored
See gh-6956
-
Stephane Nicoll authored
See gh-6956
-
- 19 Sep, 2016 10 commits
-
-
Andy Wilkinson authored
Closes gh-6936
-
Andy Wilkinson authored
Closes gh-6935
-
Andy Wilkinson authored
Closes gh-6934
-
Andy Wilkinson authored
Closes gh-6933
-
Andy Wilkinson authored
Closes gh-6932
-
Andy Wilkinson authored
Closes gh-6931
-
Andy Wilkinson authored
Closes gh-6930
-
Andy Wilkinson authored
Closes gh-6929
-
Andy Wilkinson authored
Closes gh-6910
-
Andy Wilkinson authored
This is an alternative to the fix made in 3b52909f which removed the chown call entirely. Prior to 3b52909f, the ownership of $PID_FOLDER was always changed even when its value was /var/run. This was problematic as it could prevent other services from creating their pid folder or file. When a sub-folder is used, changing its ownership so that it’s owned by the user that will run the app is desirable as it limits access to the folder. Rather than removing the chown call entirely, this commit ensures that it only happens when a sub-folder is being used to hold the pid file. Closes gh-6532
-
- 18 Sep, 2016 2 commits
-
-
Andy Wilkinson authored
Closes gh-6914 (I hope)
-
Stephane Nicoll authored
-
- 16 Sep, 2016 6 commits
-
-
Phillip Webb authored
Update the launch script so that it no longer changes ownership of the PID_FOLDER. Commit b24e736c had changed the chown line from: chown "$run_user" "$PID_FOLDER/${identity}" to: chown "$run_user" "$PID_FOLDER" This meant that it was possible for the launch script to change ownership of `/var/run` and prevent later processes from writing to the folder. Since PID_FOLDER is created before the chown statement, and that the `checkPermissions` function runs to ensure that the PID file can be written, it appears that the chown is not even required. Fixes gh-6532
-
Phillip Webb authored
Add `spring.mvc.formcontent.putfilter.enabled` property to allow the HttpPutFormContentFilter to be disabled. Fixes gh-6519
-
Phillip Webb authored
Update `AbstractNestedCondition` to correctly group nested conditions on members. Fixes gh-6672
-
Phillip Webb authored
Closes gh-6835
-
Andy Wilkinson authored
See gh-6910
-
Stephane Nicoll authored
Add an explicit note that states that "spring.datasource.url" (or more specifically "spring.datasource.class-name" that is inferred from the former) is necessary to connect to a database. If the class-name isn't specified, Spring Boot will attempt to auto-configure an embedded database. Closes gh-6907
-
- 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
-