environment.addResource(new SlugResource(articleDao));
environment.addResource(new SearchResource(articleDao));
environment.addResource(new ArticleResource(articleDao));
environment.addResource(new AdminResource(articleDao));
environment.addResource(new TagResource(articleDao));
environment.addResource(new TagSearchResource(articleDao));
environment.addResource(new FeedResource(articleDao)); // streaming resource
environment.addResource(new TemplateResource());
// health check
environment.addHealthCheck(new ElasticSearchHealthCheck(esManager.getNode()));