You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@aurora.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2014/02/07 21:20:19 UTC
[jira] [Commented] (AURORA-76) Implement bridging for clientv2
command line framework.
[ https://issues.apache.org/jira/browse/AURORA-76?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13894978#comment-13894978 ]
Hudson commented on AURORA-76:
------------------------------
SUCCESS: Integrated in Aurora #105 (See [https://builds.apache.org/job/Aurora/105/])
Bridge framework for client v2. (See AURORA-76) (mchucarroll: rev e6f415085d6fb066687e91fb3025c18f27df0ae4)
* src/main/python/apache/aurora/client/bin/BUILD
* src/main/python/apache/aurora/client/cli/__init__.py
* src/test/python/apache/aurora/client/cli/test_status.py
* src/test/python/apache/aurora/client/cli/BUILD
* src/test/python/apache/aurora/client/cli/test_update.py
* src/test/python/apache/aurora/client/cli/test_bridge.py
* src/main/python/apache/aurora/client/cli/bridge.py
* src/main/python/apache/aurora/client/cli/client.py
* src/test/python/apache/aurora/client/cli/test_kill.py
* src/test/python/apache/aurora/client/cli/test_diff.py
* src/test/python/apache/aurora/client/cli/test_quota.py
* src/test/python/apache/aurora/client/cli/test_restart.py
* src/main/python/apache/aurora/client/cli/BUILD
* src/test/python/apache/aurora/client/cli/test_cancel_update.py
* src/test/python/apache/aurora/client/cli/test_create.py
> Implement bridging for clientv2 command line framework.
> -------------------------------------------------------
>
> Key: AURORA-76
> URL: https://issues.apache.org/jira/browse/AURORA-76
> Project: Aurora
> Issue Type: Task
> Components: Client
> Reporter: Mark Chu-Carroll
> Assignee: Mark Chu-Carroll
> Original Estimate: 72h
> Remaining Estimate: 72h
>
> To eventually start supporting deployment of clientv2, and to help users gradually migrate to v2, we need to have a mechanism in the command-line processing to take commands that aren't recognized by the v2 client, and pass them to the v1 client for processing.
> So running "aurora list_jobs example" will run the client v1 "list_jobs" command; running "aurora status a/b/c/d" will run the v1 "status" command, and running "aurora job status a/b/c/d" will run the v2 status command.
> The current noun/verb framework that we've built for processing commands in clientv2 is monolithic, in the sense that it believes it's the only thing that needs to be able to process command-line arguments.
> This issue should add tooling to the framework so that you can create multiple distinct command-processing components, and have the framework dispatch a command to the appropriate one.
> In addition to the general clientv2/v1 bridging issues, this should also make it easier to build multiple versions of the aurora client for different environments - just add new noun/verb groupings to a new command line processor, and then patch it in via this bridge.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)