- 11 May, 2017 12 commits
-
-
Andy Wilkinson authored
This reverts commit 71b53e81.
-
Andy Wilkinson authored
In the unlikely (outside the tests of a number of Spring Boot's modules) event that both Tomcat and Jetty are on the classpath, there's a risk that Tomcat will try to register its URLStreamHandlerFactory after JasperInitializer has registered its WarUrlStreamHandlerFactory. Should this happen, Tomcat will fail to start. TomcatURLStreamHandlerFactory registers a handler for the war: URLs produced by org.apache.tomcat.util.scan.JarFactory that's used by both Tomcat and Jetty's Jasper integration. This makes it a suitable replacement for WarUrlStreamHandlerFactory so this commit updates JasperIntializer to register TomcatURLStreamHandlerFactory when it's available, falling back to WarUrlStreamHandlerFactory when it's not. Closes gh-8622
-
Andy Wilkinson authored
-
Andy Wilkinson authored
Closes gh-8622
-
Andy Wilkinson authored
Following the changes made in a7f14809 the environment was being bound to the SpringApplication instance after it had, if necessary being converted to a standard, i.e non-web environment. This meant that if a property in the environment set the web application type to NONE it would have no effect on the type of environment used by the application. This commit reorders the binding of the environment to the Spring Application instance so that it happens before the environment is potentially converted. Closes gh-9161
-
Stephane Nicoll authored
* pr/9145: Improve `HashMapSessionConfiguration`
-
Vedran Pavic authored
This commit updates `MapSessionRepository` bean definition return type and applies equivalent change to `SessionAutoConfigurationTests`. These changes also ensure compatibility with Spring Session 2.0 which will merge `ExpiringSession` API with `Session` API. Closes gh-9145
-
Stephane Nicoll authored
This commit allows to specify a deprecation level to a manual metadata entry. The purpose of that new attribute is to distinguish cases where the property is still bound (default) from cases where the property no longer exists and won't be bound. This gives the opportunity to IDEs to still show the property as an error and offer documentation and an action to rename it if a replacement exists. Closes gh-9074
-
Stephane Nicoll authored
Closes gh-9159
-
Stephane Nicoll authored
Closes gh-6258
-
Stephane Nicoll authored
Closes gh-9155
-
Stephane Nicoll authored
Closes gh-9019
-
- 10 May, 2017 14 commits
-
-
Stephane Nicoll authored
Closes gh-9149
-
Andy Wilkinson authored
-
Andy Wilkinson authored
See gh-8714 and 9480e09c
-
Andy Wilkinson authored
Closes gh-8049
-
Andy Wilkinson authored
Closes gh-8714
-
Andy Wilkinson authored
Closes gh-8968
-
Phillip Webb authored
Significantly rework `ConfigurationPropertyName` in an attempt to reduce the amount of memory and garbage produced. The name elements are now stored as CharSequences and whenever possible subsequences are used. This helps to reduce the memory footprint since the underlying char array can be shared between the source string, and the individual elements. For example: `ConfigurationProperty.of("foo.bar.baz")` will return a name that provides access to the elements `foo`, `bar` and `baz`. However, these three names all share the same char[], just using different offsets and lengths. See gh-9000
-
Phillip Webb authored
Improve ConfigurationPropertySource support by reworking some of the stream calls based on advice offered by Tagir Valeev from JetBrains. Also improved ConfigurationPropertySource.containsDescendantOf so that it returns an enum rather than an Optional<Boolean> (again based on feedback from Tagir). See gh-9000
-
Phillip Webb authored
Rework the ConfigurationPropertySources and related adapter classes to help with performance. The ConfigurationPropertySources class now only monitors for updates when `.attach` is used. The `.get` methods now return the adapted version, but no longer checks to see if sources have been added or removed on each call. This commit also fixes a few caching issues and makes both the `PropertyMapper` implementations true static singletons. See gh-9000
-
Phillip Webb authored
Refactor `ConfigFileApplicationListener` to use a `MultiValueMap` when loading sources. The helps to simplify the code and removes the need for the inner `LoadedPropertySources` class. We're also able to delete the now unused `EnumerableCompositePropertySource` and `PropertySourcesLoader` classes. Fixes gh-9144
-
Phillip Webb authored
-
Phillip Webb authored
-
Phillip Webb authored
-
Phillip Webb authored
-
- 09 May, 2017 11 commits
-
-
Andy Wilkinson authored
Closes gh-7461
-
Andy Wilkinson authored
This reverts commit a8b10f74. See gh-7461
-
Andy Wilkinson authored
Closes gh-7461
-
Stephane Nicoll authored
-
Stephane Nicoll authored
-
Stephane Nicoll authored
This commit makes sure the integration tests use the same versions as the one managed by `spring-boot-dependencies` (including Maven plugins). Closes gh-8947
-
Stephane Nicoll authored
* pr/9132: Upgrade to Spring AMQP 2.0.0.M4
-
Artem Bilan authored
Closes gh-9132
-
Stephane Nicoll authored
-
Stephane Nicoll authored
* pr/9072: Add Membrane Spring Boot Starter
-
Oliver Weiler authored
Closes gh-9072
-
- 08 May, 2017 1 commit
-
-
Stephane Nicoll authored
Closes gh-9129
-
- 07 May, 2017 2 commits
-
-
Stephane Nicoll authored
* pr/9103: Polish
-
Johnny Lim authored
Closes gh-9103
-