Commit Graph

12769 Commits (dff9fb12aa3063c5c7af16fc78dfab19aab331ec)
 

Author SHA1 Message Date
Andy Wilkinson dff9fb12aa Merge branch '1.5.x' 7 years ago
Andy Wilkinson feb964b559 Merge pull request #9534 from Danny Thomas
* gh-9534:
  Polish "Ensure SpringBootDITEL fails with the original failure"
  Ensure SpringBootDITEL fails with the original failure
7 years ago
Andy Wilkinson b7080ddec5 Polish "Ensure SpringBootDITEL fails with the original failure" 7 years ago
Danny Thomas 2c48087604 Ensure SpringBootDITEL fails with the original failure
See gh-9534
7 years ago
Andy Wilkinson c45a351308 Merge branch '1.5.x' 7 years ago
Andy Wilkinson 94ea3e8618 Merge pull request #9724 from Gytis Trikleris
* gh-9724:
  Polish "Make NarayanaRecoveryManagerBean conditional on missing bean"
  Make NarayanaRecoveryManagerBean conditional on missing bean
7 years ago
Andy Wilkinson bb35e772c2 Polish "Make NarayanaRecoveryManagerBean conditional on missing bean"
Closes gh-9724
7 years ago
Gytis Trikleris d8a6954744 Make NarayanaRecoveryManagerBean conditional on missing bean
See gh-9724
7 years ago
Andy Wilkinson 11fc7c1393 Merge branch '1.5.x' 7 years ago
Andy Wilkinson 8f877dcee2 Disable auto-config of Narayana's JMS support when JMS module absent
Closes gh-9844
7 years ago
Stephane Nicoll ad694fdb3a Upgrade to Spring Framework 5.0.0.RC3
Closes gh-9842
7 years ago
Stephane Nicoll 8cae031441 Remove Devtools remote debugging support
Closes gh-9489
7 years ago
Andy Wilkinson bc4603925e Configure Jetty to compress responses to requests other than GET
Closes gh-8184
7 years ago
Andy Wilkinson 6df1be3f1a Merge branch '1.5.x' 7 years ago
Andy Wilkinson be535103a7 Merge pull request #9832 from Johnny Lim
* gh-9832:
  Use currentHealth consistently in getHealth()
7 years ago
Johnny Lim d18e452fcd Use currentHealth consistently in getHealth()
Closes gh-9832
7 years ago
Andy Wilkinson fef7953ef7 Merge branch '1.5.x' 7 years ago
Andy Wilkinson 39b4ecdf63 Adapt to breaking change in Spring Data
See gh-9834
7 years ago
Andy Wilkinson 8207852bcd Ensure that detected request factories are initialized
Closes gh-9797
7 years ago
Andy Wilkinson 2baba40187 Merge branch '1.5.x' 7 years ago
Andy Wilkinson a8ad68ebc1 Start building against Spring Data Ingalls snapshots
See gh-9834
7 years ago
Andy Wilkinson 2411e265ae Upgrade to Elasticsearch 5.5.0
Closes gh-9833
7 years ago
Andy Wilkinson 0013493402 Move port in use exception test as it does not apply to Tomcat
See gh-8737
7 years ago
Andy Wilkinson 9b6b663cc7 Throw a PortInUseException when Netty start fails with a BindException
Closes gh-8737
7 years ago
Andy Wilkinson ded7cea761 Prevent webapp class loader from finding resources
Previously, TomcatEmbeddedWebappClassLoader would find resources
in WEB-INF/classes. However, unlike standalone Tomcat, we know that in
a Boot app WEB-INF/classes is on the class path of the parent class
loader so the resources will be found when the parent is queried
(which happens as part of the normal search algortithm for both
getResource(String) and getResources(String)).

This commit overrides findResource(String) and findResources(String)
to return null and an empty enumeration respectively. This prevents
TomcatEmbeddedWebappClassLoader from finding resources in
WEB-INF/classes and returning war: URLs for them that duplicate the
jar: URLs that will be found when the parent is queried.

Closes gh-9014
7 years ago
Andy Wilkinson 00feae7e8a Correct signature of link to sibling method that takes Class[] in 2.0
See gh-8898
7 years ago
Andy Wilkinson 218033fbcb Merge branch '1.5.x' 7 years ago
Andy Wilkinson f4f54047e0 Clarify behaviour of SpringApplicationBuilder.sibling(Object...)
Closes gh-8898
7 years ago
Andy Wilkinson d9837d7d1c Merge branch '1.5.x' 7 years ago
Andy Wilkinson 20a417f469 Merge pull request #9730 from Dylian Bego
* gh-9730:
  Polish "Handle possible regexes defensively in NamePatternFilter"
  Handle possible regexes defensively in NamePatternFilter
7 years ago
Andy Wilkinson bbc34a676c Polish "Handle possible regexes defensively in NamePatternFilter"
Closes gh-9730
7 years ago
dbego c29d1c756a Handle possible regexes defensively in NamePatternFilter
Previously, if a name contained part of a regex but wasn't actually
a regex, a PatternSyntaxException would be thrown and the request
would fail.

This commit updates NamePatternFilter to catch PatternSyntaxException
and treat the regex-like input as a name insteead.

See gh-9730
7 years ago
Andy Wilkinson cabb708352 Merge pull request #9827 from Johnny Lim
* gh-9827:
  Polish
7 years ago
Johnny Lim bd27d147d7 Polish
Closes gh-9827
7 years ago
Andy Wilkinson 18cfd9d3dd Merge branch '1.5.x' 7 years ago
Andy Wilkinson c70cc55db8 Polishing
See gh-9827
7 years ago
Andy Wilkinson 20577657ee Merge branch '1.5.x' 7 years ago
Andy Wilkinson ece66e1d4a Polish javadoc in JsonContentAssert
See gh-9675
7 years ago
Andy Wilkinson ee3525aa47 Merge branch '1.5.x' 7 years ago
Andy Wilkinson a57a74157d Merge pull request #9675 from Mihhail Lapushkin
* gh-9675:
  Polish "Fix JsonContentAssert type safety warnings"
  Fix JsonContentAssert type safety warnings
7 years ago
Andy Wilkinson f6727e786a Polish "Fix JsonContentAssert type safety warnings"
- Format code
- Update an existing test to use the contains method that would
  previously have triggered a type safety warning

Closes gh-9675
7 years ago
Mihhail Lapushkin ae91c8460f Fix JsonContentAssert type safety warnings
Previously, JsonContentAssert returns AbstractMapAssert from
extractingJsonPathMapValue. This could lead to type safety warnings
when calling one of the assert's methods with a generic varargs
parameter such as
contains(Entry<? extends Object, ? extends Object>...).

This commit replaces the use of both AbstractMapAssert and
AbstractListAssert with MapAssert and ListAssert respectively. These
classes use final methods and @SafeVargs args to prevent the
above-described problem from occurring.

See gh-9675
7 years ago
Andy Wilkinson 536c3bbd1c Merge branch '1.5.x' 7 years ago
Andy Wilkinson 15410a406e Revert "Stop auto-config of MethodValidationPP triggering early init"
5198fe887b. The underlying Framework
problem that prevents @Lazy from working properly is still there
in some form or another.

See gh-9416
7 years ago
Andy Wilkinson 1fe84225e5 Merge branch '1.5.x' 7 years ago
Andy Wilkinson 5198fe887b Stop auto-config of MethodValidationPP triggering early init
Previously, if a user's configuration class provided a custom
Validator bean, that configuration class would be initialized very
early so that the Validator could be used to create the
auto-configured MethodValidationPostProcessor. This early
initialization could problems as it may prevent any of the
configuration class's dependencies from being post-processed.

This commit updates the injection of the Validator bean to be lazy,
thereby preventing the creation of the auto-configured
MethodValidationPostProcessor from triggering early initialization.

Closes gh-9416
7 years ago
Andy Wilkinson 2f835cf481 Start building against Spring Batch 4.0 snapshots
See gh-9767
7 years ago
Andy Wilkinson 7067820c76 Start building against Spring AMQP snapshots
See gh-9824
7 years ago
Andy Wilkinson 8869f98514 Start building against Spring Kafka snapshots
See gh-9825
7 years ago
Andy Wilkinson a2f791287f Disable the use of Gradle's daemon when running compatility tests 7 years ago