Package org.apache.airavata.registry.cpi

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


            ExperimentResource resource = gatewayResource.getExperiment(expId);
            StatusResource experimentStatus = resource.getExperimentStatus();
            return ThriftDataModelConversion.getExperimentStatus(experimentStatus);
        } catch (Exception e) {
            logger.error("Error while getting experiment status...", e);
            throw new RegistryException(e);
        }
    }
View Full Code Here


            if (computationScheduling != null) {
                return ThriftDataModelConversion.getComputationalResourceScheduling(computationScheduling);
            }
        } catch (Exception e) {
            logger.error("Error while getting scheduling data..", e);
            throw new RegistryException(e);
        }
        return null;
    }
View Full Code Here

            if (dataHandlingResource != null) {
                return ThriftDataModelConversion.getAdvanceInputDataHandling(dataHandlingResource);
            }
        } catch (Exception e) {
            logger.error("Error while getting input data handling..", e);
            throw new RegistryException(e);
        }
        return null;
    }
View Full Code Here

            if (dataHandlingResource != null) {
                return ThriftDataModelConversion.getAdvanceOutputDataHandling(dataHandlingResource);
            }
        } catch (Exception e) {
            logger.error("Error while getting output data handling...", e);
            throw new RegistryException(e);
        }
        return null;
    }
View Full Code Here

            if (qosParamResource != null) {
                return ThriftDataModelConversion.getQOSParams(qosParamResource);
            }
        } catch (Exception e) {
            logger.error("Error while getting qos params..", e);
            throw new RegistryException(e);
        }
        return null;
    }
View Full Code Here

        try {
            ExperimentResource resource = (ExperimentResource) gatewayResource.create(ResourceType.EXPERIMENT);
            return resource.getWorkflowNode(nodeId);
        } catch (Exception e) {
            logger.error("Error while getting workflow node details...", e);
            throw new RegistryException(e);
        }
    }
View Full Code Here

            ExperimentResource resource = (ExperimentResource) gatewayResource.create(ResourceType.EXPERIMENT);
            WorkflowNodeDetailResource workflowNode = resource.getWorkflowNode(nodeId);
            return ThriftDataModelConversion.getWorkflowNodeDetails(workflowNode);
        } catch (Exception e) {
            logger.error("Error while getting workflow node details...", e);
            throw new RegistryException(e);
        }
    }
View Full Code Here

            WorkflowNodeDetailResource workflowNode = resource.getWorkflowNode(nodeId);
            StatusResource workflowNodeStatus = workflowNode.getWorkflowNodeStatus();
            return ThriftDataModelConversion.getWorkflowNodeStatus(workflowNodeStatus);
        } catch (Exception e) {
            logger.error("Error while getting workflow node status..", e);
            throw new RegistryException(e);
        }
    }
View Full Code Here

            WorkflowNodeDetailResource workflowNode = resource.getWorkflowNode(nodeId);
            List<NodeOutputResource> nodeOutputs = workflowNode.getNodeOutputs();
            return ThriftDataModelConversion.getNodeOutputs(nodeOutputs);
        } catch (Exception e) {
            logger.error("Error while getting node outputs..", e);
            throw new RegistryException(e);
        }
    }
View Full Code Here

        try {
            TaskDetailResource taskDetail = getTaskDetailResource(taskId);
            return ThriftDataModelConversion.getTaskDetail(taskDetail);
        } catch (Exception e) {
            logger.error("Error while getting task details..", 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.