def get_resource_full_name(res):
    """Get the full name of a resource recursively"""
    full_name = ''
    while(res):
        full_name = res.type + '/' + res.type + '/' + full_name
        res = res.parent
    return full_name