You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Greg Hill (JIRA)" <ji...@apache.org> on 2014/08/22 17:48:11 UTC

[jira] [Created] (AMBARI-6992) Python client needs the ability to poll requests until they complete

Greg Hill created AMBARI-6992:
---------------------------------

             Summary: Python client needs the ability to poll requests until they complete
                 Key: AMBARI-6992
                 URL: https://issues.apache.org/jira/browse/AMBARI-6992
             Project: Ambari
          Issue Type: Improvement
          Components: client
    Affects Versions: 1.6.1
            Reporter: Greg Hill
            Assignee: Greg Hill
             Fix For: 1.7.0


We need to add the ability to poll for request completion to the python client.  I suggest we add a 'wait_for' method that takes a request object.

For example:

wait_for(client.create_host_from_blueprint(*args))
wait_for(host.start_all_components())





--
This message was sent by Atlassian JIRA
(v6.2#6252)