Package org.apache.airavata.registry.cpi

Examples of org.apache.airavata.registry.cpi.RegistryException


            ExperimentResource resource = (ExperimentResource) gatewayResource.create(ResourceType.EXPERIMENT);
            WorkflowNodeDetailResource workflowNode = (WorkflowNodeDetailResource) resource.create(ResourceType.WORKFLOW_NODE_DETAIL);
            return workflowNode.getTaskDetail(taskId);
        } catch (Exception e) {
            logger.error("Error while getting task details..", e);
            throw new RegistryException(e);
        }
    }
View Full Code Here


            TaskDetailResource taskDetail = workflowNode.getTaskDetail(taskId);
            List<ApplicationOutputResource> applicationOutputs = taskDetail.getApplicationOutputs();
            return ThriftDataModelConversion.getApplicationOutputs(applicationOutputs);
        } catch (Exception e) {
            logger.error("Error while getting application outputs..", e);
            throw new RegistryException(e);
        }
    }
View Full Code Here

            TaskDetailResource taskDetail = workflowNode.getTaskDetail(taskId);
            StatusResource taskStatus = taskDetail.getTaskStatus();
            return ThriftDataModelConversion.getTaskStatus(taskStatus);
        } catch (Exception e) {
            logger.error("Error while getting experiment outputs..", e);
            throw new RegistryException(e);
        }
    }
View Full Code Here

            TaskDetailResource taskDetail = workflowNode.getTaskDetail((String) ids.getTopLevelIdentifier());
            JobDetailResource jobDetail = taskDetail.getJobDetail((String) ids.getSecondLevelIdentifier());
            return ThriftDataModelConversion.getJobDetail(jobDetail);
        } catch (Exception e) {
            logger.error("Error while getting job details..", e);
            throw new RegistryException(e);
        }
    }
View Full Code Here

            JobDetailResource jobDetail = taskDetail.getJobDetail((String) ids.getSecondLevelIdentifier());
            StatusResource jobStatus = jobDetail.getJobStatus();
            return ThriftDataModelConversion.getJobStatus(jobStatus);
        } catch (Exception e) {
            logger.error("Error while getting job status..", e);
            throw new RegistryException(e);
        }
    }
View Full Code Here

            JobDetailResource jobDetail = taskDetail.getJobDetail((String) ids.getSecondLevelIdentifier());
            StatusResource applicationStatus = jobDetail.getApplicationStatus();
            return ThriftDataModelConversion.getApplicationStatus(applicationStatus);
        } catch (Exception e) {
            logger.error("Error while getting application status..", e);
            throw new RegistryException(e);
        }
    }
View Full Code Here

            TaskDetailResource taskDetail = (TaskDetailResource) workflowNode.create(ResourceType.TASK_DETAIL);
            DataTransferDetailResource dataTransferDetail = taskDetail.getDataTransferDetail(transferId);
            return ThriftDataModelConversion.getDataTransferDetail(dataTransferDetail);
        } catch (Exception e) {
            logger.error("Error while getting data transfer details..", e);
            throw new RegistryException(e);
        }
    }
View Full Code Here

            DataTransferDetailResource dataTransferDetail = taskDetail.getDataTransferDetail(transferId);
            StatusResource dataTransferStatus = dataTransferDetail.getDataTransferStatus();
            return ThriftDataModelConversion.getTransferStatus(dataTransferStatus);
        } catch (Exception e) {
            logger.error("Error while getting data transfer status..", e);
            throw new RegistryException(e);
        }
    }
View Full Code Here

                    expIDs.add(resource.getExpID());
                }
            }
        } catch (Exception e) {
            logger.error("Error while retrieving experiment ids..", e);
            throw new RegistryException(e);
        }
        return expIDs;
    }
View Full Code Here

    public void removeExperiment(String experimentId) throws RegistryException {
        try {
            gatewayResource.remove(ResourceType.EXPERIMENT, experimentId);
        } catch (Exception e) {
            logger.error("Error while removing experiment..", e);
            throw new RegistryException(e);
        }
    }
View Full Code Here

TOP

Related Classes of org.apache.airavata.registry.cpi.RegistryException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.