'List all endpoints currently associated with a given project.'

@controller.protected()
def list_endpoints_for_project(self, request, project_id):

    self.resource_api.get_project(project_id)
    filtered_endpoints = self.catalog_api.list_endpoints_for_project(project_id)
    return EndpointV3.wrap_collection(request.context_dict, [v for v in filtered_endpoints.values()])
