@@ -0,0 +1,971 @@
+package com.juanpabloprado.ecommerceapi.source;%0A%0Aimport com.juanpabloprado.ecommerceapi.integration.agenty.AgentyClient;%0Aimport com.juanpabloprado.ecommerceapi.integration.agenty.dto.Result;%0Aimport java.util.List;%0Aimport org.slf4j.Logger;%0Aimport org.slf4j.LoggerFactory;%0Aimport org.springframework.web.bind.annotation.GetMapping;%0Aimport org.springframework.web.bind.annotation.RequestMapping;%0Aimport org.springframework.web.bind.annotation.RestController;%0A%0A@RestController%0A@RequestMapping(%22/api/v1%22)%0Apublic class SourceController %7B%0A%0A  private final AgentyClient agentyClient;%0A  private static final Logger log = LoggerFactory.getLogger(SourceController.class);%0A%0A  public SourceController(%0A      AgentyClient agentyClient) %7B%0A    this.agentyClient = agentyClient;%0A  %7D%0A%0A  @GetMapping(%22/sources%22)%0A  public List%3CResult%3E fillSources() %7B%0A%0A    List%3CResult%3E recentResults = agentyClient.getRecentResults();%0A    log.info(recentResults.toString());%0A%0A    return recentResults;%0A  %7D%0A%7D%0A

Add source rest controller