1. 20 Sep, 2016 4 commits
  2. 19 Sep, 2016 10 commits
  3. 18 Sep, 2016 2 commits
  4. 16 Sep, 2016 6 commits
    • Phillip Webb's avatar
      Don't change ownership of PID_FOLDER · 3b52909f
      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
      3b52909f
    • Phillip Webb's avatar
      Allow HttpPutFormContentFilter to be disabled · b97e0bd4
      Phillip Webb authored
      Add `spring.mvc.formcontent.putfilter.enabled` property to allow the
      HttpPutFormContentFilter to be disabled.
      
      Fixes gh-6519
      b97e0bd4
    • Phillip Webb's avatar
      Fix multi-annotation nested condition logic · a2e4127d
      Phillip Webb authored
      Update `AbstractNestedCondition` to correctly group nested conditions
      on members.
      
      Fixes gh-6672
      a2e4127d
    • Phillip Webb's avatar
      Polish · 3172d434
      Phillip Webb authored
      Closes gh-6835
      3172d434
    • Andy Wilkinson's avatar
      Start building against Spring Framework 4.2.8 snapshots · faab9047
      Andy Wilkinson authored
      See gh-6910
      faab9047
    • Stephane Nicoll's avatar
      Polish documentation · c2cdc142
      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
      c2cdc142
  5. 15 Sep, 2016 3 commits
    • Andy Wilkinson's avatar
      Update docs to note that Gradle 3 is not supported · 30cb15a0
      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
      30cb15a0
    • Andy Wilkinson's avatar
      Allow spring.config.location to be configured via servlet context · b8833c40
      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
      b8833c40
    • Andy Wilkinson's avatar
  6. 12 Sep, 2016 2 commits
    • Stephane Nicoll's avatar
      Use BDD mockito · 6eb0449a
      Stephane Nicoll authored
      See gh-6869
      6eb0449a
    • Stephane Nicoll's avatar
      Fix JMS health indicator · b88cb35e
      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
      b88cb35e
  7. 09 Sep, 2016 2 commits
  8. 05 Sep, 2016 2 commits
  9. 31 Aug, 2016 5 commits
  10. 29 Aug, 2016 1 commit
  11. 27 Aug, 2016 1 commit
    • Stephane Nicoll's avatar
      Auto-detect fork value in stop goal · 97f15d60
      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
      97f15d60
  12. 26 Aug, 2016 2 commits
    • Andy Wilkinson's avatar
    • Andy Wilkinson's avatar
      Improve type determination for factory beans during condition evaluation · 75c1e50c
      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
      75c1e50c