You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brooklyn.apache.org by "Sam Corbett (JIRA)" <ji...@apache.org> on 2014/10/01 11:50:33 UTC

[jira] [Created] (BROOKLYN-73) Download entity logs to local machine

Sam Corbett created BROOKLYN-73:
-----------------------------------

             Summary: Download entity logs to local machine
                 Key: BROOKLYN-73
                 URL: https://issues.apache.org/jira/browse/BROOKLYN-73
             Project: Brooklyn
          Issue Type: Improvement
            Reporter: Sam Corbett


Imagined with Andrew Kennedy:
* An entity has a {{Sensor<File>}} that represents a file on its machine (e.g. useful logs).
* A new API is added to {{SensorApi}} that when invoked downloads the file from remote machine to Brooklyn machine, then responds with the file as {{text/plain}}.
* Such sensors are presented with an appropriate RendererHint/action in the jsgui. When clicked the browser prompts the user to download the file.

{{ConfigKeys}} that correspond to files templated and are copied to the server (e.g. {{MONGODB_CONF_TEMPLATE_URL}}) could be automatically promoted to downloadable files. This would be especially useful to determine exactly _what_ a template was transformed into.

As further goals we could:
* Give an indication of the size of the file to the user before they download it. They probably don't want to download anything over a few hundred megabytes.
* Make the request/response asynchronous. The user requests a file download and - if it is going to take more than three seconds to obtain - is notified when it is available.



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