Class PatchServiceEndPoint

java.lang.Object
org.apache.unomi.rest.endpoints.PatchServiceEndPoint

@Produces("application/json") @Consumes("application/json") @Path("/patches") public class PatchServiceEndPoint extends Object
A JAX-RS endpoint to manage patches.
  • Constructor Details

    • PatchServiceEndPoint

      public PatchServiceEndPoint()
  • Method Details

    • setPatchService

      public void setPatchService(PatchService patchService)
    • setPatch

      @POST @Path("/apply") public void setPatch(Patch patch, @QueryParam("force") Boolean force)
      Apply a patch on an item
      Parameters:
      patch - the patch to apply
      force - a boolean to force (or not) the application of the patch even if it was previously applied.