tempest/services/orchestration/json/orchestration_client.py
def show_resource_metadata(self, stack_name, stack_identifier, resource_name, region):
        """Returns the resource's metadata."""
        url = ('stacks/{stack_name}/{stack_identifier}/resources/{resource_name}'
               '/metadata'.format(**locals()))
        resp, body = self.get(url, region)
        if resp['status'] == '200':
            body = json.loads(body)
            return resp, body['metadata']
        else:
            return resp, body
Returns the resource's metadata.
Returns the resource's metadata.
Returns the resource ' s metadata .
def show_resource_metadata(self, stack_name, stack_identifier, resource_name, region):
        url = ('stacks/{stack_name}/{stack_identifier}/resources/{resource_name}'
               '/metadata'.format(**locals()))
        resp, body = self.get(url, region)
        if resp['status'] == '200':
            body = json.loads(body)
            return resp, body['metadata']
        else:
            return resp, body
def show_resource_metadata ( self , stack_name , stack_identifier , resource_name , region ) : url = ( 'stacks/{stack_name}/{stack_identifier}/resources/{resource_name}' '/metadata' . format ( ** locals ( ) ) ) resp , body = self . get ( url , region ) if resp [ 'status' ] == '200' : body = json . loads ( body ) return resp , body [ 'metadata' ] else : return resp , body
Returns the resource's metadata.
Returns the resource ' s metadata .
"""Returns the resource's metadata."""
self
stack_name
stack_identifier
resource_name
region