'Gets detailed information for a stack.'

@util.identified_stack
def show(self, req, identity):

    params = req.params
    p_name = rpc_api.RESOLVE_OUTPUTS
    if (rpc_api.RESOLVE_OUTPUTS in params):
        resolve_outputs = self._extract_bool_param(p_name, params[p_name])
    else:
        resolve_outputs = True
    stack_list = self.rpc_client.show_stack(req.context, identity, resolve_outputs)
    if (not stack_list):
        raise exc.HTTPInternalServerError()
    stack = stack_list[0]
    return {'stack': stacks_view.format_stack(req, stack)}
