@@ -0,0 +1,915 @@
+package com.collective.celos.servlet;%0A%0Aimport org.apache.commons.io.IOUtils;%0A%0Aimport javax.servlet.ServletException;%0Aimport javax.servlet.http.HttpServletRequest;%0Aimport javax.servlet.http.HttpServletResponse;%0Aimport java.io.*;%0A%0A/**%0A * Returns list of IDs of configured workflows as JSON.%0A *%0A * GET /workflow-list%0A * ==%3E%0A * %7B%0A *   %22ids%22: %5B %22workflow-1%22, %22workflow-2%22 %5D%0A * %7D%0A */%0A@SuppressWarnings(%22serial%22)%0Apublic class UIServlet extends AbstractJSONServlet %7B%0A%0A    protected void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException %7B%0A        res.setContentType(%22text/html%22);%0A%0A        try %7B%0A            File src = new File(Thread.currentThread().getContextClassLoader().getResource(%22com/collective/celos/celos-ui.html%22).toURI());%0A            IOUtils.copy(new FileInputStream(src), res.getOutputStream());%0A        %7D catch (Exception e) %7B%0A            e.printStackTrace();%0A        %7D%0A    %7D%0A%0A%0A%7D%0A

add UI Servlet