Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/spring-projects/spring-boot.git. Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer or owner.
Last successful update .
  1. Jul 10, 2015
  2. Jul 09, 2015
    • Stephane Nicoll's avatar
      Remove hint for server.tomcat.compression · e344eece
      Stephane Nicoll authored
      server.tomcat.compression has been removed in 00d594dc so the hint for it
      is no longer relevant.
      e344eece
    • Andy Wilkinson's avatar
      Merge branch '1.2.x' · a2d58030
      Andy Wilkinson authored
      a2d58030
    • Andy Wilkinson's avatar
      Favour entries in source jar over standard libraries when repackaging · 68e54e1d
      Andy Wilkinson authored
      When writing a jar, once an entry has been written it will never be
      overwritten, i.e. the first write of a given entry will win. Previously,
      when repackaging a jar, the existing contents were written followed by
      any libraries. This caused a problem when repackaged a WAR file and
      a library needed to be unpacked as the existing entry in WEB-INF/lib
      would prevent the library with the UNPACK comment from being written.
      This was addressed in f761916b by inverting the order so libraries
      would take precedence over entries in the source jar.
      
      It’s now become apparent that this change in the order causes a problem
      for users who are obfuscating their code. The obfuscated code exists in
      the source jar but is also provided to the repackager in its original
      form as a library. When libraries take precedence, this means that the
      code in its original form ends up in the repackaged war and the
      obfuscation is lost.
      
      This commit updates the repackager to write libraries that require
      unpacking first. This allows the UNPACK comment to be written even if
      there’s also a source entry for the library. Next, source entries are
      written. This allows obfuscated source entries to take precedence over
      any unobfuscated library equivalents. Lastly, standard libraries that
      do not require unpacking are written into the repackaged archive.
      
      Closes gh-3444
      68e54e1d
    • Stephane Nicoll's avatar
      Polish · cf1c0cd0
      Stephane Nicoll authored
      cf1c0cd0
    • Stephane Nicoll's avatar
      Clarify enum provider purpose · c5ae68a1
      Stephane Nicoll authored
      c5ae68a1
    • Stephane Nicoll's avatar
      Remove unnecessary keyword · 97634e85
      Stephane Nicoll authored
      97634e85
    • Stephane Nicoll's avatar
      Remove outdated key · f34508ff
      Stephane Nicoll authored
      The `spring.metrics.export.redis.aggregate-key-pattern` is no longer
      defined but was still referenced in the documentation.
      f34508ff
    • Stephane Nicoll's avatar
      Force documentation of nested group · f77b0e4b
      Stephane Nicoll authored
      The `strategy` group is not detected in the meta-data because the
      Strategy inner class is not defined at the "right" level in the
      hierarchy.
      
      For now, `@NestedConfigurationProperty` was added to workaround the
      issue. Once gh-3454 is solved, we should remove them.
      f77b0e4b
    • Stephane Nicoll's avatar
      Prevent bean early initialization · 4dda1814
      Stephane Nicoll authored
      Fix `CacheManagerValidatorPostProcessor` that could lead to early bean
      initialization.
      
      Fixes gh-3440
      4dda1814
    • Stephane Nicoll's avatar
      Polish · 8cb6f7bc
      Stephane Nicoll authored
      See  gh-3372
      8cb6f7bc
    • Stephane Nicoll's avatar
      Polish · 5024c0f8
      Stephane Nicoll authored
      Add documentation for server.session.cookie keys
      
      See gh-3240
      5024c0f8
    • Phillip Webb's avatar
      Document static-resources configuration property · 2a209948
      Phillip Webb authored
      Add `spring.resources.static-locations` to the reference documentation
      appendix.
      
      Fixes gh-3372
      2a209948
    • Phillip Webb's avatar
      Add ApplicationArguments and ApplicationRunner · 582239b0
      Phillip Webb authored
      Add ApplicationArguments interface which allows SpringApplication.run
      arguments to be injected into any bean. The interface provides access
      to both the raw String[] arguments and also provides some convenience
      methods to access the parsed 'option' and 'non-option' arguments.
      
      A new ApplicationRunner interface has also been added which is
      similar to the existing CommandLineRunner.
      
      Fixes gh-1990
      582239b0
    • Phillip Webb's avatar
      Tweak LoggingApplicationListener order · 3de25164
      Phillip Webb authored
      Provide additional space between the ConfigFileApplicationListener order
      and the LoggingApplicationListener order.
      
      Fixes gh-2543
      3de25164
    • Phillip Webb's avatar
      Add session configuration properties · 3588ca86
      Phillip Webb authored
      Add support for the following server properties which can be used to
      configure the session:
      
      	server.session.tracking-modes
      	server.session.cookie.name
      	server.session.cookie.domain
      	server.session.cookie.path
      	server.session.cookie.comment
      	server.session.cookie.http-only
      	server.session.cookie.secure
      	server.session.cookie.max-age
      
      In addition `server.session-timeout` is now deprecated and has been
      replaced with `server.session.timeout`.
      
      Fixes gh-3240
      3588ca86
    • Phillip Webb's avatar
      Polish · 5938c967
      Phillip Webb authored
      5938c967
    • Andy Wilkinson's avatar
    • Andy Wilkinson's avatar
      Ignore Azure’s default LOGGING_CONFIG env var when initialising logging · 66d4a2a4
      Andy Wilkinson authored
      When using Tomcat, Azure automatically configures an environment
      variable called LOGGING_CONFIG that configures the
      java.util.logging.config.file system property.
      LoggingApplicationListener finds this configuration via the Spring
      environment (it looks for logging.config) and attempts to use it as the
      name of the logging configuration file. Since c3d93f70 this failure
      causes the app to fail to start, rather than the previous behaviour of
      silently falling back to the default configuration.
      
      This commit updates LoggingApplicationListener to only consider
      configuration that is a non-empty string and that does not start with
      -Djava.util.logging.config.file=, which is the beginning of the default
      configuration on Azure, and is very unlikely to be part of the name of a
      logging configuration file.
      
      Closes gh-3366
      66d4a2a4
    • Andy Wilkinson's avatar
      Upgrade to Reactor and Reactor Spring 2.0.4.RELEASE · 8225a8a7
      Andy Wilkinson authored
      Closes gh-3264
      8225a8a7
    • Stephane Nicoll's avatar
      Move spring.oauth2.* to security.oauth2.* · a073a505
      Stephane Nicoll authored
      Unfortunately, we have no other choice to flip the ignoreUnknownFields
      attribute of `SecurityProperties` has many different target are now set
      for that namespace outside the class. See gh-3445 for a potential way
      to improve that.
      
      Closes gh-3327
      a073a505
  3. Jul 08, 2015