package es.uv.saic.feign; import java.io.IOException; import java.sql.SQLException; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestParam; import jakarta.servlet.http.HttpServletResponse; @FeignClient(value = "parse-controller", url = "${saic.url.domain}/core") public interface ParseClient { @PostMapping("/admin/parse/do") public void doParse(HttpServletResponse response, @RequestParam String database, @RequestParam String table, @RequestParam Integer year) throws IOException, SQLException, ClassNotFoundException; @PostMapping("/admin/parse/action") public void doAction(HttpServletResponse response, @RequestParam String action) throws IOException, SQLException, ClassNotFoundException; @PostMapping("/admin/parse/delete") public void doDelete(HttpServletResponse response, @RequestParam String action, @RequestParam Integer year) throws IOException, SQLException, ClassNotFoundException; }