accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-3005) Convert the monitor into a real REST server
Date Mon, 10 Aug 2015 16:54:46 GMT

    [ https://issues.apache.org/jira/browse/ACCUMULO-3005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14680357#comment-14680357
] 

Josh Elser commented on ACCUMULO-3005:
--------------------------------------

Providing an update as I'm slowly working on this again.

I spent some evenings last week trying to get JSPs to work with Jersey which ultimately failed
(or at least I gave up). I figured we have no strict requirement on using JSP, lo and behold,
using [mustache|https://github.com/spullara/mustache.java] (which out of the box supported
templating engine by Jersey) worked right out of the box.

I hope to keep up the momentum in my downtime this week and hopefully finally get some complete
code to look at (rather than a hack-job on my github).

> Convert the monitor into a real REST server
> -------------------------------------------
>
>                 Key: ACCUMULO-3005
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-3005
>             Project: Accumulo
>          Issue Type: Sub-task
>          Components: monitor
>            Reporter: Josh Elser
>            Assignee: Josh Elser
>             Fix For: 1.8.0
>
>         Attachments: 0001-ACCUMULO-3005-Initial-round-of-changes-for-a-proper-.patch
>
>
> The monitor works well for what it does, but it's very much so cobbled together. HTML
is hand generated. Static state is used liberally which makes testing near impossible. View
and controller logic are tightly intertwined which also adds to the testability problem.
> I've been working on porting the functionality from the existing monitor to a proper
rest service using [dropwizard|https://dropwizard.github.io/dropwizard/]. It's not completely
functional yet, but it has a number of improvements of the existing monitor code.
> I thought I would post what I have already and let people give some feedback if they're
interested. Help is always welcome. https://github.com/joshelser/accumulo/tree/dropwizard.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message