'Establish an association between an endpoint and a project.'

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

    self.catalog_api.get_endpoint(endpoint_id)
    self.resource_api.get_project(project_id)
    self.catalog_api.add_endpoint_to_project(endpoint_id, project_id)
