accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mikewalch <>
Subject [GitHub] accumulo pull request #194: ACCUMULO-3005 Added REST API calls
Date Fri, 23 Dec 2016 17:22:22 GMT
Github user mikewalch commented on a diff in the pull request:
    --- Diff: assemble/src/main/assemblies/component.xml ---
    @@ -40,15 +40,48 @@
    +        <include>org.eclipse.jetty:jetty-continuation</include>
    +        <!-- jetty-servlet only needed by old monitor -->
    +        <!-- Jersey/Jackson-based webservice -->
    --- End diff --
    Jersey brings in a lot of dependencies that will have to be distributed with Accumulo.
 While I think Jersey is great for unreleased software, I think the [Spark microframework](
would be a better fit for the Accumulo monitor.  Spark only relies on Jetty (which is already
a dependency).  You could generate JSON using GSON (which is also already a dependency). Spark
also has a freemarker template engine.  If you use Spark, new dependencies should only be
limited to the following:
    If you are interested in using Spark, I can send you some code examples.  With Spark,
you might need to have separate REST & HTML routes but you can keep your code simple by
wrapping your business logic in methods.

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 or file a JIRA ticket
with INFRA.

View raw message