Revision 49931
Added by Panagiotis Kanakakis over 6 years ago
BrokerApiImpl.java | ||
---|---|---|
21 | 21 |
import org.springframework.web.client.RestClientException; |
22 | 22 |
import org.springframework.web.client.RestTemplate; |
23 | 23 |
import org.springframework.web.util.UriComponentsBuilder; |
24 |
import sun.reflect.generics.reflectiveObjects.LazyReflectiveObjectGenerator; |
|
24 | 25 |
|
25 | 26 |
import java.io.IOException; |
26 | 27 |
import java.util.*; |
... | ... | |
239 | 240 |
new ParameterizedTypeReference<Map<String, List<SimpleSubscriptionDesc>>>() { |
240 | 241 |
}); |
241 | 242 |
} catch (RestClientException e) { |
243 |
LOGGER.debug("Error " , e); |
|
242 | 244 |
throw new BrokerException(e); |
243 | 245 |
} |
244 |
|
|
245 | 246 |
return resp.getBody(); |
246 | 247 |
} |
247 | 248 |
|
Also available in: Unified diff
1. Update pom.xml with swagger dep.
2. Change pagination numbers.
3. Add swagger config file.
4. Change piwik queries with new database collumns.