Commit Graph

1817 Commits

Author SHA1 Message Date
Oleg Zhurakousky
908cbcbbfe Added functions introductory bits to the docs 2019-11-04 16:58:03 +01:00
Oleg Zhurakousky
3e304baabf Added function composition documentation 2019-11-04 13:06:24 +01: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
buildmaster
eab50ca751 Bumping versions 2019-10-23 18:58:11 +00:00
Oleg Zhurakousky
7e3681dafe Rename Pollable to PollableBean 2019-10-16 14:07:09 +02:00
Oleg Zhurakousky
6ad824002d GH-414 Add snapshot repo to parent pom 2019-10-14 16:26:02 +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
buildmaster
66b9074bfa Bumping versions 2019-10-03 18:57:06 +00: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
Oleg Zhurakousky
08c194e14f Merge pull request #413 from ericbottard/issue_412
Don't assume function is a bean
2019-10-02 10:15:34 -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
Oleg Zhurakousky
41d3b413e6 Update .travis.yml 2019-09-25 08:54:19 -04:00
buildmaster
95fc3079bb Bumping versions 2019-09-24 18:56:05 +00:00
buildmaster
042a4828ef Bumping versions 2019-09-23 18:55:39 +00: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
Olga Maciaszek-Sharma
f1939e1541 Remove spring.provides. 2019-09-18 13:22:55 +02: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
buildmaster
b65dff8b26 Bumping versions 2019-09-16 18:54:52 +00: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
Oleg Zhurakousky
28b264692c GH-373 Update version of AWS libraries
- Update versions of aws-lambda-java-core to 1.2.0, aws-lambda-java-events to 2.2.6 and aws-java-sdk-s3 to 1.11.557

Resolves #373
2019-09-04 19:03:38 +02:00
Oleg Zhurakousky
992c70762e GH-381 Add tests to validate lazy initialization effect
Resolves #381
2019-09-04 18:42:01 +02:00
Oleg Zhurakousky
c3d12e015a Merge pull request #406 from Mistborn94/feature/add-cloud-function-kotlin-to-dependencies
Add spring-cloud-function-kotlin to spring-cloud-function-dependencies.
2019-09-04 17:07:05 +02:00
Renette Ros
6ca089033f Add spring-cloud-function-kotlin to spring-cloud-function-dependencies.
This allows including the spring-cloud-function-kotlin dependency in a
new spring boot project without needing to explicitly specify the version.
2019-09-04 10:25:03 +02:00
Eric Bottard
339bbdca87 Use proper traditional CL parent delegation.
This ultimately allows loading all JRE classes correctly, not only those
whose name are whitelisted.
2019-09-02 09:34:39 +02:00
Olga Maciaszek-Sharma
d115e2b62a Fix branches in adapter docs.
Resolves #401
2019-08-27 18:07:54 +02:00
Oleg Zhurakousky
7d5f47f112 GH-403 Added PollableSupplier marker annotation
Resolves #403
2019-08-27 14:30:05 +02:00
Oleg Zhurakousky
9514ed7649 Fix discovery of the default function 2019-08-22 20:33:42 +02:00
Oleg Zhurakousky
7611cba69e GH-387 Added initial support for flexible function signatures
- Added support for simple POJO functions
- Added additional utility methods
2019-08-22 16:58:18 +02:00
Oleg Zhurakousky
971caf184d Merge pull request #389 from msmsimondean/aws-sample-fix-gradle
Fix Gradle build
2019-08-19 18:13:48 +02:00
Oleg Zhurakousky
7eb8cac663 Added test for previous commit 2019-08-19 18:09:55 +02:00
Eric Bottard
611758fbd3 Support exploded directories in addition to jar files. 2019-08-19 17:50:46 +02:00
Oleg Zhurakousky
591b3bf531 Fixed README generation and polished few tests 2019-08-19 17:08:12 +02:00
Oleg Zhurakousky
946365dcdc Updated sagan-index.adoc with function features 2019-08-19 17:07:45 +02:00