Commit Graph

11975 Commits (bfbabce16370bfe9d5786bc769c262bbdb2d82b3)
 

Author SHA1 Message Date
Andy Wilkinson bfbabce163 Merge branch '1.5.x' 8 years ago
Andy Wilkinson 19d680cbe4 Merge branch '1.4.x' into 1.5.x 8 years ago
Andy Wilkinson d757368d41 Upgrade to Tomcat 8.5.15
Closes gh-9171
8 years ago
Andy Wilkinson 453a9aa432 Upgrade to Spring Social Facebook 3.0.0.M2
Closes gh-9157
8 years ago
Andy Wilkinson 2ec071af3a Revert "Add temporary work around for regression in Spring Integration"
This reverts commit 71b53e816d.
8 years ago
Andy Wilkinson ef12eecb7e Avoid a clash with TomcatURLStreamHandlerFactory
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
8 years ago
Andy Wilkinson 71b53e816d Add temporary work around for regression in Spring Integration 8 years ago
Andy Wilkinson b71daac58a Remove redundant logic for uninstalling Tomcat's URL stream handler factory
Closes gh-8622
8 years ago
Andy Wilkinson 5810ae28d5 Ensure that WebApplicationType.NONE results in a non-web environment
Following the changes made in a7f148091e 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
8 years ago
Stephane Nicoll 1bf7558a2c Merge pull request #9145 from vpavic:align-session-2.0
* pr/9145:
  Improve `HashMapSessionConfiguration`
8 years ago
Vedran Pavic 94f96a281f Improve `HashMapSessionConfiguration`
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
8 years ago
Stephane Nicoll 527c2e7b75 Add support for deprecation level in manual metadata
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
8 years ago
Stephane Nicoll bb2a81cb6e Document `spring.main.web-application-type`
Closes gh-9159
8 years ago
Stephane Nicoll 3319be1c5a Upgrade to Spring Social 2.0.0.M3
Closes gh-6258
8 years ago
Stephane Nicoll 30daa8120e Upgrade to Spring Social Twitter 2.0.0.M2
Closes gh-9155
8 years ago
Stephane Nicoll ba50599f6f Upgrade to Spring Social Linkedin 2.0.0.M2
Closes gh-9019
8 years ago
Stephane Nicoll 3547815805 Make sure Maven integration tests use a consistent java version
Closes gh-9149
8 years ago
Andy Wilkinson 9ee1edcca5 Polishing 8 years ago
Andy Wilkinson 771343e31b Update OAuth2 sample following breaking API change in Spring Security
See gh-8714 and 9480e09c21
8 years ago
Andy Wilkinson 918a11ea28 Upgrade to Spring Session 2.0.0.M1
Closes gh-8049
8 years ago
Andy Wilkinson 9480e09c21 Upgrade to Spring Security 5.0.0.M1
Closes gh-8714
8 years ago
Andy Wilkinson 8f1cf0ceb4 Upgrade to Spring Cloud Connectors 2.0.0.M1
Closes gh-8968
8 years ago
Phillip Webb 961d41f6f6 Reduce ConfigurationPropertyName memory usage
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
8 years ago
Phillip Webb d969ebad07 Polish ConfigurationPropertySource support
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
8 years ago
Phillip Webb fa4de13519 Rework ConfigurationPropertySources
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
8 years ago
Phillip Webb 133f11df2f Refactor ConfigFileApplicationListener
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
8 years ago
Phillip Webb 5cad11d6d2 Formatting 8 years ago
Phillip Webb fd2e3b3505 Merge branch '1.5.x' 8 years ago
Phillip Webb 931ce15d7f Update copyright header dates 8 years ago
Phillip Webb 4a7dcc8786 Formatting 8 years ago
Andy Wilkinson 6ef4ea9a25 Upgrade to Spring Data Kay M3
Closes gh-7461
8 years ago
Andy Wilkinson f175f5bd54 Revert "Upgrade to Spring Data Kay M3"
This reverts commit a8b10f74e8.

See gh-7461
8 years ago
Andy Wilkinson a8b10f74e8 Upgrade to Spring Data Kay M3
Closes gh-7461
8 years ago
Stephane Nicoll 5e14383886 Merge branch '1.5.x' 8 years ago
Stephane Nicoll ea4e6fea35 Polish 8 years ago
Stephane Nicoll f8e1345b75 Unify versions used in integration tests
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
8 years ago
Stephane Nicoll b686ed8b6b Merge pull request #9132 from artembilan:Spring_AMQP_2.0.0.M4
* pr/9132:
  Upgrade to Spring AMQP 2.0.0.M4
8 years ago
Artem Bilan 22406b7dce Upgrade to Spring AMQP 2.0.0.M4
Closes gh-9132
8 years ago
Stephane Nicoll 70a3daa266 Merge branch '1.5.x' 8 years ago
Stephane Nicoll bca96932af Merge pull request #9072 from helpermethod:master
* pr/9072:
  Add Membrane Spring Boot Starter
8 years ago
Oliver Weiler 31d4f3b638 Add Membrane Spring Boot Starter
Closes gh-9072
8 years ago
Stephane Nicoll 3b0fb97081 Upgrade to Spring Framework 5.0.0.RC1
Closes gh-9129
8 years ago
Stephane Nicoll 3f58095192 Merge pull request #9103 from izeye:polish-20170505
* pr/9103:
  Polish
8 years ago
Johnny Lim 53e5d67cde Polish
Closes gh-9103
8 years ago
Stephane Nicoll 068c52b725 Merge branch '1.5.x' 8 years ago
Stephane Nicoll 85ae3082b8 Merge pull request #9116 from garyrussell:amqp15
* pr/9116:
  Upgrade to Spring Kafka 1.1.5.RELEASE
8 years ago
Gary Russell 74985b610b Upgrade to Spring Kafka 1.1.5.RELEASE
Closes gh-9116
8 years ago
Madhura Bhave 7c71fdd9ff Fix typo 8 years ago
Andy Wilkinson 6dd385898f Upgrade to Rxjava 1.3.0
Closes gh-9112
8 years ago
Stephane Nicoll 275bff39aa Remove deprecated code
Closes gh-8891
8 years ago