Commit Graph

1898 Commits

Author SHA1 Message Date
Oleg Zhurakousky
22bc928349 GH-1033 Fix AWSTypesMessageConverter to ensure it takes the first path at converting AWS types
Resolves #1033
2023-05-24 16:35:38 +02:00
Oleg Zhurakousky
1395424105 GH-1030 Add property for late initialization of AC
Resolves #1030
2023-05-24 11:28:34 +02:00
Oleg Zhurakousky
53b61e5ebf Revert "Polishing previous commit"
This reverts commit 57b8631e04.
2023-05-24 10:57:23 +02:00
Oleg Zhurakousky
3f8b7f1bbe GH-1037 Fix gradle build
Resolves #1037
2023-05-24 10:37:54 +02:00
Oleg Zhurakousky
57b8631e04 Polishing previous commit 2023-05-24 10:04:48 +02:00
Urs Keller
f2edb4c4d8 Fix parent issues 2023-05-24 09:38:56 +02:00
Urs Keller
2dcad9a88d Fix for reactive function in CustomRuntime 2023-05-24 09:38:56 +02:00
Urs Keller
3b88030038 Remove dependency on servlet container from AWSCustomRuntime 2023-05-24 09:38:56 +02:00
Urs Keller
60c771868f Breaking test case 2023-05-24 09:38:56 +02:00
Urs Keller
f54ac46ab4 Bump GRPC to be able to compile on Mac Arm 2023-05-24 09:38:56 +02:00
Oleg Zhurakousky
9c292b629a Fix checksyle
Resolves #1032
2023-05-24 09:33:43 +02:00
abilan
92fc7b167a * Test against mock(FunctionCatalog.class) 2023-05-24 09:21:07 +02:00
abilan
d0b0d9210d * Add meaningful exception when no function definition in catalog 2023-05-24 09:21:07 +02:00
abilan
42a5319c99 * Fix typos in docs
* Add `spring-cloud-function-integration` into `spring-cloud-function-dependencies`
* Fix "memoize" logic in the `FunctionLookupHelper` and cover it in the `FunctionFlowTests`
against `@SpyBean FunctionCatalog`
2023-05-24 09:21:07 +02:00
abilan
e0629b5080 Introducing spring-cloud-function-integration
Spring Integration Java DSL, is a tool to compose integration flows programmatically.
We can build the flow not only based on standard EIP components, but also using
protocol-specific channel adapters.
Any generic services also can be used as handler in the flow.
This includes simple lambda operations or functions.

On the other hand Spring Cloud Function provides a `FunctionCatalog`
for registered functions and their compositions & conversions.

With this change we introduce a more high-level DSL to use functions
from catalog directly in the `IntegrationFlow` to gain the best from
both worlds.

* Introduce `spring-cloud-function-integration` module based on
`spring-cloud-function-context` and `spring-boot-starter-integration`
* Expose a `FunctionFlowBuilder` auto-configuration
* Add `FunctionFlowDefinition` to expose `apply()` and `accept()` operators
* Document this new module
2023-05-24 09:21:07 +02:00
spencergibb
f0a49e5be4 Fixes parent pom 2023-05-23 15:25:20 -04:00
spencergibb
d66e1be101 Removes duplicate dependency 2023-05-23 15:18:32 -04:00
spencergibb
4eb5da9bcf Ignore releaser snapshot,milestone check of orphan module 2023-05-23 15:13:01 -04:00
spencergibb
daf56b0386 Ignore releaser milestone check of orphan module 2023-05-23 15:10:35 -04:00
spencergibb
fe9bfc53e3 Ignore releaser snapshot check of orphan module 2023-05-23 15:08:38 -04:00
spencergibb
be526a0e88 Removes versions managed by spring-cloud-function-dependencies 2023-05-23 14:58:19 -04:00
Oleg Zhurakousky
aa90d256ec Add Content-Type header to AWScJson response and writer for servlet response 2023-05-23 12:01:58 +02:00
Oleg Zhurakousky
571d00c107 Imporovement of serverless web integration 2023-05-19 06:53:30 +02:00
Soby Chacko
f4d4eba233 * Conditional changes in grpc auto configuration
* Modifier changes in GrpcAutoConfiguraiton for extensibility
2023-05-16 10:18:37 -04:00
Oleg Zhurakousky
4655f7089e Fix compatibility iussue with Azure test 2023-05-11 17:36:39 +02:00
Oleg Zhurakousky
5228a2cc13 Fix AzureFunctionInstanceInjectorTest for boot 3.1 compatibility 2023-05-11 16:11:19 +02:00
Oleg Zhurakousky
187b2d3653 Fix checkstyles 2023-05-10 10:30:01 +02:00
Oleg Zhurakousky
94f1672303 GH-1034 Remove thymeleaf dependencies 2023-05-10 10:14:07 +02:00
Oleg Zhurakousky
49a8b45979 GH-1034 Add security tests 2023-05-10 08:31:12 +02:00
Oleg Zhurakousky
05685c647c GH-1034 Add implementation of ProxyHttpSession, fix Spring Security interaction 2023-05-10 07:47:46 +02:00
Oleg Zhurakousky
74aaadea98 GH-1034 Finish merging work to support web workloads in serverless environments
Resolves #1034
2023-05-09 12:10:47 +02:00
Oleg Zhurakousky
e7e808916b Add integration with AWS API latch 2023-05-09 10:41:58 +02:00
Christian Tzolov
04baab62b7 updatee the azure web adapter 2023-05-09 10:41:47 +02:00
Christian Tzolov
ee777a796b cache intialisation. add test 2023-05-09 10:41:34 +02:00
Christian Tzolov
a039054c3c fix post support 2023-05-09 10:41:22 +02:00
Christian Tzolov
921a2bca03 experimental Azure Web adapter
experimental Azure Web adapter
2023-05-09 10:40:56 +02:00
Oleg Zhurakousky
7c613daeda Add initial support for error handling 2023-05-09 10:33:48 +02:00
Oleg Zhurakousky
017093a8b5 Fix Request/Response attributes, add more assertions in tests 2023-05-09 10:33:25 +02:00
Oleg Zhurakousky
0c82bca08a Make spring-cloud-function-adapter-aws-web depend on base module 2023-05-09 10:32:07 +02:00
Oleg Zhurakousky
dbf362b7fe Add spring-cloud-function-serverless-web module 2023-05-09 10:31:48 +02:00
Oleg Zhurakousky
a9b17bd70d Fix WebProxyInvoker 2023-05-09 10:31:23 +02:00
Oleg Zhurakousky
88e66b297a Add support for POST, clean up request impl, add test 2023-05-09 10:31:10 +02:00
Oleg Zhurakousky
be1f2ebc2e Update README.md 2023-05-09 10:30:51 +02:00
Oleg Zhurakousky
d395ab8a8f Stopping point with initial POC 2023-05-09 10:29:48 +02:00
Oleg Zhurakousky
3ded697223 Initial commit of web-app-as-lambda support 2023-05-09 10:19:35 +02:00
mockxe
3a9c98ef14 fixed a ClassCastException when returning an Iterable that couldn't be cast into Collection from a web-function (e.g. Page)
Resolves #1026
2023-04-25 18:41:47 +02:00
Oleg Zhurakousky
e3a44c3cf3 Ensure RoutingFuunction can't route to itself 2023-04-25 13:21:25 +02:00
Oleg Zhurakousky
71243f2179 GH-1023 Add no-op apply method to PostProcessingFunction
Resolves #1023
2023-04-18 13:14:11 +02:00
Oleg Zhurakousky
278d917543 GH-1023 Add support for post function processing 2023-04-18 13:14:03 +02:00
Oleg Zhurakousky
4ba5ea3452 GH-1018 Ensure AWS adapter can pass raw InputStream
Resolves #1018
2023-03-30 14:53:29 +02:00