'Get a list of stack outputs.
:param cntx: RPC context.
:param stack_identity: Name of the stack you want to see.
:return: list of stack outputs in defined format.'

@context.request_context
def list_outputs(self, cntx, stack_identity):

    s = self._get_stack(cntx, stack_identity)
    stack = parser.Stack.load(cntx, stack=s)
    stack._update_all_resource_data(for_resources=False, for_outputs=True)
    return api.format_stack_outputs(stack.outputs)
