Package step.controller.grid.services
Class AbtractFunctionServices
java.lang.Object
step.framework.server.AbstractServices<User>
step.core.deployment.AbstractStepServices
step.core.deployment.AbstractStepAsyncServices
step.controller.services.entities.AbstractEntityServices<Function>
step.controller.grid.services.AbtractFunctionServices
- Direct Known Subclasses:
FunctionServices
-
Nested Class Summary
Nested classes/interfaces inherited from class step.controller.services.entities.AbstractEntityServices
AbstractEntityServices.History
-
Field Summary
Modifier and TypeFieldDescriptionprotected FunctionAccessor
protected FunctionExecutionService
protected FunctionLocator
protected FunctionManager
protected step.core.objectenricher.ObjectPredicateFactory
protected ReportNodeAttachmentManager
protected SelectorHelper
Fields inherited from class step.core.deployment.AbstractStepServices
configuration, SESSION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstep.functions.io.Output<jakarta.json.JsonObject>
callFunctionByAttributes
(String tokenId, FunctionInput<jakarta.json.JsonObject> input, jakarta.ws.rs.core.UriInfo uriInfo) step.functions.io.Output<jakarta.json.JsonObject>
callFunctionById
(String tokenId, String functionId, FunctionInput<jakarta.json.JsonObject> input) void
getAllFunctions
(Integer skip, Integer limit) getFunctionEditor
(String functionId) jakarta.json.JsonObject
getFunctionInputFromSchema
(String functionId) step.grid.TokenWrapper
getTokenHandle
(GetTokenHandleParameter parameter, jakarta.servlet.http.HttpServletRequest req) void
init()
lookupCallFunction
(CallFunction callFunction) newFunctionTypeConf
(String type) void
returnTokenHandle
(String tokenId) searchFunction
(Map<String, String> attributes) Methods inherited from class step.controller.services.entities.AbstractEntityServices
beforeSave, bulkDelete, cloneEntities, cloneEntity, findManyByAttributes, get, getVersions, request, restoreVersion
Methods inherited from class step.core.deployment.AbstractStepAsyncServices
getSession, scheduleAsyncTaskWithinSessionContext, setCurrentSession
Methods inherited from class step.core.deployment.AbstractStepServices
checkRightsOnBehalfOf, getAuthorizationManager, getContext, getExecutionRunnable, getObjectEnricher, getObjectFilter, getScheduler
Methods inherited from class step.framework.server.AbstractServices
getAbstractContext, getHttpSession, getSession, invalidateSession, setHttpServletRequest, setSession
-
Field Details
-
reportNodeAttachmentManager
-
functionAccessor
-
functionManager
-
functionExecutionService
-
selectorHelper
-
functionLocator
-
objectPredicateFactory
protected step.core.objectenricher.ObjectPredicateFactory objectPredicateFactory
-
-
Constructor Details
-
AbtractFunctionServices
public AbtractFunctionServices()
-
-
Method Details
-
init
- Overrides:
init
in classAbstractEntityServices<Function>
- Throws:
Exception
-
getAllFunctions
-
searchFunction
-
lookupCallFunction
@POST @Path("/lookup") @Produces("application/json") @Consumes("application/json") public Function lookupCallFunction(CallFunction callFunction) -
getFunctionEditor
-
getFunctionInputFromSchema
@GET @Produces("application/json") @Path("/{id}/schema/inputs") public jakarta.json.JsonObject getFunctionInputFromSchema(@PathParam("id") String functionId) -
save
- Overrides:
save
in classAbstractEntityServices<Function>
-
clone
- Overrides:
clone
in classAbstractEntityServices<Function>
-
delete
- Overrides:
delete
in classAbstractEntityServices<Function>
-
newFunctionTypeConf
-
getTokenHandle
@POST @Produces("application/json") @Consumes("application/json") @Path("/executor/tokens/select") public step.grid.TokenWrapper getTokenHandle(GetTokenHandleParameter parameter, @Context jakarta.servlet.http.HttpServletRequest req) throws FunctionExecutionServiceException -
returnTokenHandle
@POST @Produces("application/json") @Path("/executor/tokens/{id}/return") public void returnTokenHandle(@PathParam("id") String tokenId) throws FunctionExecutionServiceException -
callFunctionById
@POST @Consumes("application/json") @Produces("application/json") @Path("/executor/tokens/{id}/execute/{functionId}") public step.functions.io.Output<jakarta.json.JsonObject> callFunctionById(@PathParam("id") String tokenId, @PathParam("functionId") String functionId, FunctionInput<jakarta.json.JsonObject> input) -
callFunctionByAttributes
@POST @Produces("application/json") @Consumes("application/json") @Path("/executor/tokens/{id}/execute") public step.functions.io.Output<jakarta.json.JsonObject> callFunctionByAttributes(@PathParam("id") String tokenId, FunctionInput<jakarta.json.JsonObject> input, @Context jakarta.ws.rs.core.UriInfo uriInfo)
-