You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Dave Watson (Updated) (JIRA)" <ji...@apache.org> on 2011/10/06 17:14:30 UTC
[jira] [Updated] (THRIFT-1376) ake port specification option in
thrift-generated
[ https://issues.apache.org/jira/browse/THRIFT-1376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dave Watson updated THRIFT-1376:
--------------------------------
Attachment: 0004-make-port-specification-option-in-thrift-generated-p.patch
> ake port specification option in thrift-generated
> --------------------------------------------------
>
> Key: THRIFT-1376
> URL: https://issues.apache.org/jira/browse/THRIFT-1376
> Project: Thrift
> Issue Type: Improvement
> Components: C++ - Library
> Reporter: Dave Watson
> Priority: Minor
> Attachments: 0004-make-port-specification-option-in-thrift-generated-p.patch
>
>
> From d78c3abb5b6d8bf01a43cee53fcda4598874ab9c Mon Sep 17 00:00:00 2001
> From: Doug Ihde <di...@fb.com>
> Date: Fri, 19 Mar 2010 01:30:57 +0000
> Subject: [PATCH 4/9] make port specification option in thrift-generated
> python service client
> Summary:
> The thrift-generated Python service client allows overriding the default host/port by doing "-h host:port" on the command line. Oftentimes, you want to override the host but not the port, as most services run on well-defined ports.
> Test Plan:
> Run thrift generation code and test out the new client by doing "BlahService-remote -h somehost getStatus"
> Revert Plan:
> OK
> ---
> compiler/cpp/src/generate/t_py_generator.cc | 5 +++--
> 1 files changed, 3 insertions(+), 2 deletions(-)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira