Make spring-task-launch-request-function as auto-config

* Also make a `spring-spel-function`, `spring-filter-function` as auto-config
* Fix Checkstyle violations in those module, as well as in the `spring-payload-converter-function`
This commit is contained in:
Artem Bilan
2024-01-10 09:54:03 -05:00
parent 0f9065df78
commit 97c3be83af
17 changed files with 86 additions and 73 deletions

View File

@@ -1,11 +1,11 @@
# Task Launch Request Function
This module provides a function that can be reused and composed in other applications to transform the output to a link:src/main/java/org/springframework/cloud/fn/task/launch/request/TaskLaunchRequest.java[TaskLaunchRequest]
that can be used as input to the Tasklauncher function to launch a task.
that can be used as input to the TaskLauncher function to launch a task.
## Beans for injection
You can import the `TaskLaunchRequestFunctionConfiguration` in a Spring Boot application and then inject the following bean.
The `TaskLaunchRequestFunctionConfiguration` auto-configuration provides the following bean:
`taskLaunchRequestFunction` as a link:src/main/java/org/springframework/cloud/fn/task/launch/request/TaskLaunchRequestFunction.java[TaskLaunchRequestFunction].