accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Tubbs (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-3005) Convert the monitor into a real REST server
Date Tue, 02 Dec 2014 23:11:12 GMT

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

Christopher Tubbs commented on ACCUMULO-3005:
---------------------------------------------

One of the biggest problems with portability is that the Login mechanisms tend to be container-specific.
This is going to cause an issue if we want to do, say, client-auth with TLS certificates and
protect the shell-in-the-monitor resource with confidential transport guarantees, as we do
today. We can still probably write this more sensibly with JAX-RS annotations, but the wiring
is a bit more complicated if we support portability between containers.

That said, I'm a big fan of separating the library portion of the web service (the POJOs,
servlets, resources, whatever) from the container, so it can be made portable. I just don't
know that we need multiple modules for the monitor right now to support that separation.

> 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.7.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