Commit Graph

10063 Commits

Author SHA1 Message Date
Andy Wilkinson 11d13d10c6 Merge branch '1.4.x' into 1.5.x 2017-01-25 11:27:07 +00:00
Andy Wilkinson bfee21730c Detect path of exploded war correctly on Windows
Previously, AbstractEmbeddedServletContainerFactory detected an
exploded war by looking for `/WEB-INF/` in the path of its code
source's location. This failed on Windows due to the use of `\` rather
than `/` separators.

This commit updates AbstractEmbeddedServletContainerFactory to
uses the OS's separator rather than hardcoding `/`.

Closes gh-8100
2017-01-25 11:26:03 +00:00
Stephane Nicoll 505e7f75ea Polish contribution
Closes gh-8089
2017-01-25 11:01:53 +01:00
dreis d58f38f6f6 Use String.replace() with single char if possible
See gh-8089
2017-01-25 11:01:52 +01:00
Stephane Nicoll 551bfb2c60 Polish contribution
Closes gh-8103
2017-01-25 11:01:52 +01:00
Johnny Lim 32f9e90de5 Replace 'String.length() == 0' with 'String.isEmpty()'
See gh-8103
2017-01-25 11:01:52 +01:00
Stephane Nicoll 79233b019e Fix keys format for embedded mongodb support
Closes gh-8102
2017-01-25 11:01:52 +01:00
Dave Syer 98a4c72c50 Clarify PublicMetrics (uniqueness of metric names)
See gh-6404
2017-01-25 09:43:20 +00:00
Stephane Nicoll 265a712294 Fix keys format for embedded mongodb support
Closes gh-8102
2017-01-25 10:41:47 +01:00
Andy Wilkinson 5ee46742be Upgrade to Mariadb 1.5.7
Closes gh-8098
2017-01-24 21:27:42 +00:00
Andy Wilkinson 7ae9148caa Upgrade to Jooq 3.9.1
Closes gh-8097
2017-01-24 21:27:42 +00:00
Andy Wilkinson 99a48a9a8c Upgrade to Narayana 5.5.1.Final
Closes gh-8096
2017-01-24 21:27:42 +00:00
Andy Wilkinson e42ae87989 Upgrade to Jersey 2.25.1
Closes gh-8095
2017-01-24 21:27:42 +00:00
Andy Wilkinson 31f1ad9bb9 Upgrade to Artemis 1.5.2
Closes gh-8094
2017-01-24 21:27:41 +00:00
Andy Wilkinson ac4c29bc9f Upgrade to Hazelcast 3.7.5
Closes gh-8093
2017-01-24 21:27:41 +00:00
Andy Wilkinson 988ad6b911 Merge branch '1.4.x' into 1.5.x 2017-01-24 17:13:31 +00:00
Andy Wilkinson bd58a6de66 Upgrade to Jaybird 2.2.12
Closes gh-8086
2017-01-24 16:33:06 +00:00
Andy Wilkinson f8056f9888 Upgrade to Elasticsearch 2.4.4
Closes gh-8085
2017-01-24 16:33:06 +00:00
Andy Wilkinson 96f6f42b32 Upgrade to Jetty 9.3.16.v20170120
Closes gh-8084
2017-01-24 16:33:05 +00:00
Andy Wilkinson 70cd5c42ed Upgrade to Groovy 2.4.8
Closes gh-8083
2017-01-24 16:33:05 +00:00
Andy Wilkinson fcd5477334 Upgrade to Httpcore 4.4.6
Closes gh-8082
2017-01-24 16:33:04 +00:00
Andy Wilkinson a736102a4b Upgrade to Activemq 5.13.5
Closes gh-8081
2017-01-24 16:33:04 +00:00
Andy Wilkinson ec70046e27 Upgrade to Joda Time 2.9.7
Closes gh-8080
2017-01-24 16:33:03 +00:00
Andy Wilkinson b5cecd42d1 Upgrade to Undertow 1.3.26.Final
Closes gh-8079
2017-01-24 16:33:03 +00:00
Andy Wilkinson b43a8c2069 Upgrade to Jackson 2.8.6
Closes gh-8078
2017-01-24 16:33:02 +00:00
Andy Wilkinson fe17a0efa2 Upgrade to Logback 1.1.9
Closes gh-69
2017-01-24 16:22:55 +00:00
Andy Wilkinson 1debd83b55 Upgrade to Dependency Management Plugin 1.0.0.RELEASE
Closes gh-8018
2017-01-24 12:40:39 +00:00
Andy Wilkinson 013d45a4d7 Upgrade to Jetty 9.4.1.v20170120
Closes gh-7750
2017-01-24 12:39:22 +00:00
Andy Wilkinson e3235f2370 Merge branch '1.4.x' into 1.5.x 2017-01-24 12:30:30 +00:00
Andy Wilkinson 1607f682db Start building against Spring Framework 4.3.6 snapshots
See gh-7774
2017-01-24 12:28:24 +00:00
Stephane Nicoll 5d95fb6d56 Merge pull request #8076 from izeye:polish-20170124
* pr/8076:
  Polish
2017-01-24 13:22:46 +01:00
Johnny Lim e0de28a1f7 Polish
Closes gh-8076
2017-01-24 13:22:22 +01:00
Andy Wilkinson b00d1e59f4 Silence deprecation warnings in YamlConfigurationFactoryTests 2017-01-24 10:56:44 +00:00
Andy Wilkinson 1a69a4ff67 Remove unnecessary use of @Autowired in the samples 2017-01-24 10:52:50 +00:00
Andy Wilkinson 5efa6370cb Include test-support module in the prepare profile 2017-01-24 09:51:31 +00:00
Andy Wilkinson 609bda805c Revert "Try to fix the CI build"
This reverts commit 4e36a079e9.
2017-01-24 09:51:21 +00:00
Andy Wilkinson 4e36a079e9 Try to fix the CI build
The order of the modules declared in pom.xml should not make any
difference given the other relationships that exist between projects,
however the CI build is ordering the projects incorrectly.

Try changing the order of the modules to see if the CI build can be
coaxed into ordering them correctly.
2017-01-24 09:40:15 +00:00
Stephane Nicoll 4a60de78ff Merge branch '1.4.x' into 1.5.x 2017-01-24 09:56:26 +01:00
Stephane Nicoll 4efa4590f8 Review doc on advanced datasource customization
Closes gh-7652
2017-01-24 09:55:13 +01:00
Phillip Webb b0e06c30a0 Polish 2017-01-23 22:14:58 -08:00
Phillip Webb de50cfa21e Make OnClassCondition an AutoConfigurationImportFilter
Update OnClassCondition to implement AutoConfigurationImportFilter so
that auto-configuration candidates can be filtered early. The
optimization helps to improve application startup time by reducing
the number of classes that are loaded.

See gh-7573
2017-01-23 22:14:58 -08:00
Phillip Webb 20a20b7711 Add AutoConfigurationImportFilter support
Add `AutoConfigurationImportFilter` strategy interface which can be used
to filter auto-configuration candidates before they are loaded.

See gh-7573
2017-01-23 22:14:57 -08:00
Phillip Webb 02641a8207 Optimize AutoConfigurationSorter
Optimize `AutoConfigurationSorter` by used properties generated by the
annotation processor whenever possible. The removes the need for each
candidate class to be ASM parsed just to access the order annotations.

See gh-7573
2017-01-23 22:14:57 -08:00
Phillip Webb 1cbda9bd60 Add AutoConfigurationMetadata abstraction
Add AutoConfigurationMetadata interface and a an internal loader that
allows easy access to data written by `spring-boot-configure-processor`.

See gh-7573
2017-01-23 22:14:57 -08:00
Madhura Bhave ca435512c0 Introduce spring-boot-autoconfigure-processor
Add an annotation processor that generates properties files for certain
auto-configuration class annotations. Currently attribute values from
@AutoConfigureOrder, @AutoConfigureBefore, @AutoConfigureAfter and
@ConditionalOnClass annotations are stored.

The properties file will allow optimizations to be added in the
`spring-boot-autoconfigure` project. Primarily by removing the need
to ASM parse as many `.class` files.

See gh-7573
2017-01-23 22:14:56 -08:00
Phillip Webb ccf964eb9a Optimize OnEnabledResourceChainCondition
Optimize OnEnabledResourceChainCondition by removing the DataBinder.
Properties are now read directly from the Environment.

See gh-7573
2017-01-23 18:29:23 -08:00
Phillip Webb f8ded6de63 Don't use DataBinder to work out excludes
Update `AutoConfigurationImportSelector` so that exclude properties
are loaded without invoking a `DataBinder`. This optimization helps
to improve application startup time.

See gh-7573
2017-01-23 18:29:23 -08:00
Phillip Webb 49fc727706 Lazy initialize JacksonJsonParser ObjectMapper
Update `JacksonJsonParser` to that the `ObjectMapper` is only
initialized on first use. This performance optimization helps with
startup times if nothing uses the parser.

Fixes gh-8074
2017-01-23 17:33:49 -08:00
Phillip Webb cfd5a73b64 Don't call ReflectionUtils do deduce bean type
Update `OnBeanCondition` to no longer call `ReflectionUtils` when
deducing the bean method return type. Since Spring Framework 4.2
the return type has been directly available from `MethodMetadata`.

See gh-7573
2017-01-23 17:33:39 -08:00
Phillip Webb 996afafac6 Optimize OnClassCondition isPresent check
Update `OnClassCondition` to use its own `isPresent` rather than using
`ClassUtils.isPresent`. Using our own implementation saves a few cycles
since we never need to check for native types, and we don't support
nested class references specified in the non `$` notation.

See gh-7573
2017-01-23 17:33:28 -08:00