You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2011/06/07 22:31:59 UTC

[jira] [Commented] (THRIFT-1198) C++ TestClient and Server Improvements (add Unix Domain Socket, HTTP, JSON)

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

Hudson commented on THRIFT-1198:
--------------------------------

Integrated in Thrift #159 (See [https://builds.apache.org/job/Thrift/159/])
    THRIFT-1198 C++ TestClient and Server Improvements (add Unix Domain Socket, HTTP, JSON)

roger : http://svn.apache.org/viewvc/?view=rev&rev=1133116
Files : 
* /thrift/trunk/test/cpp/src/TestClient.cpp
* /thrift/trunk/test/cpp/src/TestServer.cpp
* /thrift/trunk/test/cpp/Thrift-test.mk


> C++ TestClient and Server Improvements (add Unix Domain Socket, HTTP, JSON)
> ---------------------------------------------------------------------------
>
>                 Key: THRIFT-1198
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1198
>             Project: Thrift
>          Issue Type: Improvement
>          Components: C++ - Library, Test Suite
>            Reporter: Roger Meier
>            Assignee: Roger Meier
>         Attachments: THRIFT-1198_CPP_Testsuite_with_domainsocket_http_json.patch
>
>
> I added support for Domain Socket, HTTP, JSON and introduced boost program options on the C++ TestServer and TestClient.
> {code}
> ./TestClient -h
> Allowed options:
>   -h [ --help ]               produce help message
>   --host arg (=localhost)     Host to connect
>   --port arg (=9090)          Port number to connect
>   --domain-socket arg         Domain Socket (e.g. /tmp/ThriftTest.thrift),
>                               instead of host and port
>   --transport arg (=buffered) Transport: buffered, framed, http
>   --protocol arg (=binary)    Protocol: binary, json
>   --ssl                       Encrypted Transport using SSL
>   -n [ --testloops ] arg (=1) Number of Tests
> ./TestServer -h
> Allowed options:
>   -h [ --help ]               produce help message
>   --port arg (=9090)          Port number to listen
>   --domain-socket arg         Unix Domain Socket (e.g. /tmp/ThriftTest.thrift)
>   --server-type arg (=simple) type of server, "simple", "thread-pool",
>                               "threaded", or "nonblocking"
>   --transport arg (=buffered) transport: buffered, framed, http
>   --protocol arg (=binary)    protocol: binary, json
>   --ssl                       Encrypted Transport using SSL
>   --processor-events          processor-events
>   -n [ --workers ] arg (=4)   Number of thread pools workers. Only valid for
>                               thread-pool server type
> {code}
> next job is to move test/cpp and test/threads to lib/cpp/test and integrate them with boost unit test suite

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira