airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scnakand...@apache.org
Subject [1/3] airavata git commit: throwing ProjectNotFoundException and ExperimentNotFoundExceptions from Registry
Date Mon, 19 Dec 2016 22:09:11 GMT
Repository: airavata
Updated Branches:
  refs/heads/develop 445e14950 -> 8fb9010e1


http://git-wip-us.apache.org/repos/asf/airavata/blob/8fb9010e/modules/registry/registry-server/registry-api-stubs/src/main/java/org/apache/airavata/registry/api/exception/RegistryServiceException.java
----------------------------------------------------------------------
diff --git a/modules/registry/registry-server/registry-api-stubs/src/main/java/org/apache/airavata/registry/api/exception/RegistryServiceException.java
b/modules/registry/registry-server/registry-api-stubs/src/main/java/org/apache/airavata/registry/api/exception/RegistryServiceException.java
index 206ffb8..b388c50 100644
--- a/modules/registry/registry-server/registry-api-stubs/src/main/java/org/apache/airavata/registry/api/exception/RegistryServiceException.java
+++ b/modules/registry/registry-server/registry-api-stubs/src/main/java/org/apache/airavata/registry/api/exception/RegistryServiceException.java
@@ -50,7 +50,7 @@ import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
 @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-11-08")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-12-19")
 public class RegistryServiceException extends TException implements org.apache.thrift.TBase<RegistryServiceException,
RegistryServiceException._Fields>, java.io.Serializable, Cloneable, Comparable<RegistryServiceException>
{
   private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("RegistryServiceException");
 

http://git-wip-us.apache.org/repos/asf/airavata/blob/8fb9010e/thrift-interface-descriptions/component-cpis/registry-api.thrift
----------------------------------------------------------------------
diff --git a/thrift-interface-descriptions/component-cpis/registry-api.thrift b/thrift-interface-descriptions/component-cpis/registry-api.thrift
index 97942a8..c852571 100644
--- a/thrift-interface-descriptions/component-cpis/registry-api.thrift
+++ b/thrift-interface-descriptions/component-cpis/registry-api.thrift
@@ -39,6 +39,7 @@ include "../data-models/resource-catalog-models/user_resource_profile_model.thri
 include "../data-models/resource-catalog-models/data_movement_models.thrift"
 include "../data-models/workflow-models/workflow_data_model.thrift"
 include "../data-models/replica-catalog-models/replica_catalog_models.thrift"
+include "../airavata-apis/airavata_errors.thrift"
 
 include "registry_api_errors.thrift"
 
@@ -210,7 +211,8 @@ service RegistryService {
          **/
         void updateProject (1: required string projectId,
                             2: required workspace_model.Project updatedProject)
-            throws (1: registry_api_errors.RegistryServiceException rse)
+            throws (1: registry_api_errors.RegistryServiceException rse,
+                    2: airavata_errors.ProjectNotFoundException pnfe)
 
          /**
          *
@@ -225,7 +227,8 @@ service RegistryService {
          *
          **/
         workspace_model.Project getProject (1: required string projectId)
-              throws (1: registry_api_errors.RegistryServiceException rse)
+              throws (1: registry_api_errors.RegistryServiceException rse,
+                      2: airavata_errors.ProjectNotFoundException pnfe)
 
          /**
          *
@@ -242,7 +245,8 @@ service RegistryService {
          *
          **/
         bool deleteProject (1: required string projectId)
-                throws (1: registry_api_errors.RegistryServiceException rse)
+                throws (1: registry_api_errors.RegistryServiceException rse,
+                        2: airavata_errors.ProjectNotFoundException pnfe)
 
          /**
          *
@@ -385,7 +389,8 @@ service RegistryService {
           list<experiment_model.ExperimentModel> getExperimentsInProject(1: required
string projectId,
                           2: required i32 limit,
                           3: required i32 offset)
-                  throws (1: registry_api_errors.RegistryServiceException rse)
+                  throws (1: registry_api_errors.RegistryServiceException rse,
+                          2: airavata_errors.ProjectNotFoundException pnfe)
 
            /**
            *
@@ -509,7 +514,8 @@ service RegistryService {
            *
          **/
           experiment_model.ExperimentModel getExperiment(1: required string airavataExperimentId)
-            throws (1: registry_api_errors.RegistryServiceException rse)
+            throws (1: registry_api_errors.RegistryServiceException rse,
+                    2: airavata_errors.ExperimentNotFoundException enf)
 
 
           /**
@@ -550,7 +556,8 @@ service RegistryService {
            *
           */
           experiment_model.ExperimentModel getDetailedExperimentTree(1: required string airavataExperimentId)
-              throws (1: registry_api_errors.RegistryServiceException rse)
+              throws (1: registry_api_errors.RegistryServiceException rse,
+                      2: airavata_errors.ExperimentNotFoundException enf)
 
 
           /**
@@ -595,7 +602,8 @@ service RegistryService {
           */
           void updateExperiment(1: required string airavataExperimentId,
                                 2: required experiment_model.ExperimentModel experiment)
-            throws (1: registry_api_errors.RegistryServiceException rse)
+            throws (1: registry_api_errors.RegistryServiceException rse,
+                    2: airavata_errors.ExperimentNotFoundException enf)
 
           void updateExperimentConfiguration(1: required string airavataExperimentId,
                                              2: required experiment_model.UserConfigurationDataModel
userConfiguration)
@@ -622,7 +630,8 @@ service RegistryService {
            *
            **/
             status_models.ExperimentStatus getExperimentStatus(1: required string airavataExperimentId)
-               throws (1: registry_api_errors.RegistryServiceException rse)
+               throws (1: registry_api_errors.RegistryServiceException rse,
+                       2: airavata_errors.ExperimentNotFoundException enf)
 
            /**
            *
@@ -639,7 +648,8 @@ service RegistryService {
            *
            **/
            list<application_io_models.OutputDataObjectType> getExperimentOutputs (1:
required string airavataExperimentId)
-               throws (1: registry_api_errors.RegistryServiceException rse)
+               throws (1: registry_api_errors.RegistryServiceException rse,
+                       2: airavata_errors.ExperimentNotFoundException enf)
 
            /**
            *
@@ -656,7 +666,8 @@ service RegistryService {
            *
            **/
             list<application_io_models.OutputDataObjectType> getIntermediateOutputs
(1: required string airavataExperimentId)
-                 throws (1: registry_api_errors.RegistryServiceException rse)
+                 throws (1: registry_api_errors.RegistryServiceException rse,
+                         2: airavata_errors.ExperimentNotFoundException enf)
 
            /**
            *
@@ -673,7 +684,8 @@ service RegistryService {
            *
            **/
            map<string, status_models.JobStatus> getJobStatuses(1: required string airavataExperimentId)
-                       throws (1: registry_api_errors.RegistryServiceException rse)
+                       throws (1: registry_api_errors.RegistryServiceException rse,
+                               2: airavata_errors.ExperimentNotFoundException enf)
 
            /**
            *
@@ -690,7 +702,8 @@ service RegistryService {
            *
            **/
            list<job_model.JobModel> getJobDetails(1: required string airavataExperimentId)
-                         throws (1: registry_api_errors.RegistryServiceException rse)
+                         throws (1: registry_api_errors.RegistryServiceException rse,
+                                 2: airavata_errors.ExperimentNotFoundException enf)
 
 
           /*


Mime
View raw message