Commit Graph

691 Commits

Author SHA1 Message Date
Oleg Zhurakousky
4e0e3fdc6d Added support for deploying uber JARs with no main/start-class to new deployer 2019-08-08 15:13:48 +02:00
Oleg Zhurakousky
bac9978972 Added parent/parent class loader to the launcegr loader 2019-08-07 20:09:43 +02:00
Oleg Zhurakousky
d53fc6b672 Added support for passing conversion hint to MessageConverter 2019-08-07 15:54:30 +02:00
Oleg Zhurakousky
6312b5e0aa Fixed BeanFactoryAwareFunctionRegistry default function definition lookup 2019-08-06 17:48:03 +02:00
Oleg Zhurakousky
b51cc5ce03 Added test infrustructure for generated JARs
Added tests for simply types as well as type conversion

polishing
2019-08-06 16:07:44 +02:00
Oleg Zhurakousky
d3b31a6f6b Added initial support for loading functions by type in new deployer 2019-08-06 14:23:34 +02:00
Oleg Zhurakousky
203687e45f Added new deployer experimental module 2019-08-05 17:04:30 +02:00
Oleg Zhurakousky
38981003b9 Simplified MessageConverter configuration 2019-07-31 08:28:34 +02:00
Oleg Zhurakousky
14451272fe Added additional logging 2019-07-31 08:27:52 +02:00
Oleg Zhurakousky
13794b08d0 Minor polishing and additional logging for BeanFactoryAwareFunctionRegistry 2019-07-30 15:54:23 +02:00
Oleg Zhurakousky
2a926cab2f Temporarily ignoring several deployer tests
Fixed test JARs poms
2019-07-30 11:33:17 +02:00
Marcin Grzejszczak
75607c4f18 Updated the versions 2019-07-30 09:18:53 +02:00
Oleg Zhurakousky
49f76856d4 Temporarily disconnected SI sample 2019-07-30 09:06:41 +02:00
Oleg Zhurakousky
90c69368c2 Removed FunctionCatalog, BeanFactoryFunctionCatalogTests, ContextFunctionPostProcessorTests
Deprecated FluxWrapperDetector
Clean up and polishing of new BeanFactoryAwareFunctionRegistry
2019-07-30 09:06:34 +02:00
Marcin Grzejszczak
cc5c522a8a Added symbolic link of index.adoc 2019-07-29 14:28:32 +02:00
Oleg Zhurakousky
f5cf937985 Fixed output conversion for Message<byte[]> functions
- cleaned up BeanFactoryAwareFunctionRegistry
- Added javadoc to FunctionCatalog.lookup(String functionDefinition, String... acceptedOutputMimeTypes)
2019-07-27 12:41:07 +02:00
Oleg Zhurakousky
bfcea95268 Revert "temporary"
This reverts commit 746da2de43.
2019-07-26 18:47:33 +02:00
Oleg Zhurakousky
746da2de43 temporary 2019-07-26 17:25:13 +02:00
Oleg Zhurakousky
9b1e69f05d Removed auto-fluxing Supplier result when Supplier is not reactive 2019-07-26 15:33:26 +02:00
Oleg Zhurakousky
74ca973bc9 Minor polishing to accomodate edge cases in s-c-stream 2019-07-25 17:07:02 +02:00
Oleg Zhurakousky
694c7fa1bb Adding support for extracting payload only for cases where conversion is not necessary 2019-07-24 13:57:17 +02:00
Oleg Zhurakousky
c4f1f4505c Fixd docs failing build 2019-07-24 12:38:15 +02:00
Oleg Zhurakousky
243cf95eca GH-388 Adding utility to interogate Function types
- refactoring of BeanFactoryAwareFunctionRegistry to eliminate the need for FunctionType as it takes certain assumptions that are no longer valid
- adding support for multiple acceptedOutputTypes to FunctionCatalog

Resolves #388
2019-07-24 12:12:52 +02:00
Oleg Zhurakousky
fbeee8bc37 Renamed new registry implementation to BeanFactoryAwareFunctionRegistry
- added initila javadoc
- polished few tests
2019-07-17 14:48:05 +02:00
Oleg Zhurakousky
2c8f3644da Ignored remaining failing tests 2019-07-17 13:57:44 +02:00
Oleg Zhurakousky
93f7a248a5 Added initial support for lazy style FunctionCatalog/Registry which:
-  does not rely on any of the existing wrappers and instead relies on internal wrapper which performs  in-flight/just-in-time wrapping and unwrapping from reactive to imperative types
- performs transparent type conversion relying on MessageConverters and ConversionService
- supports multiple inputs/outputs
2019-07-17 13:54:02 +02:00
Oleg Zhurakousky
85af2e4ed6 Increased sleep time in randomly failing test 2019-07-17 11:05:05 +02:00
Dave Syer
b4f5c0339f Add flag for disabling component scan 2019-07-12 17:11:58 +02:00
Dave Syer
307292b959 Add proxyTargetBeans = false and fix some tests 2019-07-12 17:11:51 +02:00
Dave Syer
521c6d3397 Add proxyTargetBeans = false 2019-07-12 17:11:26 +02:00
Oleg Zhurakousky
70d46f8b9f GH-386 Fixed NPE for non-existing functions invoked as REST endpoints
Resolves #386
2019-07-12 17:09:46 +02:00
Dave Syer
3ae9d0523d Add README to custom AWS sample 2019-07-12 17:09:33 +02:00
Dave Syer
5e3111bf80 Fix conditions for custom AWS runtime
Conflicts:
	spring-cloud-function-samples/function-sample-aws-custom/pom.xml
2019-07-12 17:08:34 +02:00
Kane Zhu
1de8526b7a Fix the issue that api gateway handler of AWS does not honor the encrypted body data.
Resolves #382
2019-07-12 17:07:02 +02:00
Oleg Zhurakousky
1cf42f95f6 GH-383 Ensure FunctionType retains ParameterizedType as 'type' filed
Resolves #383
2019-07-12 17:06:50 +02:00
Olga Maciaszek-Sharma
e6625394a8 Adjust branch variable value 2019-07-12 17:06:02 +02:00
Olga Maciaszek-Sharma
b0ef7b19d1 Add build file setup documentation
Resolves #377
2019-07-12 17:05:51 +02:00
Oleg Zhurakousky
cf5cd49b72 fixed checkstyle 2019-07-12 17:04:45 +02:00
Oleg Zhurakousky
493b9da295 Simplified enhanecements to SpringBootApiGatewayRequestHandler introduced by previous commit"
Resolves #249
Resolves #375
2019-07-12 16:59:33 +02:00
Markus Gulden
01e813ec52 GH-249, Add full HTTP support to SpringBootApiGatewayRequestHandler
* Add support for handling APIGatewayProxyRequestEvent objects with
empty body (should apply to all GET and DELETE requests, which
comply with recommandation of RFC-7231)

* Add support ReSTful APIs: path and query string parameters as well
as the HTTP method are now extracted from the
APIGatewayProxyRequestEvent object and forwarded to the function
as message headers

* Extend unit tests accordingly
2019-07-12 16:59:21 +02:00
Oleg Zhurakousky
570bbb23b5 Fixed doc rendering 2019-07-12 16:52:33 +02:00
Oleg Zhurakousky
2afb53f967 Added cleanup code to the failing AWS test 2019-06-07 14:41:45 +02:00
Oleg Zhurakousky
cfd24a8316 Upgraded master to 3.0.0.BUILD-SNAPSHOT 2019-06-06 18:47:09 +02:00
Dave Syer
57689755f2 Add support for spring.cloud.function.scan.packages in functional
Fixes gh-372
2019-06-06 16:40:17 +01:00
Oleg Zhurakousky
40b070a8d1 removed commented code 2019-05-29 09:13:15 +02:00
Oleg Zhurakousky
2dad9b65c1 Bumped to spring-cloud-build 2.2
Fixed boot 2.2 related errors
set master version to 2.2.0
2019-05-28 13:22:02 +02:00
Oleg Zhurakousky
52b8d67092 Fixed RoutingFunction ClassCast exception 2019-05-21 08:41:10 -05:00
Oleg Zhurakousky
b8c1003309 Improvements RoutingFunction and MessageFunction
Added error handling to RoutingFunction
Added support for Function<Flux, Flux> to MessageFunction
2019-05-17 15:39:54 +02:00
Oleg Zhurakousky
076aa6f880 GH-363 Fixed NPE on AbstractBeanDefinition.getBeanClass() call
Resolves #363
2019-05-13 19:32:44 +02:00
Oleg Zhurakousky
5965447a6b Update home.adoc 2019-05-07 18:03:30 +02:00