tempest/services/orchestration/json/orchestration_client.py
def show_event(self, stack_name, stack_identifier, resource_name, event_id, region):
        """Returns the details of a single stack's event."""
        url = ('stacks/{stack_name}/{stack_identifier}/resources/{resource_name}/events'
                '/{event_id}'.format(**locals()))
        #url = ('stacks/{stack_name}/{stack_identifier}/resources/{resource_name}/events'.format(**locals()))
        #print "url for show event %s" % url
        resp, body = self.get(url, region)
        if resp['status'] == '200':
            body = json.loads(body)
            return resp, body['event']
        else:
            return resp, body
Returns the details of a single stack's event.
Returns the details of a single stack's event.
Returns the details of a single stack ' s event .
def show_event(self, stack_name, stack_identifier, resource_name, event_id, region):
        url = ('stacks/{stack_name}/{stack_identifier}/resources/{resource_name}/events'
                '/{event_id}'.format(**locals()))
        resp, body = self.get(url, region)
        if resp['status'] == '200':
            body = json.loads(body)
            return resp, body['event']
        else:
            return resp, body
def show_event ( self , stack_name , stack_identifier , resource_name , event_id , region ) : url = ( 'stacks/{stack_name}/{stack_identifier}/resources/{resource_name}/events' '/{event_id}' . format ( ** locals ( ) ) ) resp , body = self . get ( url , region ) if resp [ 'status' ] == '200' : body = json . loads ( body ) return resp , body [ 'event' ] else : return resp , body
Returns the details of a single stack's event.
Returns the details of a single stack ' s event .
"""Returns the details of a single stack's event.""" #url = ('stacks/{stack_name}/{stack_identifier}/resources/{resource_name}/events'.format(**locals())) #print "url for show event %s" % url
self
stack_name
stack_identifier
resource_name
event_id
region