@@ -121,7 +121,6 @@ public class FunctionInvoker<I, O> {
|
|||||||
return function;
|
return function;
|
||||||
}
|
}
|
||||||
|
|
||||||
@SuppressWarnings({"unchecked", "rawtypes"})
|
|
||||||
public O handleRequest(I input, ExecutionContext executionContext) {
|
public O handleRequest(I input, ExecutionContext executionContext) {
|
||||||
String functionDefinition = executionContext.getFunctionName();
|
String functionDefinition = executionContext.getFunctionName();
|
||||||
FunctionInvocationWrapper function = this.discoverFunction(functionDefinition);
|
FunctionInvocationWrapper function = this.discoverFunction(functionDefinition);
|
||||||
@@ -149,6 +148,7 @@ public class FunctionInvoker<I, O> {
|
|||||||
* @param executionContext the Azure execution context
|
* @param executionContext the Azure execution context
|
||||||
* @return the possibly modified function results
|
* @return the possibly modified function results
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("unchecked")
|
||||||
protected O postProcessImperativeFunctionResult(I rawInputs, Object functionInputs, Object functionResult,
|
protected O postProcessImperativeFunctionResult(I rawInputs, Object functionInputs, Object functionResult,
|
||||||
FunctionInvocationWrapper function, ExecutionContext executionContext
|
FunctionInvocationWrapper function, ExecutionContext executionContext
|
||||||
) {
|
) {
|
||||||
@@ -193,6 +193,7 @@ public class FunctionInvoker<I, O> {
|
|||||||
* @param executionContext the Azure execution context
|
* @param executionContext the Azure execution context
|
||||||
* @return the possibly modified function results
|
* @return the possibly modified function results
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("unchecked")
|
||||||
protected O postProcessMonoFunctionResult(I rawInputs, Object functionInputs, Mono<?> functionResult,
|
protected O postProcessMonoFunctionResult(I rawInputs, Object functionInputs, Mono<?> functionResult,
|
||||||
FunctionInvocationWrapper function, ExecutionContext executionContext
|
FunctionInvocationWrapper function, ExecutionContext executionContext
|
||||||
) {
|
) {
|
||||||
@@ -213,6 +214,7 @@ public class FunctionInvoker<I, O> {
|
|||||||
* @param executionContext the Azure execution context
|
* @param executionContext the Azure execution context
|
||||||
* @return the possibly modified function results
|
* @return the possibly modified function results
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings({ "rawtypes", "unchecked" })
|
||||||
protected O postProcessFluxFunctionResult(I rawInputs, Object functionInputs, Flux<?> functionResult,
|
protected O postProcessFluxFunctionResult(I rawInputs, Object functionInputs, Flux<?> functionResult,
|
||||||
FunctionInvocationWrapper function, ExecutionContext executionContext
|
FunctionInvocationWrapper function, ExecutionContext executionContext
|
||||||
) {
|
) {
|
||||||
|
|||||||
Reference in New Issue
Block a user