airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chath...@apache.org
Subject [3/9] retiring previous registry API - AIRAVATA-1234
Date Fri, 22 Aug 2014 19:01:32 GMT
http://git-wip-us.apache.org/repos/asf/airavata/blob/f72637f2/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/ProvenanceRegistry.java
----------------------------------------------------------------------
diff --git a/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/ProvenanceRegistry.java b/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/ProvenanceRegistry.java
deleted file mode 100644
index 6148399..0000000
--- a/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/ProvenanceRegistry.java
+++ /dev/null
@@ -1,528 +0,0 @@
-/*
- *
- * 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;
-
-import java.util.Date;
-import java.util.HashMap;
-import java.util.List;
-
-import org.apache.airavata.registry.api.exception.RegException;
-import org.apache.airavata.registry.api.workflow.*;
-import org.apache.airavata.registry.api.workflow.ApplicationJob.ApplicationJobStatus;
-import org.apache.airavata.registry.api.workflow.WorkflowExecutionStatus.State;
-
-public interface ProvenanceRegistry extends AiravataSubRegistry{
-
-	/*------------------------------------------- Experiment data ---------------------------------------------*/
-	
-	/**
-     * Returns true if the experiment exists 
-     * @param experimentId
-     * @return
-     * @throws org.apache.airavata.registry.api.exception.RegException
-     */
-	public boolean isExperimentExists(String experimentId) throws RegException;
-	
-	public boolean isExperimentExists(String experimentId, boolean createIfNotPresent) throws RegException;
-	
-    /**
-     * Save the username of the user who runs this experiment 
-     * @param experimentId
-     * @param user
-     * @return
-     * @throws org.apache.airavata.registry.api.exception.RegException
-     */
-	public void updateExperimentExecutionUser(String experimentId, String user) throws RegException;
-    
-    /**
-     * Retrieve the user who is runing the experiment
-     * @param experimentId
-     * @return
-     * @throws org.apache.airavata.registry.api.exception.RegException
-     */
-	public String getExperimentExecutionUser(String experimentId) throws RegException;
-
-    /**
-     * check whether the experiment name exists
-     * @param experimentName
-     * @return
-     * @throws org.apache.airavata.registry.api.exception.RegException
-     */
-    public boolean isExperimentNameExist(String experimentName) throws RegException;
-    /**
-     * Get the name of the workflow intance
-     * @param experimentId
-     * @return
-     * @throws org.apache.airavata.registry.api.exception.RegException
-     */
-	public String getExperimentName(String experimentId) throws RegException;
-    
-    /**
-     * Save a name for this workflow execution
-     * @param experimentId
-     * @param experimentName
-     * @return
-     * @throws org.apache.airavata.registry.api.exception.RegException
-     */
-	public void updateExperimentName(String experimentId,String experimentName)throws RegException;
-    
-	/**
-     * Return the metadata information saved for the experiment
-     * @param experimentId
-     * @return
-     * @throws org.apache.airavata.registry.api.exception.RegException
-     */
-    public String getExperimentMetadata(String experimentId) throws RegException;
-    
-    /**
-     * Save the metadata for the experiment
-     * @param experimentId
-     * @param metadata
-     * @return
-     * @throws org.apache.airavata.registry.api.exception.RegException
-     */
-    public void updateExperimentMetadata(String experimentId, String metadata) throws RegException;
-    
-    /**
-     * Return the template name of the workflow that this intance was created from
-     * @param workflowInstanceId
-     * @return
-     * @throws org.apache.airavata.registry.api.exception.RegException
-     */
-    public String getWorkflowExecutionTemplateName(String workflowInstanceId) throws RegException;
-    
-    /**
-     * Save the template name of the workflow that this intance was created from
-     * @param workflowInstanceId
-     * @param templateName
-     * @throws org.apache.airavata.registry.api.exception.RegException
-     */
-    public void setWorkflowInstanceTemplateName(String workflowInstanceId, String templateName) throws RegException;
-    
-    public List<WorkflowExecution> getExperimentWorkflowInstances(String experimentId) throws RegException;
-    
-    /*-------------------------------------- Experiment Workflow instance node data ----------------------------------------*/
-
-    public boolean isWorkflowInstanceExists(String instanceId) throws RegException;
-    
-    public boolean isWorkflowInstanceExists(String instanceId, boolean createIfNotPresent) throws RegException;
-    
-    /**
-     * Save a status for this workflow execution with the current time at the moment
-     * @param instanceId
-     * @param status - contains the status
-     * @return
-     * @throws org.apache.airavata.registry.api.exception.RegException
-     */
-	public void updateWorkflowInstanceStatus(String instanceId,State status)throws RegException;
-
-    /**
-     * Save a status for this workflow execution
-     * @param status - contains the status
-     * @return
-     * @throws org.apache.airavata.registry.api.exception.RegException
-     */
-	public void updateWorkflowInstanceStatus(WorkflowExecutionStatus status)throws RegException;
-
-	
-    /**
-     * Return the status of the execution
-     * @param instanceId
-     * @return
-     * @throws org.apache.airavata.registry.api.exception.RegException
-     */
-	public WorkflowExecutionStatus getWorkflowInstanceStatus(String instanceId)throws RegException;
-
-    /**
-	 * Save the input data of a node in the workflow instance of an experiment
-	 * @param node
-     * @param data
-	 * @return true if successfully saved
-	 * @throws org.apache.airavata.registry.api.exception.RegException
-	 */
-	public void updateWorkflowNodeInput(WorkflowInstanceNode node, String data) throws RegException;
-
-    /**
-     * Save the output data of a node in the workflow instance of an experiment
-     * @param node
-     * @return true if successfully saved
-     * @throws org.apache.airavata.registry.api.exception.RegException
-     */
-	public void updateWorkflowNodeOutput(WorkflowInstanceNode node, String data)throws RegException;
-    
-    /**
-     * 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
-     * @return
-     * @throws org.apache.airavata.registry.api.exception.RegException
-     */
-	public List<WorkflowNodeIOData> searchWorkflowInstanceNodeInput(String experimentIdRegEx, String workflowNameRegEx, String nodeNameRegEx)throws RegException;
-
-	/**
-     * 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
-	 * @return
-	 * @throws org.apache.airavata.registry.api.exception.RegException
-	 */
-	public List<WorkflowNodeIOData> searchWorkflowInstanceNodeOutput(String experimentIdRegEx, String workflowNameRegEx, String nodeNameRegEx)throws RegException;
-	
-	public List<WorkflowNodeIOData> getWorkflowInstanceNodeInput(String workflowInstanceId, String nodeType)throws RegException;
-	
-	public List<WorkflowNodeIOData> getWorkflowInstanceNodeOutput(String workflowInstanceId, String nodeType)throws RegException;
-
-    /**
-     * Saves the results of output nodes in a workflow
-     * @deprecated 
-     * @param experimentId - also the workflow id
-     * @param outputNodeName
-     * @param output
-     * @return
-     * @throws org.apache.airavata.registry.api.exception.RegException
-     */
-	public void saveWorkflowExecutionOutput(String experimentId,String outputNodeName,String output) throws RegException;
-    
-    /**
-     * Saves the results of output nodes in a workflow
-     * @deprecated
-     * @param experimentId - also the workflow id
-     * @param data
-     * @return
-     * @throws org.apache.airavata.registry.api.exception.RegException
-     */
-	public void saveWorkflowExecutionOutput(String experimentId, WorkflowIOData data) throws RegException;
-
-    /**
-     * Get the output results of a output node of an experiment
-     * @deprecated
-     * @param experimentId - also the workflow id
-     * @param outputNodeName
-     * @return
-     * @throws org.apache.airavata.registry.api.exception.RegException
-     */
-	public WorkflowIOData getWorkflowExecutionOutput(String experimentId,String outputNodeName) throws RegException;
-    
-    /**
-     * Get the list of output node results of an experiment 
-     * @deprecated
-     * @param experimentId - also the workflow id
-     * @return
-     * @throws org.apache.airavata.registry.api.exception.RegException
-     */
-	public List<WorkflowIOData> getWorkflowExecutionOutput(String experimentId) throws RegException;
-
-    /**
-     * Get the names of the output nodes of a workflow instance run
-     * @deprecated
-     * @param exeperimentId - also the workflow id
-     * @return
-     * @throws org.apache.airavata.registry.api.exception.RegException
-     */
-	public String[] getWorkflowExecutionOutputNames(String exeperimentId) throws RegException;
-
-	/*---------------------------------------  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.RegException
-     */
-	public ExperimentData getExperiment(String experimentId) throws RegException;
-	
-	public ExperimentData getExperimentMetaInformation(String experimentId)throws RegException;
-	
-	public List<ExperimentData> getAllExperimentMetaInformation(String user)throws RegException;
-	
-	/**
-	 * Retrieve experiments which their names match the regular expression experimentNameRegex
-	 * @param user
-	 * @param experimentNameRegex
-	 * @return
-	 * @throws org.apache.airavata.registry.api.exception.RegException
-	 */
-	public List<ExperimentData> searchExperiments(String user, String experimentNameRegex)throws RegException;
-    
-    /**
-     * Return experiment ids of experiments launched by the given user
-     * @param user - a regex user id
-     * @return - experiment id list
-     * @throws org.apache.airavata.registry.api.exception.RegException
-     */
-	public List<String> getExperimentIdByUser(String user) throws RegException;
-
-	/**
-	 * 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.RegException
-	 */
-    public List<ExperimentData> getExperimentByUser(String user) throws RegException;
-    
-	public List<ExperimentData> getExperiments(HashMap<String, String> params) throws RegException;
-    
-    /**
-     * 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
-     * @return
-     * @throws org.apache.airavata.registry.api.exception.RegException
-     */
-    public List<ExperimentData> getExperimentByUser(String user, int pageSize, int pageNo) throws RegException;
-
-    /**
-     * This will update the workflowStatus for given experimentID,workflowInstanceID combination.
-     * @param workflowStatusNode
-     * @return
-     */
-    public void updateWorkflowNodeStatus(NodeExecutionStatus workflowStatusNode)throws RegException;
-
-    public void updateWorkflowNodeStatus(String workflowInstanceId, String nodeId, State status)throws RegException;
-    
-    public void updateWorkflowNodeStatus(WorkflowInstanceNode workflowNode, State status)throws RegException;
-
-    public NodeExecutionStatus getWorkflowNodeStatus(WorkflowInstanceNode workflowNode)throws RegException;
-    
-    public Date getWorkflowNodeStartTime(WorkflowInstanceNode workflowNode)throws RegException;
-    
-    public Date getWorkflowStartTime(WorkflowExecution workflowInstance)throws RegException;
-    
-    /**
-     * @deprecated - Will be removed from 0.9 release onwards. Use {@see #addApplicationJob #updateApplicationJob(ApplicationJob) etc.} functions instead.
-     * 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 void updateWorkflowNodeGramData(WorkflowNodeGramData workflowNodeGramData)throws RegException;
-    
-    public WorkflowExecutionData getWorkflowInstanceData(String workflowInstanceId)throws RegException;
-    
-    public boolean isWorkflowInstanceNodePresent(String workflowInstanceId, String nodeId)throws RegException;
-    
-    public boolean isWorkflowInstanceNodePresent(String workflowInstanceId, String nodeId, boolean createIfNotPresent)throws RegException;
-    
-    public NodeExecutionData getWorkflowInstanceNodeData(String workflowInstanceId, String nodeId)throws RegException;
-
-    public void addWorkflowInstance(String experimentId, String workflowInstanceId, String templateName) throws RegException;
-    
-    public void updateWorkflowNodeType(WorkflowInstanceNode node, WorkflowNodeType type) throws RegException;
-    
-    public void addWorkflowInstanceNode(String workflowInstance, String nodeId) throws RegException;
-    
-    
-	/*---------------------------------------  Errors in experiment executions ------------------------------------------*/
-
-    /**
-     * Return errors defined at the experiment level 
-     * @param experimentId
-     * @return
-     * @throws org.apache.airavata.registry.api.exception.RegException
-     */
-    public List<ExperimentExecutionError> getExperimentExecutionErrors(String experimentId) throws RegException;
-    
-    /**
-     * Return errors defined at the workflow level 
-     * @param experimentId
-     * @param workflowInstanceId
-     * @return
-     * @throws org.apache.airavata.registry.api.exception.RegException
-     */
-    public List<WorkflowExecutionError> getWorkflowExecutionErrors(String experimentId, String workflowInstanceId) throws RegException;
-
-    /**
-     * Return errors defined at the node level 
-     * @param experimentId
-     * @param workflowInstanceId
-     * @param nodeId
-     * @return
-     * @throws org.apache.airavata.registry.api.exception.RegException
-     */
-    public List<NodeExecutionError> getNodeExecutionErrors(String experimentId, String workflowInstanceId, String nodeId) throws RegException;
-    
-    /**
-     * Return errors defined for a Application job 
-     * @param experimentId
-     * @param workflowInstanceId
-     * @param nodeId
-     * @param jobId
-     * @return
-     * @throws org.apache.airavata.registry.api.exception.RegException
-     */
-    public List<ApplicationJobExecutionError> getApplicationJobErrors(String experimentId, String workflowInstanceId, String nodeId, String jobId) throws RegException;
-
-    /**
-     * Return errors defined for a Application job 
-     * @param jobId
-     * @return
-     * @throws org.apache.airavata.registry.api.exception.RegException
-     */
-    public List<ApplicationJobExecutionError> getApplicationJobErrors(String jobId) throws RegException;
-
-    /**
-     * Return errors filtered by the parameters
-     * @param experimentId 
-     * @param workflowInstanceId
-     * @param nodeId
-     * @param jobId
-     * @param filterBy - what type of source types the results should contain
-     * @return
-     * @throws org.apache.airavata.registry.api.exception.RegException
-     */
-    public List<ExecutionError> getExecutionErrors(String experimentId, String workflowInstanceId, String nodeId, String jobId, ExecutionErrors.Source...filterBy) throws RegException;
-    /**
-     * Adds an experiment execution error 
-     * @param error
-     * @return
-     * @throws org.apache.airavata.registry.api.exception.RegException
-     */
-    public int addExperimentError(ExperimentExecutionError error) throws RegException;
-    
-    /**
-     * Adds an workflow execution error 
-     * @param error
-     * @return
-     * @throws org.apache.airavata.registry.api.exception.RegException
-     */
-    public int addWorkflowExecutionError(WorkflowExecutionError error) throws RegException;
-    
-    /**
-     * Adds an node execution error 
-     * @param error
-     * @return
-     * @throws org.apache.airavata.registry.api.exception.RegException
-     */
-    public int addNodeExecutionError(NodeExecutionError error) throws RegException;
-
-    /**
-     * Adds an Application job execution error 
-     * @param error
-     * @return
-     * @throws org.apache.airavata.registry.api.exception.RegException
-     */
-    public int addApplicationJobExecutionError(ApplicationJobExecutionError error) throws RegException;
-    
-    
-	/*---------------------------------------  Managing Data for Application Jobs ------------------------------------------*/
-
-    /**
-     * Returns <code>true</code> if a Application job data is existing in the registry
-     * @param jobId
-     * @return
-     * @throws org.apache.airavata.registry.api.exception.RegException
-     */
-    public boolean isApplicationJobExists(String jobId) throws RegException;
-    
-    /**
-     * Adding data related to a new Application job submission
-     * @param job - the <code>jobId</code> cannot be <code>null</code>.
-     * @throws org.apache.airavata.registry.api.exception.RegException
-     */
-    public void addApplicationJob(ApplicationJob job) throws RegException;
-    
-    /**
-     * update data related to a existing Application job record in the registry
-     * @param job - the <code>jobId</code> cannot be <code>null</code> and should already exist in registry
-     * @throws org.apache.airavata.registry.api.exception.RegException
-     */
-    public void updateApplicationJob(ApplicationJob job) throws RegException;
-    
-    /**
-     * Update the status of the job
-     * @param jobId
-     * @param status
-     * @param statusUpdateTime
-     * @throws org.apache.airavata.registry.api.exception.RegException
-     */
-    public void updateApplicationJobStatus(String jobId, ApplicationJobStatus status, Date statusUpdateTime) throws RegException;
-   
-    /**
-     * Update the job data. GFacProvider implementation should decide the job data. Typically it'll 
-     * be a serialization of the submitted job query (eg: rsl for a GRAM job) 
-     * @param jobId
-     * @param jobdata
-     * @throws org.apache.airavata.registry.api.exception.RegException
-     */
-    public void updateApplicationJobData(String jobId, String jobdata) throws RegException;
-    
-    /**
-     * Update the time of job submission or job started executing
-     * @param jobId
-     * @param submitted
-     * @throws org.apache.airavata.registry.api.exception.RegException
-     */
-    public void updateApplicationJobSubmittedTime(String jobId, Date submitted) throws RegException;
-    
-    /**
-     * Update the time of current job status is valid.
-     * @param jobId
-     * @param statusUpdateTime
-     * @throws org.apache.airavata.registry.api.exception.RegException
-     */
-    public void updateApplicationJobStatusUpdateTime(String jobId, Date statusUpdateTime) throws RegException;
-    
-    /**
-     * Custom data field for users
-     * @param jobId
-     * @param metadata
-     * @throws org.apache.airavata.registry.api.exception.RegException
-     */
-    public void updateApplicationJobMetadata(String jobId, String metadata) throws RegException;
-    
-    /**
-     * Retrieve the Application Job for the given job id
-     * @param jobId
-     * @return
-     * @throws org.apache.airavata.registry.api.exception.RegException
-     */
-    public ApplicationJob getApplicationJob(String jobId) throws RegException;
-    
-    /**
-     * Retrieve a list of Application jobs executed for the given descriptors
-     * @param serviceDescriptionId - should be <code>null</code> if user does not care what service description the job corresponds to
-     * @param hostDescriptionId - should be <code>null</code> if user does not care what host description the job corresponds to
-     * @param applicationDescriptionId - should be <code>null</code> if user does not care what application description the job corresponds to
-     * @return
-     * @throws org.apache.airavata.registry.api.exception.RegException
-     */
-    public List<ApplicationJob> getApplicationJobsForDescriptors(String serviceDescriptionId, String hostDescriptionId, String applicationDescriptionId) throws RegException;
-    
-    /**
-     * Retrieve a list of Application jobs executed for the given experiment credentials
-     * @param experimentId - should be <code>null</code> if user does not care what experiment the job corresponds to
-     * @param workflowExecutionId -  - should be <code>null</code> if user does not care what workflow execution the job corresponds to
-     * @param nodeId  - should be <code>null</code> if user does not care what node id the job corresponds to
-     * @return
-     * @throws org.apache.airavata.registry.api.exception.RegException
-     */
-    public List<ApplicationJob> getApplicationJobs(String experimentId, String workflowExecutionId, String nodeId) throws RegException;
-    
-    /**
-     * Retrieve the list all the status updates for an application job.
-     * @param jobId - Application job id
-     * @return
-     * @throws org.apache.airavata.registry.api.exception.RegException
-     */
-    public List<ApplicationJobStatusData> getApplicationJobStatusHistory(String jobId) throws RegException;
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/airavata/blob/f72637f2/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/PublishedWorkflowRegistry.java
----------------------------------------------------------------------
diff --git a/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/PublishedWorkflowRegistry.java b/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/PublishedWorkflowRegistry.java
deleted file mode 100644
index 153ccdd..0000000
--- a/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/PublishedWorkflowRegistry.java
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- *
- * 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;
-
-import java.util.List;
-import java.util.Map;
-
-import org.apache.airavata.registry.api.exception.RegException;
-import org.apache.airavata.registry.api.exception.gateway.PublishedWorkflowAlreadyExistsException;
-import org.apache.airavata.registry.api.exception.gateway.PublishedWorkflowDoesNotExistsException;
-import org.apache.airavata.registry.api.exception.worker.UserWorkflowDoesNotExistsException;
-
-
-public interface PublishedWorkflowRegistry extends AiravataSubRegistry {
-	
-	public boolean isPublishedWorkflowExists(String workflowName) throws RegException;
-	public void publishWorkflow(String workflowName, String publishWorkflowName) throws PublishedWorkflowAlreadyExistsException, UserWorkflowDoesNotExistsException, RegException;
-	public void publishWorkflow(String workflowName) throws PublishedWorkflowAlreadyExistsException, UserWorkflowDoesNotExistsException, RegException;
-	
-	public String getPublishedWorkflowGraphXML(String workflowName) throws PublishedWorkflowDoesNotExistsException, RegException;
-	public List<String> getPublishedWorkflowNames() throws RegException;
-	public Map<String,String> getPublishedWorkflows() throws RegException;
-	public ResourceMetadata getPublishedWorkflowMetadata(String workflowName) throws RegException;
-	
-	public void removePublishedWorkflow(String workflowName)throws PublishedWorkflowDoesNotExistsException, RegException;
-}

http://git-wip-us.apache.org/repos/asf/airavata/blob/f72637f2/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/ResourceMetadata.java
----------------------------------------------------------------------
diff --git a/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/ResourceMetadata.java b/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/ResourceMetadata.java
deleted file mode 100644
index 75c2e84..0000000
--- a/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/ResourceMetadata.java
+++ /dev/null
@@ -1,70 +0,0 @@
-/*
- *
- * 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;
-
-import java.util.Date;
-
-public class ResourceMetadata {
-	
-	/**
-	 * Note: not all the following properties will be available for
-	 * a resource
-	 */
-	
-	private AiravataUser createdUser;
-	private AiravataUser lastUpdatedUser;
-	
-	private Date createdDate;
-	private Date lastUpdatedDate;
-	private String revision;
-	
-	public AiravataUser getCreatedUser() {
-		return createdUser;
-	}
-	public void setCreatedUser(AiravataUser createdUser) {
-		this.createdUser = createdUser;
-	}
-	public AiravataUser getLastUpdatedUser() {
-		return lastUpdatedUser;
-	}
-	public void setLastUpdatedUser(AiravataUser lastUpdatedUser) {
-		this.lastUpdatedUser = lastUpdatedUser;
-	}
-	public Date getCreatedDate() {
-		return createdDate;
-	}
-	public void setCreatedDate(Date createdDate) {
-		this.createdDate = createdDate;
-	}
-	public Date getLastUpdatedDate() {
-		return lastUpdatedDate;
-	}
-	public void setLastUpdatedDate(Date lastUpdatedDate) {
-		this.lastUpdatedDate = lastUpdatedDate;
-	}
-	public String getRevision() {
-		return revision;
-	}
-	public void setRevision(String revision) {
-		this.revision = revision;
-	}
-}

http://git-wip-us.apache.org/repos/asf/airavata/blob/f72637f2/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/UserRegistry.java
----------------------------------------------------------------------
diff --git a/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/UserRegistry.java b/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/UserRegistry.java
deleted file mode 100644
index 1747458..0000000
--- a/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/UserRegistry.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- *
- * 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;
-
-import java.util.List;
-
-import org.apache.airavata.registry.api.exception.RegException;
-
-public interface UserRegistry extends AiravataSubRegistry{
-
-		
-	/**
-	 * Retrieve all the users in the registry
-	 * @return a list of airavata users from the registry
-	 * @throws org.apache.airavata.registry.api.exception.RegException
-	 */
-	
-	public List<AiravataUser> getUsers() throws RegException;
-    
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/airavata/blob/f72637f2/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/UserWorkflowRegistry.java
----------------------------------------------------------------------
diff --git a/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/UserWorkflowRegistry.java b/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/UserWorkflowRegistry.java
deleted file mode 100644
index 6274125..0000000
--- a/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/UserWorkflowRegistry.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- *
- * 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;
-
-import java.util.Map;
-
-import org.apache.airavata.registry.api.exception.RegException;
-import org.apache.airavata.registry.api.exception.worker.UserWorkflowAlreadyExistsException;
-import org.apache.airavata.registry.api.exception.worker.UserWorkflowDoesNotExistsException;
-
-
-public interface UserWorkflowRegistry extends AiravataSubRegistry {
-	
-	public boolean isWorkflowExists(String workflowName) throws RegException;
-	public void addWorkflow(String workflowName, String workflowGraphXml) throws UserWorkflowAlreadyExistsException, RegException;
-	public void updateWorkflow(String workflowName, String workflowGraphXml) throws UserWorkflowDoesNotExistsException, RegException;
-	
-	public String getWorkflowGraphXML(String workflowName) throws UserWorkflowDoesNotExistsException, RegException;
-	public Map<String,String> getWorkflows() throws RegException;
-	
-	public ResourceMetadata getWorkflowMetadata(String workflowName) throws RegException;
-	
-	public void removeWorkflow(String workflowName) throws UserWorkflowDoesNotExistsException, RegException;
-}

http://git-wip-us.apache.org/repos/asf/airavata/blob/f72637f2/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/WorkspaceProject.java
----------------------------------------------------------------------
diff --git a/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/WorkspaceProject.java b/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/WorkspaceProject.java
deleted file mode 100644
index f804dfe..0000000
--- a/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/WorkspaceProject.java
+++ /dev/null
@@ -1,95 +0,0 @@
-/*
- *
- * 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;
-
-import java.util.Date;
-import java.util.List;
-
-import org.apache.airavata.registry.api.exception.RegException;
-
-import javax.xml.bind.annotation.*;
-
-
-@XmlAccessorType(XmlAccessType.FIELD)
-@XmlRootElement
-public class WorkspaceProject{
-	private String projectName;
-    private Gateway gateway;
-    private AiravataUser airavataUser;
-
-    @XmlTransient
-    private ProjectsRegistry projectsRegistry;
-
-    public WorkspaceProject() {
-    }
-
-    public WorkspaceProject(String projectName, ProjectsRegistry registry) {
-		setProjectName(projectName);
-		setProjectsRegistry(registry);
-        setGateway(registry.getGateway());
-        setAiravataUser(registry.getAiravataUser());
-	}
-	
-	public String getProjectName() {
-		return projectName;
-	}
-
-	public void setProjectName(String projectName) {
-		this.projectName = projectName;
-	}
-
-	public ProjectsRegistry getProjectsRegistry() {
-		return projectsRegistry;
-	}
-
-	public void setProjectsRegistry(ProjectsRegistry projectsRegistry) {
-		this.projectsRegistry = projectsRegistry;
-	}
-	
-	public void createExperiment(AiravataExperiment experiment) throws RegException {
-		getProjectsRegistry().addExperiment(getProjectName(), experiment);
-	}
-	
-	public List<AiravataExperiment> getExperiments() throws RegException {
-		return getProjectsRegistry().getExperiments(getProjectName());
-	}
-	
-	public List<AiravataExperiment> getExperiments(Date from, Date to) throws RegException {
-		return getProjectsRegistry().getExperiments(getProjectName(),from, to);
-	}
-
-    public Gateway getGateway() {
-        return gateway;
-    }
-
-    public AiravataUser getAiravataUser() {
-        return airavataUser;
-    }
-
-    public void setGateway(Gateway gateway) {
-        this.gateway = gateway;
-    }
-
-    public void setAiravataUser(AiravataUser airavataUser) {
-        this.airavataUser = airavataUser;
-    }
-}

http://git-wip-us.apache.org/repos/asf/airavata/blob/f72637f2/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/AiravataRegUninitializedException.java
----------------------------------------------------------------------
diff --git a/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/AiravataRegUninitializedException.java b/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/AiravataRegUninitializedException.java
deleted file mode 100644
index e6e44a9..0000000
--- a/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/AiravataRegUninitializedException.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- *
- * 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;
-
-public class AiravataRegUninitializedException extends RegException {
-
-	public AiravataRegUninitializedException(String message, Throwable e) {
-		super(message, e);
-	}
-
-	private static final long serialVersionUID = -6873054164386608256L;
-
-}

http://git-wip-us.apache.org/repos/asf/airavata/blob/f72637f2/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/DeploymentDescriptionRetrieveException.java
----------------------------------------------------------------------
diff --git a/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/DeploymentDescriptionRetrieveException.java b/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/DeploymentDescriptionRetrieveException.java
deleted file mode 100644
index 3787a12..0000000
--- a/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/DeploymentDescriptionRetrieveException.java
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- *
- * 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;
-
-public class DeploymentDescriptionRetrieveException extends RegException {
-    private final static String ERROR_MESSAGE = "Error occured while attempting to retrieve existing deployment descriptions";
-    /**
-	 * 
-	 */
-    private static final long serialVersionUID = -2849422320139467602L;
-
-    public DeploymentDescriptionRetrieveException(Exception e) {
-        super(ERROR_MESSAGE,e);
-    }
-
-}

http://git-wip-us.apache.org/repos/asf/airavata/blob/f72637f2/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/GatewayNotRegisteredException.java
----------------------------------------------------------------------
diff --git a/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/GatewayNotRegisteredException.java b/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/GatewayNotRegisteredException.java
deleted file mode 100644
index e0750b0..0000000
--- a/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/GatewayNotRegisteredException.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- *
- * 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;
-
-public class GatewayNotRegisteredException extends RegException {
-
-	private static final long serialVersionUID = -139586125325993500L;
-
-	public GatewayNotRegisteredException(String gatewayName) {
-		super("The gateway id '"+gatewayName+"' is not registered within Airavata");
-	}
-
-}

http://git-wip-us.apache.org/repos/asf/airavata/blob/f72637f2/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/HostDescriptionRetrieveException.java
----------------------------------------------------------------------
diff --git a/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/HostDescriptionRetrieveException.java b/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/HostDescriptionRetrieveException.java
deleted file mode 100644
index f03fd03..0000000
--- a/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/HostDescriptionRetrieveException.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- *
- * 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;
-
-public class HostDescriptionRetrieveException extends RegException {
-    private final static String ERROR_MESSAGE = "Error occured while attempting to retrieve existing hosts";
-
-    private static final long serialVersionUID = -2849422320139467602L;
-
-    public HostDescriptionRetrieveException(Exception e) {
-        super(ERROR_MESSAGE, e);
-    }
-
-}

http://git-wip-us.apache.org/repos/asf/airavata/blob/f72637f2/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/RegAPIVersionIncompatibleException.java
----------------------------------------------------------------------
diff --git a/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/RegAPIVersionIncompatibleException.java b/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/RegAPIVersionIncompatibleException.java
deleted file mode 100644
index 3eac400..0000000
--- a/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/RegAPIVersionIncompatibleException.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- *
- * 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;
-
-public class RegAPIVersionIncompatibleException extends RegException {
-
-    private static final long serialVersionUID = -2679914107485739141L;
-
-    public RegAPIVersionIncompatibleException() {
-        this("Incompatible versions with Airavata registry and Airavata API");
-    }
-
-    public RegAPIVersionIncompatibleException(String message) {
-        this(message,null);
-    }
-
-    public RegAPIVersionIncompatibleException(String message, Exception e){
-        super(message, e);
-    }
-}

http://git-wip-us.apache.org/repos/asf/airavata/blob/f72637f2/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/RegAccessorInstantiateException.java
----------------------------------------------------------------------
diff --git a/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/RegAccessorInstantiateException.java b/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/RegAccessorInstantiateException.java
deleted file mode 100644
index 2214734..0000000
--- a/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/RegAccessorInstantiateException.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- *
- * 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;
-
-public class RegAccessorInstantiateException extends RegException {
-
-	private static final long serialVersionUID = -2679914107485739140L;
-	
-	public RegAccessorInstantiateException(String className, Exception e){
-		super("There was an exception instantiating the Registry accessor class '"+className+"'!!!", e);
-	}
-
-}

http://git-wip-us.apache.org/repos/asf/airavata/blob/f72637f2/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/RegAccessorInvalidException.java
----------------------------------------------------------------------
diff --git a/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/RegAccessorInvalidException.java b/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/RegAccessorInvalidException.java
deleted file mode 100644
index 0c85b42..0000000
--- a/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/RegAccessorInvalidException.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- *
- * 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;
-
-public class RegAccessorInvalidException extends RegException {
-
-	private static final long serialVersionUID = -2679914107485739140L;
-	
-	public RegAccessorInvalidException(String className){
-		super("Registry accessor '"+className+"' is not valid!!!");
-	}
-
-}

http://git-wip-us.apache.org/repos/asf/airavata/blob/f72637f2/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/RegAccessorNotFoundException.java
----------------------------------------------------------------------
diff --git a/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/RegAccessorNotFoundException.java b/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/RegAccessorNotFoundException.java
deleted file mode 100644
index daad74b..0000000
--- a/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/RegAccessorNotFoundException.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- *
- * 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;
-
-public class RegAccessorNotFoundException extends RegException {
-
-	private static final long serialVersionUID = -2679914107485739140L;
-	
-	public RegAccessorNotFoundException(String className, Exception e){
-		super("Registry accessor class '"+className+"'  was not found in classpath!!!", e);
-	}
-
-}

http://git-wip-us.apache.org/repos/asf/airavata/blob/f72637f2/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/RegAccessorUndefinedException.java
----------------------------------------------------------------------
diff --git a/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/RegAccessorUndefinedException.java b/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/RegAccessorUndefinedException.java
deleted file mode 100644
index 90ef70d..0000000
--- a/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/RegAccessorUndefinedException.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- *
- * 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;
-
-public class RegAccessorUndefinedException extends RegException {
-
-	private static final long serialVersionUID = -2679914107485739140L;
-
-	public RegAccessorUndefinedException() {
-		this("A registry accessor was not defined in the registry settings");
-	}
-	
-	public RegAccessorUndefinedException(String message) {
-		this(message,null);
-	}
-	
-	public RegAccessorUndefinedException(String message, Exception e){
-		super(message, e);
-	}
-
-}

http://git-wip-us.apache.org/repos/asf/airavata/blob/f72637f2/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/RegException.java
----------------------------------------------------------------------
diff --git a/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/RegException.java b/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/RegException.java
deleted file mode 100644
index c71abdc..0000000
--- a/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/RegException.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- *
- * 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;
-
-public class RegException extends Exception {
-	
-    private static final long serialVersionUID = -2849422320139467602L;
-
-    public RegException(Throwable e) {
-        super(e);
-    }
-    
-    public RegException(String message) {
-        super(message, null);
-    }
-    
-    public RegException(String message, Throwable e) {
-        super(message, e);
-    }
-}

http://git-wip-us.apache.org/repos/asf/airavata/blob/f72637f2/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/RegistrySettingsException.java
----------------------------------------------------------------------
diff --git a/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/RegistrySettingsException.java b/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/RegistrySettingsException.java
deleted file mode 100644
index eb07258..0000000
--- a/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/RegistrySettingsException.java
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- *
- * 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;
-
-import org.apache.airavata.common.exception.ApplicationSettingsException;
-
-public class RegistrySettingsException extends ApplicationSettingsException {
-
-	private static final long serialVersionUID = -4901850535475160411L;
-
-	public RegistrySettingsException(String message) {
-		super(message);
-	}
-	
-	public RegistrySettingsException(String message, Throwable e) {
-		super(message, e);
-	}
-}

http://git-wip-us.apache.org/repos/asf/airavata/blob/f72637f2/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/RegistrySettingsLoadException.java
----------------------------------------------------------------------
diff --git a/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/RegistrySettingsLoadException.java b/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/RegistrySettingsLoadException.java
deleted file mode 100644
index f4db4d3..0000000
--- a/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/RegistrySettingsLoadException.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- *
- * 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;
-
-public class RegistrySettingsLoadException extends RegistrySettingsException {
-
-	private static final long serialVersionUID = -5102090895499711299L;
-	public RegistrySettingsLoadException(String message) {
-		super(message);
-	}
-	
-	public RegistrySettingsLoadException(Throwable e) {
-		this(e.getMessage(),e);
-	}
-	
-	public RegistrySettingsLoadException(String message, Throwable e) {
-		super(message,e);
-	}
-}

http://git-wip-us.apache.org/repos/asf/airavata/blob/f72637f2/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/ServiceDescriptionRetrieveException.java
----------------------------------------------------------------------
diff --git a/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/ServiceDescriptionRetrieveException.java b/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/ServiceDescriptionRetrieveException.java
deleted file mode 100644
index d05e60a..0000000
--- a/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/ServiceDescriptionRetrieveException.java
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- *
- * 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;
-
-public class ServiceDescriptionRetrieveException extends RegException {
-    private final static String ERROR_MESSAGE = "Error occured while attempting to retrieve existing service descriptions";
-    /**
-	 * 
-	 */
-    private static final long serialVersionUID = -2849422320139467602L;
-
-    public ServiceDescriptionRetrieveException(Exception e) {
-        super(ERROR_MESSAGE, e);
-    }
-
-}

http://git-wip-us.apache.org/repos/asf/airavata/blob/f72637f2/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/UnimplementedRegOperationException.java
----------------------------------------------------------------------
diff --git a/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/UnimplementedRegOperationException.java b/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/UnimplementedRegOperationException.java
deleted file mode 100644
index e6a71f9..0000000
--- a/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/UnimplementedRegOperationException.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- *
- * 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;
-
-public class UnimplementedRegOperationException extends RegException {
-
-	private static final long serialVersionUID = 8565882892195989548L;
-
-	public UnimplementedRegOperationException() {
-		super("This operation is not implemented!!!");
-	}
-
-}

http://git-wip-us.apache.org/repos/asf/airavata/blob/f72637f2/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/UnknownRegConnectionDataException.java
----------------------------------------------------------------------
diff --git a/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/UnknownRegConnectionDataException.java b/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/UnknownRegConnectionDataException.java
deleted file mode 100644
index a71e085..0000000
--- a/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/UnknownRegConnectionDataException.java
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- *
- * 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;
-
-public class UnknownRegConnectionDataException extends RegException {
-
-	private static final long serialVersionUID = -6483101227925383562L;
-
-	public UnknownRegConnectionDataException(String message) {
-		super(message);
-	}
-	
-	public UnknownRegConnectionDataException(String message, Throwable e) {
-		super(message, e);
-	}
-
-}

http://git-wip-us.apache.org/repos/asf/airavata/blob/f72637f2/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/UnspecifiedRegistrySettingsException.java
----------------------------------------------------------------------
diff --git a/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/UnspecifiedRegistrySettingsException.java b/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/UnspecifiedRegistrySettingsException.java
deleted file mode 100644
index dc82651..0000000
--- a/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/UnspecifiedRegistrySettingsException.java
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- *
- * 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;
-
-public class UnspecifiedRegistrySettingsException extends RegistrySettingsException {
-
-	private static final long serialVersionUID = -1159027432434546003L;
-	public UnspecifiedRegistrySettingsException(String key) {
-		super("The '"+key+"' is not configured in Registry settings!!!");
-	}
-}

http://git-wip-us.apache.org/repos/asf/airavata/blob/f72637f2/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/gateway/DescriptorAlreadyExistsException.java
----------------------------------------------------------------------
diff --git a/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/gateway/DescriptorAlreadyExistsException.java b/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/gateway/DescriptorAlreadyExistsException.java
deleted file mode 100644
index 268c1fd..0000000
--- a/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/gateway/DescriptorAlreadyExistsException.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- *
- * 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.RegException;
-
-public class DescriptorAlreadyExistsException extends RegException {
-
-	private static final long serialVersionUID = -8006347245307495767L;
-
-	public DescriptorAlreadyExistsException(String descriptorName) {
-		super("The Descriptor "+descriptorName+" already exists!!!");
-	}
-
-}

http://git-wip-us.apache.org/repos/asf/airavata/blob/f72637f2/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/gateway/DescriptorDoesNotExistsException.java
----------------------------------------------------------------------
diff --git a/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/gateway/DescriptorDoesNotExistsException.java b/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/gateway/DescriptorDoesNotExistsException.java
deleted file mode 100644
index dc77a3b..0000000
--- a/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/gateway/DescriptorDoesNotExistsException.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- *
- * 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.RegException;
-
-public class DescriptorDoesNotExistsException extends RegException {
-
-	private static final long serialVersionUID = -8006347245307495767L;
-
-	public DescriptorDoesNotExistsException(String descriptorName) {
-		super("The Descriptor "+descriptorName+" does not exists!!!");
-	}
-
-}

http://git-wip-us.apache.org/repos/asf/airavata/blob/f72637f2/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/gateway/InsufficientDataException.java
----------------------------------------------------------------------
diff --git a/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/gateway/InsufficientDataException.java b/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/gateway/InsufficientDataException.java
deleted file mode 100644
index e495e42..0000000
--- a/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/gateway/InsufficientDataException.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- *
- * 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.RegException;
-
-public class InsufficientDataException extends RegException {
-
-    private static final long serialVersionUID = 7706410845538952164L;
-
-    public InsufficientDataException(String message) {
-        super(message);
-    }
-
-}

http://git-wip-us.apache.org/repos/asf/airavata/blob/f72637f2/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/gateway/MalformedDescriptorException.java
----------------------------------------------------------------------
diff --git a/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/gateway/MalformedDescriptorException.java b/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/gateway/MalformedDescriptorException.java
deleted file mode 100644
index 232ae9e..0000000
--- a/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/gateway/MalformedDescriptorException.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- *
- * 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.RegException;
-
-public class MalformedDescriptorException extends RegException {
-
-	private static final long serialVersionUID = -8006347245307495767L;
-
-	public MalformedDescriptorException(String descriptorName, Throwable e) {
-		super("Error in generating the descriptor for "+descriptorName+"!!!", e);
-	}
-
-}

http://git-wip-us.apache.org/repos/asf/airavata/blob/f72637f2/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/gateway/PublishedWorkflowAlreadyExistsException.java
----------------------------------------------------------------------
diff --git a/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/gateway/PublishedWorkflowAlreadyExistsException.java b/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/gateway/PublishedWorkflowAlreadyExistsException.java
deleted file mode 100644
index a0c935d..0000000
--- a/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/gateway/PublishedWorkflowAlreadyExistsException.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- *
- * 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.RegException;
-
-public class PublishedWorkflowAlreadyExistsException extends RegException {
-
-	private static final long serialVersionUID = -8006347245307495767L;
-
-	public PublishedWorkflowAlreadyExistsException(String workflowTemplateName) {
-		super("The workflow "+workflowTemplateName+" is already published!!!");
-	}
-
-}

http://git-wip-us.apache.org/repos/asf/airavata/blob/f72637f2/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/gateway/PublishedWorkflowDoesNotExistsException.java
----------------------------------------------------------------------
diff --git a/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/gateway/PublishedWorkflowDoesNotExistsException.java b/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/gateway/PublishedWorkflowDoesNotExistsException.java
deleted file mode 100644
index 2f32209..0000000
--- a/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/gateway/PublishedWorkflowDoesNotExistsException.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- *
- * 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.RegException;
-
-public class PublishedWorkflowDoesNotExistsException extends RegException {
-
-	private static final long serialVersionUID = -8006347245307495767L;
-
-	public PublishedWorkflowDoesNotExistsException(String workflowTemplateName) {
-		super("There is no workflow named "+workflowTemplateName+" published!!!");
-	}
-
-}

http://git-wip-us.apache.org/repos/asf/airavata/blob/f72637f2/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/worker/ApplicationJobAlreadyExistsException.java
----------------------------------------------------------------------
diff --git a/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/worker/ApplicationJobAlreadyExistsException.java b/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/worker/ApplicationJobAlreadyExistsException.java
deleted file mode 100644
index 7662200..0000000
--- a/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/worker/ApplicationJobAlreadyExistsException.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- *
- * 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.worker;
-
-import org.apache.airavata.registry.api.exception.RegException;
-
-public class ApplicationJobAlreadyExistsException extends RegException {
-
-	private static final long serialVersionUID = -8006347245307495767L;
-
-	public ApplicationJobAlreadyExistsException(String jobId) {
-		super("A Application job from the ID '"+jobId+"' is already present in the registry!!!");
-	}
-
-}

http://git-wip-us.apache.org/repos/asf/airavata/blob/f72637f2/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/worker/ApplicationJobDoesNotExistsException.java
----------------------------------------------------------------------
diff --git a/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/worker/ApplicationJobDoesNotExistsException.java b/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/worker/ApplicationJobDoesNotExistsException.java
deleted file mode 100644
index 349d119..0000000
--- a/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/worker/ApplicationJobDoesNotExistsException.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- *
- * 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.worker;
-
-import org.apache.airavata.registry.api.exception.RegException;
-
-public class ApplicationJobDoesNotExistsException extends RegException {
-
-	private static final long serialVersionUID = -8006347245307495767L;
-
-	public ApplicationJobDoesNotExistsException(String jobId) {
-		super("There is no Application job corresponding to ID '"+jobId+"' present in the registry!!!");
-	}
-
-}

http://git-wip-us.apache.org/repos/asf/airavata/blob/f72637f2/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/worker/ExperimentAlreadyExistsException.java
----------------------------------------------------------------------
diff --git a/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/worker/ExperimentAlreadyExistsException.java b/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/worker/ExperimentAlreadyExistsException.java
deleted file mode 100644
index 0be0e74..0000000
--- a/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/worker/ExperimentAlreadyExistsException.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- *
- * 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.worker;
-
-import org.apache.airavata.registry.api.exception.RegException;
-
-public class ExperimentAlreadyExistsException extends RegException {
-
-	private static final long serialVersionUID = -8006347245307495767L;
-
-	public ExperimentAlreadyExistsException(String experimentId) {
-		super("The experiment "+experimentId+" already added to the registry!!!");
-	}
-
-}

http://git-wip-us.apache.org/repos/asf/airavata/blob/f72637f2/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/worker/ExperimentDoesNotExistsException.java
----------------------------------------------------------------------
diff --git a/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/worker/ExperimentDoesNotExistsException.java b/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/worker/ExperimentDoesNotExistsException.java
deleted file mode 100644
index 09d2d05..0000000
--- a/modules/registry/registry-api/src/main/java/org/apache/airavata/registry/api/exception/worker/ExperimentDoesNotExistsException.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- *
- * 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.worker;
-
-import org.apache.airavata.registry.api.exception.RegException;
-
-public class ExperimentDoesNotExistsException extends RegException {
-
-	private static final long serialVersionUID = -8006347245307495767L;
-
-	public ExperimentDoesNotExistsException(String experimentId) {
-		super("The experiment "+experimentId+" is not present in the registry!!!");
-	}
-
-}


Mime
View raw message