tempest/services/orchestration/json/orchestration_client.py
def list_resource_events(self, stack_identifier, resource_name):
        """Returns list of all events for a resource from stack."""
        url = ('stacks/{stack_identifier}/resources/{resource_name}'
               '/events'.format(**locals()))
        resp, body = self.get(url)
        if resp['status'] == '200':
            body = json.loads(body)
            return resp, body['events']
        else:
            return resp, body
Returns list of all events for a resource from stack.
Returns list of all events for a resource from stack.
Returns list of all events for a resource from stack .
def list_resource_events(self, stack_identifier, resource_name):
        url = ('stacks/{stack_identifier}/resources/{resource_name}'
               '/events'.format(**locals()))
        resp, body = self.get(url)
        if resp['status'] == '200':
            body = json.loads(body)
            return resp, body['events']
        else:
            return resp, body
def list_resource_events ( self , stack_identifier , resource_name ) : url = ( 'stacks/{stack_identifier}/resources/{resource_name}' '/events' . format ( ** locals ( ) ) ) resp , body = self . get ( url ) if resp [ 'status' ] == '200' : body = json . loads ( body ) return resp , body [ 'events' ] else : return resp , body
Returns list of all events for a resource from stack.
Returns list of all events for a resource from stack .
"""Returns list of all events for a resource from stack."""
self
stack_identifier
resource_name