airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From samin...@apache.org
Subject svn commit: r1490714 - /airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/impl/AiravataJPARegistry.java
Date Fri, 07 Jun 2013 16:42:23 GMT
Author: samindaw
Date: Fri Jun  7 16:42:23 2013
New Revision: 1490714

URL: http://svn.apache.org/r1490714
Log:
ignore chking node present in registry when running application job

Modified:
    airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/impl/AiravataJPARegistry.java

Modified: airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/impl/AiravataJPARegistry.java
URL: http://svn.apache.org/viewvc/airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/impl/AiravataJPARegistry.java?rev=1490714&r1=1490713&r2=1490714&view=diff
==============================================================================
--- airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/impl/AiravataJPARegistry.java
(original)
+++ airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/impl/AiravataJPARegistry.java
Fri Jun  7 16:42:23 2013
@@ -2254,9 +2254,9 @@ public class AiravataJPARegistry extends
 		if (isApplicationJobExists(job.getJobId())){
 			throw new ApplicationJobAlreadyExistsException(job.getJobId());
 		}
-		if (!isWorkflowInstanceNodePresent(job.getWorkflowExecutionId(), job.getNodeId())){
-			throw new WorkflowInstanceNodeDoesNotExistsException(job.getWorkflowExecutionId(), job.getNodeId());
-		}
+//		if (!isWorkflowInstanceNodePresent(job.getWorkflowExecutionId(), job.getNodeId())){
+//			throw new WorkflowInstanceNodeDoesNotExistsException(job.getWorkflowExecutionId(), job.getNodeId());
+//		}
 		ExperimentDataResource expData = jpa.getWorker().getExperiment(job.getExperimentId()).getData();
 		GFacJobDataResource gfacJob = expData.createGFacJob(job.getJobId());
 		gfacJob.setExperimentDataResource(expData);



Mime
View raw message