@@ -0,0 +1,851 @@
+package dk.statsbiblioteket.newspaper.processmonitor.backend;%0A%0Aimport javax.annotation.Resource;%0Aimport javax.ws.rs.GET;%0Aimport javax.ws.rs.Path;%0Aimport javax.ws.rs.Produces;%0Aimport javax.ws.rs.core.MediaType;%0A%0Aimport org.springframework.context.annotation.Scope;%0Aimport org.springframework.stereotype.Component;%0A%0A@Component%0A@Scope(value = %22singleton%22)%0A@Path(%22/stats/%22)%0Apublic class StatisticsService %7B%0A%0A    private String statisticsBaseUrl;%0A    %0A    public String getStatisticsBaseUrl() %7B%0A        return statisticsBaseUrl;%0A    %7D%0A    %0A    @Resource(name = %22statisticsBaseUrl%22)%0A    public void setStatisticsBaseUrl(String statisticsBaseUrl) %7B%0A        this.statisticsBaseUrl = statisticsBaseUrl;%0A    %7D%0A    %0A    @GET%0A    @Path(%22baseurl%22)%0A    @Produces(MediaType.TEXT_PLAIN)%0A    public String getBaseUrl() %7B%0A        return getStatisticsBaseUrl();%0A    %7D%0A%7D%0A

add statistic service for delivering url's to generated statistics