Sam Brannen
d616e10dca
Use assertThat from Hamcrest instead of JUnit 4
...
org.junit.Assert.assertThat() is deprecated as of JUnit 4.13.
See gh-22894
6 years ago
Sam Brannen
47c39304af
Use assertThat from Hamcrest instead of JUnit 4
...
org.junit.Assert.assertThat() is deprecated as of JUnit 4.13.
See gh-22894
6 years ago
Sam Brannen
c79fdfb668
Use assertThat from Hamcrest instead of JUnit 4
...
org.junit.Assert.assertThat() is deprecated as of JUnit 4.13.
See gh-22894
6 years ago
Sam Brannen
d4379630e2
Use assertThat from Hamcrest instead of JUnit 4
...
org.junit.Assert.assertThat() is deprecated as of JUnit 4.13.
See gh-22894
6 years ago
Sam Brannen
0aeb7d1e02
Delete dead code in TransactionSynchronizationManager
6 years ago
Sam Brannen
1928167d5d
Delete dead code in ReactiveTransactionInterceptorTests
6 years ago
Sam Brannen
772ef40920
Upgrade to JUnit 4.13-beta-3
...
See gh-22894
6 years ago
Sam Brannen
7ed4df20a8
Ensure AbstractReactiveTransactionManager compiles in Eclipse IDE
6 years ago
Sam Brannen
3dc38a08c8
Add missing return in AbstractReactiveTransactionManager.processCommit()
6 years ago
Sam Brannen
21864c80d7
Suppress warning
6 years ago
Stephane Nicoll
0b97cc9ebd
Polish
6 years ago
Stephane Nicoll
7d0a49474e
Merge pull request #22891 from rewolf
...
* pr/22891:
Polish contribution
Polish CONTRIBUTING.md
6 years ago
Stephane Nicoll
1542d97dab
Polish contribution
...
Closes gh-22891
6 years ago
Andrew Flower
6eb4ac60ab
Polish CONTRIBUTING.md
...
See gh-22891
6 years ago
Juergen Hoeller
28039057fd
Consistent naming of HandlerMethodArgumentResolver implementations
...
Includes combined imports of assertion methods and related polishing.
Closes #22889
6 years ago
Juergen Hoeller
30bbf91dba
Rename PayloadArgumentResolver to PayloadMethodArgumentResolver
...
Closes gh-22888
6 years ago
Juergen Hoeller
57984c5705
Move package annotation.support.reactive to annotation.reactive
...
Aligned with invocation.reactive and transaction.reactive packages.
Closes gh-22887
6 years ago
Juergen Hoeller
9eb095d921
Merge branch '5.1.x'
6 years ago
Juergen Hoeller
293188c797
Consistent non-use of firstIndex 0 in PatternMatchUtils
...
Closes gh-22837
6 years ago
Juergen Hoeller
9674ce4906
Avoid HashSet/StringBuilder allocation for non-placeholder values
...
Closes gh-22870
6 years ago
Johnny Lim
d489227874
Use HttpHeaders constants where possible
6 years ago
Juergen Hoeller
ffbecf1427
Fix Checkstyle violation
6 years ago
Juergen Hoeller
f0f6af2926
Merge branch '5.1.x'
6 years ago
Juergen Hoeller
ea4a174583
Polishing
6 years ago
Juergen Hoeller
3d6476da46
Polishing
6 years ago
Juergen Hoeller
a7949ac84a
Consistent use of StringUtils.hasLength(String) vs isEmpty(Object)
6 years ago
Mark Paluch
83046531da
Replace signal materialization in TransactionalOperator with usingWhen
...
We now use Flux.usingWhen() instead materialize/dematerialize operators
to reuse Reactor's resource closure.
Until usingWhen() accepts a BiFunction to consume error signals,
we need to map error signals outside of usingWhen which requires
re-wrapping of the ReactiveTransaction object.
6 years ago
Mark Paluch
9cff07ce35
Fix doCleanupAfterCompletion invocation
...
doCleanupAfterCompletion gets now subscribed to when processing
cleanup after a new transaction.
6 years ago
Juergen Hoeller
ec8689d1fc
Merge branch '5.1.x'
6 years ago
Juergen Hoeller
84266d71e9
Polishing
6 years ago
Juergen Hoeller
4e10735e8f
MockHttpServletRequest restores default locale for empty accept header
...
Closes gh-22877
6 years ago
Sebastien Deleuze
fc8d5c068c
Support final @Configuration(proxyBeanMethods = false) classes
...
Closes gh-22869
6 years ago
Juergen Hoeller
a2a6bc3d47
Introduce TransactionDefinition.withDefaults() shortcut
...
Such a static unmodifiable TransactionDefinition with defaults can be used for getTransaction(null) calls, now also possible for getReactiveTransaction. Furthermore, it can be used for a simple TransactionalOperator.create(ReactiveTransactionManager) method without an internal dependency on the transaction.support package.
See gh-22646
6 years ago
Juergen Hoeller
eaa9a78d5d
Merge branch '5.1.x'
6 years ago
Juergen Hoeller
7aa61d9ee0
Upgrade to Jetty 9.4.18 and Netty 4.1.36
6 years ago
Juergen Hoeller
5b1b1bae37
Consistent use of try-with-resources for local resource closing
6 years ago
Juergen Hoeller
31c3b8a291
Avoid unguarded String concatenation for debug/trace logging
...
Closes gh-22874
6 years ago
Juergen Hoeller
ce9162065c
Merge branch '5.1.x'
6 years ago
Juergen Hoeller
f359c117d3
Polishing
6 years ago
Juergen Hoeller
8158b6fd86
Update postProcessBeforeInstantiation comment on factory methods
...
Closes gh-22867
6 years ago
Juergen Hoeller
18f6739be4
Allow null operands in compiled SpEL numeric operator expressions
...
Closes gh-22358
6 years ago
Juergen Hoeller
8a57997d21
Avoid use of Objects.requireNonNull plus related polishing
6 years ago
Juergen Hoeller
0be610b0ee
Support for reactive transactions in TransactionInterceptor
...
Introduces TransactionManager marker interface for PlatformTransactionManager as well as ReactiveTransactionManager, allowing for a common configuration type in TransactionAspectSupport and TransactionManagementConfigurer.
Closes gh-22590
6 years ago
Juergen Hoeller
8dabb3e626
Shorter class names for common reactive transaction API types
...
Introduces TransactionExecution base interface for TransactionStatus as well as ReactiveTransaction. Renames getTransaction method to getReactiveTransaction, allowing for combined implementations of PlatformTransactionManager and ReactiveTransactionManager.
See gh-22646
6 years ago
Juergen Hoeller
b5e5e33078
Remove legacy config options from AbstractReactiveTransactionManager
...
Includes general revision of reactive transaction sources.
See gh-22646
6 years ago
Mark Paluch
beea83b9d2
Add reactive transaction support SPI
...
This commit adds SPI interfaces to support reactive transactions
through spring-tx with optional dependencies to Project Reactor and
supportive implementations for TransactionalOperator and
AbstractReactiveTransactionManager.
6 years ago
Juergen Hoeller
cee7d09e40
Add is*Enabled methods for log level checks to LogAccessor
...
Closes gh-22862
6 years ago
Andy Clement
0f553661a6
Allow null operands in compiled SpEL numeric operator expressions
...
Prior to this when SpEL compiled an expression using the numeric
operators <, >, <= or >= then it would not create code that handled
nulls. Nulls can occur if a boxed numeric operand is used prior
to compilation, then it is nulled out. SpEL now creates null
handling bytecode.
Closes gh-22358
6 years ago
Rossen Stoyanchev
bd8d71be0e
canWrite uses actual return value type if known
...
Closes gh-22803
6 years ago
Rossen Stoyanchev
07c9a0e1f5
Merge branch '5.1.x'
6 years ago