Bug 801712 - wrapper cli 'rhc app' should support command 'expose-port' as well
Summary: wrapper cli 'rhc app' should support command 'expose-port' as well
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: oc
Version: 1.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Rob Millner
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-09 08:59 UTC by Meng Bo
Modified: 2013-11-18 00:38 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-19 18:23:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Meng Bo 2012-03-09 08:59:49 UTC
Description of problem:
command 'expose-port' is supported by cli 'rhc-ctl-app', but isn't supported by wrapper cli 'rhc app'.

Version-Release number of selected component (if applicable):
rhc-0.88.2-1.el6_2.noarch

How reproducible:
always

Steps to Reproduce:
1.rhc app expose-port -a testapp
2.
3.
  
Actual results:
returns 'missing or invalid command', expose-port is not supported by wrapper cli.

Expected results:
wrapper cli should support expose-port command as well.

Additional info:
expose command is supported by old cli 'rhc-ctl-app'.

Comment 1 Rob Millner 2012-03-12 18:17:54 UTC
The return values from expose and show-port are not being parsed by the API and setup behind the scenes as part of scaling.  These commands were exposed for testing and aren't needed any more.

commit c4b65c9 in li
commit 6742a5b in os_client_utils

Comment 2 Meng Bo 2012-03-13 05:17:47 UTC
checked on devenv_1659,
the expose-port command has been removed from client side.
mark bug as verified.


Note You need to log in before you can comment on or make changes to this bug.