Package step.functions.packages
Class FunctionPackageServices
java.lang.Object
step.framework.server.AbstractServices<User>
step.core.deployment.AbstractStepServices
step.functions.packages.FunctionPackageServices
-
Nested Class Summary
-
Field Summary
Fields inherited from class step.core.deployment.AbstractStepServices
configuration, SESSION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteFunctionPackage
(String functionPackageId) getFunctionPackage
(String functionPackageId) getPackageFunctions
(String functionPackageId) void
init()
lookupByResourceName
(String resourceName) packagePreview
(FunctionPackage functionPackage) reloadFunctionPackage
(String functionPackageId, jakarta.ws.rs.core.UriInfo uriInfo) saveFunctionPackage
(FunctionPackage functionPackage, jakarta.ws.rs.core.UriInfo uriInfo) updateFunctionPackage
(FunctionPackage functionPackage, jakarta.ws.rs.core.UriInfo uriInfo) 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, getSession, invalidateSession, setHttpServletRequest, setSession
-
Field Details
-
functionPackageManager
-
-
Constructor Details
-
FunctionPackageServices
public FunctionPackageServices()
-
-
Method Details
-
init
@PostConstruct public void init()- Overrides:
init
in classAbstractStepServices
-
getFunctionPackage
@GET @Path("/{id}") @Produces("application/json") public FunctionPackage getFunctionPackage(@PathParam("id") String functionPackageId) -
deleteFunctionPackage
@DELETE @Path("/{id}") @Produces("application/json") public void deleteFunctionPackage(@PathParam("id") String functionPackageId) -
packagePreview
@POST @Consumes("application/json") @Produces("application/json") @Path("/preview") public FunctionPackageServices.PackagePreview packagePreview(FunctionPackage functionPackage) -
saveFunctionPackage
@POST @Consumes("application/json") @Produces("application/json") public FunctionPackage saveFunctionPackage(FunctionPackage functionPackage, @Context jakarta.ws.rs.core.UriInfo uriInfo) throws Exception - Throws:
Exception
-
updateFunctionPackage
@POST @Consumes("application/json") @Produces("application/json") @Path("/resourcebased") public FunctionPackage updateFunctionPackage(FunctionPackage functionPackage, @Context jakarta.ws.rs.core.UriInfo uriInfo) throws Exception - Throws:
Exception
-
lookupByResourceName
@GET @Path("/resourcebased/lookup/{resourceName}") @Produces("application/json") public FunctionPackage lookupByResourceName(@PathParam("resourceName") String resourceName) throws Exception - Throws:
Exception
-
getPackageFunctions
-
reloadFunctionPackage
@POST @Consumes("application/json") @Produces("application/json") @Path("/{id}/reload") public FunctionPackage reloadFunctionPackage(@PathParam("id") String functionPackageId, @Context jakarta.ws.rs.core.UriInfo uriInfo) throws Exception - Throws:
Exception
-