Brian Clozel
83f678a8b1
Separate transports in GraphQL auto-configurations
...
This commit revisits the existing GraphQL configuration properties to
better reflect which ones belong to specific transports.
This also relaxes the Web auto-configurations to only require the
`ExecutionGraphQlService` as a bean. The `GraphQlSource` is now an
optional bean dependency.
Closes gh-44495
10 months ago
Stéphane Nicoll
2a94ee1586
Polish contribution
...
See gh-44348
10 months ago
Bernie Schelberg
b9438bef9e
Consider properties on outer class in nested @DataJpaTest tests
...
See gh-44348
Signed-off-by: Bernie Schelberg <bernard.schelberg@invicara.com>
10 months ago
Phillip Webb
8ec61b9870
Polish 'Refactor `@ConfigurationProperties` that only use `prefix`'
...
See gh-43917
11 months ago
Yanming Zhou
c1d97ffe16
Refactor `@ConfigurationProperties` that only use `prefix`
...
See gh-43917
Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
11 months ago
Yanming Zhou
960c8825e0
Replace @ConditionalOnProperty with …BooleanProperty where feasible
...
See gh-43868
Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
11 months ago
Andy Wilkinson
2f29a49a1d
Remove APIs deprecated for removal in 3.5
...
Closes gh-43788
11 months ago
Phillip Webb
a49719d73e
Use consistent exception messages in Assert calls
...
Update `Assert` calls to consistently use messages of the form
"'item' must [not] ...".
Closes gh-43780
11 months ago
Phillip Webb
86b6171edc
Introduce dedicated annotations to deal with boolean properties
...
Add `@ConditionalOnBooleanProperty` annotation to deal with
boolean properties and primarily for features that users toggle
using `.enabled` properties.
Closes gh-43704
11 months ago
Phillip Webb
170ff4eb23
Update copyright year of changed files
12 months ago
Phillip Webb
4c307d6fda
Switch away from using @ConditionalOnProperty prefix
...
Merge `prefix` into `name` attribute and simplify annotations
where possible.
Closes gh-43703
12 months ago
Johnny Lim
4d15ee5bf0
Polish
...
See gh-43498
1 year ago
Andy Wilkinson
5d63335a5c
Polish "Use constants for well-known scope names"
...
See gh-43065
1 year ago
Yanming Zhou
03841b1229
Use constants for well-known scope names
...
See gh-43065
1 year ago
Phillip Webb
23607ee4c4
Add nullSafeValue method that accepts a mapper Function
...
Update `JsonObjectDeserializer` with a `nullSafeValue` method that
accepts a mapper `Function`
Closes gh-42972
1 year ago
Tran Ngoc Nhan
fcbf6b0200
Polish
...
See gh-42798
1 year ago
Phillip Webb
3481107ff7
Update copyright year of changed files
1 year ago
Phillip Webb
168d82e138
Polish
1 year ago
Andy Wilkinson
1020793198
Output condition evaluation report when app under test fails to start
...
Closes gh-42185
1 year ago
Moritz Halbritter
ce106eb43c
Remove calls to deprecated Project.getBuildDir() in Gradle files
...
Closes gh-42739
1 year ago
Moritz Halbritter
a3060652f8
Call String.toLowerCase and .toUppercase with explicit locale
...
Closes gh-42719
1 year ago
Stéphane Nicoll
0c0acb4339
Polish "Use RootBeanDefinition if possible"
...
This commit adapts code that was using GenericBeanDefinition to use
RootBeanDefinition instead. Spring Framework recommend to use
RootBeanDefinition if it's pre-determined as root bean.
See gh-42611
1 year ago
Yanming Zhou
7427304b3d
Use RootBeanDefinition if possible
...
This commit adapts code that was using GenericBeanDefinition to use
RootBeanDefinition instead. Spring Framework recommend to use
RootBeanDefinition if it's pre-determined as root bean.
See gh-42611
1 year ago
Stéphane Nicoll
a40ae49a76
Upgrade to Testcontainers 1.20.2
...
Closes gh-42670
1 year ago
Johnny Lim
1585c5a109
Polish
...
See gh-42503
1 year ago
Phillip Webb
ad72411e2b
Apply conventions plugin to all subprojects
...
Closes gh-42438
1 year ago
Phillip Webb
3723a9e040
Support Testcontainer JDBC URLs with `Replace.NON_TEST`
...
Update `TestDatabaseAutoConfiguration` so that Testcontainer JDBC URLs
are also detected when using `Replace.NON_TEST`.
Closes gh-35253
1 year ago
Phillip Webb
8628f7334f
Ensure `@AutoConfigureTestDatabase` does not replace test databases
...
Update `@AutoConfigureTestDatabase` support so that by default test
databases are not replaced.
Fixes gh-35253
1 year ago
Scott Frederick
e7faca3bbb
Add support for Testcontainer Redis
...
Add support for the official `com.redis:testcontainers-redis` container.
See gh-41450
1 year ago
Stéphane Nicoll
8a253d1db7
Fix formatting
1 year ago
Stéphane Nicoll
f1e5108b59
Improve Javadoc of slice test annotations
...
This commit harmonizes the phrasing that we use to describe what
components are considered for scanning when a slice test is enabled.
This makes the description of the default filter explicit, with an
exhaustive description of the annotations and/or base classes.
Closes gh-41914
1 year ago
Andy Wilkinson
163581cfe8
Rename DataLdapTestIntegrationTests to remove clash
...
Closes gh-41617
1 year ago
Andy Wilkinson
5f666eec5b
Reduce warnings reported by Eclipse
...
Closes gh-41598
1 year ago
Phillip Webb
61dc82d836
Update copyright year of changed files
1 year ago
Eddú Meléndez
31d2bebd49
Add support for ServiceConnection in DataLdapTest
...
See gh-41325
1 year ago
Andy Wilkinson
cddf92e047
Polish "Deprecate @MockBean and @SpyBean"
...
See gh-39864
1 year ago
Andy Wilkinson
375b3b16a0
Remove APIs that were deprecated for removal in 3.4.0
...
Closes gh-41435
1 year ago
Stéphane Nicoll
156237227c
Migrate MockMvc tests to MockMvcTester
...
See gh-41198
1 year ago
Stéphane Nicoll
e5859aedaf
Add auto-configuration for MockMvcTester
...
This commit adds auto-configuration and documentation for MockMvcTester,
a wrapper of MockMvc that provides AssertJ integration as well as a
fluent API to build requests. The main differences compared to the
regular MockMvc are as follows:
* No need for static imports for building requests and define assertions
* No need to handle unchecked exception as they can be asserted instead
* Support for converting the response body to data types
Closes gh-41198
1 year ago
Andy Wilkinson
654016af7f
Move Docker-related test support into a separate module
...
See gh-41228
2 years ago
Andy Wilkinson
843de3adbc
Update spring-boot-test-autoconfigure to use docker-test plugin
...
See gh-41228
2 years ago
Stéphane Nicoll
17ca0421e7
Upgrade to HtmlUnit 4.2.0 and Selenium HtmlUnit 4.20
...
Closes gh-41178
Closes gh-41179
2 years ago
Andy Wilkinson
491f34d25c
Improve container test code
...
Replace `DockerImageNames` with a enum and relocate it from the
`testcontainers` to `container` package. The enum now also
becomes a common location that we can use to apply container
configuration such as timeouts.
Closes gh-41164
Co-authored-by: Phillip Webb <phil.webb@broadcom.com>
2 years ago
Moritz Halbritter
2e906c4720
Catch exceptions thrown during String format when collecting diagnostics
...
Registers the LoggingLinesWriter only if debug logging is actually
enabled.
Closes gh-40500
2 years ago
Andy Wilkinson
12e004f131
Revert "Exclude unwanted javax.inject dependency from Data Couchbase"
...
This reverts commit 06f5ab162f . The
dependency has been removed in Data Couchbase, making the exclude
unnecessary.
See gh-40200
2 years ago
Andy Wilkinson
1ea6f2f51f
Revert "Revert "Exclude unwanted javax.inject dependency from Data Couchbase""
...
This reverts commit 3b76165f4e .
Turns out, the exclude's still needed for now? with Data Couchbase
5.1.x.
See gh-40200
2 years ago
Andy Wilkinson
3b76165f4e
Revert "Exclude unwanted javax.inject dependency from Data Couchbase"
...
This reverts commit 06f5ab162f . The
dependency has been removed in Data Couchbase, making the exclude
unnecessary.
See gh-40200
2 years ago
Andy Wilkinson
06f5ab162f
Exclude unwanted javax.inject dependency from Data Couchbase
...
See gh-40200
2 years ago
Johnny Lim
412b8dd548
Polish
...
See gh-39910
2 years ago
Andy Wilkinson
a01e068059
Start building against Micrometer 1.13.0 snapshots
...
See gh-39889
2 years ago