Sam Brannen
7ed4df20a8
Ensure AbstractReactiveTransactionManager compiles in Eclipse IDE
2019-05-05 16:46:11 +02:00
Sam Brannen
3dc38a08c8
Add missing return in AbstractReactiveTransactionManager.processCommit()
2019-05-05 16:30:26 +02:00
Sam Brannen
21864c80d7
Suppress warning
2019-05-05 16:28:45 +02:00
Stephane Nicoll
0b97cc9ebd
Polish
2019-05-05 09:13:09 +02:00
Stephane Nicoll
7d0a49474e
Merge pull request #22891 from rewolf
...
* pr/22891:
Polish contribution
Polish CONTRIBUTING.md
2019-05-05 09:08:58 +02:00
Stephane Nicoll
1542d97dab
Polish contribution
...
Closes gh-22891
2019-05-05 09:08:21 +02:00
Andrew Flower
6eb4ac60ab
Polish CONTRIBUTING.md
...
See gh-22891
2019-05-05 09:08:06 +02:00
Juergen Hoeller
28039057fd
Consistent naming of HandlerMethodArgumentResolver implementations
...
Includes combined imports of assertion methods and related polishing.
Closes #22889
2019-05-04 18:30:56 +02:00
Juergen Hoeller
30bbf91dba
Rename PayloadArgumentResolver to PayloadMethodArgumentResolver
...
Closes gh-22888
2019-05-04 17:35:34 +02:00
Juergen Hoeller
57984c5705
Move package annotation.support.reactive to annotation.reactive
...
Aligned with invocation.reactive and transaction.reactive packages.
Closes gh-22887
2019-05-04 17:34:32 +02:00
Juergen Hoeller
9eb095d921
Merge branch '5.1.x'
2019-05-04 12:04:48 +02:00
Juergen Hoeller
293188c797
Consistent non-use of firstIndex 0 in PatternMatchUtils
...
Closes gh-22837
2019-05-04 12:01:54 +02:00
Juergen Hoeller
9674ce4906
Avoid HashSet/StringBuilder allocation for non-placeholder values
...
Closes gh-22870
2019-05-04 12:00:22 +02:00
Johnny Lim
d489227874
Use HttpHeaders constants where possible
2019-05-04 11:14:08 +02:00
Juergen Hoeller
ffbecf1427
Fix Checkstyle violation
2019-05-03 18:24:30 +02:00
Juergen Hoeller
f0f6af2926
Merge branch '5.1.x'
2019-05-03 18:13:12 +02:00
Juergen Hoeller
ea4a174583
Polishing
2019-05-03 18:10:41 +02:00
Juergen Hoeller
3d6476da46
Polishing
2019-05-03 17:29:22 +02:00
Juergen Hoeller
a7949ac84a
Consistent use of StringUtils.hasLength(String) vs isEmpty(Object)
2019-05-03 17:29:14 +02:00
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.
2019-05-03 16:13:37 +02:00
Mark Paluch
9cff07ce35
Fix doCleanupAfterCompletion invocation
...
doCleanupAfterCompletion gets now subscribed to when processing
cleanup after a new transaction.
2019-05-03 16:13:37 +02:00
Juergen Hoeller
ec8689d1fc
Merge branch '5.1.x'
2019-05-03 14:23:59 +02:00
Juergen Hoeller
84266d71e9
Polishing
2019-05-03 14:08:20 +02:00
Juergen Hoeller
4e10735e8f
MockHttpServletRequest restores default locale for empty accept header
...
Closes gh-22877
2019-05-03 14:08:12 +02:00
Sebastien Deleuze
fc8d5c068c
Support final @Configuration(proxyBeanMethods = false) classes
...
Closes gh-22869
2019-05-03 13:45:14 +02:00
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
2019-05-03 12:28:41 +02:00
Juergen Hoeller
eaa9a78d5d
Merge branch '5.1.x'
2019-05-03 00:23:57 +02:00
Juergen Hoeller
7aa61d9ee0
Upgrade to Jetty 9.4.18 and Netty 4.1.36
2019-05-03 00:12:03 +02:00
Juergen Hoeller
5b1b1bae37
Consistent use of try-with-resources for local resource closing
2019-05-03 00:11:47 +02:00
Juergen Hoeller
31c3b8a291
Avoid unguarded String concatenation for debug/trace logging
...
Closes gh-22874
2019-05-03 00:10:56 +02:00
Juergen Hoeller
ce9162065c
Merge branch '5.1.x'
2019-05-02 17:52:12 +02:00
Juergen Hoeller
f359c117d3
Polishing
2019-05-02 17:28:32 +02:00
Juergen Hoeller
8158b6fd86
Update postProcessBeforeInstantiation comment on factory methods
...
Closes gh-22867
2019-05-02 17:28:11 +02:00
Juergen Hoeller
18f6739be4
Allow null operands in compiled SpEL numeric operator expressions
...
Closes gh-22358
2019-05-02 17:27:49 +02:00
Juergen Hoeller
8a57997d21
Avoid use of Objects.requireNonNull plus related polishing
2019-05-02 16:32:47 +02:00
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
2019-05-02 16:23:48 +02:00
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
2019-05-02 16:23:37 +02:00
Juergen Hoeller
b5e5e33078
Remove legacy config options from AbstractReactiveTransactionManager
...
Includes general revision of reactive transaction sources.
See gh-22646
2019-05-02 12:04:25 +02:00
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.
2019-05-02 11:59:09 +02:00
Juergen Hoeller
cee7d09e40
Add is*Enabled methods for log level checks to LogAccessor
...
Closes gh-22862
2019-05-02 11:57:48 +02:00
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
2019-05-01 15:36:19 -07:00
Rossen Stoyanchev
bd8d71be0e
canWrite uses actual return value type if known
...
Closes gh-22803
2019-05-01 16:52:23 -04:00
Rossen Stoyanchev
07c9a0e1f5
Merge branch '5.1.x'
2019-05-01 04:03:21 -04:00
Rossen Stoyanchev
b398216191
Fail proactively if lookupPath not in requestUri
...
Closes gh-22851
2019-05-01 03:57:44 -04:00
Rossen Stoyanchev
b5327ef60f
Fix regression in ProducesRequestCondition
...
Closes gh-22853
2019-05-01 02:59:19 -04:00
Juergen Hoeller
52657b68ea
Merge branch '5.1.x'
2019-04-30 18:55:34 +02:00
Juergen Hoeller
a8f845c944
Upgrade to Checkstyle 8.20 and CGLIB 3.2.11
...
Includes dependency management plugin 1.0.7.
2019-04-30 18:44:08 +02:00
Juergen Hoeller
90d4e9090c
Polishing
2019-04-30 18:43:16 +02:00
Juergen Hoeller
e0423fbdc2
Revise inline comment for logException call
...
Closes gh-22794
2019-04-30 18:42:53 +02:00
Juergen Hoeller
359c4f091e
Add rejectInvalidCookies flag to CookieLocaleResolver
...
Closes gh-22861
2019-04-30 18:39:58 +02:00