Commit Graph

1180 Commits

Author SHA1 Message Date
Oleg Zhurakousky
3ce9a38242 GH-1433 Added docs for scheduled task for PollableMessageSource
Resolves #1433
2019-02-26 18:55:07 +01:00
Oleg Zhurakousky
20d755fe2a Upgraded to spring-cloud-function 2.1 snapshots 2019-02-26 13:27:43 +01:00
Oleg Zhurakousky
857c007a3a GH-1618 Fixed regression for global error channel
Fixed regression in global erro channel conversion caused by introduction of custom argument resolvers
Added tests

Resoilves #1618
2019-02-26 13:21:37 +01:00
Oleg Zhurakousky
8edbe6ef0c GH-1617 added support for Flux<Message> functions to FunctionInvoker
Resolves #1617
2019-02-19 14:50:00 +01:00
Oleg Zhurakousky
7e0f42ed34 GH-1615 Removed conversion hint passing
Removed conversion hint passing from FunctionInvoker
Added missing test

Resolves #1615
2019-02-14 22:04:13 +01:00
Oleg Zhurakousky
4522e654f3 GH-1612 Fixed regression caused by introducing custom argument resolvers
Resolves #1612
2019-02-13 17:05:05 +01:00
XYUU
afb02adb04 GH-1593: Fix Typesetting misplacement
This may be caused by the functionality of the asciidoc generation plugin, which needs to be escaped at build time. But I didn't find the relevant script and code content, so I modified it directly on javadoc.

Resolves #1593
Resolves #1609
2019-02-12 16:18:07 +01:00
Oleg Zhurakousky
f3a3a5c9fe GH-1611 Removed FluxedConsumerWrapper and FunctionCatalogWrapper
- Upgraded to spring-cloud-function 2.0.2.BUILD-SNAPSHOT
- General cleanup and polishing

Resolves #1611
2019-02-12 15:51:25 +01:00
Oleg Zhurakousky
e6757d7a01 Removed boot formatter plugin 2019-02-07 19:46:54 +01:00
Oleg Zhurakousky
e3475383db GH-1605 Fixed Conflict Fences in JavaDocs
Resolves #1605
2019-02-07 18:25:06 +01:00
Oleg Zhurakousky
a197fdd036 GH-1603 Addressed concurrency issue with BinderAwareChannelResolver
Resolves #1603
2019-02-07 12:21:47 +01:00
Oleg Zhurakousky
c88b4ce89f styles polishing 2019-02-07 12:09:35 +01:00
Oleg Zhurakousky
7b7b199b83 Revert "Additional changes related to merging 2.2.x to master"
This reverts commit b9d8c42d81.
2019-02-07 11:51:03 +01:00
Gary Russell
ac98622ad1 Support KafkaNull in payload conversion
See https://github.com/spring-cloud/spring-cloud-stream-binder-kafka/pull/539

We need to map payloads of type `KafkaNull` to `null` when mapping method
arguments (`@Payload(required = false) Foo foo`.

Resolves #1602
2019-02-06 20:47:45 +01:00
Oleg Zhurakousky
d92db35bf4 GH-1601 Polishing - avoiding breaking change 2019-02-05 06:27:07 +01:00
Oleg Zhurakousky
635cd40dbb GH-1601 Ensured type information propagation in AbstractExtendedBindingProperties
Made getBindings() method abstract forcing an implementation at the sub-class level, hence propagation of type information to metadata

Resolves #1601
2019-02-05 05:57:43 +01:00
Oleg Zhurakousky
b9d8c42d81 Additional changes related to merging 2.2.x to master 2019-02-04 17:47:22 +01:00
Oleg Zhurakousky
38bdccf965 Merge branch '2.2.x' 2019-02-04 17:05:48 +01:00
Marcin Grzejszczak
a8cbf77794 Added checkstyle 2019-02-04 15:55:35 +01:00
Oleg Zhurakousky
5b39e57ac9 GH-1240 Additional fixes related to 5a9c6a6162 2019-02-04 10:44:23 +01:00
Oleg Zhurakousky
f01cb29b44 GH-1511 Polishing and added tests
- Polished RetryTemplate changes from the previous commit
- Rebased with 2.2.x branch
- Added tests
- Updated author tags with original committer's name

Resolves #1511
Resolves #1588
2019-02-04 07:39:43 +01:00
nicolas
e9d22cb352 RetryTemplate per binding 2019-02-04 06:34:26 +01:00
Oleg Zhurakousky
4de98320b2 GH-1595 Inherited @Bean from @StreamMessageConverter
Resolves #1595
2019-01-31 08:17:20 +01:00
Oleg Zhurakousky
c6d238085f GH-1594 Ensured Function conversion honors outbound CT
Ensured that Message conversion that happenes within FunctionInvoker honors the outbound binding content-type in the event MessageConverter itself did not sent one.
Restructured some code/API around function invocation
Added tests

Resolves #1594
2019-01-31 08:09:14 +01:00
Oleg Zhurakousky
ee6ac96481 GH-1594 Ensured Function conversion honors outbound CT
Ensured that Message conversion that happenes within FunctionInvoker honors the outbound binding content-type in the event MessageConverter itself did not sent one.
Restructured some code/API around function invocation
Added tests

Resolves #1594
2019-01-31 08:08:06 +01:00
Oleg Zhurakousky
5a9c6a6162 GH-1240 update AbstractMessageChannelBinder to use Spring 5 bean registration
Resolves #1240
2019-01-22 20:27:50 +01:00
Oleg Zhurakousky
4762bfbfe5 GH-1535 Added support for Binding auto-startup
Resolves #1535
2019-01-22 18:17:13 +01:00
Oleg Zhurakousky
44f8ae33f2 GH-1535 Added support for Binding auto-startup
Resolves #1535
2019-01-22 18:16:07 +01:00
Oleg Zhurakousky
c8b79eb490 GH-1448 Fixed ServerController override
Resolves #1448
2019-01-22 16:14:30 +01:00
Oleg Zhurakousky
5d8d968ead GH-1448 Fixed ServerController override
Resolves #1448
2019-01-22 16:13:01 +01:00
Oleg Zhurakousky
1624c431a7 GH-1476, GH-1568 minor polishing of docs and binding display order 2019-01-22 09:31:00 +01:00
Oleg Zhurakousky
144627c435 GH-1476, GH-1568 exposed actual binding name
Exposed the actual binding name in addition to already exposed destination name of the binding
Fixed Actuator endpoint to ensure it uses binding name

Resolves #1476
Resolves #1568
2019-01-22 08:51:12 +01:00
Oleg Zhurakousky
630a93171c GH-1556 Added isInput() operation to Binding
Resolves #1556
2019-01-21 17:33:48 +01:00
Oleg Zhurakousky
2fa4e1cc75 GH-1556 Added isInput() operation to Binding
Resolves #1556
2019-01-21 17:32:29 +01:00
Oleg Zhurakousky
f4d1016ca4 minor doc polish
Resolves #1585
2019-01-21 16:46:42 +01:00
Artem Bilan
723c687765 GH-1569: Fix binder-specific environment merging
Fixes spring-cloud/spring-cloud-stream#1569

When `inheritEnvironment = true` (default), some provided properties
(including `spring.main.sources`) are not populated into the target
binder's environment, since Spring Boot relies on the presence of
the `configurationProperties` properties source which is transferred
from the parent context

* Remove `configurationProperties` from the `binderEnvironment` before
starting binder's application context
* Ensure that `spring.main.sources` is applied for the binder's
application context in the `BinderFactoryConfigurationTests`
* Fix `GreenfieldFunctionEnableBindingTests` for random HTTP port since
`8080` is too generic and clashes with build environment
* Fix `StreamListenerAnnotatedMethodArgumentsTests` for `Locale.US`
for proper assertion against validation message
* Mention `spring.profiles.active` configuration property for the
binder specific environment
2019-01-21 16:46:32 +01:00
Oleg Zhurakousky
6f073fdf36 minor doc polish
Resolves #1585
2019-01-21 16:43:41 +01:00
Artem Bilan
460ba9cecb GH-1569: Fix binder-specific environment merging
Fixes spring-cloud/spring-cloud-stream#1569

When `inheritEnvironment = true` (default), some provided properties
(including `spring.main.sources`) are not populated into the target
binder's environment, since Spring Boot relies on the presence of
the `configurationProperties` properties source which is transferred
from the parent context

* Remove `configurationProperties` from the `binderEnvironment` before
starting binder's application context
* Ensure that `spring.main.sources` is applied for the binder's
application context in the `BinderFactoryConfigurationTests`
* Fix `GreenfieldFunctionEnableBindingTests` for random HTTP port since
`8080` is too generic and clashes with build environment
* Fix `StreamListenerAnnotatedMethodArgumentsTests` for `Locale.US`
for proper assertion against validation message
* Mention `spring.profiles.active` configuration property for the
binder specific environment
2019-01-21 15:40:55 +01:00
Oleg Zhurakousky
00ce61a753 fixed reactive pom after cherry-pick 2019-01-21 15:35:28 +01:00
Oleg Zhurakousky
ea594d1ebd GH-1578 Fixed error handling in DefaultPollableMessageSource
ensured that RequeueCurrentMessageException is treated differently where message does not end up in error channel
Resolves #1578
2019-01-21 15:33:50 +01:00
Oleg Zhurakousky
cf8da3594f GH-1578 Fixed error handling in DefaultPollableMessageSource
ensured that RequeueCurrentMessageException is treated differently where message does not end up in error channel
Resolves #1578
2019-01-21 15:30:27 +01:00
Oleg Zhurakousky
6cc8356404 GH-1559 Deprecated reactive support
Removed reactive module documentation
Added initial documentation for reactive functions

Resolves #1559
2019-01-18 15:54:45 +01:00
Oleg Zhurakousky
0dad98e1e6 Created 2.2.x module 2019-01-18 15:31:36 +01:00
Oleg Zhurakousky
794c75f536 GH-1581 Fixed multi-IntegrationFlow conflicts
Removed dependency on IntegrationFlow from AbstractMessageChannelBinder as it was unnecessary
Fixed and re-enabled ignored tests

Resolves #1581
2019-01-18 15:07:15 +01:00
buildmaster
664b850996 Bumping versions to 2.1.1.BUILD-SNAPSHOT after release 2019-01-08 11:43:40 +00:00
buildmaster
2453e181b5 Going back to snapshots 2019-01-08 11:43:40 +00:00
buildmaster
1535f37e16 Update SNAPSHOT to 2.1.0.RELEASE 2019-01-08 11:41:31 +00:00
Oleg Zhurakousky
70b30a95f5 Added additional tests for Argument Resolvers 2019-01-07 16:26:25 +01:00
Oleg Zhurakousky
6320ff55ff Polished BinderFactoryConfiguration to ensure MessageHandlerMethodFactory consistency 2019-01-05 07:48:31 +01:00
Oleg Zhurakousky
7dcdd22eb4 GH-1549 Added not on using 'spring.main.sources' as environment property
Resolves #1549
2019-01-04 15:28:09 +01:00