@GET
    @Path("/{repoName}/prime")
    @Produces(MediaType.TEXT_PLAIN)
    public String primeRepositoryCache(
            @PathParam("repoName") String repoName, 
            @Context HttpServletRequest request) {
        try {
            dao.primeCache(getBaseUrl(request), repoName);
        }
        catch (Exception e) {
            logger.log(Level.SEVERE, "Failed to prime repo cache: {0}", e.getMessage());
            throw new WebApplicationException(Response.Status.INTERNAL_SERVER_ERROR);
        }
        
        return "Repo cache for " + repoName + " primed!";
    }