Revision 56661
Added by Ioannis Diplas over 4 years ago
StatsController.java | ||
---|---|---|
18 | 18 |
public class StatsController { |
19 | 19 |
|
20 | 20 |
@Autowired |
21 |
StatsServiceImpl statsService; |
|
21 |
private StatsServiceImpl statsService;
|
|
22 | 22 |
|
23 | 23 |
@RequestMapping(value = "/getStatistics" , method = RequestMethod.GET, |
24 | 24 |
produces = MediaType.APPLICATION_JSON_VALUE) |
25 | 25 |
@ResponseBody |
26 |
public Map getStatistics() throws JSONException {
|
|
26 |
public Map getStatistics(){ |
|
27 | 27 |
return statsService.getStatistics(); |
28 | 28 |
} |
29 | 29 |
} |
Also available in: Unified diff
- Fixing some code-smells
- Implemented search of piwik repos
- Added site_id info on repository