Class FunctionPackageServices

java.lang.Object
step.framework.server.AbstractServices<User>
step.core.deployment.AbstractStepServices
step.functions.packages.FunctionPackageServices

@Path("/functionpackages") public class FunctionPackageServices extends AbstractStepServices
  • Field Details

  • Constructor Details

    • FunctionPackageServices

      public FunctionPackageServices()
  • Method Details

    • init

      @PostConstruct public void init()
      Overrides:
      init in class AbstractStepServices
    • 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

      @GET @Path("/{id}/functions") @Produces("application/json") public List<Function> getPackageFunctions(@PathParam("id") String functionPackageId)
    • 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