Return-Path: X-Original-To: apmail-airavata-commits-archive@www.apache.org Delivered-To: apmail-airavata-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9D1F211BED for ; Mon, 7 Jul 2014 03:55:49 +0000 (UTC) Received: (qmail 65920 invoked by uid 500); 7 Jul 2014 03:55:49 -0000 Delivered-To: apmail-airavata-commits-archive@airavata.apache.org Received: (qmail 65809 invoked by uid 500); 7 Jul 2014 03:55:49 -0000 Mailing-List: contact commits-help@airavata.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@airavata.apache.org Delivered-To: mailing list commits@airavata.apache.org Received: (qmail 65543 invoked by uid 99); 7 Jul 2014 03:55:49 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Jul 2014 03:55:49 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id BAF629A0A62; Mon, 7 Jul 2014 03:55:48 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: smarru@apache.org To: commits@airavata.apache.org Date: Mon, 07 Jul 2014 03:55:48 -0000 Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: [1/7] Adding update methods to change priorities - AIRAVATA-1296 Repository: airavata Updated Branches: refs/heads/master 8808aaa65 -> f7008b97c http://git-wip-us.apache.org/repos/asf/airavata/blob/f7008b97/airavata-api/thrift-interface-descriptions/airavataAPI.thrift ---------------------------------------------------------------------- diff --git a/airavata-api/thrift-interface-descriptions/airavataAPI.thrift b/airavata-api/thrift-interface-descriptions/airavataAPI.thrift index 21db223..81dd7de 100644 --- a/airavata-api/thrift-interface-descriptions/airavataAPI.thrift +++ b/airavata-api/thrift-interface-descriptions/airavataAPI.thrift @@ -881,6 +881,25 @@ service Airavata { 3: airavataErrors.AiravataSystemException ase) /** + * Update the given Local Job Submission details + * + * @param jobSubmissionInterfaceId + * The identifier of the JobSubmission Interface to be updated. + * + * @param localSubmission + * The LOCALSubmission object to be updated. + * + * @return status + * Returns a success/failure of the deletion. + * + */ + bool updateLocalSubmissionDetails(1: required string jobSubmissionInterfaceId, + 2: required computeResourceModel.LOCALSubmission localSubmission) + throws (1: airavataErrors.InvalidRequestException ire, + 2: airavataErrors.AiravataClientException ace, + 3: airavataErrors.AiravataSystemException ase) + + /** * Add a SSH Job Submission details to a compute resource * App catalog will return a jobSubmissionInterfaceId which will be added to the jobSubmissionInterfaces. * @@ -905,7 +924,26 @@ service Airavata { 3: airavataErrors.AiravataSystemException ase) /** - * Add a Local data moevement details to a compute resource + * Update the given SSH Job Submission details + * + * @param jobSubmissionInterfaceId + * The identifier of the JobSubmission Interface to be updated. + * + * @param sshJobSubmission + * The SSHJobSubmission object to be updated. + * + * @return status + * Returns a success/failure of the deletion. + * + */ + bool updateSSHJobSubmissionDetails(1: required string jobSubmissionInterfaceId, + 2: required computeResourceModel.SSHJobSubmission sshJobSubmission) + throws (1: airavataErrors.InvalidRequestException ire, + 2: airavataErrors.AiravataClientException ace, + 3: airavataErrors.AiravataSystemException ase) + + /** + * Add a Local data movement details to a compute resource * App catalog will return a dataMovementInterfaceId which will be added to the dataMovementInterfaces. * * @param computeResourceId @@ -918,7 +956,7 @@ service Airavata { * The LOCALDataMovement object to be added to the resource. * * @return status - * Returns a success/failure of the deletion. + * Returns a success/failure of the addition. * */ bool addLocalDataMovementDetails(1: required string computeResourceId, @@ -929,7 +967,26 @@ service Airavata { 3: airavataErrors.AiravataSystemException ase) /** - * Add a SCP data moevement details to a compute resource + * Update the given Local data movement details + * + * @param jobSubmissionInterfaceId + * The identifier of the JobSubmission Interface to be updated. + * + * @param localDataMovement + * The LOCALDataMovement object to be updated. + * + * @return status + * Returns a success/failure of the update. + * + */ + bool updateLocalDataMovementDetails(1: required string jobSubmissionInterfaceId, + 2: required computeResourceModel.LOCALDataMovement localDataMovement) + throws (1: airavataErrors.InvalidRequestException ire, + 2: airavataErrors.AiravataClientException ace, + 3: airavataErrors.AiravataSystemException ase) + + /** + * Add a SCP data movement details to a compute resource * App catalog will return a dataMovementInterfaceId which will be added to the dataMovementInterfaces. * * @param computeResourceId @@ -953,7 +1010,27 @@ service Airavata { 3: airavataErrors.AiravataSystemException ase) /** - * Add a GridFTP data moevement details to a compute resource + * Update the given scp data movement details + * App catalog will return a dataMovementInterfaceId which will be added to the dataMovementInterfaces. + * + * @param jobSubmissionInterfaceId + * The identifier of the JobSubmission Interface to be updated. + * + * @param scpDataMovement + * The SCPDataMovement object to be updated. + * + * @return status + * Returns a success/failure of the update. + * + */ + bool updateSCPDataMovementDetails(1: required string jobSubmissionInterfaceId, + 2: required computeResourceModel.SCPDataMovement scpDataMovement) + throws (1: airavataErrors.InvalidRequestException ire, + 2: airavataErrors.AiravataClientException ace, + 3: airavataErrors.AiravataSystemException ase) + + /** + * Add a GridFTP data movement details to a compute resource * App catalog will return a dataMovementInterfaceId which will be added to the dataMovementInterfaces. * * @param computeResourceId @@ -976,6 +1053,124 @@ service Airavata { 2: airavataErrors.AiravataClientException ace, 3: airavataErrors.AiravataSystemException ase) + /** + * Update the given GridFTP data movement details to a compute resource + * App catalog will return a dataMovementInterfaceId which will be added to the dataMovementInterfaces. + * + * @param jobSubmissionInterfaceId + * The identifier of the JobSubmission Interface to be updated. + * + * @param gridFTPDataMovement + * The GridFTPDataMovement object to be updated. + * + * @return status + * Returns a success/failure of the updation. + * + */ + bool updateGridFTPDataMovementDetails(1: required string jobSubmissionInterfaceId, + 2: required computeResourceModel.GridFTPDataMovement gridFTPDataMovement) + throws (1: airavataErrors.InvalidRequestException ire, + 2: airavataErrors.AiravataClientException ace, + 3: airavataErrors.AiravataSystemException ase) + + /** + * Change the priority of a given job submisison interface + * + * @param jobSubmissionInterfaceId + * The identifier of the JobSubmission Interface to be changed + * + * @param priorityOrder + * The new priority of the job manager interface. + * + * @return status + * Returns a success/failure of the change. + * + */ + bool changeJobSubmissionPriority(1: required string jobSubmissionInterfaceId, + 2: required i32 newPriorityOrder) + throws (1: airavataErrors.InvalidRequestException ire, + 2: airavataErrors.AiravataClientException ace, + 3: airavataErrors.AiravataSystemException ase) + + /** + * Change the priority of a given data movement interface + * + * @param dataMovementInterfaceId + * The identifier of the DataMovement Interface to be changed + * + * @param priorityOrder + * The new priority of the data movement interface. + * + * @return status + * Returns a success/failure of the change. + * + */ + bool changeDataMovementPriority(1: required string dataMovementInterfaceId, + 2: required i32 newPriorityOrder) + throws (1: airavataErrors.InvalidRequestException ire, + 2: airavataErrors.AiravataClientException ace, + 3: airavataErrors.AiravataSystemException ase) + + /** + * Change the priorities of a given set of job submission interfaces + * + * @param jobSubmissionPriorityMap + * A Map of identifiers of the JobSubmission Interfaces and thier associated priorities to be set. + * + * @return status + * Returns a success/failure of the changes. + * + */ + bool changeJobSubmissionPriorities(1: required map jobSubmissionPriorityMap) + throws (1: airavataErrors.InvalidRequestException ire, + 2: airavataErrors.AiravataClientException ace, + 3: airavataErrors.AiravataSystemException ase) + + /** + * Change the priorities of a given set of data movement interfaces + * + * @param dataMovementPriorityMap + * A Map of identifiers of the DataMovement Interfaces and thier associated priorities to be set. + * + * @return status + * Returns a success/failure of the changes. + * + */ + bool changeDataMovementPriorities(1: required map dataMovementPriorityMap) + throws (1: airavataErrors.InvalidRequestException ire, + 2: airavataErrors.AiravataClientException ace, + 3: airavataErrors.AiravataSystemException ase) + + /** + * Delete a given job submisison interface + * + * @param jobSubmissionInterfaceId + * The identifier of the JobSubmission Interface to be changed + * + * @return status + * Returns a success/failure of the deletion. + * + */ + bool deleteJobSubmissionInterface(1: required string jobSubmissionInterfaceId) + throws (1: airavataErrors.InvalidRequestException ire, + 2: airavataErrors.AiravataClientException ace, + 3: airavataErrors.AiravataSystemException ase) + + /** + * Delete a given data movement interface + * + * @param dataMovementInterfaceId + * The identifier of the DataMovement Interface to be changed + * + * @return status + * Returns a success/failure of the deletion. + * + */ + bool deleteDataMovementInterface(1: required string dataMovementInterfaceId) + throws (1: airavataErrors.InvalidRequestException ire, + 2: airavataErrors.AiravataClientException ace, + 3: airavataErrors.AiravataSystemException ase) + //End of API }