airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sma...@apache.org
Subject svn commit: r1402928 - in /airavata/trunk: ./ modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/model/ modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/res...
Date Sun, 28 Oct 2012 04:44:32 GMT
Author: smarru
Date: Sun Oct 28 04:44:31 2012
New Revision: 1402928

URL: http://svn.apache.org/viewvc?rev=1402928&view=rev
Log:
Merging release branch changes back to trunk.

Removed:
    airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/provenance/
Modified:
    airavata/trunk/   (props changed)
    airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/model/Application_Descriptor_PK.java
    airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/model/Configuration_PK.java
    airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/model/Experiment_Metadata.java
    airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/model/Gateway_Worker_PK.java
    airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/model/Gram_DataPK.java
    airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/model/Host_Descriptor_PK.java
    airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/model/Node_DataPK.java
    airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/model/Published_Workflow_PK.java
    airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/model/Service_Descriptor_PK.java
    airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/model/User_Workflow_PK.java
    airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/resources/AiravataRegistryConnectionDataProviderImpl.java
    airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/resources/ExperimentMetadataResource.java
    airavata/trunk/modules/registry/airavata-registry-service/src/main/java/org/apache/airavata/registry/services/ConfigurationRegistryService.java
    airavata/trunk/modules/registry/airavata-registry-service/src/main/java/org/apache/airavata/registry/services/DescriptorRegistryService.java
    airavata/trunk/modules/registry/airavata-registry-service/src/main/java/org/apache/airavata/registry/services/ProjectsRegistryService.java
    airavata/trunk/modules/registry/airavata-registry-service/src/main/java/org/apache/airavata/registry/services/ProvenanceRegistryService.java
    airavata/trunk/modules/registry/airavata-registry-service/src/main/java/org/apache/airavata/registry/services/PublishedWorkflowRegistryService.java
    airavata/trunk/modules/registry/airavata-registry-service/src/main/java/org/apache/airavata/registry/services/UserWorkflowRegistryService.java
    airavata/trunk/modules/registry/airavata-registry-service/src/main/java/org/apache/airavata/registry/services/utils/ConnectionPool.java
    airavata/trunk/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/gateway/InsufficientDataException.java
    airavata/trunk/pom.xml

Propchange: airavata/trunk/
------------------------------------------------------------------------------
  Merged /airavata/branches/0.5:r1402732-1402927

Modified: airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/model/Application_Descriptor_PK.java
URL: http://svn.apache.org/viewvc/airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/model/Application_Descriptor_PK.java?rev=1402928&r1=1402927&r2=1402928&view=diff
==============================================================================
--- airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/model/Application_Descriptor_PK.java (original)
+++ airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/model/Application_Descriptor_PK.java Sun Oct 28 04:44:31 2012
@@ -1,5 +1,25 @@
-package org.apache.airavata.persistance.registry.jpa.model;
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ */
 
+package org.apache.airavata.persistance.registry.jpa.model;
 
 public class Application_Descriptor_PK {
     private String gateway_name;

Modified: airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/model/Configuration_PK.java
URL: http://svn.apache.org/viewvc/airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/model/Configuration_PK.java?rev=1402928&r1=1402927&r2=1402928&view=diff
==============================================================================
--- airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/model/Configuration_PK.java (original)
+++ airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/model/Configuration_PK.java Sun Oct 28 04:44:31 2012
@@ -1,5 +1,25 @@
-package org.apache.airavata.persistance.registry.jpa.model;
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ */
 
+package org.apache.airavata.persistance.registry.jpa.model;
 
 public class Configuration_PK {
     private String config_key;

Modified: airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/model/Experiment_Metadata.java
URL: http://svn.apache.org/viewvc/airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/model/Experiment_Metadata.java?rev=1402928&r1=1402927&r2=1402928&view=diff
==============================================================================
--- airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/model/Experiment_Metadata.java (original)
+++ airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/model/Experiment_Metadata.java Sun Oct 28 04:44:31 2012
@@ -1,3 +1,24 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+*/
+
 package org.apache.airavata.persistance.registry.jpa.model;
 
 import javax.persistence.Entity;

Modified: airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/model/Gateway_Worker_PK.java
URL: http://svn.apache.org/viewvc/airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/model/Gateway_Worker_PK.java?rev=1402928&r1=1402927&r2=1402928&view=diff
==============================================================================
--- airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/model/Gateway_Worker_PK.java (original)
+++ airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/model/Gateway_Worker_PK.java Sun Oct 28 04:44:31 2012
@@ -1,3 +1,24 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+*/
+
 package org.apache.airavata.persistance.registry.jpa.model;
 
 public class Gateway_Worker_PK {

Modified: airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/model/Gram_DataPK.java
URL: http://svn.apache.org/viewvc/airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/model/Gram_DataPK.java?rev=1402928&r1=1402927&r2=1402928&view=diff
==============================================================================
--- airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/model/Gram_DataPK.java (original)
+++ airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/model/Gram_DataPK.java Sun Oct 28 04:44:31 2012
@@ -1,13 +1,33 @@
-package org.apache.airavata.persistance.registry.jpa.model;
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+*/
 
+package org.apache.airavata.persistance.registry.jpa.model;
 
 public class Gram_DataPK {
-	private String workflow_instanceID;
-	private String node_id;
+    private String workflow_instanceID;
+    private String node_id;
 
-	public Gram_DataPK() {
-		;
-	}
+    public Gram_DataPK() {
+        ;
+    }
 
     public Gram_DataPK(String workflow_instanceID, String node_id) {
         this.workflow_instanceID = workflow_instanceID;
@@ -15,14 +35,14 @@ public class Gram_DataPK {
     }
 
     @Override
-	public boolean equals(Object o) {
-		return false;
-	}
-
-	@Override
-	public int hashCode() {
-		return 1;
-	}
+    public boolean equals(Object o) {
+        return false;
+    }
+
+    @Override
+    public int hashCode() {
+        return 1;
+    }
 
     public String getWorkflow_instanceID() {
         return workflow_instanceID;
@@ -33,10 +53,10 @@ public class Gram_DataPK {
     }
 
     public String getNode_id() {
-		return node_id;
-	}
+        return node_id;
+    }
 
-	public void setNode_id(String node_id) {
-		this.node_id = node_id;
-	}
+    public void setNode_id(String node_id) {
+        this.node_id = node_id;
+    }
 }

Modified: airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/model/Host_Descriptor_PK.java
URL: http://svn.apache.org/viewvc/airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/model/Host_Descriptor_PK.java?rev=1402928&r1=1402927&r2=1402928&view=diff
==============================================================================
--- airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/model/Host_Descriptor_PK.java (original)
+++ airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/model/Host_Descriptor_PK.java Sun Oct 28 04:44:31 2012
@@ -1,3 +1,24 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+*/
+
 package org.apache.airavata.persistance.registry.jpa.model;
 
 public class Host_Descriptor_PK {

Modified: airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/model/Node_DataPK.java
URL: http://svn.apache.org/viewvc/airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/model/Node_DataPK.java?rev=1402928&r1=1402927&r2=1402928&view=diff
==============================================================================
--- airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/model/Node_DataPK.java (original)
+++ airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/model/Node_DataPK.java Sun Oct 28 04:44:31 2012
@@ -1,13 +1,33 @@
-package org.apache.airavata.persistance.registry.jpa.model;
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+*/
 
+package org.apache.airavata.persistance.registry.jpa.model;
 
 public class Node_DataPK {
-	private String workflow_instanceID;
-	private String node_id;
+    private String workflow_instanceID;
+    private String node_id;
 
-	public Node_DataPK() {
-		;
-	}
+    public Node_DataPK() {
+        ;
+    }
 
     public Node_DataPK(String workflow_instanceID, String node_id) {
         this.workflow_instanceID = workflow_instanceID;
@@ -15,14 +35,14 @@ public class Node_DataPK {
     }
 
     @Override
-	public boolean equals(Object o) {
-		return false;
-	}
-
-	@Override
-	public int hashCode() {
-		return 1;
-	}
+    public boolean equals(Object o) {
+        return false;
+    }
+
+    @Override
+    public int hashCode() {
+        return 1;
+    }
 
     public String getWorkflow_instanceID() {
         return workflow_instanceID;
@@ -33,10 +53,10 @@ public class Node_DataPK {
     }
 
     public String getNode_id() {
-		return node_id;
-	}
+        return node_id;
+    }
 
-	public void setNode_id(String node_id) {
-		this.node_id = node_id;
-	}
+    public void setNode_id(String node_id) {
+        this.node_id = node_id;
+    }
 }

Modified: airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/model/Published_Workflow_PK.java
URL: http://svn.apache.org/viewvc/airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/model/Published_Workflow_PK.java?rev=1402928&r1=1402927&r2=1402928&view=diff
==============================================================================
--- airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/model/Published_Workflow_PK.java (original)
+++ airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/model/Published_Workflow_PK.java Sun Oct 28 04:44:31 2012
@@ -1,3 +1,24 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+*/
+
 package org.apache.airavata.persistance.registry.jpa.model;
 
 public class Published_Workflow_PK {

Modified: airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/model/Service_Descriptor_PK.java
URL: http://svn.apache.org/viewvc/airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/model/Service_Descriptor_PK.java?rev=1402928&r1=1402927&r2=1402928&view=diff
==============================================================================
--- airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/model/Service_Descriptor_PK.java (original)
+++ airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/model/Service_Descriptor_PK.java Sun Oct 28 04:44:31 2012
@@ -1,5 +1,25 @@
-package org.apache.airavata.persistance.registry.jpa.model;
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+*/
 
+package org.apache.airavata.persistance.registry.jpa.model;
 
 public class Service_Descriptor_PK {
     private String gateway_name;

Modified: airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/model/User_Workflow_PK.java
URL: http://svn.apache.org/viewvc/airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/model/User_Workflow_PK.java?rev=1402928&r1=1402927&r2=1402928&view=diff
==============================================================================
--- airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/model/User_Workflow_PK.java (original)
+++ airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/model/User_Workflow_PK.java Sun Oct 28 04:44:31 2012
@@ -1,5 +1,25 @@
-package org.apache.airavata.persistance.registry.jpa.model;
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+*/
 
+package org.apache.airavata.persistance.registry.jpa.model;
 
 public class User_Workflow_PK {
     private String template_name;

Modified: airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/resources/AiravataRegistryConnectionDataProviderImpl.java
URL: http://svn.apache.org/viewvc/airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/resources/AiravataRegistryConnectionDataProviderImpl.java?rev=1402928&r1=1402927&r2=1402928&view=diff
==============================================================================
--- airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/resources/AiravataRegistryConnectionDataProviderImpl.java (original)
+++ airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/resources/AiravataRegistryConnectionDataProviderImpl.java Sun Oct 28 04:44:31 2012
@@ -1,5 +1,25 @@
-package org.apache.airavata.persistance.registry.jpa.resources;
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+*/
 
+package org.apache.airavata.persistance.registry.jpa.resources;
 
 import org.apache.airavata.registry.api.AiravataRegistryConnectionDataProvider;
 import org.apache.airavata.registry.api.AiravataUser;
@@ -15,7 +35,8 @@ import java.util.Properties;
 public class AiravataRegistryConnectionDataProviderImpl implements AiravataRegistryConnectionDataProvider {
 
     private final static Logger logger = LoggerFactory.getLogger(AiravataRegistryConnectionDataProviderImpl.class);
-    public static Properties loadProperties(){
+
+    public static Properties loadProperties() {
         URL resource = Utils.class.getClassLoader().getResource("airavata-server.properties");
         Properties properties = new Properties();
         try {
@@ -28,11 +49,9 @@ public class AiravataRegistryConnectionD
         return properties;
     }
 
-
     public void setIdentity(Gateway gateway, AiravataUser use) {
     }
 
-
     public Object getValue(String key) throws UnknownRegistryConnectionDataException {
         return loadProperties().getProperty(key);
     }

Modified: airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/resources/ExperimentMetadataResource.java
URL: http://svn.apache.org/viewvc/airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/resources/ExperimentMetadataResource.java?rev=1402928&r1=1402927&r2=1402928&view=diff
==============================================================================
--- airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/resources/ExperimentMetadataResource.java (original)
+++ airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/resources/ExperimentMetadataResource.java Sun Oct 28 04:44:31 2012
@@ -1,3 +1,24 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+*/
+
 package org.apache.airavata.persistance.registry.jpa.resources;
 
 import org.apache.airavata.persistance.registry.jpa.Resource;
@@ -10,7 +31,7 @@ import org.slf4j.LoggerFactory;
 import javax.persistence.EntityManager;
 import java.util.List;
 
-public class ExperimentMetadataResource extends AbstractResource{
+public class ExperimentMetadataResource extends AbstractResource {
     private static final Logger logger = LoggerFactory.getLogger(ExperimentMetadataResource.class);
     private String expID;
     private String metadata;
@@ -32,26 +53,30 @@ public class ExperimentMetadataResource 
     }
 
     public Resource create(ResourceType type) {
-        logger.error("Unsupported operation for experiment metadata resource " +
-                "since there are no child resources generated by experiment metadata resource.. ", new UnsupportedOperationException());
+        logger.error("Unsupported operation for experiment metadata resource "
+                + "since there are no child resources generated by experiment metadata resource.. ",
+                new UnsupportedOperationException());
         throw new UnsupportedOperationException();
     }
 
     public void remove(ResourceType type, Object name) {
-        logger.error("Unsupported operation for experiment metadata resource " +
-                "since there are no child resources generated by experiment metadata resource.. ", new UnsupportedOperationException());
+        logger.error("Unsupported operation for experiment metadata resource "
+                + "since there are no child resources generated by experiment metadata resource.. ",
+                new UnsupportedOperationException());
         throw new UnsupportedOperationException();
     }
 
     public Resource get(ResourceType type, Object name) {
-        logger.error("Unsupported operation for experiment metadata resource " +
-                "since there are no child resources generated by experiment metadata resource.. ", new UnsupportedOperationException());
+        logger.error("Unsupported operation for experiment metadata resource "
+                + "since there are no child resources generated by experiment metadata resource.. ",
+                new UnsupportedOperationException());
         throw new UnsupportedOperationException();
     }
 
     public List<Resource> get(ResourceType type) {
-        logger.error("Unsupported operation for experiment metadata resource " +
-                "since there are no child resources generated by experiment metadata resource.. ", new UnsupportedOperationException());
+        logger.error("Unsupported operation for experiment metadata resource "
+                + "since there are no child resources generated by experiment metadata resource.. ",
+                new UnsupportedOperationException());
         throw new UnsupportedOperationException();
     }
 
@@ -67,11 +92,11 @@ public class ExperimentMetadataResource 
         byte[] contentBytes = metadata.getBytes();
         experimentMetadata.setMetadata(contentBytes);
 
-        if(existingExpMetaData != null){
+        if (existingExpMetaData != null) {
             existingExpMetaData.setMetadata(contentBytes);
             existingExpMetaData.setExperiment_ID(expID);
             experimentMetadata = em.merge(existingExpMetaData);
-        }else{
+        } else {
             em.persist(experimentMetadata);
         }
         em.getTransaction().commit();

Modified: airavata/trunk/modules/registry/airavata-registry-service/src/main/java/org/apache/airavata/registry/services/ConfigurationRegistryService.java
URL: http://svn.apache.org/viewvc/airavata/trunk/modules/registry/airavata-registry-service/src/main/java/org/apache/airavata/registry/services/ConfigurationRegistryService.java?rev=1402928&r1=1402927&r2=1402928&view=diff
==============================================================================
--- airavata/trunk/modules/registry/airavata-registry-service/src/main/java/org/apache/airavata/registry/services/ConfigurationRegistryService.java (original)
+++ airavata/trunk/modules/registry/airavata-registry-service/src/main/java/org/apache/airavata/registry/services/ConfigurationRegistryService.java Sun Oct 28 04:44:31 2012
@@ -1,38 +1,77 @@
-package org.apache.airavata.registry.services;
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+*/
 
+package org.apache.airavata.registry.services;
 
 import javax.ws.rs.core.Response;
 import java.net.URI;
 import java.util.Date;
 
-public interface ConfigurationRegistryService{
+public interface ConfigurationRegistryService {
     public Response getConfiguration(String key);
+
     public Response getConfigurationList(String key);
+
     public Response setConfiguration(String key, String value, Date expire);
+
     public Response addConfiguration(String key, String value, Date expire);
+
     public Response removeAllConfiguration(String key);
+
     public Response removeConfiguration(String key, String value);
 
     public Response getGFacURIs();
+
     public Response getWorkflowInterpreterURIs();
+
     public Response getEventingServiceURI();
+
     public Response getMessageBoxURI();
 
     public Response addGFacURI(URI uri);
+
     public Response addWorkflowInterpreterURI(URI uri);
+
     public Response setEventingURI(URI uri);
+
     public Response setMessageBoxURI(URI uri);
 
     public Response addGFacURIByDate(URI uri, Date expire);
+
     public Response addWorkflowInterpreterURI(URI uri, Date expire);
+
     public Response setEventingURIByDate(URI uri, Date expire);
+
     public Response setMessageBoxURIByDate(URI uri, Date expire);
 
     public Response removeGFacURI(URI uri);
+
     public Response removeAllGFacURI();
+
     public Response removeWorkflowInterpreterURI(URI uri);
+
     public Response removeAllWorkflowInterpreterURI();
+
     public Response unsetEventingURI();
+
     public Response unsetMessageBoxURI();
 
 }

Modified: airavata/trunk/modules/registry/airavata-registry-service/src/main/java/org/apache/airavata/registry/services/DescriptorRegistryService.java
URL: http://svn.apache.org/viewvc/airavata/trunk/modules/registry/airavata-registry-service/src/main/java/org/apache/airavata/registry/services/DescriptorRegistryService.java?rev=1402928&r1=1402927&r2=1402928&view=diff
==============================================================================
--- airavata/trunk/modules/registry/airavata-registry-service/src/main/java/org/apache/airavata/registry/services/DescriptorRegistryService.java (original)
+++ airavata/trunk/modules/registry/airavata-registry-service/src/main/java/org/apache/airavata/registry/services/DescriptorRegistryService.java Sun Oct 28 04:44:31 2012
@@ -1,3 +1,24 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+*/
+
 package org.apache.airavata.registry.services;
 
 import org.apache.airavata.registry.api.exception.RegistryException;
@@ -7,41 +28,78 @@ import org.apache.airavata.registry.api.
 
 import javax.ws.rs.core.Response;
 
-public interface DescriptorRegistryService{
-    /*Note
-	 * Name changes of the descriptors should not be allowed
-	 */
+public interface DescriptorRegistryService {
+    /*
+     * Note Name changes of the descriptors should not be allowed
+     */
+
+    // ---------Host Descriptor data------------
+    public Response isHostDescriptorExists(String descriptorName) throws RegistryException;
 
-    //---------Host Descriptor data------------
-    public Response isHostDescriptorExists(String descriptorName)throws RegistryException;
     public Response addHostDescriptor(String descriptor) throws DescriptorAlreadyExistsException, RegistryException;
-    public Response updateHostDescriptor(String descriptor)throws DescriptorDoesNotExistsException, RegistryException;
-    public Response getHostDescriptor(String hostName)throws DescriptorDoesNotExistsException,MalformedDescriptorException, RegistryException;
-    public Response removeHostDescriptor(String hostName)throws DescriptorDoesNotExistsException, RegistryException;
-    public Response getHostDescriptors()throws MalformedDescriptorException, RegistryException;
-    public Response getHostDescriptorMetadata(String hostName)throws DescriptorDoesNotExistsException, RegistryException;
-
-    //---------Service Descriptor data------------
-    public Response isServiceDescriptorExists(String descriptorName)throws RegistryException;
-    public Response addServiceDescriptor(String descriptor)throws DescriptorAlreadyExistsException, RegistryException;
-    public Response updateServiceDescriptor(String descriptor)throws DescriptorDoesNotExistsException, RegistryException;
-    public Response getServiceDescriptor(String serviceName)throws DescriptorDoesNotExistsException,MalformedDescriptorException, RegistryException;
-    public Response removeServiceDescriptor(String serviceName)throws DescriptorDoesNotExistsException, RegistryException;
-    public Response getServiceDescriptors()throws MalformedDescriptorException, RegistryException;
-    public Response getServiceDescriptorMetadata(String serviceName)throws DescriptorDoesNotExistsException, RegistryException;
-
-    //---------Application Descriptor data------------
-    public Response isApplicationDescriptorExists(String serviceName, String hostName, String descriptorName)throws RegistryException;
-    public Response addApplicationDescriptor(String serviceDescription, String hostDescriptor, String descriptor)throws DescriptorAlreadyExistsException, RegistryException;
-    public Response addApplicationDesc(String serviceName, String hostName, String descriptor)throws DescriptorAlreadyExistsException, RegistryException;
-    public Response udpateApplicationDescriptorByDescriptors(String serviceDescription, String hostDescriptor, String descriptor)throws DescriptorDoesNotExistsException, RegistryException;
-    public Response updateApplicationDescriptor(String serviceName, String hostName, String descriptor)throws DescriptorDoesNotExistsException, RegistryException;
-    public Response getApplicationDescriptor(String serviceName, String hostname, String applicationName)throws DescriptorDoesNotExistsException, MalformedDescriptorException, RegistryException;
-    public Response getApplicationDescriptors(String serviceName, String hostname)throws MalformedDescriptorException, RegistryException;
-    public Response getApplicationDescriptors(String serviceName)throws MalformedDescriptorException, RegistryException;
-    public Response getApplicationDescriptors()throws MalformedDescriptorException, RegistryException;
-    public Response removeApplicationDescriptor(String serviceName, String hostName, String applicationName)throws DescriptorDoesNotExistsException, RegistryException;
-    public Response getApplicationDescriptorMetadata(String serviceName, String hostName, String applicationName)throws DescriptorDoesNotExistsException, RegistryException;
 
+    public Response updateHostDescriptor(String descriptor) throws DescriptorDoesNotExistsException, RegistryException;
+
+    public Response getHostDescriptor(String hostName) throws DescriptorDoesNotExistsException,
+            MalformedDescriptorException, RegistryException;
+
+    public Response removeHostDescriptor(String hostName) throws DescriptorDoesNotExistsException, RegistryException;
+
+    public Response getHostDescriptors() throws MalformedDescriptorException, RegistryException;
+
+    public Response getHostDescriptorMetadata(String hostName) throws DescriptorDoesNotExistsException,
+            RegistryException;
+
+    // ---------Service Descriptor data------------
+    public Response isServiceDescriptorExists(String descriptorName) throws RegistryException;
+
+    public Response addServiceDescriptor(String descriptor) throws DescriptorAlreadyExistsException, RegistryException;
+
+    public Response updateServiceDescriptor(String descriptor) throws DescriptorDoesNotExistsException,
+            RegistryException;
+
+    public Response getServiceDescriptor(String serviceName) throws DescriptorDoesNotExistsException,
+            MalformedDescriptorException, RegistryException;
+
+    public Response removeServiceDescriptor(String serviceName) throws DescriptorDoesNotExistsException,
+            RegistryException;
+
+    public Response getServiceDescriptors() throws MalformedDescriptorException, RegistryException;
+
+    public Response getServiceDescriptorMetadata(String serviceName) throws DescriptorDoesNotExistsException,
+            RegistryException;
+
+    // ---------Application Descriptor data------------
+    public Response isApplicationDescriptorExists(String serviceName, String hostName, String descriptorName)
+            throws RegistryException;
+
+    public Response addApplicationDescriptor(String serviceDescription, String hostDescriptor, String descriptor)
+            throws DescriptorAlreadyExistsException, RegistryException;
+
+    public Response addApplicationDesc(String serviceName, String hostName, String descriptor)
+            throws DescriptorAlreadyExistsException, RegistryException;
+
+    public Response udpateApplicationDescriptorByDescriptors(String serviceDescription, String hostDescriptor,
+            String descriptor) throws DescriptorDoesNotExistsException, RegistryException;
+
+    public Response updateApplicationDescriptor(String serviceName, String hostName, String descriptor)
+            throws DescriptorDoesNotExistsException, RegistryException;
+
+    public Response getApplicationDescriptor(String serviceName, String hostname, String applicationName)
+            throws DescriptorDoesNotExistsException, MalformedDescriptorException, RegistryException;
+
+    public Response getApplicationDescriptors(String serviceName, String hostname) throws MalformedDescriptorException,
+            RegistryException;
+
+    public Response getApplicationDescriptors(String serviceName) throws MalformedDescriptorException,
+            RegistryException;
+
+    public Response getApplicationDescriptors() throws MalformedDescriptorException, RegistryException;
+
+    public Response removeApplicationDescriptor(String serviceName, String hostName, String applicationName)
+            throws DescriptorDoesNotExistsException, RegistryException;
+
+    public Response getApplicationDescriptorMetadata(String serviceName, String hostName, String applicationName)
+            throws DescriptorDoesNotExistsException, RegistryException;
 
 }

Modified: airavata/trunk/modules/registry/airavata-registry-service/src/main/java/org/apache/airavata/registry/services/ProjectsRegistryService.java
URL: http://svn.apache.org/viewvc/airavata/trunk/modules/registry/airavata-registry-service/src/main/java/org/apache/airavata/registry/services/ProjectsRegistryService.java?rev=1402928&r1=1402927&r2=1402928&view=diff
==============================================================================
--- airavata/trunk/modules/registry/airavata-registry-service/src/main/java/org/apache/airavata/registry/services/ProjectsRegistryService.java (original)
+++ airavata/trunk/modules/registry/airavata-registry-service/src/main/java/org/apache/airavata/registry/services/ProjectsRegistryService.java Sun Oct 28 04:44:31 2012
@@ -1,5 +1,25 @@
-package org.apache.airavata.registry.services;
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+*/
 
+package org.apache.airavata.registry.services;
 
 import org.apache.airavata.registry.api.exception.RegistryException;
 import org.apache.airavata.registry.api.AiravataExperiment;
@@ -11,20 +31,36 @@ import javax.ws.rs.core.Response;
 import java.util.Date;
 
 public interface ProjectsRegistryService {
-    //------------Project management
+    // ------------Project management
     public Response isWorkspaceProjectExists(String projectName) throws RegistryException;
+
     public Response isWorkspaceProjectExists(String projectName, String createIfNotExists) throws RegistryException;
-    public Response addWorkspaceProject(String projectName) throws WorkspaceProjectAlreadyExistsException, RegistryException;
-    public Response updateWorkspaceProject(String projectName) throws WorkspaceProjectDoesNotExistsException, RegistryException;
-    public Response deleteWorkspaceProject(String projectName) throws WorkspaceProjectDoesNotExistsException, RegistryException;
-    public Response getWorkspaceProject(String projectName) throws WorkspaceProjectDoesNotExistsException, RegistryException;
+
+    public Response addWorkspaceProject(String projectName) throws WorkspaceProjectAlreadyExistsException,
+            RegistryException;
+
+    public Response updateWorkspaceProject(String projectName) throws WorkspaceProjectDoesNotExistsException,
+            RegistryException;
+
+    public Response deleteWorkspaceProject(String projectName) throws WorkspaceProjectDoesNotExistsException,
+            RegistryException;
+
+    public Response getWorkspaceProject(String projectName) throws WorkspaceProjectDoesNotExistsException,
+            RegistryException;
+
     public Response getWorkspaceProjects() throws RegistryException;
 
-    //------------Experiment management
-    public Response addExperiment(String projectName, AiravataExperiment experiment) throws WorkspaceProjectDoesNotExistsException, ExperimentDoesNotExistsException, RegistryException;
+    // ------------Experiment management
+    public Response addExperiment(String projectName, AiravataExperiment experiment)
+            throws WorkspaceProjectDoesNotExistsException, ExperimentDoesNotExistsException, RegistryException;
+
     public Response removeExperiment(String experimentId) throws ExperimentDoesNotExistsException;
+
     public Response getExperiments() throws RegistryException;
-    public Response getExperimentsByProject(String projectName)throws RegistryException;
-    public Response getExperimentsByDate(Date from, Date to)throws RegistryException;
+
+    public Response getExperimentsByProject(String projectName) throws RegistryException;
+
+    public Response getExperimentsByDate(Date from, Date to) throws RegistryException;
+
     public Response getExperimentsByProjectDate(String projectName, Date from, Date to) throws RegistryException;
 }

Modified: airavata/trunk/modules/registry/airavata-registry-service/src/main/java/org/apache/airavata/registry/services/ProvenanceRegistryService.java
URL: http://svn.apache.org/viewvc/airavata/trunk/modules/registry/airavata-registry-service/src/main/java/org/apache/airavata/registry/services/ProvenanceRegistryService.java?rev=1402928&r1=1402927&r2=1402928&view=diff
==============================================================================
--- airavata/trunk/modules/registry/airavata-registry-service/src/main/java/org/apache/airavata/registry/services/ProvenanceRegistryService.java (original)
+++ airavata/trunk/modules/registry/airavata-registry-service/src/main/java/org/apache/airavata/registry/services/ProvenanceRegistryService.java Sun Oct 28 04:44:31 2012
@@ -1,3 +1,24 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+*/
+
 package org.apache.airavata.registry.services;
 
 import org.apache.airavata.registry.api.exception.RegistryException;
@@ -12,16 +33,19 @@ public interface ProvenanceRegistryServi
 
     /**
      * Returns true if the experiment exists
+     * 
      * @param experimentId
      * @return
      * @throws org.apache.airavata.registry.api.exception.RegistryException
      */
     public Response isExperimentExists(String experimentId) throws RegistryException;
 
-    public Response isExperimentExistsThenCreate(String experimentId, boolean createIfNotPresent) throws RegistryException;
+    public Response isExperimentExistsThenCreate(String experimentId, boolean createIfNotPresent)
+            throws RegistryException;
 
     /**
      * Save the username of the user who runs this experiment
+     * 
      * @param experimentId
      * @param user
      * @return
@@ -31,6 +55,7 @@ public interface ProvenanceRegistryServi
 
     /**
      * Retrieve the user who is runing the experiment
+     * 
      * @param experimentId
      * @return
      * @throws org.apache.airavata.registry.api.exception.RegistryException
@@ -39,6 +64,7 @@ public interface ProvenanceRegistryServi
 
     /**
      * Get the name of the workflow intance
+     * 
      * @param experimentId
      * @return
      * @throws org.apache.airavata.registry.api.exception.RegistryException
@@ -47,15 +73,17 @@ public interface ProvenanceRegistryServi
 
     /**
      * Save a name for this workflow execution
+     * 
      * @param experimentId
      * @param experimentName
      * @return
      * @throws org.apache.airavata.registry.api.exception.RegistryException
      */
-    public Response updateExperimentName(String experimentId, String experimentName)throws RegistryException;
+    public Response updateExperimentName(String experimentId, String experimentName) throws RegistryException;
 
     /**
      * Return the metadata information saved for the experiment
+     * 
      * @param experimentId
      * @return
      * @throws org.apache.airavata.registry.api.exception.RegistryException
@@ -64,6 +92,7 @@ public interface ProvenanceRegistryServi
 
     /**
      * Save the metadata for the experiment
+     * 
      * @param experimentId
      * @param metadata
      * @return
@@ -73,6 +102,7 @@ public interface ProvenanceRegistryServi
 
     /**
      * Return the template name of the workflow that this intance was created from
+     * 
      * @param workflowInstanceId
      * @return
      * @throws org.apache.airavata.registry.api.exception.RegistryException
@@ -81,11 +111,13 @@ public interface ProvenanceRegistryServi
 
     /**
      * Save the template name of the workflow that this intance was created from
+     * 
      * @param workflowInstanceId
      * @param templateName
      * @throws org.apache.airavata.registry.api.exception.RegistryException
      */
-    public Response setWorkflowInstanceTemplateName(String workflowInstanceId, String templateName) throws RegistryException;
+    public Response setWorkflowInstanceTemplateName(String workflowInstanceId, String templateName)
+            throws RegistryException;
 
     public Response getExperimentWorkflowInstances(String experimentId) throws RegistryException;
 
@@ -93,19 +125,24 @@ public interface ProvenanceRegistryServi
 
     public Response isWorkflowInstanceExists(String instanceId) throws RegistryException;
 
-    public Response isWorkflowInstanceExistsThenCreate(String instanceId, boolean createIfNotPresent) throws RegistryException;
+    public Response isWorkflowInstanceExistsThenCreate(String instanceId, boolean createIfNotPresent)
+            throws RegistryException;
 
     /**
      * Save a status for this workflow execution with the current time at the moment
+     * 
      * @param instanceId
-     * @param executionStatus - contains the status
+     * @param executionStatus
+     *            - contains the status
      * @return
      * @throws org.apache.airavata.registry.api.exception.RegistryException
      */
-    public Response updateWorkflowInstanceStatusByInstance(String instanceId, String executionStatus)throws RegistryException;
+    public Response updateWorkflowInstanceStatusByInstance(String instanceId, String executionStatus)
+            throws RegistryException;
 
     /**
      * Save a status for this workflow execution
+     * 
      * @param experimentID
      * @param workflowInstanceID
      * @param executionStatus
@@ -113,22 +150,21 @@ public interface ProvenanceRegistryServi
      * @return
      * @throws org.apache.airavata.registry.api.exception.RegistryException
      */
-    public Response updateWorkflowInstanceStatusByExperiment(String experimentID,
-                                                 String workflowInstanceID,
-                                                 String executionStatus,
-                                                 Date statusUpdateTime)throws RegistryException;
-
+    public Response updateWorkflowInstanceStatusByExperiment(String experimentID, String workflowInstanceID,
+            String executionStatus, Date statusUpdateTime) throws RegistryException;
 
     /**
      * Return the status of the execution
+     * 
      * @param instanceId
      * @return
      * @throws org.apache.airavata.registry.api.exception.RegistryException
      */
-    public Response getWorkflowInstanceStatus(String instanceId)throws RegistryException;
+    public Response getWorkflowInstanceStatus(String instanceId) throws RegistryException;
 
     /**
-     *  Save the input data of a node in the workflow instance of an experiment
+     * Save the input data of a node in the workflow instance of an experiment
+     * 
      * @param experimentID
      * @param nodeID
      * @param workflowInstanceID
@@ -136,11 +172,12 @@ public interface ProvenanceRegistryServi
      * @return
      * @throws org.apache.airavata.registry.api.exception.RegistryException
      */
-    public Response updateWorkflowNodeInput(String experimentID, String nodeID, String workflowInstanceID, String data) throws RegistryException;
-
+    public Response updateWorkflowNodeInput(String experimentID, String nodeID, String workflowInstanceID, String data)
+            throws RegistryException;
 
     /**
      * Save the output data of a node in the workflow instance of an experiment
+     * 
      * @param experimentID
      * @param nodeID
      * @param workflowInstanceID
@@ -148,36 +185,47 @@ public interface ProvenanceRegistryServi
      * @return
      * @throws org.apache.airavata.registry.api.exception.RegistryException
      */
-    public Response updateWorkflowNodeOutput(String experimentID, String nodeID, String workflowInstanceID, String data)throws RegistryException;
+    public Response updateWorkflowNodeOutput(String experimentID, String nodeID, String workflowInstanceID, String data)
+            throws RegistryException;
 
     /**
-     * Return a list of data passed as input for service node which regex matched nodeId, workflow template id & experiment id
+     * Return a list of data passed as input for service node which regex matched nodeId, workflow template id &
+     * experiment id
+     * 
      * @param experimentIdRegEx
-     * @param workflowNameRegEx - this is the workflowName or workflow template Id of an experiment
-     * @param nodeNameRegEx - nodeId
+     * @param workflowNameRegEx
+     *            - this is the workflowName or workflow template Id of an experiment
+     * @param nodeNameRegEx
+     *            - nodeId
      * @return
      * @throws org.apache.airavata.registry.api.exception.RegistryException
      */
-    public Response searchWorkflowInstanceNodeInput(String experimentIdRegEx, String workflowNameRegEx, String nodeNameRegEx)throws RegistryException;
+    public Response searchWorkflowInstanceNodeInput(String experimentIdRegEx, String workflowNameRegEx,
+            String nodeNameRegEx) throws RegistryException;
 
     /**
-     * Return a list of data returned as output from service node which regex matched nodeId, workflow template id & experiment id
+     * Return a list of data returned as output from service node which regex matched nodeId, workflow template id &
+     * experiment id
+     * 
      * @param experimentIdRegEx
-     * @param workflowNameRegEx - this is the workflowName or workflow template Id of an experiment
-     * @param nodeNameRegEx - nodeId
+     * @param workflowNameRegEx
+     *            - this is the workflowName or workflow template Id of an experiment
+     * @param nodeNameRegEx
+     *            - nodeId
      * @return
      * @throws org.apache.airavata.registry.api.exception.RegistryException
      */
-    public Response searchWorkflowInstanceNodeOutput(String experimentIdRegEx, String workflowNameRegEx, String nodeNameRegEx)throws RegistryException;
-
-    public Response getWorkflowInstanceNodeInput(String workflowInstanceId, String nodeType)throws RegistryException;
+    public Response searchWorkflowInstanceNodeOutput(String experimentIdRegEx, String workflowNameRegEx,
+            String nodeNameRegEx) throws RegistryException;
 
-    public Response getWorkflowInstanceNodeOutput(String workflowInstanceId, String nodeType)throws RegistryException;
+    public Response getWorkflowInstanceNodeInput(String workflowInstanceId, String nodeType) throws RegistryException;
 
+    public Response getWorkflowInstanceNodeOutput(String workflowInstanceId, String nodeType) throws RegistryException;
 
     /*---------------------------------------  Retrieving Experiment ------------------------------------------*/
     /**
      * Return workflow execution object fully populated with data currently avaialble for that experiment
+     * 
      * @param experimentId
      * @return
      * @throws org.apache.airavata.registry.api.exception.RegistryException
@@ -186,7 +234,9 @@ public interface ProvenanceRegistryServi
 
     /**
      * Return experiment ids of experiments launched by the given user
-     * @param user - a regex user id
+     * 
+     * @param user
+     *            - a regex user id
      * @return - experiment id list
      * @throws org.apache.airavata.registry.api.exception.RegistryException
      */
@@ -194,6 +244,7 @@ public interface ProvenanceRegistryServi
 
     /**
      * Return experiments launched by the given user
+     * 
      * @param user
      * @return experiment object list each populated by current data of that experiment
      * @throws org.apache.airavata.registry.api.exception.RegistryException
@@ -202,6 +253,7 @@ public interface ProvenanceRegistryServi
 
     /**
      * Return the pageNo set of experiments launched by the given user if grouped in to pages of size pageSize
+     * 
      * @param user
      * @param pageSize
      * @param pageNo
@@ -212,40 +264,48 @@ public interface ProvenanceRegistryServi
 
     /**
      * This will update the workflowStatus for given experimentID,workflowInstanceID combination.
+     * 
      * @param workflowStatusNode
      * @return
      * @throws org.apache.airavata.registry.api.exception.RegistryException
      */
-    public Response updateWorkflowNodeStatus(WorkflowInstanceNodeStatus workflowStatusNode)throws RegistryException;
+    public Response updateWorkflowNodeStatus(WorkflowInstanceNodeStatus workflowStatusNode) throws RegistryException;
 
-    public Response updateWorkflowNodeStatus(String workflowInstanceId, String nodeId, String executionStatus)throws RegistryException;
+    public Response updateWorkflowNodeStatus(String workflowInstanceId, String nodeId, String executionStatus)
+            throws RegistryException;
 
-    public Response updateWorkflowNodeStatus(String workflowInstanceId, String executionStatus)throws RegistryException;
+    public Response updateWorkflowNodeStatus(String workflowInstanceId, String executionStatus)
+            throws RegistryException;
 
-    public Response getWorkflowNodeStatus(String workflowInstanceId, String nodeId)throws RegistryException;
+    public Response getWorkflowNodeStatus(String workflowInstanceId, String nodeId) throws RegistryException;
 
-    public Response getWorkflowNodeStartTime(String workflowInstanceId, String nodeId)throws RegistryException;
+    public Response getWorkflowNodeStartTime(String workflowInstanceId, String nodeId) throws RegistryException;
 
-    public Response getWorkflowStartTime(String workflowInstanceId)throws RegistryException;
+    public Response getWorkflowStartTime(String workflowInstanceId) throws RegistryException;
 
     /**
-     * This will store the gram specific data in to repository, this can be called before submitting the workflow in to Grid
+     * This will store the gram specific data in to repository, this can be called before submitting the workflow in to
+     * Grid
+     * 
      * @param workflowNodeGramData
      * @return
      */
-    public Response updateWorkflowNodeGramData(WorkflowNodeGramData workflowNodeGramData)throws RegistryException;
+    public Response updateWorkflowNodeGramData(WorkflowNodeGramData workflowNodeGramData) throws RegistryException;
 
-    public Response getWorkflowInstanceData(String workflowInstanceId)throws RegistryException;
+    public Response getWorkflowInstanceData(String workflowInstanceId) throws RegistryException;
 
-    public Response isWorkflowInstanceNodePresent(String workflowInstanceId, String nodeId)throws RegistryException;
+    public Response isWorkflowInstanceNodePresent(String workflowInstanceId, String nodeId) throws RegistryException;
 
-    public Response isWorkflowInstanceNodePresent(String workflowInstanceId, String nodeId, boolean createIfNotPresent)throws RegistryException;
+    public Response isWorkflowInstanceNodePresent(String workflowInstanceId, String nodeId, boolean createIfNotPresent)
+            throws RegistryException;
 
-    public Response getWorkflowInstanceNodeData(String workflowInstanceId, String nodeId)throws RegistryException;
+    public Response getWorkflowInstanceNodeData(String workflowInstanceId, String nodeId) throws RegistryException;
 
-    public Response addWorkflowInstance(String experimentId, String workflowInstanceId, String templateName) throws RegistryException;
+    public Response addWorkflowInstance(String experimentId, String workflowInstanceId, String templateName)
+            throws RegistryException;
 
-    public Response updateWorkflowNodeType(String workflowInstanceId, String nodeId, String nodeType) throws RegistryException;
+    public Response updateWorkflowNodeType(String workflowInstanceId, String nodeId, String nodeType)
+            throws RegistryException;
 
     public Response addWorkflowInstanceNode(String workflowInstance, String nodeId) throws RegistryException;
 }

Modified: airavata/trunk/modules/registry/airavata-registry-service/src/main/java/org/apache/airavata/registry/services/PublishedWorkflowRegistryService.java
URL: http://svn.apache.org/viewvc/airavata/trunk/modules/registry/airavata-registry-service/src/main/java/org/apache/airavata/registry/services/PublishedWorkflowRegistryService.java?rev=1402928&r1=1402927&r2=1402928&view=diff
==============================================================================
--- airavata/trunk/modules/registry/airavata-registry-service/src/main/java/org/apache/airavata/registry/services/PublishedWorkflowRegistryService.java (original)
+++ airavata/trunk/modules/registry/airavata-registry-service/src/main/java/org/apache/airavata/registry/services/PublishedWorkflowRegistryService.java Sun Oct 28 04:44:31 2012
@@ -1,3 +1,24 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+*/
+
 package org.apache.airavata.registry.services;
 
 import org.apache.airavata.registry.api.exception.RegistryException;
@@ -9,13 +30,22 @@ import javax.ws.rs.core.Response;
 
 public interface PublishedWorkflowRegistryService {
     public Response isPublishedWorkflowExists(String workflowName) throws RegistryException;
-    public Response publishWorkflow(String workflowName, String publishWorkflowName) throws PublishedWorkflowAlreadyExistsException, UserWorkflowDoesNotExistsException, RegistryException;
-    public Response publishWorkflow(String workflowName) throws PublishedWorkflowAlreadyExistsException, UserWorkflowDoesNotExistsException, RegistryException;
 
-    public Response getPublishedWorkflowGraphXML(String workflowName) throws PublishedWorkflowDoesNotExistsException, RegistryException;
+    public Response publishWorkflow(String workflowName, String publishWorkflowName)
+            throws PublishedWorkflowAlreadyExistsException, UserWorkflowDoesNotExistsException, RegistryException;
+
+    public Response publishWorkflow(String workflowName) throws PublishedWorkflowAlreadyExistsException,
+            UserWorkflowDoesNotExistsException, RegistryException;
+
+    public Response getPublishedWorkflowGraphXML(String workflowName) throws PublishedWorkflowDoesNotExistsException,
+            RegistryException;
+
     public Response getPublishedWorkflowNames() throws RegistryException;
+
     public Response getPublishedWorkflows() throws RegistryException;
+
     public Response getPublishedWorkflowMetadata(String workflowName) throws RegistryException;
 
-    public Response removePublishedWorkflow(String workflowName)throws PublishedWorkflowDoesNotExistsException, RegistryException;
+    public Response removePublishedWorkflow(String workflowName) throws PublishedWorkflowDoesNotExistsException,
+            RegistryException;
 }

Modified: airavata/trunk/modules/registry/airavata-registry-service/src/main/java/org/apache/airavata/registry/services/UserWorkflowRegistryService.java
URL: http://svn.apache.org/viewvc/airavata/trunk/modules/registry/airavata-registry-service/src/main/java/org/apache/airavata/registry/services/UserWorkflowRegistryService.java?rev=1402928&r1=1402927&r2=1402928&view=diff
==============================================================================
--- airavata/trunk/modules/registry/airavata-registry-service/src/main/java/org/apache/airavata/registry/services/UserWorkflowRegistryService.java (original)
+++ airavata/trunk/modules/registry/airavata-registry-service/src/main/java/org/apache/airavata/registry/services/UserWorkflowRegistryService.java Sun Oct 28 04:44:31 2012
@@ -1,5 +1,25 @@
-package org.apache.airavata.registry.services;
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+*/
 
+package org.apache.airavata.registry.services;
 
 import org.apache.airavata.registry.api.exception.RegistryException;
 import org.apache.airavata.registry.api.exception.worker.UserWorkflowAlreadyExistsException;
@@ -9,10 +29,16 @@ import javax.ws.rs.core.Response;
 
 public interface UserWorkflowRegistryService {
     public Response isWorkflowExists(String workflowName) throws RegistryException;
-    public Response addWorkflow(String workflowName, String workflowGraphXml) throws UserWorkflowAlreadyExistsException, RegistryException;
-    public Response updateWorkflow(String workflowName, String workflowGraphXml) throws UserWorkflowDoesNotExistsException, RegistryException;
 
-    public Response getWorkflowGraphXML(String workflowName) throws UserWorkflowDoesNotExistsException, RegistryException;
+    public Response addWorkflow(String workflowName, String workflowGraphXml)
+            throws UserWorkflowAlreadyExistsException, RegistryException;
+
+    public Response updateWorkflow(String workflowName, String workflowGraphXml)
+            throws UserWorkflowDoesNotExistsException, RegistryException;
+
+    public Response getWorkflowGraphXML(String workflowName) throws UserWorkflowDoesNotExistsException,
+            RegistryException;
+
     public Response getWorkflows() throws RegistryException;
 
     public Response getWorkflowMetadata(String workflowName) throws RegistryException;

Modified: airavata/trunk/modules/registry/airavata-registry-service/src/main/java/org/apache/airavata/registry/services/utils/ConnectionPool.java
URL: http://svn.apache.org/viewvc/airavata/trunk/modules/registry/airavata-registry-service/src/main/java/org/apache/airavata/registry/services/utils/ConnectionPool.java?rev=1402928&r1=1402927&r2=1402928&view=diff
==============================================================================
--- airavata/trunk/modules/registry/airavata-registry-service/src/main/java/org/apache/airavata/registry/services/utils/ConnectionPool.java (original)
+++ airavata/trunk/modules/registry/airavata-registry-service/src/main/java/org/apache/airavata/registry/services/utils/ConnectionPool.java Sun Oct 28 04:44:31 2012
@@ -18,27 +18,8 @@
  * under the License.
  *
 */
+
 package org.apache.airavata.registry.services.utils;
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
- */
 
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;

Modified: airavata/trunk/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/gateway/InsufficientDataException.java
URL: http://svn.apache.org/viewvc/airavata/trunk/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/gateway/InsufficientDataException.java?rev=1402928&r1=1402927&r2=1402928&view=diff
==============================================================================
--- airavata/trunk/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/gateway/InsufficientDataException.java (original)
+++ airavata/trunk/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/gateway/InsufficientDataException.java Sun Oct 28 04:44:31 2012
@@ -1,13 +1,34 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ */
+
 package org.apache.airavata.registry.api.exception.gateway;
 
 import org.apache.airavata.registry.api.exception.RegistryException;
 
 public class InsufficientDataException extends RegistryException {
 
-	private static final long serialVersionUID = 7706410845538952164L;
+    private static final long serialVersionUID = 7706410845538952164L;
 
-	public InsufficientDataException(String message) {
-		super(message);
-	}
+    public InsufficientDataException(String message) {
+        super(message);
+    }
 
 }

Modified: airavata/trunk/pom.xml
URL: http://svn.apache.org/viewvc/airavata/trunk/pom.xml?rev=1402928&r1=1402927&r2=1402928&view=diff
==============================================================================
--- airavata/trunk/pom.xml (original)
+++ airavata/trunk/pom.xml Sun Oct 28 04:44:31 2012
@@ -33,9 +33,9 @@
     <inceptionYear>2011</inceptionYear>
 
     <scm>
-        <connection>scm:svn:http://svn.apache.org/repos/asf/airavata/trunk/</connection>
-        <developerConnection>scm:svn:https://svn.apache.org/repos/asf/airavata/trunk/</developerConnection>
-        <url>http://svn.apache.org/viewvc/airavata/trunk/</url>
+        <connection>scm:svn:http://svn.apache.org/repos/asf/airavata/branches/0.5/</connection>
+        <developerConnection>scm:svn:https://svn.apache.org/repos/asf/airavata/branches/0.5/</developerConnection>
+        <url>http://svn.apache.org/viewvc/airavata/branches/0.5/</url>
     </scm>
 
     <mailingLists>
@@ -587,6 +587,15 @@
                     <plugin>
                         <groupId>org.apache.rat</groupId>
                         <artifactId>apache-rat-plugin</artifactId>
+                                <configuration>
+          <excludes>
+            <exclude>**/target/**/*</exclude>
+            <exclude>**/.settings/**/*</exclude>
+            <exclude>**/.project</exclude>
+            <exclude>**/.classpath</exclude>
+            <exclude>**/logo.txt</exclude>
+          </excludes>
+        </configuration>
                         <executions>
                             <execution>
                                 <phase>verify</phase>



Mime
View raw message