Juergen Hoeller
2086cda296
Merge branch '6.1.x'
2 years ago
Juergen Hoeller
d2000efbd8
Polishing
2 years ago
Juergen Hoeller
c23fd784a0
Consistently apply TaskDecorator to ManagedExecutorService as well
...
Closes gh-32455
2 years ago
Juergen Hoeller
66235fa8c8
Consistent TaskDecorator and ErrorHandler support in schedulers
...
Closes gh-23755
Closes gh-32460
2 years ago
Sam Brannen
cf31d088e2
Polish AssertJ support for MockMvc
...
See gh-21178
2 years ago
Stéphane Nicoll
4a74e1fc2d
Add AssertJ support for MockMvc
...
Closes gh-21178
2 years ago
Stéphane Nicoll
e7d7cb8641
Add AssertJ support for MockMvc
...
This commit adds a new way to use MockMvc by returning a MvcResult that
is AssertJ compatible. Compared to the existing MockMvc infrastructure,
this new model has the following advantages:
* Can be created from a MockMvc instance
* Dedicated builder methods for easier setup
* Assertions use familiar AssertJ syntax with discoverable assertions
through a DSL
* Improved exception message
See gh-21178
Co-authored-by: Brian Clozel <brian.clozel@broadcom.com>
2 years ago
Stéphane Nicoll
555d4a6004
Add AssertJ support for cookies
...
This commit adds AssertJ compatible assertions for cookies
See gh-21178
Co-authored-by: Brian Clozel <brian.clozel@broadcom.com>
2 years ago
Stéphane Nicoll
1cdbcc58f3
Add AssertJ support for the Model
...
This commit adds AssertJ compatible assertions for the Model that is
generated from an HTTP request.
See gh-21178
2 years ago
Stéphane Nicoll
b46e528922
Add AssertJ support for the HTTP handler
...
This commit adds AssertJ compatible assertions for the component that
produces the result from the request.
See gh-21178
2 years ago
Stéphane Nicoll
e97ae434fb
Add AssertJ support for HTTP requests and responses
...
This commit adds AssertJ compatible assertions for HTTP request and
responses, including headers, media type, and response body. The latter
delegate to the recently included JSON assert support.
See gh-21178
2 years ago
Stéphane Nicoll
76f45c4289
Add support for JSON assertions using JSON path
...
This commit moves JSON path AssertJ support from Spring Boot.
See gh-21178
Co-authored-by: Brian Clozel <brian.clozel@broadcom.com>
2 years ago
Stéphane Nicoll
97ebc43ea9
Add support for JSON assertions using JSON compare
...
This commit moves JSON content AssertJ support from Spring Boot.
See gh-21178
Co-authored-by: Brian Clozel <brian.clozel@broadcom.com>
2 years ago
Stéphane Nicoll
214a54dd6f
Run CI on main only once a day
2 years ago
Stéphane Nicoll
875037c431
Merge branch '6.1.x'
2 years ago
Stéphane Nicoll
68a3993897
Merge pull request #32446 from LinorDolev
...
* pr/32446:
Polish "Fix default strategy description of ProblemDetail error codes"
Fix default strategy description of ProblemDetail error codes
Closes gh-32446
2 years ago
Stéphane Nicoll
dfc1b839f3
Polish "Fix default strategy description of ProblemDetail error codes"
...
See gh-32446
2 years ago
Linor Dolev
302c24aaa8
Fix default strategy description of ProblemDetail error codes
...
See gh-32446
2 years ago
Stéphane Nicoll
35e8ae2a84
Merge branch '6.1.x'
2 years ago
Stéphane Nicoll
7357812b4e
Polish "Only include production branches for docs deployment"
...
See gh-32434
2 years ago
Stéphane Nicoll
26cab0616e
Merge branch '6.1.x'
2 years ago
Stéphane Nicoll
30087e1aea
Only include production branches for docs deployment
...
Closes gh-32434
2 years ago
Sam Brannen
e1b1435a00
Stop referring to JDK 1.5 plus polishing
2 years ago
Stéphane Nicoll
8e2134c6a7
Merge branch '6.1.x'
2 years ago
Stéphane Nicoll
cd5758e610
Restore CI execution per commit
...
As scheduled only works on the base branch anyway
See gh-32436
2 years ago
Stéphane Nicoll
7c7a59bdd2
Merge branch '6.1.x'
2 years ago
Stéphane Nicoll
b82a0dd31a
Polish "Move CI and snapshot deployment to GitHub actions"
...
See gh-32436
2 years ago
Stéphane Nicoll
acd69d38e9
Merge branch '6.1.x'
2 years ago
Stéphane Nicoll
b7280400ee
Move CI and snapshot deployment to GitHub actions
...
Closes gh-32436
2 years ago
Sam Brannen
4a3daa7812
Polishing
2 years ago
Sam Brannen
27d5213176
Polish Javadoc for @TestBean support
2 years ago
Stéphane Nicoll
19dfc781f5
Build Pull Requests on CI using GitHub Actions
...
Closes gh-32443
2 years ago
Spring Builds
a3345920ec
Next development version (v6.1.6-SNAPSHOT)
2 years ago
rstoyanchev
1d2b55e670
Merge branch '6.1.x'
2 years ago
rstoyanchev
381f790329
Extract reusable checkSchemeAndPort method
...
Closes gh-32440
2 years ago
Juergen Hoeller
7f7c0d59f6
Merge branch '6.1.x'
2 years ago
Juergen Hoeller
f5a3658535
Upgrade to Protobuf 3.25.3, Woodstox 6.6.1, JsonPath 2.9, QDox 2.1
2 years ago
Juergen Hoeller
54a6d89da7
Additional unit tests for operations on empty UriTemplate
...
See gh-32432
2 years ago
Stéphane Nicoll
7d4db434a5
Merge branch '6.1.x'
2 years ago
Stéphane Nicoll
2922a82275
Merge pull request #32432 from bsgrd
...
* pr/32432:
Polish "Allow UriTemplate to be built with an empty template"
Allow UriTemplate to be built with an empty template
Closes gh-32432
2 years ago
Stéphane Nicoll
a34ceb405c
Polish "Allow UriTemplate to be built with an empty template"
...
See gh-32432
2 years ago
Kasper Bisgaard
1b25a1506a
Allow UriTemplate to be built with an empty template
...
See gh-32432
2 years ago
Sam Brannen
986c4fd926
Revise use of Objects.requireNonNull()
...
Historically, we have rarely intentionally thrown a
NullPointerException in the Spring Framework. Instead, we prefer to
throw either an IllegalArgumentException or IllegalStateException
instead of a NullPointerException.
However, changes to the code in recent times have introduced the use of
Objects.requireNonNull(Object) which throws a NullPointerException
without an explicit error message.
The latter ends up providing less context than a NullPointerException
thrown by the JVM (since Java 14) due to actually de-referencing a
null-pointer. See https://openjdk.org/jeps/358 .
In light of that, this commit revises our current use of
Objects.requireNonNull(Object) by removing it or replacing it with
Assert.notNull().
However, we still use Objects.requireNonNull(T, String) in a few places
where we are required to throw a NullPointerException in order to
comply with a third-party contract such as Reactive Streams.
Closes gh-32430
2 years ago
Sam Brannen
d6422d368a
Revise @TestBean support
...
See gh-29917
2 years ago
Sam Brannen
21ed8aad74
Add missing test
2 years ago
Sam Brannen
7211db9262
Polishing
2 years ago
Juergen Hoeller
3b87c87a33
Merge branch '6.1.x'
2 years ago
Juergen Hoeller
723c94e5ac
Polishing
2 years ago
Juergen Hoeller
e5a69dcfdf
Upgrade to Reactor 2023.0.4 and Micrometer 1.12.4
...
Includes AspectJ 1.9.21.1, Groovy 4.0.19, Tomcat 10.1.19, Jetty 12.0.7, Jackson 2.15.4, OpenPDF 1.3.42, Mockito 5.11, Checkstyle 10.14.1
Closes gh-32420
Closes gh-32431
2 years ago
Sébastien Deleuze
460ffbc0f6
Use code includes and tabs in mvc-controller/ann.adoc
...
See gh-22171
2 years ago