org.apache.airavata.persistance.registry.jpa.impl
Class AiravataJPARegistry
java.lang.Object
java.util.Observable
org.apache.airavata.registry.api.AiravataRegistry2
org.apache.airavata.persistance.registry.jpa.impl.AiravataJPARegistry
- All Implemented Interfaces:
- AiravataSubRegistry, ConfigurationRegistry, CredentialRegistry, DescriptorRegistry, ProjectsRegistry, ProvenanceRegistry, PublishedWorkflowRegistry, UserRegistry, UserWorkflowRegistry
public class AiravataJPARegistry
- extends AiravataRegistry2
|
Method Summary |
void |
addApplicationDescriptor(ServiceDescription serviceDescription,
HostDescription hostDescriptor,
ApplicationDescription descriptor)
|
void |
addApplicationDescriptor(String serviceName,
String hostName,
ApplicationDescription descriptor)
|
void |
addApplicationJob(ApplicationJob job)
|
int |
addApplicationJobExecutionError(ApplicationJobExecutionError error)
|
void |
addConfiguration(String key,
String value,
Date expire)
|
void |
addExperiment(String projectName,
AiravataExperiment experiment)
|
int |
addExperimentError(ExperimentExecutionError error)
|
void |
addGFacURI(URI uri)
|
void |
addGFacURI(URI uri,
Date expire)
|
void |
addHostDescriptor(HostDescription descriptor)
|
int |
addNodeExecutionError(NodeExecutionError error)
|
void |
addServiceDescriptor(ServiceDescription descriptor)
|
void |
addWorkflow(String workflowName,
String workflowGraphXml)
|
int |
addWorkflowExecutionError(WorkflowExecutionError error)
|
void |
addWorkflowInstance(String experimentId,
String workflowInstanceId,
String templateName)
|
void |
addWorkflowInstanceNode(String workflowInstanceId,
String nodeId)
|
void |
addWorkflowInterpreterURI(URI uri)
|
void |
addWorkflowInterpreterURI(URI uri,
Date expire)
|
void |
addWorkspaceProject(WorkspaceProject project)
|
String |
createCredential(String gatewayId,
String tokenId)
|
String |
createCredential(String gatewayId,
String tokenId,
String username)
|
void |
deleteWorkspaceProject(String projectName)
|
AiravataUser |
getAiravataUser()
|
List<ExperimentData> |
getAllExperimentMetaInformation(String user)
|
ApplicationDescription |
getApplicationDescriptor(String serviceName,
String hostname,
String applicationName)
|
ResourceMetadata |
getApplicationDescriptorMetadata(String serviceName,
String hostName,
String applicationName)
|
Map<String[],ApplicationDescription> |
getApplicationDescriptors()
|
Map<String,ApplicationDescription> |
getApplicationDescriptors(String serviceName)
|
ApplicationDescription |
getApplicationDescriptors(String serviceName,
String hostname)
|
ApplicationJob |
getApplicationJob(String gfacJobId)
|
List<ApplicationJobExecutionError> |
getApplicationJobErrors(String gfacJobId)
|
List<ApplicationJobExecutionError> |
getApplicationJobErrors(String experimentId,
String workflowInstanceId,
String nodeId,
String gfacJobId)
|
List<ApplicationJob> |
getApplicationJobs(String experimentId,
String workflowExecutionId,
String nodeId)
|
List<ApplicationJob> |
getApplicationJobsForDescriptors(String serviceDescriptionId,
String hostDescriptionId,
String applicationDescriptionId)
|
List<ApplicationJobStatusData> |
getApplicationJobStatusHistory(String jobId)
|
PasswordCallback |
getCallback()
|
Object |
getConfiguration(String key)
---------------------------------Configuration Registry---------------------------------- |
List<Object> |
getConfigurationList(String key)
|
URI |
getConnectionURI()
|
String |
getCredentialPublicKey(String gatewayId,
String tokenId)
|
URI |
getEventingServiceURI()
|
List<ExecutionError> |
getExecutionErrors(String experimentId,
String workflowInstanceId,
String nodeId,
String gfacJobId,
ExecutionErrors.Source... filterBy)
|
ExperimentData |
getExperiment(String experimentId)
|
List<ExperimentData> |
getExperimentByUser(String user)
|
List<ExperimentData> |
getExperimentByUser(String user,
int pageSize,
int pageNo)
|
List<ExperimentExecutionError> |
getExperimentExecutionErrors(String experimentId)
|
String |
getExperimentExecutionUser(String experimentId)
|
List<String> |
getExperimentIdByUser(String user)
|
String |
getExperimentMetadata(String experimentId)
|
ExperimentData |
getExperimentMetaInformation(String experimentId)
|
String |
getExperimentName(String experimentId)
|
List<AiravataExperiment> |
getExperiments()
|
List<AiravataExperiment> |
getExperiments(Date from,
Date to)
|
List<ExperimentData> |
getExperiments(HashMap<String,String> params)
|
List<AiravataExperiment> |
getExperiments(String projectName)
|
List<AiravataExperiment> |
getExperiments(String projectName,
Date from,
Date to)
|
List<WorkflowExecution> |
getExperimentWorkflowInstances(String experimentId)
|
List<URI> |
getGFacURIs()
|
HostDescription |
getHostDescriptor(String hostName)
|
ResourceMetadata |
getHostDescriptorMetadata(String hostName)
|
List<HostDescription> |
getHostDescriptors()
|
URI |
getMessageBoxURI()
|
List<NodeExecutionError> |
getNodeExecutionErrors(String experimentId,
String workflowInstanceId,
String nodeId)
|
String |
getPublishedWorkflowGraphXML(String workflowName)
|
ResourceMetadata |
getPublishedWorkflowMetadata(String workflowName)
|
List<String> |
getPublishedWorkflowNames()
|
Map<String,String> |
getPublishedWorkflows()
|
ServiceDescription |
getServiceDescriptor(String serviceName)
|
ResourceMetadata |
getServiceDescriptorMetadata(String serviceName)
|
List<ServiceDescription> |
getServiceDescriptors()
|
List<AiravataUser> |
getUsers()
|
org.apache.airavata.common.utils.Version |
getVersion()
|
List<WorkflowExecutionError> |
getWorkflowExecutionErrors(String experimentId,
String workflowInstanceId)
|
List<WorkflowIOData> |
getWorkflowExecutionOutput(String experimentId)
Deprecated. |
WorkflowIOData |
getWorkflowExecutionOutput(String experimentId,
String outputNodeName)
Deprecated. |
String[] |
getWorkflowExecutionOutputNames(String exeperimentId)
Deprecated. |
String |
getWorkflowExecutionTemplateName(String workflowInstanceId)
|
String |
getWorkflowGraphXML(String workflowName)
|
WorkflowExecutionData |
getWorkflowInstanceData(String workflowInstanceId)
|
NodeExecutionData |
getWorkflowInstanceNodeData(String workflowInstanceId,
String nodeId)
|
List<WorkflowNodeIOData> |
getWorkflowInstanceNodeInput(String workflowInstanceId,
String nodeType)
|
List<WorkflowNodeIOData> |
getWorkflowInstanceNodeOutput(String workflowInstanceId,
String nodeType)
|
WorkflowExecutionStatus |
getWorkflowInstanceStatus(String instanceId)
|
List<URI> |
getWorkflowInterpreterURIs()
|
ResourceMetadata |
getWorkflowMetadata(String workflowName)
|
Date |
getWorkflowNodeStartTime(WorkflowInstanceNode workflowNode)
|
NodeExecutionStatus |
getWorkflowNodeStatus(WorkflowInstanceNode workflowNode)
|
Map<String,String> |
getWorkflows()
|
Date |
getWorkflowStartTime(WorkflowExecution workflowInstance)
|
WorkspaceProject |
getWorkspaceProject(String projectName)
|
List<WorkspaceProject> |
getWorkspaceProjects()
|
protected void |
initialize()
|
boolean |
isActive()
|
boolean |
isApplicationDescriptorExists(String serviceName,
String hostName,
String descriptorName)
|
boolean |
isApplicationJobExists(String gfacJobId)
|
boolean |
isCredentialExist(String gatewayId,
String tokenId)
|
boolean |
isExperimentExists(String experimentId)
|
boolean |
isExperimentExists(String experimentId,
boolean createIfNotPresent)
---------------------------------Provenance Registry---------------------------------- |
boolean |
isExperimentNameExist(String experimentName)
|
boolean |
isHostDescriptorExists(String descriptorName)
---------------------------------Descriptor Registry---------------------------------- |
boolean |
isPublishedWorkflowExists(String workflowName)
---------------------------------Published Workflow Registry---------------------------------- |
boolean |
isServiceDescriptorExists(String descriptorName)
|
boolean |
isWorkflowExists(String workflowName)
---------------------------------User Workflow Registry---------------------------------- |
boolean |
isWorkflowInstanceExists(String instanceId)
|
boolean |
isWorkflowInstanceExists(String instanceId,
boolean createIfNotPresent)
|
boolean |
isWorkflowInstanceNodePresent(String workflowInstanceId,
String nodeId)
|
boolean |
isWorkflowInstanceNodePresent(String workflowInstanceId,
String nodeId,
boolean createIfNotPresent)
|
boolean |
isWorkspaceProjectExists(String projectName)
|
boolean |
isWorkspaceProjectExists(String projectName,
boolean createIfNotExists)
|
void |
publishWorkflow(String workflowName)
|
void |
publishWorkflow(String workflowName,
String publishWorkflowName)
|
void |
removeAllConfiguration(String key)
|
void |
removeAllGFacURI()
|
void |
removeAllWorkflowInterpreterURI()
|
void |
removeApplicationDescriptor(String serviceName,
String hostName,
String applicationName)
|
void |
removeConfiguration(String key,
String value)
|
void |
removeExperiment(String experimentId)
|
void |
removeGFacURI(URI uri)
|
void |
removeHostDescriptor(String hostName)
|
void |
removePublishedWorkflow(String workflowName)
|
void |
removeServiceDescriptor(String serviceName)
|
void |
removeWorkflow(String workflowName)
|
void |
removeWorkflowInterpreterURI(URI uri)
|
void |
saveWorkflowExecutionOutput(String experimentId,
String outputNodeName,
String output)
Deprecated. |
void |
saveWorkflowExecutionOutput(String experimentId,
WorkflowIOData data)
Deprecated. |
List<ExperimentData> |
searchExperiments(String user,
String experimentNameRegex)
|
List<WorkflowNodeIOData> |
searchWorkflowInstanceNodeInput(String experimentIdRegEx,
String workflowNameRegEx,
String nodeNameRegEx)
|
List<WorkflowNodeIOData> |
searchWorkflowInstanceNodeOutput(String experimentIdRegEx,
String workflowNameRegEx,
String nodeNameRegEx)
|
void |
setAiravataRegistry(AiravataRegistry2 registry)
|
void |
setAiravataUser(AiravataUser user)
|
void |
setCallback(PasswordCallback callback)
|
void |
setConfiguration(String key,
String value,
Date expire)
|
void |
setConnectionURI(URI connectionURI)
|
void |
setEventingURI(URI uri)
|
void |
setEventingURI(URI uri,
Date expire)
|
void |
setMessageBoxURI(URI uri)
|
void |
setMessageBoxURI(URI uri,
Date expire)
|
void |
setWorkflowInstanceTemplateName(String workflowInstanceId,
String templateName)
|
void |
udpateApplicationDescriptor(ServiceDescription serviceDescription,
HostDescription hostDescriptor,
ApplicationDescription descriptor)
|
void |
unsetEventingURI()
|
void |
unsetMessageBoxURI()
|
void |
updateApplicationDescriptor(String serviceName,
String hostName,
ApplicationDescription descriptor)
|
void |
updateApplicationJob(ApplicationJob job)
|
void |
updateApplicationJobData(String gfacJobId,
String jobdata)
|
void |
updateApplicationJobMetadata(String gfacJobId,
String metadata)
|
void |
updateApplicationJobStatus(String gfacJobId,
ApplicationJob.ApplicationJobStatus status,
Date statusUpdateTime)
|
void |
updateApplicationJobStatusUpdateTime(String gfacJobId,
Date completed)
|
void |
updateApplicationJobSubmittedTime(String gfacJobId,
Date submitted)
|
void |
updateExperimentExecutionUser(String experimentId,
String user)
|
void |
updateExperimentMetadata(String experimentId,
String metadata)
|
void |
updateExperimentName(String experimentId,
String experimentName)
|
void |
updateHostDescriptor(HostDescription descriptor)
|
void |
updateServiceDescriptor(ServiceDescription descriptor)
|
void |
updateWorkflow(String workflowName,
String workflowGraphXml)
|
void |
updateWorkflowInstanceStatus(String instanceId,
WorkflowExecutionStatus.State status)
|
void |
updateWorkflowInstanceStatus(WorkflowExecutionStatus status)
|
void |
updateWorkflowNodeGramData(WorkflowNodeGramData workflowNodeGramData)
|
void |
updateWorkflowNodeInput(WorkflowInstanceNode node,
String data)
|
void |
updateWorkflowNodeOutput(WorkflowInstanceNode node,
String data)
|
void |
updateWorkflowNodeStatus(NodeExecutionStatus workflowStatusNode)
|
void |
updateWorkflowNodeStatus(String workflowInstanceId,
String nodeId,
WorkflowExecutionStatus.State status)
|
void |
updateWorkflowNodeStatus(WorkflowInstanceNode workflowNode,
WorkflowExecutionStatus.State status)
|
void |
updateWorkflowNodeType(WorkflowInstanceNode node,
WorkflowNodeType type)
|
void |
updateWorkspaceProject(WorkspaceProject project)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AiravataJPARegistry
public AiravataJPARegistry()
initialize
protected void initialize()
throws RegistryException
- Specified by:
initialize in class AiravataRegistry2
- Throws:
RegistryException
isActive
public boolean isActive()
getConfiguration
public Object getConfiguration(String key)
throws RegistryException
- ---------------------------------Configuration Registry----------------------------------
- Throws:
RegistryException
getConfigurationList
public List<Object> getConfigurationList(String key)
throws RegistryException
- Throws:
RegistryException
setConfiguration
public void setConfiguration(String key,
String value,
Date expire)
throws RegistryException
- Throws:
RegistryException
addConfiguration
public void addConfiguration(String key,
String value,
Date expire)
throws RegistryException
- Throws:
RegistryException
removeAllConfiguration
public void removeAllConfiguration(String key)
throws RegistryException
- Throws:
RegistryException
removeConfiguration
public void removeConfiguration(String key,
String value)
throws RegistryException
- Throws:
RegistryException
getGFacURIs
public List<URI> getGFacURIs()
throws RegistryException
- Throws:
RegistryException
getWorkflowInterpreterURIs
public List<URI> getWorkflowInterpreterURIs()
throws RegistryException
- Throws:
RegistryException
getEventingServiceURI
public URI getEventingServiceURI()
throws RegistryException
- Throws:
RegistryException
getMessageBoxURI
public URI getMessageBoxURI()
throws RegistryException
- Throws:
RegistryException
addGFacURI
public void addGFacURI(URI uri)
throws RegistryException
- Throws:
RegistryException
addWorkflowInterpreterURI
public void addWorkflowInterpreterURI(URI uri)
throws RegistryException
- Throws:
RegistryException
setEventingURI
public void setEventingURI(URI uri)
throws RegistryException
- Throws:
RegistryException
setMessageBoxURI
public void setMessageBoxURI(URI uri)
throws RegistryException
- Throws:
RegistryException
addGFacURI
public void addGFacURI(URI uri,
Date expire)
throws RegistryException
- Throws:
RegistryException
addWorkflowInterpreterURI
public void addWorkflowInterpreterURI(URI uri,
Date expire)
throws RegistryException
- Throws:
RegistryException
setEventingURI
public void setEventingURI(URI uri,
Date expire)
throws RegistryException
- Throws:
RegistryException
setMessageBoxURI
public void setMessageBoxURI(URI uri,
Date expire)
throws RegistryException
- Throws:
RegistryException
removeGFacURI
public void removeGFacURI(URI uri)
throws RegistryException
- Throws:
RegistryException
removeWorkflowInterpreterURI
public void removeWorkflowInterpreterURI(URI uri)
throws RegistryException
- Throws:
RegistryException
removeAllGFacURI
public void removeAllGFacURI()
throws RegistryException
- Throws:
RegistryException
removeAllWorkflowInterpreterURI
public void removeAllWorkflowInterpreterURI()
throws RegistryException
- Throws:
RegistryException
unsetEventingURI
public void unsetEventingURI()
throws RegistryException
- Throws:
RegistryException
unsetMessageBoxURI
public void unsetMessageBoxURI()
throws RegistryException
- Throws:
RegistryException
isHostDescriptorExists
public boolean isHostDescriptorExists(String descriptorName)
throws RegistryException
- ---------------------------------Descriptor Registry----------------------------------
- Throws:
RegistryException
addHostDescriptor
public void addHostDescriptor(HostDescription descriptor)
throws RegistryException
- Throws:
RegistryException
updateHostDescriptor
public void updateHostDescriptor(HostDescription descriptor)
throws RegistryException
- Throws:
RegistryException
getHostDescriptor
public HostDescription getHostDescriptor(String hostName)
throws RegistryException
- Throws:
RegistryException
removeHostDescriptor
public void removeHostDescriptor(String hostName)
throws RegistryException
- Throws:
RegistryException
getHostDescriptors
public List<HostDescription> getHostDescriptors()
throws MalformedDescriptorException,
RegistryException
- Throws:
MalformedDescriptorException
RegistryException
getHostDescriptorMetadata
public ResourceMetadata getHostDescriptorMetadata(String hostName)
throws RegistryException
- Throws:
RegistryException
isServiceDescriptorExists
public boolean isServiceDescriptorExists(String descriptorName)
throws RegistryException
- Throws:
RegistryException
addServiceDescriptor
public void addServiceDescriptor(ServiceDescription descriptor)
throws RegistryException
- Throws:
RegistryException
updateServiceDescriptor
public void updateServiceDescriptor(ServiceDescription descriptor)
throws RegistryException
- Throws:
RegistryException
getServiceDescriptor
public ServiceDescription getServiceDescriptor(String serviceName)
throws RegistryException,
MalformedDescriptorException
- Throws:
RegistryException
MalformedDescriptorException
removeServiceDescriptor
public void removeServiceDescriptor(String serviceName)
throws RegistryException
- Throws:
RegistryException
getServiceDescriptors
public List<ServiceDescription> getServiceDescriptors()
throws MalformedDescriptorException,
RegistryException
- Throws:
MalformedDescriptorException
RegistryException
getServiceDescriptorMetadata
public ResourceMetadata getServiceDescriptorMetadata(String serviceName)
throws RegistryException
- Throws:
RegistryException
isApplicationDescriptorExists
public boolean isApplicationDescriptorExists(String serviceName,
String hostName,
String descriptorName)
throws RegistryException
- Throws:
RegistryException
addApplicationDescriptor
public void addApplicationDescriptor(ServiceDescription serviceDescription,
HostDescription hostDescriptor,
ApplicationDescription descriptor)
throws RegistryException
- Throws:
RegistryException
addApplicationDescriptor
public void addApplicationDescriptor(String serviceName,
String hostName,
ApplicationDescription descriptor)
throws RegistryException
- Throws:
RegistryException
udpateApplicationDescriptor
public void udpateApplicationDescriptor(ServiceDescription serviceDescription,
HostDescription hostDescriptor,
ApplicationDescription descriptor)
throws RegistryException
- Throws:
RegistryException
updateApplicationDescriptor
public void updateApplicationDescriptor(String serviceName,
String hostName,
ApplicationDescription descriptor)
throws RegistryException
- Throws:
RegistryException
getApplicationDescriptor
public ApplicationDescription getApplicationDescriptor(String serviceName,
String hostname,
String applicationName)
throws DescriptorDoesNotExistsException,
MalformedDescriptorException,
RegistryException
- Throws:
DescriptorDoesNotExistsException
MalformedDescriptorException
RegistryException
getApplicationDescriptors
public ApplicationDescription getApplicationDescriptors(String serviceName,
String hostname)
throws RegistryException
- Throws:
RegistryException
getApplicationDescriptors
public Map<String,ApplicationDescription> getApplicationDescriptors(String serviceName)
throws RegistryException
- Throws:
RegistryException
getApplicationDescriptors
public Map<String[],ApplicationDescription> getApplicationDescriptors()
throws MalformedDescriptorException,
RegistryException
- Throws:
MalformedDescriptorException
RegistryException
removeApplicationDescriptor
public void removeApplicationDescriptor(String serviceName,
String hostName,
String applicationName)
throws RegistryException
- Throws:
RegistryException
getApplicationDescriptorMetadata
public ResourceMetadata getApplicationDescriptorMetadata(String serviceName,
String hostName,
String applicationName)
throws RegistryException
- Throws:
RegistryException
isWorkspaceProjectExists
public boolean isWorkspaceProjectExists(String projectName)
throws RegistryException
- Throws:
RegistryException
isWorkspaceProjectExists
public boolean isWorkspaceProjectExists(String projectName,
boolean createIfNotExists)
throws RegistryException
- Throws:
RegistryException
addWorkspaceProject
public void addWorkspaceProject(WorkspaceProject project)
throws RegistryException
- Throws:
RegistryException
updateWorkspaceProject
public void updateWorkspaceProject(WorkspaceProject project)
throws RegistryException
- Throws:
RegistryException
deleteWorkspaceProject
public void deleteWorkspaceProject(String projectName)
throws RegistryException
- Throws:
RegistryException
getWorkspaceProject
public WorkspaceProject getWorkspaceProject(String projectName)
throws RegistryException
- Throws:
RegistryException
getWorkspaceProjects
public List<WorkspaceProject> getWorkspaceProjects()
throws RegistryException
- Throws:
RegistryException
addExperiment
public void addExperiment(String projectName,
AiravataExperiment experiment)
throws RegistryException
- Throws:
RegistryException
removeExperiment
public void removeExperiment(String experimentId)
throws ExperimentDoesNotExistsException
- Throws:
ExperimentDoesNotExistsException
getExperiments
public List<AiravataExperiment> getExperiments()
throws RegistryException
- Throws:
RegistryException
getExperiments
public List<AiravataExperiment> getExperiments(String projectName)
throws RegistryException
- Throws:
RegistryException
getExperiments
public List<AiravataExperiment> getExperiments(Date from,
Date to)
throws RegistryException
- Throws:
RegistryException
getExperiments
public List<AiravataExperiment> getExperiments(String projectName,
Date from,
Date to)
throws RegistryException
- Throws:
RegistryException
isPublishedWorkflowExists
public boolean isPublishedWorkflowExists(String workflowName)
throws RegistryException
- ---------------------------------Published Workflow Registry----------------------------------
- Throws:
RegistryException
publishWorkflow
public void publishWorkflow(String workflowName,
String publishWorkflowName)
throws RegistryException
- Throws:
RegistryException
publishWorkflow
public void publishWorkflow(String workflowName)
throws RegistryException
- Throws:
RegistryException
getPublishedWorkflowGraphXML
public String getPublishedWorkflowGraphXML(String workflowName)
throws RegistryException
- Throws:
RegistryException
getPublishedWorkflowNames
public List<String> getPublishedWorkflowNames()
throws RegistryException
- Throws:
RegistryException
getPublishedWorkflows
public Map<String,String> getPublishedWorkflows()
throws RegistryException
- Throws:
RegistryException
removePublishedWorkflow
public void removePublishedWorkflow(String workflowName)
throws RegistryException
- Throws:
RegistryException
getPublishedWorkflowMetadata
public ResourceMetadata getPublishedWorkflowMetadata(String workflowName)
throws RegistryException
- Throws:
RegistryException
isWorkflowExists
public boolean isWorkflowExists(String workflowName)
throws RegistryException
- ---------------------------------User Workflow Registry----------------------------------
- Throws:
RegistryException
addWorkflow
public void addWorkflow(String workflowName,
String workflowGraphXml)
throws RegistryException
- Throws:
RegistryException
updateWorkflow
public void updateWorkflow(String workflowName,
String workflowGraphXml)
throws RegistryException
- Throws:
RegistryException
getWorkflowGraphXML
public String getWorkflowGraphXML(String workflowName)
throws RegistryException
- Throws:
RegistryException
getWorkflows
public Map<String,String> getWorkflows()
throws RegistryException
- Throws:
RegistryException
removeWorkflow
public void removeWorkflow(String workflowName)
throws RegistryException
- Throws:
RegistryException
getWorkflowMetadata
public ResourceMetadata getWorkflowMetadata(String workflowName)
throws RegistryException
- Throws:
RegistryException
setAiravataRegistry
public void setAiravataRegistry(AiravataRegistry2 registry)
setAiravataUser
public void setAiravataUser(AiravataUser user)
getAiravataUser
public AiravataUser getAiravataUser()
isExperimentExists
public boolean isExperimentExists(String experimentId,
boolean createIfNotPresent)
throws RegistryException
- ---------------------------------Provenance Registry----------------------------------
- Throws:
RegistryException
isExperimentExists
public boolean isExperimentExists(String experimentId)
throws RegistryException
- Throws:
RegistryException
updateExperimentExecutionUser
public void updateExperimentExecutionUser(String experimentId,
String user)
throws RegistryException
- Throws:
RegistryException
getExperimentExecutionUser
public String getExperimentExecutionUser(String experimentId)
throws RegistryException
- Throws:
RegistryException
isExperimentNameExist
public boolean isExperimentNameExist(String experimentName)
throws RegistryException
- Throws:
RegistryException
getExperimentName
public String getExperimentName(String experimentId)
throws RegistryException
- Throws:
RegistryException
updateExperimentName
public void updateExperimentName(String experimentId,
String experimentName)
throws RegistryException
- Throws:
RegistryException
getExperimentMetadata
public String getExperimentMetadata(String experimentId)
throws RegistryException
- Throws:
RegistryException
updateExperimentMetadata
public void updateExperimentMetadata(String experimentId,
String metadata)
throws RegistryException
- Throws:
RegistryException
getWorkflowExecutionTemplateName
public String getWorkflowExecutionTemplateName(String workflowInstanceId)
throws RegistryException
- Throws:
RegistryException
setWorkflowInstanceTemplateName
public void setWorkflowInstanceTemplateName(String workflowInstanceId,
String templateName)
throws RegistryException
- Throws:
RegistryException
getExperimentWorkflowInstances
public List<WorkflowExecution> getExperimentWorkflowInstances(String experimentId)
throws RegistryException
- Throws:
RegistryException
isWorkflowInstanceExists
public boolean isWorkflowInstanceExists(String instanceId,
boolean createIfNotPresent)
throws RegistryException
- Throws:
RegistryException
isWorkflowInstanceExists
public boolean isWorkflowInstanceExists(String instanceId)
throws RegistryException
- Throws:
RegistryException
updateWorkflowInstanceStatus
public void updateWorkflowInstanceStatus(String instanceId,
WorkflowExecutionStatus.State status)
throws RegistryException
- Throws:
RegistryException
updateWorkflowInstanceStatus
public void updateWorkflowInstanceStatus(WorkflowExecutionStatus status)
throws RegistryException
- Throws:
RegistryException
getWorkflowInstanceStatus
public WorkflowExecutionStatus getWorkflowInstanceStatus(String instanceId)
throws RegistryException
- Throws:
RegistryException
updateWorkflowNodeInput
public void updateWorkflowNodeInput(WorkflowInstanceNode node,
String data)
throws RegistryException
- Throws:
RegistryException
updateWorkflowNodeOutput
public void updateWorkflowNodeOutput(WorkflowInstanceNode node,
String data)
throws RegistryException
- Throws:
RegistryException
searchWorkflowInstanceNodeInput
public List<WorkflowNodeIOData> searchWorkflowInstanceNodeInput(String experimentIdRegEx,
String workflowNameRegEx,
String nodeNameRegEx)
throws RegistryException
- Throws:
RegistryException
searchWorkflowInstanceNodeOutput
public List<WorkflowNodeIOData> searchWorkflowInstanceNodeOutput(String experimentIdRegEx,
String workflowNameRegEx,
String nodeNameRegEx)
throws RegistryException
- Throws:
RegistryException
getWorkflowInstanceNodeInput
public List<WorkflowNodeIOData> getWorkflowInstanceNodeInput(String workflowInstanceId,
String nodeType)
throws RegistryException
- Throws:
RegistryException
getWorkflowInstanceNodeOutput
public List<WorkflowNodeIOData> getWorkflowInstanceNodeOutput(String workflowInstanceId,
String nodeType)
throws RegistryException
- Throws:
RegistryException
saveWorkflowExecutionOutput
@Deprecated
public void saveWorkflowExecutionOutput(String experimentId,
String outputNodeName,
String output)
throws RegistryException
- Deprecated.
- Throws:
RegistryException
saveWorkflowExecutionOutput
@Deprecated
public void saveWorkflowExecutionOutput(String experimentId,
WorkflowIOData data)
throws RegistryException
- Deprecated.
- Throws:
RegistryException
getWorkflowExecutionOutput
@Deprecated
public WorkflowIOData getWorkflowExecutionOutput(String experimentId,
String outputNodeName)
throws RegistryException
- Deprecated.
- Throws:
RegistryException
getWorkflowExecutionOutput
@Deprecated
public List<WorkflowIOData> getWorkflowExecutionOutput(String experimentId)
throws RegistryException
- Deprecated.
- Throws:
RegistryException
getWorkflowExecutionOutputNames
@Deprecated
public String[] getWorkflowExecutionOutputNames(String exeperimentId)
throws RegistryException
- Deprecated.
- Throws:
RegistryException
getExperiment
public ExperimentData getExperiment(String experimentId)
throws RegistryException
- Throws:
RegistryException
getExperimentIdByUser
public List<String> getExperimentIdByUser(String user)
throws RegistryException
- Throws:
RegistryException
getExperimentByUser
public List<ExperimentData> getExperimentByUser(String user)
throws RegistryException
- Throws:
RegistryException
getExperiments
public List<ExperimentData> getExperiments(HashMap<String,String> params)
throws RegistryException
- Throws:
RegistryException
getExperimentByUser
public List<ExperimentData> getExperimentByUser(String user,
int pageSize,
int pageNo)
throws RegistryException
- Throws:
RegistryException
updateWorkflowNodeStatus
public void updateWorkflowNodeStatus(NodeExecutionStatus workflowStatusNode)
throws RegistryException
- Throws:
RegistryException
updateWorkflowNodeStatus
public void updateWorkflowNodeStatus(String workflowInstanceId,
String nodeId,
WorkflowExecutionStatus.State status)
throws RegistryException
- Throws:
RegistryException
updateWorkflowNodeStatus
public void updateWorkflowNodeStatus(WorkflowInstanceNode workflowNode,
WorkflowExecutionStatus.State status)
throws RegistryException
- Throws:
RegistryException
getWorkflowNodeStatus
public NodeExecutionStatus getWorkflowNodeStatus(WorkflowInstanceNode workflowNode)
throws RegistryException
- Throws:
RegistryException
getWorkflowNodeStartTime
public Date getWorkflowNodeStartTime(WorkflowInstanceNode workflowNode)
throws RegistryException
- Throws:
RegistryException
getWorkflowStartTime
public Date getWorkflowStartTime(WorkflowExecution workflowInstance)
throws RegistryException
- Throws:
RegistryException
updateWorkflowNodeGramData
public void updateWorkflowNodeGramData(WorkflowNodeGramData workflowNodeGramData)
throws RegistryException
- Throws:
RegistryException
getWorkflowInstanceData
public WorkflowExecutionData getWorkflowInstanceData(String workflowInstanceId)
throws RegistryException
- Throws:
RegistryException
getWorkflowInstanceNodeData
public NodeExecutionData getWorkflowInstanceNodeData(String workflowInstanceId,
String nodeId)
throws RegistryException
- Throws:
RegistryException
isWorkflowInstanceNodePresent
public boolean isWorkflowInstanceNodePresent(String workflowInstanceId,
String nodeId)
throws RegistryException
- Throws:
RegistryException
isWorkflowInstanceNodePresent
public boolean isWorkflowInstanceNodePresent(String workflowInstanceId,
String nodeId,
boolean createIfNotPresent)
throws RegistryException
- Throws:
RegistryException
addWorkflowInstance
public void addWorkflowInstance(String experimentId,
String workflowInstanceId,
String templateName)
throws RegistryException
- Throws:
RegistryException
updateWorkflowNodeType
public void updateWorkflowNodeType(WorkflowInstanceNode node,
WorkflowNodeType type)
throws RegistryException
- Throws:
RegistryException
addWorkflowInstanceNode
public void addWorkflowInstanceNode(String workflowInstanceId,
String nodeId)
throws RegistryException
- Throws:
RegistryException
getExperimentMetaInformation
public ExperimentData getExperimentMetaInformation(String experimentId)
throws RegistryException
- Throws:
RegistryException
getAllExperimentMetaInformation
public List<ExperimentData> getAllExperimentMetaInformation(String user)
throws RegistryException
- Throws:
RegistryException
searchExperiments
public List<ExperimentData> searchExperiments(String user,
String experimentNameRegex)
throws RegistryException
- Throws:
RegistryException
getVersion
public org.apache.airavata.common.utils.Version getVersion()
setConnectionURI
public void setConnectionURI(URI connectionURI)
getConnectionURI
public URI getConnectionURI()
setCallback
public void setCallback(PasswordCallback callback)
getCallback
public PasswordCallback getCallback()
getExperimentExecutionErrors
public List<ExperimentExecutionError> getExperimentExecutionErrors(String experimentId)
throws RegistryException
- Throws:
RegistryException
getWorkflowExecutionErrors
public List<WorkflowExecutionError> getWorkflowExecutionErrors(String experimentId,
String workflowInstanceId)
throws RegistryException
- Throws:
RegistryException
getNodeExecutionErrors
public List<NodeExecutionError> getNodeExecutionErrors(String experimentId,
String workflowInstanceId,
String nodeId)
throws RegistryException
- Throws:
RegistryException
getApplicationJobErrors
public List<ApplicationJobExecutionError> getApplicationJobErrors(String experimentId,
String workflowInstanceId,
String nodeId,
String gfacJobId)
throws RegistryException
- Throws:
RegistryException
getApplicationJobErrors
public List<ApplicationJobExecutionError> getApplicationJobErrors(String gfacJobId)
throws RegistryException
- Throws:
RegistryException
getExecutionErrors
public List<ExecutionError> getExecutionErrors(String experimentId,
String workflowInstanceId,
String nodeId,
String gfacJobId,
ExecutionErrors.Source... filterBy)
throws RegistryException
- Throws:
RegistryException
addExperimentError
public int addExperimentError(ExperimentExecutionError error)
throws RegistryException
- Throws:
RegistryException
addWorkflowExecutionError
public int addWorkflowExecutionError(WorkflowExecutionError error)
throws RegistryException
- Throws:
RegistryException
addNodeExecutionError
public int addNodeExecutionError(NodeExecutionError error)
throws RegistryException
- Throws:
RegistryException
addApplicationJobExecutionError
public int addApplicationJobExecutionError(ApplicationJobExecutionError error)
throws RegistryException
- Throws:
RegistryException
addApplicationJob
public void addApplicationJob(ApplicationJob job)
throws RegistryException
- Throws:
RegistryException
updateApplicationJob
public void updateApplicationJob(ApplicationJob job)
throws RegistryException
- Throws:
RegistryException
updateApplicationJobStatus
public void updateApplicationJobStatus(String gfacJobId,
ApplicationJob.ApplicationJobStatus status,
Date statusUpdateTime)
throws RegistryException
- Throws:
RegistryException
updateApplicationJobData
public void updateApplicationJobData(String gfacJobId,
String jobdata)
throws RegistryException
- Throws:
RegistryException
updateApplicationJobSubmittedTime
public void updateApplicationJobSubmittedTime(String gfacJobId,
Date submitted)
throws RegistryException
- Throws:
RegistryException
updateApplicationJobStatusUpdateTime
public void updateApplicationJobStatusUpdateTime(String gfacJobId,
Date completed)
throws RegistryException
- Throws:
RegistryException
updateApplicationJobMetadata
public void updateApplicationJobMetadata(String gfacJobId,
String metadata)
throws RegistryException
- Throws:
RegistryException
getApplicationJob
public ApplicationJob getApplicationJob(String gfacJobId)
throws RegistryException
- Throws:
RegistryException
getApplicationJobsForDescriptors
public List<ApplicationJob> getApplicationJobsForDescriptors(String serviceDescriptionId,
String hostDescriptionId,
String applicationDescriptionId)
throws RegistryException
- Throws:
RegistryException
getApplicationJobs
public List<ApplicationJob> getApplicationJobs(String experimentId,
String workflowExecutionId,
String nodeId)
throws RegistryException
- Throws:
RegistryException
isApplicationJobExists
public boolean isApplicationJobExists(String gfacJobId)
throws RegistryException
- Throws:
RegistryException
getApplicationJobStatusHistory
public List<ApplicationJobStatusData> getApplicationJobStatusHistory(String jobId)
throws RegistryException
- Throws:
RegistryException
getUsers
public List<AiravataUser> getUsers()
throws RegistryException
- Throws:
RegistryException
isCredentialExist
public boolean isCredentialExist(String gatewayId,
String tokenId)
throws RegistryException
- Throws:
RegistryException
getCredentialPublicKey
public String getCredentialPublicKey(String gatewayId,
String tokenId)
throws RegistryException
- Throws:
RegistryException
createCredential
public String createCredential(String gatewayId,
String tokenId)
throws RegistryException
- Throws:
RegistryException
createCredential
public String createCredential(String gatewayId,
String tokenId,
String username)
throws RegistryException
- Throws:
RegistryException
Copyright © 2011-2013 The Apache Software Foundation. All Rights Reserved.