Package step.functions.execution
Class FunctionExecutionServiceImpl
java.lang.Object
step.functions.execution.FunctionExecutionServiceImpl
- All Implemented Interfaces:
FunctionExecutionService
-
Field Summary
-
Constructor Summary
ConstructorDescriptionFunctionExecutionServiceImpl
(step.grid.client.GridClient gridClient, FunctionTypeRegistry functionTypeRegistry, DynamicBeanResolver dynamicBeanResolver) -
Method Summary
Modifier and TypeMethodDescription<IN,
OUT> step.functions.io.Output<OUT> callFunction
(String tokenHandleId, Function function, FunctionInput<IN> functionInput, Class<OUT> outputClass) fileVersionIdToMap
(String propertyName, step.grid.filemanager.FileVersionId fileVersionId) step.grid.TokenWrapper
step.grid.TokenWrapper
getTokenHandle
(Map<String, String> attributes, Map<String, step.grid.tokenpool.Interest> interests, boolean createSession, step.grid.TokenWrapperOwner tokenWrapperOwner) registerFile
(File file, String properyName) void
void
returnTokenHandle
(String tokenHandleId) void
-
Field Details
-
INPUT_PROPERTY_DOCKER_IMAGE
- See Also:
-
INPUT_PROPERTY_CONTAINER_USER
- See Also:
-
INPUT_PROPERTY_CONTAINER_CMD
- See Also:
-
INPUT_PROPERTY_DOCKER_REGISTRY_URL
- See Also:
-
INPUT_PROPERTY_DOCKER_REGISTRY_USERNAME
- See Also:
-
INPUT_PROPERTY_DOCKER_REGISTRY_PASSWORD
- See Also:
-
-
Constructor Details
-
FunctionExecutionServiceImpl
public FunctionExecutionServiceImpl(step.grid.client.GridClient gridClient, FunctionTypeRegistry functionTypeRegistry, DynamicBeanResolver dynamicBeanResolver) throws FunctionExecutionServiceException
-
-
Method Details
-
registerTokenLifecycleInterceptor
- Specified by:
registerTokenLifecycleInterceptor
in interfaceFunctionExecutionService
-
unregisterTokenLifecycleInterceptor
- Specified by:
unregisterTokenLifecycleInterceptor
in interfaceFunctionExecutionService
-
getLocalTokenHandle
public step.grid.TokenWrapper getLocalTokenHandle()- Specified by:
getLocalTokenHandle
in interfaceFunctionExecutionService
-
getTokenHandle
public step.grid.TokenWrapper getTokenHandle(Map<String, String> attributes, Map<String, throws FunctionExecutionServiceExceptionstep.grid.tokenpool.Interest> interests, boolean createSession, step.grid.TokenWrapperOwner tokenWrapperOwner) - Specified by:
getTokenHandle
in interfaceFunctionExecutionService
- Throws:
FunctionExecutionServiceException
-
returnTokenHandle
- Specified by:
returnTokenHandle
in interfaceFunctionExecutionService
- Throws:
FunctionExecutionServiceException
-
callFunction
public <IN,OUT> step.functions.io.Output<OUT> callFunction(String tokenHandleId, Function function, FunctionInput<IN> functionInput, Class<OUT> outputClass) - Specified by:
callFunction
in interfaceFunctionExecutionService
-
registerFile
protected Map<String,String> registerFile(File file, String properyName) throws step.grid.filemanager.FileManagerException - Throws:
step.grid.filemanager.FileManagerException
-
fileVersionIdToMap
-