package jnpf.dms; import jnpf.base.ActionResult; import jnpf.dmsEntity.storage.form.DmsPersistentPdfInvalidationForm; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestHeader; @FeignClient(name = "jnpf-dms", contextId = "dmsPersistentPdfRecovery", path = "/Internal/dms/persistent-pdf") public interface DmsPersistentPdfRecoveryApi { @PostMapping("/invalidations") ActionResult invalidate( @RequestHeader("X-DMS-Service-Id") String serviceId, @RequestBody DmsPersistentPdfInvalidationForm form); }