package es.uv.saic.feign;

import java.util.List;

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

import es.uv.saic.web.StatsController.PendingEmail;

@FeignClient(name = "saic-core-service", contextId = "stats-controller")
public interface StatsClient {
    @GetMapping("/admin/get/pendingEmails")
	public List<PendingEmail> getPendingEmails();
}
