package jnpf.dms;
|
|
import jnpf.base.ActionResult;
|
import jnpf.dmsEntity.center.DmsCenterDisableCommand;
|
import org.springframework.cloud.openfeign.FeignClient;
|
import org.springframework.web.bind.annotation.*;
|
|
/** For callers outside the DMS module. DMS business services call the center service directly. */
|
@FeignClient(name = "jnpf-dms", contextId = "dmsCenter", path = "/Internal/dms/center")
|
public interface DmsCenterApi {
|
@PostMapping("/disable")
|
ActionResult<Void> disable(@RequestHeader("X-DMS-Service-Id") String serviceId,
|
@RequestBody DmsCenterDisableCommand command);
|
}
|