Commit Graph

11407 Commits

Author SHA1 Message Date
Andy Wilkinson
9b15e6b5a3 Use Gradle, executed by Maven, to build the Gradle plugin 2017-04-04 15:33:27 +01:00
Andy Wilkinson
09898308ab Update autoconfigure's test deps to align with latest spring-kafka-test 2017-04-04 15:32:57 +01:00
Stephane Nicoll
78845fe63a Switch default value of spring.aop.proxy-target-class
This commit ensures that the default proxying value matches the opinion we
have applied for `@EnableTransactionManagement`

Closes gh-8786
2017-04-04 17:27:00 +03:00
Andy Wilkinson
6c6b9c284d Upgrade to Solr 6.5 and align with latest Spring Data Solr snapshots
Closes gh-8801
2017-04-04 14:47:07 +01:00
Andy Wilkinson
f892363c0f Merge branch '1.5.x' 2017-04-04 12:30:34 +01:00
Andy Wilkinson
155d55097f Merge branch '1.4.x' into 1.5.x 2017-04-04 12:21:43 +01:00
Andy Wilkinson
47de05b52c Update Devtools to ignore manifest Class-Path entries that do not exist
Closes gh-8623
2017-04-04 12:15:51 +01:00
Andy Wilkinson
3ec5041826 Merge branch '1.5.x' 2017-04-04 11:31:43 +01:00
Andy Wilkinson
c55bfb00b1 Merge branch '1.4.x' into 1.5.x 2017-04-04 11:31:34 +01:00
Andy Wilkinson
456327260b Fail fast when a Zip64 jar is encountered
Previously, jars (either top-level or nested) in Zip64 format were
treated as normal jar files. This would lead to a failure later on
when an attempt was made to read an entry from the file.

This commit updates the loader to fail fast when it encounters a
Zip64 jar file. Such files are identified by the number of entries
in the central directory end record being 0xFFFF.

Closes gh-8735
2017-04-04 11:31:18 +01:00
Andy Wilkinson
7f870aa19a Merge branch '1.5.x' 2017-04-04 10:23:04 +01:00
Andy Wilkinson
94e9c9417d Merge branch '1.4.x' into 1.5.x 2017-04-04 10:22:50 +01:00
Andy Wilkinson
b280e3092d Don't forward to welcome page that won't exist due to custom mapping
Previously, WelcomePageHandlerMapping would forward to index.html.
This assumed that the static path pattern was always /**. If it had
been customised to, for example, /foo/**, then the forward would still
be to index.html and a 404 would result as the page is actually
available at /foo/index.html.

At first glance, it would appear that the forward should be made to
foo/index.html. However, as it's a forward rather than a redirect,
any relative URLs in the index.html page would then be resolved using
/ whereas they should be resolved using /foo/. This could be addressed
by using a redirect rather than a forward, but we don't want to do
that as it's more invasive and would require a roundtrip back to the
client. Instead, this commit simply stops performing the forward when
the static path pattern is not /**.

Closes gh-8788
2017-04-04 10:13:24 +01:00
Andy Wilkinson
9c56003865 Merge branch '1.5.x' 2017-04-04 10:03:35 +01:00
Andy Wilkinson
4d71bfbf5c Merge branch '1.4.x' into 1.5.x 2017-04-04 10:03:19 +01:00
Andy Wilkinson
4b1e5e9c43 Improve diagnostics when loading a property source from a file fails
Closes gh-8294
2017-04-04 10:02:10 +01:00
Andy Wilkinson
d61a748222 Merge branch '1.5.x' 2017-04-04 09:27:42 +01:00
Andy Wilkinson
6d8846d95b Merge branch '1.4.x' into 1.5.x 2017-04-04 09:27:35 +01:00
Andy Wilkinson
43f34546f6 Add .editorconfig to improve formatting when viewing on GitHub
Closes gh-8497
2017-04-04 09:26:50 +01:00
Andy Wilkinson
f5d9ff1392 Upgrade to Mongo Driver Reactive Streams 1.3.0
Closes gh-8807
2017-04-04 09:24:08 +01:00
Stephane Nicoll
3915f37dae Merge branch '1.5.x' 2017-04-03 10:42:41 +03:00
Stephane Nicoll
5cc2e103f2 Disable unexpected datasource initialization
This commit restore the disabling of datasource initialization that was
accidently removed in db33a75 so that other tests aren't affected by it.
2017-04-03 10:42:12 +03:00
Stephane Nicoll
4c32d6a7de Merge branch '1.5.x' 2017-04-03 09:50:36 +03:00
Stephane Nicoll
0163731043 Automatically enable transaction management for Neo4j
This commit makes sure that `@EnableTransactionManagement` is
auto-configured with Neo4j. It actually reuses what was done in #8434,
making sure that the `Neo4jDataAutoConfiguration` is ordered properly.

Closes gh-8587
2017-04-03 09:37:37 +03:00
Stephane Nicoll
db33a75484 Enable transaction management consistently
Previously to this commit, transaction management was only enabled when
a `DataSource` is configured. The processing of `@Transactional`
annotations are now enabled as long as a `PlatformTransactionManager` is
present.

Also, the `spring.aop.proxy-target-class` is now honoured if set, still
defaulting to CGLIB mode.

Closes gh-8434
2017-04-03 09:24:15 +03:00
Stephane Nicoll
13e5d98560 Merge pull request #8618 from eddumelendez:gh-8609
* pr/8618:
  Polish "Add @DataNeo4jTest" contribution
  Add @DataNeo4jTest
2017-04-02 16:34:28 +02:00
Stephane Nicoll
b08016f15a Polish "Add @DataNeo4jTest" contribution
Closes gh-8618
2017-04-02 12:38:24 +02:00
Eddú Meléndez
b6feb47574 Add @DataNeo4jTest
This commit adds test infrastructure for Neo4j repositories through
`@DataNeo4jTest`.

See gh-8618
2017-04-02 08:21:00 +02:00
Stephane Nicoll
4b42e68aa6 Merge pull request #8791 from izeye:patch-22
* pr/8791:
  Update doc for add-application-context-header
2017-04-01 11:28:06 +02:00
Johnny Lim
1ed5108639 Update doc for add-application-context-header
Closes gh-8791
2017-04-01 11:27:42 +02:00
Brian Clozel
ba3b83c739 Fix dependency scope for reactor-test
This is a test dependency and should be marked as such.

Fixes gh-8789
2017-03-31 17:26:45 +02:00
Stephane Nicoll
4a8d353263 Merge branch '1.5.x' 2017-03-31 15:10:08 +02:00
Stephane Nicoll
751cd6e0b2 Merge pull request #8781 from ptamarit:short-commit-id-custom-length
* pr/8781:
  Polish "Use git.commit.id.abbrev if present" contribution
  Use git.commit.id.abbrev if present
2017-03-31 15:09:54 +02:00
Stephane Nicoll
52527c7298 Polish "Use git.commit.id.abbrev if present" contribution
Closes gh-8781
2017-03-31 15:09:43 +02:00
Pablo Tamarit
30b6166bc1 Use git.commit.id.abbrev if present
Currently GitProperties always shortens the property git.commit.id to an
hardcoded length of 7.

However, both the Maven plugin git-commit-id-plugin and the Gradle
plugin gradle-git-properties are now providing the property
git.commit.id.abbrev along with the propery git.commit.id.
Moreover, the Maven plugin allows to customize the length of the
abbreviated commit ID with the configuration abbrevLength. The Gradle
plugin doesn't allow (yet) to configure this length.

Closes gh-8773
2017-03-31 15:09:43 +02:00
Andy Wilkinson
5b2f0ea070 Revert "Add dep mgmt for fast-classpath-scanner while Neo4j uses LATEST"
This reverts commit 51a2d9b103.

See gh-8687
2017-03-31 11:30:01 +01:00
Andy Wilkinson
f52b0b975a Update WebFlux auto-configuration following recent API changes 2017-03-31 11:27:09 +01:00
Andy Wilkinson
99aa155412 Update tests that use WebClient following changes to its API 2017-03-29 21:02:57 +01:00
Andy Wilkinson
bf83e74d5f Start building against Reactor Bom Aluminium snapshots for SR2 again
See gh-8589
2017-03-29 19:44:52 +01:00
Stephane Nicoll
1e88e1faa5 Upgrade to Embedded Mongo 2.0.0
Closes gh-8769
2017-03-29 11:11:47 +02:00
Brian Clozel
df2d6b370e Fix compilation error with latest webflux changes
See commit c5bcefbd in Spring Framework, which refactored
the RequestMappingHandlerAdapter.
2017-03-29 09:56:04 +02:00
Andy Wilkinson
4ca38d4563 Merge branch '1.5.x' 2017-03-28 20:00:21 +01:00
Andy Wilkinson
181cfd5ca8 Merge branch '1.4.x' into 1.5.x 2017-03-28 20:00:03 +01:00
Andy Wilkinson
9fa8f2e317 Tweak Checkstyle plugin config so violations are output even with -q
Closes gh-8767
2017-03-28 19:59:08 +01:00
Andy Wilkinson
e683f8ace9 Revert "Start building against Reactor Bom Aluminium snapshots for SR2 again"
This reverts commit 9164265a54.

See gh-8589
2017-03-28 15:18:34 +01:00
Andy Wilkinson
9164265a54 Start building against Reactor Bom Aluminium snapshots for SR2 again
See gh-8589
2017-03-28 10:18:23 +01:00
Andy Wilkinson
aaf76e435e Align with latest Neo4j OGM 3.0 snapshots
See gh-8687
2017-03-28 10:09:36 +01:00
Stephane Nicoll
ff50331168 Merge branch '1.5.x' 2017-03-28 10:27:31 +02:00
Stephane Nicoll
d8e90af3bf Merge branch '1.4.x' into 1.5.x 2017-03-28 10:27:14 +02:00
Stephane Nicoll
595fada2ff Merge pull request #8660 from dreis2211:cleanup-equals-exceptions
* pr/8660:
  Fix test assertions
2017-03-28 10:26:56 +02:00