Commit Graph

154 Commits

Author SHA1 Message Date
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
Senthil Sivanath
8579309b68 Added public modifier 2023-03-07 15:13:50 +05:30
Christian Tzolov
69e29e347d Update the azure adapter doc
- Add explanation for usiing Spring Cloud Function via the catalog (vs. plain bean)
 - minor text corrections.
2023-03-03 10:36:44 +01:00
Christian Tzolov
d5bff8e7ee Add docs for Azure function DI integration
Resolves #993
2023-02-22 14:17:10 +01:00
VisionaryAppDev
072c4f4224 Spelling correction 2023-02-21 10:19:01 +07:00
pguti778
5c50666ee3 Little rewording on the main feature
Looks like someone started writing and then moved into another thing. It didn't looked continuous.
2023-01-17 18:08:27 -03:00
Amrut Prabhu
b2b0b69fd2 fixing small typo 2022-12-23 16:37:57 +01:00
Chris Mathews
5c5d099532 Updated documentation to remove references to OpenWhisk
OpenWhisk is no longer supported (since 4.0.0-M5), deleting related documentation.
2022-11-19 09:11:55 -05:00
Chris Mathews
bb0fbc8c05 Updated documentation to remove references to OpenWhisk
OpenWhisk is no longer supported (since 4.0.0-M5), deleting related documentation.
2022-11-19 09:08:58 -05:00
Chris Mathews
434093c481 Updated documentation to remove references to OpenWhisk
OpenWhisk is no longer supported (since 4.0.0-M5), deleting related documentation.
2022-11-19 09:07:55 -05:00
Chris Mathews
7be99b34b2 Deleted OpenWhisk documentation
OpenWhisk is no longer supported (since 4.0.0-M5), deleting related documentation.
2022-11-19 09:06:23 -05:00
Chris Mathews
9fc99ae288 Deleted OpenWhisk documentation
OpenWhisk is no longer supported (since 4.0.0-M5), deleting related documentation.
2022-11-19 09:05:42 -05:00
Oleg Zhurakousky
9491c9ce04 GH-958 Add support for default routing
Resolves #958
2022-11-17 11:27:32 +01:00
Oleg Zhurakousky
fd65decdb6 GH-944 Remove deprecations and update documentation for MessageRoutingCallback
Resolves #944
2022-10-25 16:01:06 +02:00
Andrzej Leśkiewicz
b9eebb69e5 Update Gradle Shadow Plugin exampe
Add `META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports` and `META-INF/spring/org.springframework.boot.actuate.autoconfigure.web.ManagementContextConfiguration.imports`
2022-09-28 12:24:05 +02:00
Andrzej Leśkiewicz
bdf6d37841 Change line breaks 2022-09-28 12:04:24 +02:00
Andrzej Leśkiewicz
69a5a7fbe5 Update docs about shade-plugin-setup and Boot 2.7
Add transformers for new auto configuration files introduced in Spring Boot 2.7. Update info about transformers not being required, if spring-boot-starter-parent is used

https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-2.7-Release-Notes#building-jars-with-maven-shade-plugin-and-gradle-shadow-plugin
2022-09-28 11:58:58 +02:00
Hao Wang
05bef05540 Rename PollableSupplier to PollableBean in doc 2022-08-05 23:14:12 +08:00
Oleg Zhurakousky
5c6c0eddcb GH-888 Update SpEL usage documentation
Resolves #888
2022-07-27 10:42:21 +02:00
Oleg Zhurakousky
a4e5c0c9e3 GH-890 Update AWS JAR Layout docs
Resolves #890
2022-07-27 10:05:12 +02:00
Oleg Zhurakousky
e17f79d169 GH-891 Ensure HTTP Request params are mapped even when body is not present
Resolves #891
2022-07-26 16:49:23 +02:00
Oleg Zhurakousky
9f9d5602e7 GH-883 Add support for filtering out ineligible functions
Resolves #883
2022-06-13 15:46:45 +02:00
Deepankar Dixit
495a831216 updating documentation 2022-05-26 12:33:57 -04:00
Deepankar Dixit
ddda85f83b working on comments 2022-05-26 11:20:16 -04:00
Deepankar Dixit
eecb373d50 making changes to adapter, including tests and documentation 2022-05-25 10:22:29 -04:00
Oleg Zhurakousky
1702b269f0 GH-829 Add docs for routing under Custom Runtime
Resolves #829
2022-05-10 16:17:07 +02:00
Oleg Zhurakousky
c966eb55eb Add Chris to doc authors 2022-05-05 08:12:45 +02:00
Oleg Zhurakousky
3bfa5faa44 GH-791 Add support for propagating input headers
Resolves #791

polishing merge
2022-05-04 14:48:14 +02:00
Oleg Zhurakousky
a1c2b9de02 GH-864 Add support for carying HTTP request parameters in Message headers
Resolves #864
2022-05-03 19:14:00 +02:00
Oleg Zhurakousky
664995d7d1 GH-861 Add constant for aws-context
Resolves #861
2022-04-21 13:16:02 +02:00
Oleg Zhurakousky
97a55a3608 GH-828 Add support for configuring additional routers
Resolves #828
2022-03-24 18:26:41 +01:00
onobc
ca16797791 Remove FunctionType from docs and AWS sample
Resolves #808
2022-02-16 11:23:20 +01:00
onobc
841c05c3a4 Remove spring-cloud-function-compiler module
Fixes gh-805
2022-02-16 10:48:43 +01:00
onobc
05d0f0498c Update docs as follows:
Resolves #811

* code examples reflect current versions and APIs being used
* code examples use dynamic version numbers based on maven properties
2022-02-15 17:01:21 +01:00
Oleg Zhurakousky
cba53a7c49 GH-803 Remove Dynamic Compilatioin section from the docs
Resolves #803
2022-02-07 18:58:41 +01:00
Oleg Zhurakousky
6e80c4dcef GH-766 Add initial docs for function visualization
Resolves #766
2021-12-01 08:21:57 +01:00
Oleg Zhurakousky
9e5ebcc28d Fix documentation around ExecutionContext for Azure
More cleanup in Azure samples

Resolves #759
2021-11-18 16:17:15 +01:00
Oleg Zhurakousky
ad901f23eb GH-726 Enhance MessageRoutingCallback to optionally return enriched Message
Resolves #726
2021-11-11 17:16:19 +01:00
Oleg Zhurakousky
e370b040e3 GH-764 Add support for output header enrichemnt
Resolves #764
2021-11-08 15:26:11 +01:00
Oleg Zhurakousky
f06892f7ff GH-714 Add support for component scanning to function deployer
We already support it for standard deployment, so this fix extends such support for functions deploye via function deployer feature

Resolves #714
2021-07-16 12:34:35 +02:00
Oleg Zhurakousky
ff7741ea74 GH-713 Add support for default function for HTTP
Resolves #713
2021-07-14 14:46:21 +02:00
Oleg Zhurakousky
22e945009a GH-676 Relax SpEL evaluation failures for input header enrichment
Add documentation

Resolves #676
2021-05-24 15:18:28 +02:00
Oleg Zhurakousky
039387d9c6 GH-698 Fix routing function support in AWS
Introduce auto-fallback to routing function if more then one function is present and no definition is provided.
Add explicit routing sample

Add documentation
2021-05-21 17:04:01 +02:00
Mike Eltsufin
623e5a9782 Update documentation that GCF is GA, not Alpha 2021-04-14 11:44:13 -04:00
Oleg Zhurakousky
b7edd1e1b7 GH-685 Update Kotlin documentation
Add test for collections

polishing
2021-04-13 09:23:56 +02:00
Oleg Zhurakousky
a4c1358af4 GH-677 Add spring.cloud.function.preferred-json-mapper property
Deprecate spring.http.converters.preferred-json-mapper
Resolves #677
2021-04-09 15:50:50 +02:00
Oleg Zhurakousky
98fe5bc8eb GH-437 Refactor Azure request handler
This approach simplifies the existing request handlers while also fixing the invocation model to ensure AC is not created multiple times and ExecutionContext is properly propagated via Message headers
The old request handlers are deprecated
Documentation updates as well as tests
Resolves #437
2021-03-15 11:08:36 +01:00
Varun
d82bdebc03 Corrected grammatical mistake in the Note section of Message Headers
This is the current statement
>SpEL evaluation context’s root object is the actual input argument, so in he case of Message<?> you can construct expression that has access to both payload and headers (e.g., spring.cloud.function.routing-expression=headers.function_name).

This is the corrected one
>SpEL evaluation context’s root object is the actual input argument, so in the case of Message<?> you can construct expression that has access to both payload and headers (e.g., spring.cloud.function.routing-expression=headers.function_name).

```diff
-so in he case...
+so in the case...
```
2021-03-02 17:22:25 +05:30
Oleg Zhurakousky
9f1c99bae8 GH-654 Update routing and RSocket routing documentation with details on 'MessageRoutingCallback'
Resolves #654
2021-02-24 15:48:34 +01:00