/** * Gets the list of current executions for a delivery * * @throws \common_Exception * @throws \oat\oatbox\service\ServiceNotFoundException */ public function allDeliveriesExecutions() { try { $testCenter = $this->getCurrentTestCenter(); $requestOptions = $this->getRequestOptions(['sortby' => 'date', 'sortorder' => 'desc']); $this->returnJson(DeliveryHelper::getAllCurrentDeliveriesExecutions($testCenter, $requestOptions)); } catch (ServiceNotFoundException $e) { \common_Logger::w('No delivery service defined for proctoring'); $this->returnError('Proctoring interface not available'); } }