Class FunctionPackageServices

    • Constructor Detail

      • FunctionPackageServices

        public FunctionPackageServices()
    • Method Detail

      • 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)
      • 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