package es.uv.saic.feign;

import java.io.IOException;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import es.uv.saic.dto.ModelDTO;

@FeignClient(value = "ajax-service", url = "${saic.url.domain}")
public interface AjaxClient {
    @GetMapping("/ajax/active/centres")
	public ModelDTO getActiveCentres() throws IOException;
}
