repo.getRestComponents().publishHelper(new PortfolioGridStructureMessageBodyWriter(columnWriter));
repo.getRestComponents().publishHelper(new DependencyGraphGridStructureMessageBodyWriter(columnWriter));
repo.getRestComponents().publishHelper(new GridColumnGroupsMessageBodyWriter(columnWriter));
repo.getRestComponents().publishHelper(new ViewportResultsMessageBodyWriter(viewportResultsWriter));
repo.getRestComponents().publishHelper(new ViewDefinitionEntriesResource(configSource));
repo.getRestComponents().publishHelper(new ErrorInfoMessageBodyWriter());
// these items need to be available to the servlet, but aren't important enough to be published components
repo.registerServletContextAware(new ServletContextAware() {
@Override
public void setServletContext(ServletContext servletContext) {