gearpump-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manu Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (GEARPUMP-94) pretty print configs on dashboard
Date Fri, 22 Apr 2016 03:34:12 GMT

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

Manu Zhang edited comment on GEARPUMP-94 at 4/22/16 3:33 AM:
-------------------------------------------------------------

Comments from [https://github.com/gearpump/gearpump/issues/1678]:

[~stanleyxu2005]
{quote}
Akka's configuration is HConf format. Currently there is no frontend tool to highlight such
format. If backend can convert it into a nested structure as you described, we can update
the configuration viewer as you expected.
{quote}

[~mauzhang]
{quote}
Please refer to the "Iteration" section of Config API
Config.root.unwrapped

    Recursively unwraps the object, returning a map from String to whatever plain Java values
are unwrapped from the object's values.

At least, we are able to display a two-column key-value table.
{quote}

[~clockfly]
{quote}
I disagree with these two columns key-value style display. I think tree-like display style
looks better.
{quote}



was (Author: mauzhang):
[~stanleyxu2005]
{quote}
Akka's configuration is HConf format. Currently there is no frontend tool to highlight such
format. If backend can convert it into a nested structure as you described, we can update
the configuration viewer as you expected.
{quote}

[~mauzhang]
{quote}
Please refer to the "Iteration" section of Config API
Config.root.unwrapped

    Recursively unwraps the object, returning a map from String to whatever plain Java values
are unwrapped from the object's values.

At least, we are able to display a two-column key-value table.
{quote}

[~clockfly]
{quote}
I disagree with these two columns key-value style display. I think tree-like display style
looks better.
{quote}


> pretty print configs on dashboard
> ---------------------------------
>
>                 Key: GEARPUMP-94
>                 URL: https://issues.apache.org/jira/browse/GEARPUMP-94
>             Project: Apache Gearpump
>          Issue Type: New Feature
>          Components: Dashboard
>            Reporter: Manu Zhang
>            Priority: Minor
>
> Config files are shown in raw format on dashboard. It will more user friendly if we display
configs with pretty print. 
> It will be even better if users could search/filter through configs



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

Mime
View raw message