[
https://issues.apache.org/jira/browse/HTRACE-53?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14268088#comment-14268088
]
Colin Patrick McCabe edited comment on HTRACE-53 at 1/7/15 7:39 PM:
--------------------------------------------------------------------
This patch:
* allows mini_htraced.go to run a REST server
* moves the guts of the {{bin/htrace}} program into client.go. This will make
it easier to write unit tests that query a running server.
* LoadApplicationConfig: allow extra configuration keys to be specified by a
program when creating a configuration from the config file / command line
was (Author: cmccabe):
This patch:
* creates mini_htraced.go, which runs an htraced server in a test context
* moves the guts of the {{bin/htrace}} program into client.go. This will make
it easier to write unit tests that query a running server.
* LoadApplicationConfig: allow extra configuration keys to be specified by a
program when creating a configuration from the config file / command line
> add unit tests for bin/htrace command, htraced REST API
> -------------------------------------------------------
>
> Key: HTRACE-53
> URL: https://issues.apache.org/jira/browse/HTRACE-53
> Project: HTrace
> Issue Type: Improvement
> Affects Versions: 3.2.0
> Reporter: Colin Patrick McCabe
> Assignee: Colin Patrick McCabe
> Attachments: HTRACE-53.001.patch
>
>
> Add unit tests for the {{bin/htrace}} command and htraced REST API.
> Basically a {{MiniHTraceDCluster}} object that we can launch and then run
> REST queries against.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)