accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mikewalch <...@git.apache.org>
Subject [GitHub] accumulo pull request #242: ACCUMULO-2181/3005 REST API and new Monitor UI
Date Wed, 05 Apr 2017 20:44:21 GMT
Github user mikewalch commented on a diff in the pull request:

    https://github.com/apache/accumulo/pull/242#discussion_r110012789
  
    --- Diff: server/monitor/src/main/java/org/apache/accumulo/monitor/Monitor.java ---
    @@ -461,25 +452,9 @@ public void run(String hostname) {
           try {
             log.debug("Creating monitor on port " + port);
             server = new EmbeddedWebServer(hostname, port);
    -        server.addServlet(DefaultServlet.class, "/");
    -        server.addServlet(OperationServlet.class, "/op");
    -        server.addServlet(MasterServlet.class, "/master");
    -        server.addServlet(TablesServlet.class, "/tables");
    -        server.addServlet(TServersServlet.class, "/tservers");
    -        server.addServlet(ProblemServlet.class, "/problems");
    -        server.addServlet(GcStatusServlet.class, "/gc");
    -        server.addServlet(LogServlet.class, "/log");
    -        server.addServlet(XMLServlet.class, "/xml");
    -        server.addServlet(JSONServlet.class, "/json");
    -        server.addServlet(VisServlet.class, "/vis");
    -        server.addServlet(ScanServlet.class, "/scans");
    -        server.addServlet(BulkImportServlet.class, "/bulkImports");
    -        server.addServlet(Summary.class, "/trace/summary");
    -        server.addServlet(ListType.class, "/trace/listType");
    -        server.addServlet(ShowTrace.class, "/trace/show");
    -        server.addServlet(ReplicationServlet.class, "/replication");
    -        if (server.isUsingSsl())
    -          server.addServlet(ShellServlet.class, "/shell");
    +        server.addServlet(getDefaultServlet(), "/resources/*");
    +        server.addServlet(getRestServlet(), "/rest/*");
    --- End diff --
    
    Nice reduction in servlets


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message