Eric Bottard
005d87181f
Throw identifiable exceptions on input/output conversion failure.
2020-02-10 19:23:39 +01:00
Oleg Zhurakousky
72a3c44bcb
Upgraded access modifier in FunctionInvocationWrapper
2020-02-10 16:16:10 +01:00
Oleg Zhurakousky
8c335c6a20
Fixed POM description
2020-02-06 16:22:55 +01:00
Oleg Zhurakousky
0f4c8b21cf
GH-449 Added initial support for providing a message enriching callback
...
For now an undocumented feature as it may need some more work
Resolves #449
2020-02-05 16:50:04 +01:00
Oleg Zhurakousky
912dc31568
Streamlined output conversion logic
2020-02-03 13:22:34 +01:00
Oleg Zhurakousky
313f10946d
GH-439 Fixed main class discovery
...
The regression was caused by filtering main classes that are @SpringVootApplication only, essentially excluding @SpringBootConfiguration
Resolves #439
2020-01-29 18:38:09 +01:00
Oleg Zhurakousky
d334ed609c
GH-444 Fixed support for default function lookup
...
Given that function can be looked up with no definition, the fallback alternative should be 'spring.cloud.function.definition' property
Resolves #444
2020-01-28 15:50:42 +01:00
Oleg Zhurakousky
35d3c45959
GH-1896Stream Fixed conversion of collection of messages
2020-01-27 17:25:21 +01:00
Oleg Zhurakousky
2a8c3cdda6
Minor fix to avoid NPE when output content type is not present
2020-01-15 07:02:08 +01:00
buildmaster
b8c3565251
Bumping versions to 3.0.2.BUILD-SNAPSHOT after release
2019-12-18 16:13:27 +00:00
buildmaster
c1c744973b
Going back to snapshots
2019-12-18 16:13:27 +00:00
buildmaster
cc15b53b08
Update SNAPSHOT to 3.0.1.RELEASE
2019-12-18 15:47:36 +00:00
Oleg Zhurakousky
52b0fdea50
GH-434 Added generic FunctionInvoker for AWS
...
- Added generic FunctionInvoker capable of handling the request generically without requiring user to implemen specific AWS request handler
Resolves #434
2019-12-16 14:27:41 +01:00
Oleg Zhurakousky
0f38ea47b8
GGH-431 Fixed discovery of a start class
...
- Ensured that FunctionClassUtils performs additional check to ensure that located star class is SpringBootApplication
- Added additional lookup to look for Main-Class if nothing was found in Start-Class primarily to support Azure
- Updated Azure samples
- Updated documentation
Resolves #431
2019-12-12 15:15:36 +01:00
Oleg Zhurakousky
12f4260271
GH-421 Fix Start-Class discovery logic
...
- Fixed logic behind discovery of Start-Class which didn't work well with some JVMs
- Isolated the Start-Class in a separate utility class as it is going to be used elsewhere
Resolves #421
2019-12-11 16:58:22 +01:00
Oleg Zhurakousky
3fb38e45c9
Revert "Bumping versions"
...
This reverts commit ef8d03645d .
2019-12-06 15:31:52 +01:00
Oleg Zhurakousky
a0f072a11d
GH-429 Fixed logic behind 'composed' flag
...
Fixed and simplified logic behind 'composed' flag in FunctionInvocationWrapper and added additional test
Resolves #429
2019-12-06 09:27:22 +01:00
Oleg Zhurakousky
8fac135937
Quick fix in the logic to determine 'composed' flag
2019-12-05 21:39:29 +01:00
buildmaster
ef8d03645d
Bumping versions
2019-11-22 18:55:20 +00:00
buildmaster
a42fc82586
Bumping versions to 3.0.1.BUILD-SNAPSHOT after release
2019-11-22 11:18:20 +00:00
buildmaster
1bb5f26040
Going back to snapshots
2019-11-22 11:18:20 +00:00
buildmaster
ca8842445e
Update SNAPSHOT to 3.0.0.RELEASE
2019-11-22 10:57:03 +00:00
Oleg Zhurakousky
744e32aed4
Changed default value of 'splittable' attribute of PollableBean annotation to 'true'
2019-11-22 10:32:15 +01:00
buildmaster
b9cc254eea
Going back to snapshots
2019-11-08 07:03:49 +00:00
buildmaster
3882613d2d
Update SNAPSHOT to 3.0.0.RC2
2019-11-08 06:58:22 +00:00
Oleg Zhurakousky
00ec268aca
GH-420 Fix discovery of function type from class
...
Fix introspection over ScannedGenericBeanDefinition
Resolves #420
2019-10-29 19:50:39 +01:00
buildmaster
69c158c766
Going back to snapshots
2019-10-24 11:44:53 +00:00
buildmaster
013ef853c8
Update SNAPSHOT to 3.0.0.RC1
2019-10-24 11:39:50 +00:00
Oleg Zhurakousky
8ec28bb004
GH-419 Fix output type conversion
...
Ensured that we check for the output type and see if and what type of conversion needs to be applied. If output is already a message with payload byte[], then no conversion is necessary
Resolves #419
2019-10-24 12:19:14 +02:00
Oleg Zhurakousky
0d536fae71
Added temporary checks for Kafka stream types
2019-10-23 21:50:27 +02:00
Oleg Zhurakousky
7e3681dafe
Rename Pollable to PollableBean
2019-10-16 14:07:09 +02:00
Oleg Zhurakousky
6c3b574213
Relaxed default function lookup assertion
...
polish
2019-10-11 10:37:17 -04:00
Oleg Zhurakousky
a83d2e70ee
Change PollableSupplier to Pollable
2019-10-07 09:51:08 -05:00
Oleg Zhurakousky
38e06a9dd0
GH-413 Fix type discovery logic in BeanFactoryAwareFunctionRegistry
...
- added 'discoverFunctionTypeFromFunctionalObject' method to FunctionTypeUtils
- added tests to reproduce and validate the issue
2019-10-02 12:23:55 -04:00
Eric Bottard
32fb70a573
Don't assume function is a bean
...
Fixes #412
2019-10-02 13:10:14 +02:00
Oleg Zhurakousky
52f1f04020
GH-395 Add support for non-message json to be converted as POJO
...
Resolves #395
2019-10-01 14:06:17 -04:00
Oleg Zhurakousky
97bea81836
Discover function type from FactoryBean
...
* Fix spring-integration sample
* Added discoverFunctionTypeFromClass() method to FunctionTypeUtils
* A `FactoryBean` may produce a function instance as well.
Add a logic into `BeanFactoryAwareFunctionRegistry` to discover a function type from the `FactoryBean.getObjectType()`
2019-09-25 10:24:07 -04:00
Phillip Webb
bdd4320a59
Migrate from deprecate methods
...
Migrate away from deprecated Spring Boot configuration property
bean classes and methods.
Resolves #410
2019-09-25 09:59:03 -04:00
buildmaster
b81caf811c
Going back to snapshots
2019-09-23 16:18:37 +00:00
buildmaster
6725178552
Update SNAPSHOT to 3.0.0.M3
2019-09-23 16:13:20 +00:00
Oleg Zhurakousky
2217d8aace
Polishing
2019-09-23 11:27:09 -04:00
Oleg Zhurakousky
e490eda5ff
Add skip conversion header logic
2019-09-23 11:15:25 -04:00
buildmaster
6538c3da4c
Going back to snapshots
2019-09-23 08:37:27 +00:00
buildmaster
4572e34195
Update SNAPSHOT to 3.0.0.M3
2019-09-23 08:31:46 +00:00
Oleg Zhurakousky
11a6e923ee
GH-409 Fix default discovery of functions
...
Fixed discovery of functions to ensure that even in cases where default function is found but it's type can not be determined such function is discarded. This effectively ensures that if the actual instance does not match the declared type such function is not treated as function.
Resolves #409
2019-09-22 17:15:19 -04:00
Oleg Zhurakousky
9011615c30
Minor enhancements and polishing to accomodate s-c-stream requirements for multi-in/out bindings
2019-09-17 17:53:54 +02:00
Oleg Zhurakousky
d93febd4c4
GH-364 Additional cleanup and small refactoring for Kotlin lambda support
2019-09-10 13:48:32 +02:00
Oleg Zhurakousky
2aed5abff8
GH-408 Enhance RoutingFunction with SpEL and application properties
...
- Added initial support for communicating routing instructions via SpEL thru both message headers and application properties
- Added support for communication function definition via application properties
- Added additional tests and updated documentation
Resolves #408
2019-09-10 09:25:40 +02:00
Oleg Zhurakousky
11ac6cd679
GH-364 Fix type discovery on Kotlin lambdas
...
Added FunctionRegistration for each Kotlin lambdas with the correct types
Resolve #364
2019-09-06 20:04:24 +02:00
Oleg Zhurakousky
6c722e59ec
Upgraded visibility on FunctionContextUtils.getParamTypesFromBeanDefinitionFactory
2019-09-06 17:19:06 +02:00