diff --git a/2.3-dev/.doctrees/api_developer/classwrench_1_1_compound_job.doctree b/2.3-dev/.doctrees/api_developer/classwrench_1_1_compound_job.doctree index 9005fa936b..4b64a24712 100644 Binary files a/2.3-dev/.doctrees/api_developer/classwrench_1_1_compound_job.doctree and b/2.3-dev/.doctrees/api_developer/classwrench_1_1_compound_job.doctree differ diff --git a/2.3-dev/.doctrees/api_internal/classwrench_1_1_compound_job.doctree b/2.3-dev/.doctrees/api_internal/classwrench_1_1_compound_job.doctree index 4226b441a5..bdbe0005a1 100644 Binary files a/2.3-dev/.doctrees/api_internal/classwrench_1_1_compound_job.doctree and b/2.3-dev/.doctrees/api_internal/classwrench_1_1_compound_job.doctree differ diff --git a/2.3-dev/.doctrees/environment.pickle b/2.3-dev/.doctrees/environment.pickle index bffdf549a6..9d206d8c44 100644 Binary files a/2.3-dev/.doctrees/environment.pickle and b/2.3-dev/.doctrees/environment.pickle differ diff --git a/2.3-dev/api_developer/classwrench_1_1_compound_job.html b/2.3-dev/api_developer/classwrench_1_1_compound_job.html index f582dd2d1f..895db74db5 100644 --- a/2.3-dev/api_developer/classwrench_1_1_compound_job.html +++ b/2.3-dev/api_developer/classwrench_1_1_compound_job.html @@ -585,7 +585,7 @@
std::shared_ptr<FileRegistryDeleteEntryAction> addFileRegistryDeleteEntryAction(const std::string &name, const std::shared_ptr<FileRegistryService> &file_registry, const std::shared_ptr<FileLocation> &file_location)
-

Add a file registry delete entry action.

+

Add a file registry add entry action.

Parameters:
    diff --git a/2.3-dev/api_internal/classwrench_1_1_compound_job.html b/2.3-dev/api_internal/classwrench_1_1_compound_job.html index c8d0e9fcbc..e158731a05 100644 --- a/2.3-dev/api_internal/classwrench_1_1_compound_job.html +++ b/2.3-dev/api_internal/classwrench_1_1_compound_job.html @@ -757,7 +757,7 @@
    std::shared_ptr<FileRegistryDeleteEntryAction> addFileRegistryDeleteEntryAction(const std::string &name, const std::shared_ptr<FileRegistryService> &file_registry, const std::shared_ptr<FileLocation> &file_location)
    -

    Add a file registry delete entry action.

    +

    Add a file registry add entry action.

    Parameters:
      diff --git a/2.3-dev/restapi/index.html b/2.3-dev/restapi/index.html index d597488287..519c525b8e 100644 --- a/2.3-dev/restapi/index.html +++ b/2.3-dev/restapi/index.html @@ -689,31 +689,6 @@ -
      +
      @@ -3328,14 +2950,14 @@

      Status: 200 - OK

      -
      -
      +
      +
      - +
      -

      Status: 404 - Job not found

      +

      Status: 404 - Task not found

      @@ -3391,11 +3013,11 @@

      Status: 405 - Invalid input


      -
      -
      +
      +
      -

      addFile

      -

      Add a file to the simulation.

      +

      addFileRegistryService

      +

      Create and start a file registery service.

      @@ -3403,32 +3025,32 @@

      addFile


      -
      /simulation/{simid}/addFile
      +
      /simulation/{simid}/addFileRegistryService

      Usage and SDK Samples

      -
      -
      curl -X PUT\
      +                          
      +
      curl -X POST\
       -H "Accept: application/json"\
       -H "Content-Type: application/json"\
      -"https://wrench-project.org/v1/simulation/{simid}/addFile"
      +"https://wrench-project.org/v1/simulation/{simid}/addFileRegistryService"
      -
      +
      import io.swagger.client.*;
       import io.swagger.client.auth.*;
       import io.swagger.client.model.*;
      @@ -3442,52 +3064,52 @@ 

      Usage and SDK Samples

      public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); - Simid_addFile_body body = ; // Simid_addFile_body | Input to add a new file. + Simid_addFileRegistryService_body body = ; // Simid_addFileRegistryService_body | Input to start a new service. String simid = simid_example; // String | ID of the simulation try { - GenericResponse result = apiInstance.addFile(body, simid); + ServiceResponse result = apiInstance.addFileRegistryService(body, simid); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#addFile"); + System.err.println("Exception when calling WRENCHApi#addFileRegistryService"); e.printStackTrace(); } } }
      -
      +
      import io.swagger.client.api.WRENCHApi;
       
       public class WRENCHApiExample {
       
           public static void main(String[] args) {
               WRENCHApi apiInstance = new WRENCHApi();
      -        Simid_addFile_body body = ; // Simid_addFile_body | Input to add a new file.
      +        Simid_addFileRegistryService_body body = ; // Simid_addFileRegistryService_body | Input to start a new service.
               String simid = simid_example; // String | ID of the simulation
               try {
      -            GenericResponse result = apiInstance.addFile(body, simid);
      +            ServiceResponse result = apiInstance.addFileRegistryService(body, simid);
                   System.out.println(result);
               } catch (ApiException e) {
      -            System.err.println("Exception when calling WRENCHApi#addFile");
      +            System.err.println("Exception when calling WRENCHApi#addFileRegistryService");
                   e.printStackTrace();
               }
           }
       }
      -
      -
      Simid_addFile_body *body = ; // Input to add a new file.
      +                            
      +
      Simid_addFileRegistryService_body *body = ; // Input to start a new service.
       String *simid = simid_example; // ID of the simulation
       
       WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
       
      -// Add a file to the simulation.
      -[apiInstance addFileWith:body
      +// Create and start a file registery service.
      +[apiInstance addFileRegistryServiceWith:body
           simid:simid
      -              completionHandler: ^(GenericResponse output, NSError* error) {
      +              completionHandler: ^(ServiceResponse output, NSError* error) {
                                   if (output) {
                                       NSLog(@"%@", output);
                                   }
      @@ -3498,11 +3120,11 @@ 

      Usage and SDK Samples

      -
      +
      var WrenchRestApi = require('wrench_rest_api');
       
       var api = new WrenchRestApi.WRENCHApi()
      -var body = ; // {{Simid_addFile_body}} Input to add a new file.
      +var body = ; // {{Simid_addFileRegistryService_body}} Input to start a new service.
       var simid = simid_example; // {{String}} ID of the simulation
       
       var callback = function(error, data, response) {
      @@ -3512,14 +3134,14 @@ 

      Usage and SDK Samples

      console.log('API called successfully. Returned data: ' + data); } }; -api.addFile(bodysimid, callback); +api.addFileRegistryService(bodysimid, callback);
      - -
      +
      using System;
       using System.Diagnostics;
       using IO.Swagger.Api;
      @@ -3528,24 +3150,24 @@ 

      Usage and SDK Samples

      namespace Example { - public class addFileExample + public class addFileRegistryServiceExample { public void main() { var apiInstance = new WRENCHApi(); - var body = new Simid_addFile_body(); // Simid_addFile_body | Input to add a new file. + var body = new Simid_addFileRegistryService_body(); // Simid_addFileRegistryService_body | Input to start a new service. var simid = simid_example; // String | ID of the simulation try { - // Add a file to the simulation. - GenericResponse result = apiInstance.addFile(body, simid); + // Create and start a file registery service. + ServiceResponse result = apiInstance.addFileRegistryService(body, simid); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.addFile: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.addFileRegistryService: " + e.Message ); } } } @@ -3553,42 +3175,42 @@

      Usage and SDK Samples

      -
      +
      <?php
       require_once(__DIR__ . '/vendor/autoload.php');
       
       $api_instance = new Swagger\Client\ApiWRENCHApi();
      -$body = ; // Simid_addFile_body | Input to add a new file.
      +$body = ; // Simid_addFileRegistryService_body | Input to start a new service.
       $simid = simid_example; // String | ID of the simulation
       
       try {
      -    $result = $api_instance->addFile($body, $simid);
      +    $result = $api_instance->addFileRegistryService($body, $simid);
           print_r($result);
       } catch (Exception $e) {
      -    echo 'Exception when calling WRENCHApi->addFile: ', $e->getMessage(), PHP_EOL;
      +    echo 'Exception when calling WRENCHApi->addFileRegistryService: ', $e->getMessage(), PHP_EOL;
       }
       ?>
      -
      +
      use Data::Dumper;
       use WWW::SwaggerClient::Configuration;
       use WWW::SwaggerClient::WRENCHApi;
       
       my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
      -my $body = WWW::SwaggerClient::Object::Simid_addFile_body->new(); # Simid_addFile_body | Input to add a new file.
      +my $body = WWW::SwaggerClient::Object::Simid_addFileRegistryService_body->new(); # Simid_addFileRegistryService_body | Input to start a new service.
       my $simid = simid_example; # String | ID of the simulation
       
       eval { 
      -    my $result = $api_instance->addFile(body => $body, simid => $simid);
      +    my $result = $api_instance->addFileRegistryService(body => $body, simid => $simid);
           print Dumper($result);
       };
       if ($@) {
      -    warn "Exception when calling WRENCHApi->addFile: $@\n";
      +    warn "Exception when calling WRENCHApi->addFileRegistryService: $@\n";
       }
      -
      +
      from __future__ import print_statement
       import time
       import swagger_client
      @@ -3597,15 +3219,15 @@ 

      Usage and SDK Samples

      # create an instance of the API class api_instance = swagger_client.WRENCHApi() -body = # Simid_addFile_body | Input to add a new file. +body = # Simid_addFileRegistryService_body | Input to start a new service. simid = simid_example # String | ID of the simulation try: - # Add a file to the simulation. - api_response = api_instance.add_file(body, simid) + # Create and start a file registery service. + api_response = api_instance.add_file_registry_service(body, simid) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->addFile: %s\n" % e)
      + print("Exception when calling WRENCHApi->addFileRegistryService: %s\n" % e)
      @@ -3621,7 +3243,7 @@

      Parameters

      -
      +
      @@ -3655,11 +3277,11 @@

      Parameters

      -
      +
      @@ -3694,14 +3316,14 @@

      Status: 200 - OK

      -
      -
      +
      +
      - +
      -

      Status: 404 - Task not found

      - - - -
      -
      -

      Status: 405 - Invalid input


      -
      -
      +
      +
      -

      addFileCopyAction

      -

      Add a file copy action to compound job

      +

      addInputFile

      +

      Add an input file to a task

      @@ -3769,32 +3383,32 @@

      addFileCopyAction


      -
      /simulation/{simid}/compoundJobs/{compound_job_name}/addFileCopyAction
      +
      /simulation/{simid}/workflows/{workflow_name}/tasks/{tid}/addInputFile

      Usage and SDK Samples

      -
      -
      curl -X POST\
      +                          
      +
      curl -X PUT\
       -H "Accept: application/json"\
       -H "Content-Type: application/json"\
      -"https://wrench-project.org/v1/simulation/{simid}/compoundJobs/{compound_job_name}/addFileCopyAction"
      +"https://wrench-project.org/v1/simulation/{simid}/workflows/{workflow_name}/tasks/{tid}/addInputFile"
      -
      +
      import io.swagger.client.*;
       import io.swagger.client.auth.*;
       import io.swagger.client.model.*;
      @@ -3808,55 +3422,59 @@ 

      Usage and SDK Samples

      public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); - Compound_job_name_addFileCopyAction_body body = ; // Compound_job_name_addFileCopyAction_body | Input to add a file copy action. + Tid_addInputFile_body body = ; // Tid_addInputFile_body | Input file. String simid = simid_example; // String | ID of the simulation - String compoundJobName = compoundJobName_example; // String | Name of the compound job + String workflowName = workflowName_example; // String | + String tid = tid_example; // String | ID of the task try { - GenericResponse result = apiInstance.addFileCopyAction(body, simid, compoundJobName); + GenericResponse result = apiInstance.addInputFile(body, simid, workflowName, tid); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#addFileCopyAction"); + System.err.println("Exception when calling WRENCHApi#addInputFile"); e.printStackTrace(); } } }
      -
      +
      import io.swagger.client.api.WRENCHApi;
       
       public class WRENCHApiExample {
       
           public static void main(String[] args) {
               WRENCHApi apiInstance = new WRENCHApi();
      -        Compound_job_name_addFileCopyAction_body body = ; // Compound_job_name_addFileCopyAction_body | Input to add a file copy action.
      +        Tid_addInputFile_body body = ; // Tid_addInputFile_body | Input file.
               String simid = simid_example; // String | ID of the simulation
      -        String compoundJobName = compoundJobName_example; // String | Name of the compound job
      +        String workflowName = workflowName_example; // String | 
      +        String tid = tid_example; // String | ID of the task
               try {
      -            GenericResponse result = apiInstance.addFileCopyAction(body, simid, compoundJobName);
      +            GenericResponse result = apiInstance.addInputFile(body, simid, workflowName, tid);
                   System.out.println(result);
               } catch (ApiException e) {
      -            System.err.println("Exception when calling WRENCHApi#addFileCopyAction");
      +            System.err.println("Exception when calling WRENCHApi#addInputFile");
                   e.printStackTrace();
               }
           }
       }
      -
      -
      Compound_job_name_addFileCopyAction_body *body = ; // Input to add a file copy action.
      +                            
      +
      Tid_addInputFile_body *body = ; // Input file.
       String *simid = simid_example; // ID of the simulation
      -String *compoundJobName = compoundJobName_example; // Name of the compound job
      +String *workflowName = workflowName_example; // 
      +String *tid = tid_example; // ID of the task
       
       WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
       
      -// Add a file copy action to compound job
      -[apiInstance addFileCopyActionWith:body
      +// Add an input file to a task
      +[apiInstance addInputFileWith:body
           simid:simid
      -    compoundJobName:compoundJobName
      +    workflowName:workflowName
      +    tid:tid
                     completionHandler: ^(GenericResponse output, NSError* error) {
                                   if (output) {
                                       NSLog(@"%@", output);
      @@ -3868,13 +3486,14 @@ 

      Usage and SDK Samples

      -
      +
      var WrenchRestApi = require('wrench_rest_api');
       
       var api = new WrenchRestApi.WRENCHApi()
      -var body = ; // {{Compound_job_name_addFileCopyAction_body}} Input to add a file copy action.
      +var body = ; // {{Tid_addInputFile_body}} Input file.
       var simid = simid_example; // {{String}} ID of the simulation
      -var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
      +var workflowName = workflowName_example; // {{String}} 
      +var tid = tid_example; // {{String}} ID of the task
       
       var callback = function(error, data, response) {
         if (error) {
      @@ -3883,14 +3502,14 @@ 

      Usage and SDK Samples

      console.log('API called successfully. Returned data: ' + data); } }; -api.addFileCopyAction(bodysimidcompoundJobName, callback); +api.addInputFile(bodysimidworkflowNametid, callback);
      - -
      +
      using System;
       using System.Diagnostics;
       using IO.Swagger.Api;
      @@ -3899,25 +3518,26 @@ 

      Usage and SDK Samples

      namespace Example { - public class addFileCopyActionExample + public class addInputFileExample { public void main() { var apiInstance = new WRENCHApi(); - var body = new Compound_job_name_addFileCopyAction_body(); // Compound_job_name_addFileCopyAction_body | Input to add a file copy action. + var body = new Tid_addInputFile_body(); // Tid_addInputFile_body | Input file. var simid = simid_example; // String | ID of the simulation - var compoundJobName = compoundJobName_example; // String | Name of the compound job + var workflowName = workflowName_example; // String | + var tid = tid_example; // String | ID of the task try { - // Add a file copy action to compound job - GenericResponse result = apiInstance.addFileCopyAction(body, simid, compoundJobName); + // Add an input file to a task + GenericResponse result = apiInstance.addInputFile(body, simid, workflowName, tid); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.addFileCopyAction: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.addInputFile: " + e.Message ); } } } @@ -3925,44 +3545,46 @@

      Usage and SDK Samples

      -
      +
      <?php
       require_once(__DIR__ . '/vendor/autoload.php');
       
       $api_instance = new Swagger\Client\ApiWRENCHApi();
      -$body = ; // Compound_job_name_addFileCopyAction_body | Input to add a file copy action.
      +$body = ; // Tid_addInputFile_body | Input file.
       $simid = simid_example; // String | ID of the simulation
      -$compoundJobName = compoundJobName_example; // String | Name of the compound job
      +$workflowName = workflowName_example; // String | 
      +$tid = tid_example; // String | ID of the task
       
       try {
      -    $result = $api_instance->addFileCopyAction($body, $simid, $compoundJobName);
      +    $result = $api_instance->addInputFile($body, $simid, $workflowName, $tid);
           print_r($result);
       } catch (Exception $e) {
      -    echo 'Exception when calling WRENCHApi->addFileCopyAction: ', $e->getMessage(), PHP_EOL;
      +    echo 'Exception when calling WRENCHApi->addInputFile: ', $e->getMessage(), PHP_EOL;
       }
       ?>
      -
      +
      use Data::Dumper;
       use WWW::SwaggerClient::Configuration;
       use WWW::SwaggerClient::WRENCHApi;
       
       my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
      -my $body = WWW::SwaggerClient::Object::Compound_job_name_addFileCopyAction_body->new(); # Compound_job_name_addFileCopyAction_body | Input to add a file copy action.
      +my $body = WWW::SwaggerClient::Object::Tid_addInputFile_body->new(); # Tid_addInputFile_body | Input file.
       my $simid = simid_example; # String | ID of the simulation
      -my $compoundJobName = compoundJobName_example; # String | Name of the compound job
      +my $workflowName = workflowName_example; # String | 
      +my $tid = tid_example; # String | ID of the task
       
       eval { 
      -    my $result = $api_instance->addFileCopyAction(body => $body, simid => $simid, compoundJobName => $compoundJobName);
      +    my $result = $api_instance->addInputFile(body => $body, simid => $simid, workflowName => $workflowName, tid => $tid);
           print Dumper($result);
       };
       if ($@) {
      -    warn "Exception when calling WRENCHApi->addFileCopyAction: $@\n";
      +    warn "Exception when calling WRENCHApi->addInputFile: $@\n";
       }
      -
      +
      from __future__ import print_statement
       import time
       import swagger_client
      @@ -3971,16 +3593,17 @@ 

      Usage and SDK Samples

      # create an instance of the API class api_instance = swagger_client.WRENCHApi() -body = # Compound_job_name_addFileCopyAction_body | Input to add a file copy action. +body = # Tid_addInputFile_body | Input file. simid = simid_example # String | ID of the simulation -compoundJobName = compoundJobName_example # String | Name of the compound job +workflowName = workflowName_example # String | +tid = tid_example # String | ID of the task try: - # Add a file copy action to compound job - api_response = api_instance.add_file_copy_action(body, simid, compoundJobName) + # Add an input file to a task + api_response = api_instance.add_input_file(body, simid, workflowName, tid) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->addFileCopyAction: %s\n" % e)
      + print("Exception when calling WRENCHApi->addInputFile: %s\n" % e)
      @@ -3996,7 +3619,7 @@

      Parameters

      -
      +
      @@ -4014,11 +3637,30 @@

      Parameters

      - compound_job_name* + workflow_name* + + + +
      +
      +
      + + String + + +
      +
      + Required +
      +
      +
      + + + tid* -
      +
      @@ -4026,7 +3668,7 @@

      Parameters

      - Name of the compound job + ID of the task
      @@ -4052,11 +3694,11 @@

      Parameters

      -
      +
      @@ -4091,14 +3733,14 @@

      Status: 200 - OK

      -
      -
      +
      +
      - +
      -

      Status: 404 - Job not found

      +

      Status: 404 - Task not found

      @@ -4154,11 +3796,11 @@

      Status: 405 - Invalid input


      -
      -
      +
      +
      -

      addFileDeleteAction

      -

      Add a file delete action to compound job

      +

      addOutputFile

      +

      Add an output file to a task

      @@ -4166,32 +3808,32 @@

      addFileDeleteAction


      -
      /simulation/{simid}/compoundJobs/{compound_job_name}/addFileDeleteAction
      +
      /simulation/{simid}/workflows/{workflow_name}/tasks/{tid}/addOutputFile

      Usage and SDK Samples

      -
      -
      curl -X POST\
      +                          
      +
      curl -X PUT\
       -H "Accept: application/json"\
       -H "Content-Type: application/json"\
      -"https://wrench-project.org/v1/simulation/{simid}/compoundJobs/{compound_job_name}/addFileDeleteAction"
      +"https://wrench-project.org/v1/simulation/{simid}/workflows/{workflow_name}/tasks/{tid}/addOutputFile"
      -
      +
      import io.swagger.client.*;
       import io.swagger.client.auth.*;
       import io.swagger.client.model.*;
      @@ -4205,55 +3847,59 @@ 

      Usage and SDK Samples

      public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); - Compound_job_name_addFileDeleteAction_body body = ; // Compound_job_name_addFileDeleteAction_body | Input to add a file delete action. + Tid_addOutputFile_body body = ; // Tid_addOutputFile_body | Job characteristics. String simid = simid_example; // String | ID of the simulation - String compoundJobName = compoundJobName_example; // String | Name of the compound job + String workflowName = workflowName_example; // String | + String tid = tid_example; // String | ID of the task try { - GenericResponse result = apiInstance.addFileDeleteAction(body, simid, compoundJobName); + GenericResponse result = apiInstance.addOutputFile(body, simid, workflowName, tid); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#addFileDeleteAction"); + System.err.println("Exception when calling WRENCHApi#addOutputFile"); e.printStackTrace(); } } }
      -
      +
      import io.swagger.client.api.WRENCHApi;
       
       public class WRENCHApiExample {
       
           public static void main(String[] args) {
               WRENCHApi apiInstance = new WRENCHApi();
      -        Compound_job_name_addFileDeleteAction_body body = ; // Compound_job_name_addFileDeleteAction_body | Input to add a file delete action.
      +        Tid_addOutputFile_body body = ; // Tid_addOutputFile_body | Job characteristics.
               String simid = simid_example; // String | ID of the simulation
      -        String compoundJobName = compoundJobName_example; // String | Name of the compound job
      +        String workflowName = workflowName_example; // String | 
      +        String tid = tid_example; // String | ID of the task
               try {
      -            GenericResponse result = apiInstance.addFileDeleteAction(body, simid, compoundJobName);
      +            GenericResponse result = apiInstance.addOutputFile(body, simid, workflowName, tid);
                   System.out.println(result);
               } catch (ApiException e) {
      -            System.err.println("Exception when calling WRENCHApi#addFileDeleteAction");
      +            System.err.println("Exception when calling WRENCHApi#addOutputFile");
                   e.printStackTrace();
               }
           }
       }
      -
      -
      Compound_job_name_addFileDeleteAction_body *body = ; // Input to add a file delete action.
      +                            
      +
      Tid_addOutputFile_body *body = ; // Job characteristics.
       String *simid = simid_example; // ID of the simulation
      -String *compoundJobName = compoundJobName_example; // Name of the compound job
      +String *workflowName = workflowName_example; // 
      +String *tid = tid_example; // ID of the task
       
       WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
       
      -// Add a file delete action to compound job
      -[apiInstance addFileDeleteActionWith:body
      +// Add an output file to a task
      +[apiInstance addOutputFileWith:body
           simid:simid
      -    compoundJobName:compoundJobName
      +    workflowName:workflowName
      +    tid:tid
                     completionHandler: ^(GenericResponse output, NSError* error) {
                                   if (output) {
                                       NSLog(@"%@", output);
      @@ -4265,13 +3911,14 @@ 

      Usage and SDK Samples

      -
      +
      var WrenchRestApi = require('wrench_rest_api');
       
       var api = new WrenchRestApi.WRENCHApi()
      -var body = ; // {{Compound_job_name_addFileDeleteAction_body}} Input to add a file delete action.
      +var body = ; // {{Tid_addOutputFile_body}} Job characteristics.
       var simid = simid_example; // {{String}} ID of the simulation
      -var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
      +var workflowName = workflowName_example; // {{String}} 
      +var tid = tid_example; // {{String}} ID of the task
       
       var callback = function(error, data, response) {
         if (error) {
      @@ -4280,14 +3927,14 @@ 

      Usage and SDK Samples

      console.log('API called successfully. Returned data: ' + data); } }; -api.addFileDeleteAction(bodysimidcompoundJobName, callback); +api.addOutputFile(bodysimidworkflowNametid, callback);
      - -
      +
      using System;
       using System.Diagnostics;
       using IO.Swagger.Api;
      @@ -4296,25 +3943,26 @@ 

      Usage and SDK Samples

      namespace Example { - public class addFileDeleteActionExample + public class addOutputFileExample { public void main() { var apiInstance = new WRENCHApi(); - var body = new Compound_job_name_addFileDeleteAction_body(); // Compound_job_name_addFileDeleteAction_body | Input to add a file delete action. + var body = new Tid_addOutputFile_body(); // Tid_addOutputFile_body | Job characteristics. var simid = simid_example; // String | ID of the simulation - var compoundJobName = compoundJobName_example; // String | Name of the compound job + var workflowName = workflowName_example; // String | + var tid = tid_example; // String | ID of the task try { - // Add a file delete action to compound job - GenericResponse result = apiInstance.addFileDeleteAction(body, simid, compoundJobName); + // Add an output file to a task + GenericResponse result = apiInstance.addOutputFile(body, simid, workflowName, tid); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.addFileDeleteAction: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.addOutputFile: " + e.Message ); } } } @@ -4322,44 +3970,46 @@

      Usage and SDK Samples

      -
      +
      <?php
       require_once(__DIR__ . '/vendor/autoload.php');
       
       $api_instance = new Swagger\Client\ApiWRENCHApi();
      -$body = ; // Compound_job_name_addFileDeleteAction_body | Input to add a file delete action.
      +$body = ; // Tid_addOutputFile_body | Job characteristics.
       $simid = simid_example; // String | ID of the simulation
      -$compoundJobName = compoundJobName_example; // String | Name of the compound job
      +$workflowName = workflowName_example; // String | 
      +$tid = tid_example; // String | ID of the task
       
       try {
      -    $result = $api_instance->addFileDeleteAction($body, $simid, $compoundJobName);
      +    $result = $api_instance->addOutputFile($body, $simid, $workflowName, $tid);
           print_r($result);
       } catch (Exception $e) {
      -    echo 'Exception when calling WRENCHApi->addFileDeleteAction: ', $e->getMessage(), PHP_EOL;
      +    echo 'Exception when calling WRENCHApi->addOutputFile: ', $e->getMessage(), PHP_EOL;
       }
       ?>
      -
      +
      use Data::Dumper;
       use WWW::SwaggerClient::Configuration;
       use WWW::SwaggerClient::WRENCHApi;
       
       my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
      -my $body = WWW::SwaggerClient::Object::Compound_job_name_addFileDeleteAction_body->new(); # Compound_job_name_addFileDeleteAction_body | Input to add a file delete action.
      +my $body = WWW::SwaggerClient::Object::Tid_addOutputFile_body->new(); # Tid_addOutputFile_body | Job characteristics.
       my $simid = simid_example; # String | ID of the simulation
      -my $compoundJobName = compoundJobName_example; # String | Name of the compound job
      +my $workflowName = workflowName_example; # String | 
      +my $tid = tid_example; # String | ID of the task
       
       eval { 
      -    my $result = $api_instance->addFileDeleteAction(body => $body, simid => $simid, compoundJobName => $compoundJobName);
      +    my $result = $api_instance->addOutputFile(body => $body, simid => $simid, workflowName => $workflowName, tid => $tid);
           print Dumper($result);
       };
       if ($@) {
      -    warn "Exception when calling WRENCHApi->addFileDeleteAction: $@\n";
      +    warn "Exception when calling WRENCHApi->addOutputFile: $@\n";
       }
      -
      +
      from __future__ import print_statement
       import time
       import swagger_client
      @@ -4368,16 +4018,17 @@ 

      Usage and SDK Samples

      # create an instance of the API class api_instance = swagger_client.WRENCHApi() -body = # Compound_job_name_addFileDeleteAction_body | Input to add a file delete action. +body = # Tid_addOutputFile_body | Job characteristics. simid = simid_example # String | ID of the simulation -compoundJobName = compoundJobName_example # String | Name of the compound job +workflowName = workflowName_example # String | +tid = tid_example # String | ID of the task try: - # Add a file delete action to compound job - api_response = api_instance.add_file_delete_action(body, simid, compoundJobName) + # Add an output file to a task + api_response = api_instance.add_output_file(body, simid, workflowName, tid) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->addFileDeleteAction: %s\n" % e)
      + print("Exception when calling WRENCHApi->addOutputFile: %s\n" % e)
      @@ -4393,7 +4044,7 @@

      Parameters

      -
      +
      @@ -4411,11 +4062,30 @@

      Parameters

      - compound_job_name* + workflow_name* + + + +
      +
      +
      + + String + + +
      +
      + Required +
      +
      +
      + + + tid* -
      +
      @@ -4423,7 +4093,7 @@

      Parameters

      - Name of the compound job + ID of the task
      @@ -4449,11 +4119,11 @@

      Parameters

      -
      +
      @@ -4488,14 +4158,14 @@

      Status: 200 - OK

      -
      -
      +
      +
      - +
      -

      Status: 404 - Job not found

      +

      Status: 404 - Task not found

      @@ -4551,11 +4221,11 @@

      Status: 405 - Invalid input


      -
      -
      +
      +
      -

      addFileReadAction

      -

      Add a file read action to compound job

      +

      addSimpleStorageService

      +

      Create and start a simple storage service.

      @@ -4563,32 +4233,32 @@

      addFileReadAction


      -
      /simulation/{simid}/compoundJobs/{compound_job_name}/addFileReadAction
      +
      /simulation/{simid}/addSimpleStorageService

      Usage and SDK Samples

      -
      +
      curl -X POST\
       -H "Accept: application/json"\
       -H "Content-Type: application/json"\
      -"https://wrench-project.org/v1/simulation/{simid}/compoundJobs/{compound_job_name}/addFileReadAction"
      +"https://wrench-project.org/v1/simulation/{simid}/addSimpleStorageService"
      -
      +
      import io.swagger.client.*;
       import io.swagger.client.auth.*;
       import io.swagger.client.model.*;
      @@ -4602,56 +4272,52 @@ 

      Usage and SDK Samples

      public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); - FileReadAction body = ; // FileReadAction | Input to add a file read action. + Simid_addSimpleStorageService_body body = ; // Simid_addSimpleStorageService_body | Input to start a new service. String simid = simid_example; // String | ID of the simulation - String compoundJobName = compoundJobName_example; // String | Name of the compound job try { - AddActionResponse result = apiInstance.addFileReadAction(body, simid, compoundJobName); + ServiceResponse result = apiInstance.addSimpleStorageService(body, simid); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#addFileReadAction"); + System.err.println("Exception when calling WRENCHApi#addSimpleStorageService"); e.printStackTrace(); } } }
      -
      +
      import io.swagger.client.api.WRENCHApi;
       
       public class WRENCHApiExample {
       
           public static void main(String[] args) {
               WRENCHApi apiInstance = new WRENCHApi();
      -        FileReadAction body = ; // FileReadAction | Input to add a file read action.
      +        Simid_addSimpleStorageService_body body = ; // Simid_addSimpleStorageService_body | Input to start a new service.
               String simid = simid_example; // String | ID of the simulation
      -        String compoundJobName = compoundJobName_example; // String | Name of the compound job
               try {
      -            AddActionResponse result = apiInstance.addFileReadAction(body, simid, compoundJobName);
      +            ServiceResponse result = apiInstance.addSimpleStorageService(body, simid);
                   System.out.println(result);
               } catch (ApiException e) {
      -            System.err.println("Exception when calling WRENCHApi#addFileReadAction");
      +            System.err.println("Exception when calling WRENCHApi#addSimpleStorageService");
                   e.printStackTrace();
               }
           }
       }
      -
      -
      FileReadAction *body = ; // Input to add a file read action.
      +                            
      +
      Simid_addSimpleStorageService_body *body = ; // Input to start a new service.
       String *simid = simid_example; // ID of the simulation
      -String *compoundJobName = compoundJobName_example; // Name of the compound job
       
       WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
       
      -// Add a file read action to compound job
      -[apiInstance addFileReadActionWith:body
      +// Create and start a simple storage service.
      +[apiInstance addSimpleStorageServiceWith:body
           simid:simid
      -    compoundJobName:compoundJobName
      -              completionHandler: ^(AddActionResponse output, NSError* error) {
      +              completionHandler: ^(ServiceResponse output, NSError* error) {
                                   if (output) {
                                       NSLog(@"%@", output);
                                   }
      @@ -4662,13 +4328,12 @@ 

      Usage and SDK Samples

      -
      +
      var WrenchRestApi = require('wrench_rest_api');
       
       var api = new WrenchRestApi.WRENCHApi()
      -var body = ; // {{FileReadAction}} Input to add a file read action.
      +var body = ; // {{Simid_addSimpleStorageService_body}} Input to start a new service.
       var simid = simid_example; // {{String}} ID of the simulation
      -var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
       
       var callback = function(error, data, response) {
         if (error) {
      @@ -4677,14 +4342,14 @@ 

      Usage and SDK Samples

      console.log('API called successfully. Returned data: ' + data); } }; -api.addFileReadAction(bodysimidcompoundJobName, callback); +api.addSimpleStorageService(bodysimid, callback);
      - -
      +
      using System;
       using System.Diagnostics;
       using IO.Swagger.Api;
      @@ -4693,25 +4358,24 @@ 

      Usage and SDK Samples

      namespace Example { - public class addFileReadActionExample + public class addSimpleStorageServiceExample { public void main() { var apiInstance = new WRENCHApi(); - var body = new FileReadAction(); // FileReadAction | Input to add a file read action. + var body = new Simid_addSimpleStorageService_body(); // Simid_addSimpleStorageService_body | Input to start a new service. var simid = simid_example; // String | ID of the simulation - var compoundJobName = compoundJobName_example; // String | Name of the compound job try { - // Add a file read action to compound job - AddActionResponse result = apiInstance.addFileReadAction(body, simid, compoundJobName); + // Create and start a simple storage service. + ServiceResponse result = apiInstance.addSimpleStorageService(body, simid); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.addFileReadAction: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.addSimpleStorageService: " + e.Message ); } } } @@ -4719,44 +4383,42 @@

      Usage and SDK Samples

      -
      +
      <?php
       require_once(__DIR__ . '/vendor/autoload.php');
       
       $api_instance = new Swagger\Client\ApiWRENCHApi();
      -$body = ; // FileReadAction | Input to add a file read action.
      +$body = ; // Simid_addSimpleStorageService_body | Input to start a new service.
       $simid = simid_example; // String | ID of the simulation
      -$compoundJobName = compoundJobName_example; // String | Name of the compound job
       
       try {
      -    $result = $api_instance->addFileReadAction($body, $simid, $compoundJobName);
      +    $result = $api_instance->addSimpleStorageService($body, $simid);
           print_r($result);
       } catch (Exception $e) {
      -    echo 'Exception when calling WRENCHApi->addFileReadAction: ', $e->getMessage(), PHP_EOL;
      +    echo 'Exception when calling WRENCHApi->addSimpleStorageService: ', $e->getMessage(), PHP_EOL;
       }
       ?>
      -
      +
      use Data::Dumper;
       use WWW::SwaggerClient::Configuration;
       use WWW::SwaggerClient::WRENCHApi;
       
       my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
      -my $body = WWW::SwaggerClient::Object::FileReadAction->new(); # FileReadAction | Input to add a file read action.
      +my $body = WWW::SwaggerClient::Object::Simid_addSimpleStorageService_body->new(); # Simid_addSimpleStorageService_body | Input to start a new service.
       my $simid = simid_example; # String | ID of the simulation
      -my $compoundJobName = compoundJobName_example; # String | Name of the compound job
       
       eval { 
      -    my $result = $api_instance->addFileReadAction(body => $body, simid => $simid, compoundJobName => $compoundJobName);
      +    my $result = $api_instance->addSimpleStorageService(body => $body, simid => $simid);
           print Dumper($result);
       };
       if ($@) {
      -    warn "Exception when calling WRENCHApi->addFileReadAction: $@\n";
      +    warn "Exception when calling WRENCHApi->addSimpleStorageService: $@\n";
       }
      -
      +
      from __future__ import print_statement
       import time
       import swagger_client
      @@ -4765,16 +4427,15 @@ 

      Usage and SDK Samples

      # create an instance of the API class api_instance = swagger_client.WRENCHApi() -body = # FileReadAction | Input to add a file read action. +body = # Simid_addSimpleStorageService_body | Input to start a new service. simid = simid_example # String | ID of the simulation -compoundJobName = compoundJobName_example # String | Name of the compound job try: - # Add a file read action to compound job - api_response = api_instance.add_file_read_action(body, simid, compoundJobName) + # Create and start a simple storage service. + api_response = api_instance.add_simple_storage_service(body, simid) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->addFileReadAction: %s\n" % e)
      + print("Exception when calling WRENCHApi->addSimpleStorageService: %s\n" % e)
      @@ -4790,7 +4451,7 @@

      Parameters

      -
      +
      @@ -4808,28 +4469,6 @@

      Parameters

      - compound_job_name* - - - -
      -
      -
      - - String - - -
      - Name of the compound job -
      -
      -
      - Required -
      -
      -
      - - @@ -4846,11 +4485,11 @@

      Parameters

      -
      +
      @@ -4885,14 +4524,14 @@

      Status: 200 - OK

      -
      -
      +
      +
      - +
      -

      Status: 404 - Compound job not found

      - - - -
      -
      -

      Status: 405 - Invalid input


      -
      -
      +
      +
      -

      addFileRegistryService

      -

      Create and start a file registry service.

      +

      advanceTime

      +

      Retrieve the current simulated time.

      @@ -4960,32 +4591,32 @@

      addFileRegistryService


      -
      /simulation/{simid}/addFileRegistryService
      +
      /simulation/{simid}/advanceTime

      Usage and SDK Samples

      -
      -
      curl -X POST\
      +                          
      +
      curl -X PUT\
       -H "Accept: application/json"\
       -H "Content-Type: application/json"\
      -"https://wrench-project.org/v1/simulation/{simid}/addFileRegistryService"
      +"https://wrench-project.org/v1/simulation/{simid}/advanceTime"
      -
      +
      import io.swagger.client.*;
       import io.swagger.client.auth.*;
       import io.swagger.client.model.*;
      @@ -4999,52 +4630,52 @@ 

      Usage and SDK Samples

      public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); - Simid_addFileRegistryService_body body = ; // Simid_addFileRegistryService_body | Input to start a new service. + Simid_advanceTime_body body = ; // Simid_advanceTime_body | Input to start a new service. String simid = simid_example; // String | ID of the simulation try { - ServiceResponse result = apiInstance.addFileRegistryService(body, simid); + GenericResponse result = apiInstance.advanceTime(body, simid); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#addFileRegistryService"); + System.err.println("Exception when calling WRENCHApi#advanceTime"); e.printStackTrace(); } } }
      -
      +
      import io.swagger.client.api.WRENCHApi;
       
       public class WRENCHApiExample {
       
           public static void main(String[] args) {
               WRENCHApi apiInstance = new WRENCHApi();
      -        Simid_addFileRegistryService_body body = ; // Simid_addFileRegistryService_body | Input to start a new service.
      +        Simid_advanceTime_body body = ; // Simid_advanceTime_body | Input to start a new service.
               String simid = simid_example; // String | ID of the simulation
               try {
      -            ServiceResponse result = apiInstance.addFileRegistryService(body, simid);
      +            GenericResponse result = apiInstance.advanceTime(body, simid);
                   System.out.println(result);
               } catch (ApiException e) {
      -            System.err.println("Exception when calling WRENCHApi#addFileRegistryService");
      +            System.err.println("Exception when calling WRENCHApi#advanceTime");
                   e.printStackTrace();
               }
           }
       }
      -
      -
      Simid_addFileRegistryService_body *body = ; // Input to start a new service.
      +                            
      +
      Simid_advanceTime_body *body = ; // Input to start a new service.
       String *simid = simid_example; // ID of the simulation
       
       WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
       
      -// Create and start a file registry service.
      -[apiInstance addFileRegistryServiceWith:body
      +// Retrieve the current simulated time.
      +[apiInstance advanceTimeWith:body
           simid:simid
      -              completionHandler: ^(ServiceResponse output, NSError* error) {
      +              completionHandler: ^(GenericResponse output, NSError* error) {
                                   if (output) {
                                       NSLog(@"%@", output);
                                   }
      @@ -5055,11 +4686,11 @@ 

      Usage and SDK Samples

      -
      +
      var WrenchRestApi = require('wrench_rest_api');
       
       var api = new WrenchRestApi.WRENCHApi()
      -var body = ; // {{Simid_addFileRegistryService_body}} Input to start a new service.
      +var body = ; // {{Simid_advanceTime_body}} Input to start a new service.
       var simid = simid_example; // {{String}} ID of the simulation
       
       var callback = function(error, data, response) {
      @@ -5069,14 +4700,14 @@ 

      Usage and SDK Samples

      console.log('API called successfully. Returned data: ' + data); } }; -api.addFileRegistryService(bodysimid, callback); +api.advanceTime(bodysimid, callback);
      - -
      +
      using System;
       using System.Diagnostics;
       using IO.Swagger.Api;
      @@ -5085,24 +4716,24 @@ 

      Usage and SDK Samples

      namespace Example { - public class addFileRegistryServiceExample + public class advanceTimeExample { public void main() { var apiInstance = new WRENCHApi(); - var body = new Simid_addFileRegistryService_body(); // Simid_addFileRegistryService_body | Input to start a new service. + var body = new Simid_advanceTime_body(); // Simid_advanceTime_body | Input to start a new service. var simid = simid_example; // String | ID of the simulation try { - // Create and start a file registry service. - ServiceResponse result = apiInstance.addFileRegistryService(body, simid); + // Retrieve the current simulated time. + GenericResponse result = apiInstance.advanceTime(body, simid); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.addFileRegistryService: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.advanceTime: " + e.Message ); } } } @@ -5110,42 +4741,42 @@

      Usage and SDK Samples

      -
      +
      <?php
       require_once(__DIR__ . '/vendor/autoload.php');
       
       $api_instance = new Swagger\Client\ApiWRENCHApi();
      -$body = ; // Simid_addFileRegistryService_body | Input to start a new service.
      +$body = ; // Simid_advanceTime_body | Input to start a new service.
       $simid = simid_example; // String | ID of the simulation
       
       try {
      -    $result = $api_instance->addFileRegistryService($body, $simid);
      +    $result = $api_instance->advanceTime($body, $simid);
           print_r($result);
       } catch (Exception $e) {
      -    echo 'Exception when calling WRENCHApi->addFileRegistryService: ', $e->getMessage(), PHP_EOL;
      +    echo 'Exception when calling WRENCHApi->advanceTime: ', $e->getMessage(), PHP_EOL;
       }
       ?>
      -
      +
      use Data::Dumper;
       use WWW::SwaggerClient::Configuration;
       use WWW::SwaggerClient::WRENCHApi;
       
       my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
      -my $body = WWW::SwaggerClient::Object::Simid_addFileRegistryService_body->new(); # Simid_addFileRegistryService_body | Input to start a new service.
      +my $body = WWW::SwaggerClient::Object::Simid_advanceTime_body->new(); # Simid_advanceTime_body | Input to start a new service.
       my $simid = simid_example; # String | ID of the simulation
       
       eval { 
      -    my $result = $api_instance->addFileRegistryService(body => $body, simid => $simid);
      +    my $result = $api_instance->advanceTime(body => $body, simid => $simid);
           print Dumper($result);
       };
       if ($@) {
      -    warn "Exception when calling WRENCHApi->addFileRegistryService: $@\n";
      +    warn "Exception when calling WRENCHApi->advanceTime: $@\n";
       }
      -
      +
      from __future__ import print_statement
       import time
       import swagger_client
      @@ -5154,15 +4785,15 @@ 

      Usage and SDK Samples

      # create an instance of the API class api_instance = swagger_client.WRENCHApi() -body = # Simid_addFileRegistryService_body | Input to start a new service. +body = # Simid_advanceTime_body | Input to start a new service. simid = simid_example # String | ID of the simulation try: - # Create and start a file registry service. - api_response = api_instance.add_file_registry_service(body, simid) + # Retrieve the current simulated time. + api_response = api_instance.advance_time(body, simid) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->addFileRegistryService: %s\n" % e)
      + print("Exception when calling WRENCHApi->advanceTime: %s\n" % e)
      @@ -5178,7 +4809,7 @@

      Parameters

      -
      +
      @@ -5216,7 +4847,7 @@

      Parameters

      "content" : { "application/json" : { "schema" : { - "$ref" : "#/components/schemas/simid_addFileRegistryService_body" + "$ref" : "#/components/schemas/simid_advanceTime_body" } } }, @@ -5234,12 +4865,12 @@

      Parameters

      } var view = new JSONSchemaView(schema,2,{isBodyParam: true}); - var result = $('#d2e199_addFileRegistryService_body'); + var result = $('#d2e199_advanceTime_body'); result.empty(); result.append(view.render()); }); -
      +
      @@ -5251,14 +4882,14 @@

      Status: 200 - OK

      -
      -
      +
      +
      - +
      @@ -5306,11 +4937,11 @@

      Status: 405 - Invalid input


      -
      -
      +
      +
      -

      addFileWriteAction

      -

      Add a file write action to compound job.

      +

      createFileCopyAtStorageService

      +

      Create, ex nihilo, a copy of a file copy at a storage service.

      @@ -5318,32 +4949,32 @@

      addFileWriteAction


      -
      /simulation/{simid}/compoundJobs/{compound_job_name}/addFileWriteAction
      +
      /simulation/{simid}/storage_services/{service_name}/createFileCopy

      Usage and SDK Samples

      -
      +
      curl -X POST\
       -H "Accept: application/json"\
       -H "Content-Type: application/json"\
      -"https://wrench-project.org/v1/simulation/{simid}/compoundJobs/{compound_job_name}/addFileWriteAction"
      +"https://wrench-project.org/v1/simulation/{simid}/storage_services/{service_name}/createFileCopy"
      -
      +
      import io.swagger.client.*;
       import io.swagger.client.auth.*;
       import io.swagger.client.model.*;
      @@ -5357,55 +4988,55 @@ 

      Usage and SDK Samples

      public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); - Compound_job_name_addFileWriteAction_body body = ; // Compound_job_name_addFileWriteAction_body | Input to add a file write action. + Service_name_createFileCopy_body body = ; // Service_name_createFileCopy_body | Input to start a new service. String simid = simid_example; // String | ID of the simulation - String compoundJobName = compoundJobName_example; // String | Name of the compound job + String serviceName = serviceName_example; // String | The storage service name try { - GenericResponse result = apiInstance.addFileWriteAction(body, simid, compoundJobName); + GenericResponse result = apiInstance.createFileCopyAtStorageService(body, simid, serviceName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#addFileWriteAction"); + System.err.println("Exception when calling WRENCHApi#createFileCopyAtStorageService"); e.printStackTrace(); } } }
      -
      +
      import io.swagger.client.api.WRENCHApi;
       
       public class WRENCHApiExample {
       
           public static void main(String[] args) {
               WRENCHApi apiInstance = new WRENCHApi();
      -        Compound_job_name_addFileWriteAction_body body = ; // Compound_job_name_addFileWriteAction_body | Input to add a file write action.
      +        Service_name_createFileCopy_body body = ; // Service_name_createFileCopy_body | Input to start a new service.
               String simid = simid_example; // String | ID of the simulation
      -        String compoundJobName = compoundJobName_example; // String | Name of the compound job
      +        String serviceName = serviceName_example; // String | The storage service name
               try {
      -            GenericResponse result = apiInstance.addFileWriteAction(body, simid, compoundJobName);
      +            GenericResponse result = apiInstance.createFileCopyAtStorageService(body, simid, serviceName);
                   System.out.println(result);
               } catch (ApiException e) {
      -            System.err.println("Exception when calling WRENCHApi#addFileWriteAction");
      +            System.err.println("Exception when calling WRENCHApi#createFileCopyAtStorageService");
                   e.printStackTrace();
               }
           }
       }
      -
      -
      Compound_job_name_addFileWriteAction_body *body = ; // Input to add a file write action.
      +                            
      +
      Service_name_createFileCopy_body *body = ; // Input to start a new service.
       String *simid = simid_example; // ID of the simulation
      -String *compoundJobName = compoundJobName_example; // Name of the compound job
      +String *serviceName = serviceName_example; // The storage service name
       
       WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
       
      -// Add a file write action to compound job.
      -[apiInstance addFileWriteActionWith:body
      +// Create, ex nihilo, a copy of a file copy at a storage service.
      +[apiInstance createFileCopyAtStorageServiceWith:body
           simid:simid
      -    compoundJobName:compoundJobName
      +    serviceName:serviceName
                     completionHandler: ^(GenericResponse output, NSError* error) {
                                   if (output) {
                                       NSLog(@"%@", output);
      @@ -5417,13 +5048,13 @@ 

      Usage and SDK Samples

      -
      +
      var WrenchRestApi = require('wrench_rest_api');
       
       var api = new WrenchRestApi.WRENCHApi()
      -var body = ; // {{Compound_job_name_addFileWriteAction_body}} Input to add a file write action.
      +var body = ; // {{Service_name_createFileCopy_body}} Input to start a new service.
       var simid = simid_example; // {{String}} ID of the simulation
      -var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
      +var serviceName = serviceName_example; // {{String}} The storage service name
       
       var callback = function(error, data, response) {
         if (error) {
      @@ -5432,14 +5063,14 @@ 

      Usage and SDK Samples

      console.log('API called successfully. Returned data: ' + data); } }; -api.addFileWriteAction(bodysimidcompoundJobName, callback); +api.createFileCopyAtStorageService(bodysimidserviceName, callback);
      - -
      +
      using System;
       using System.Diagnostics;
       using IO.Swagger.Api;
      @@ -5448,25 +5079,25 @@ 

      Usage and SDK Samples

      namespace Example { - public class addFileWriteActionExample + public class createFileCopyAtStorageServiceExample { public void main() { var apiInstance = new WRENCHApi(); - var body = new Compound_job_name_addFileWriteAction_body(); // Compound_job_name_addFileWriteAction_body | Input to add a file write action. + var body = new Service_name_createFileCopy_body(); // Service_name_createFileCopy_body | Input to start a new service. var simid = simid_example; // String | ID of the simulation - var compoundJobName = compoundJobName_example; // String | Name of the compound job + var serviceName = serviceName_example; // String | The storage service name try { - // Add a file write action to compound job. - GenericResponse result = apiInstance.addFileWriteAction(body, simid, compoundJobName); + // Create, ex nihilo, a copy of a file copy at a storage service. + GenericResponse result = apiInstance.createFileCopyAtStorageService(body, simid, serviceName); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.addFileWriteAction: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.createFileCopyAtStorageService: " + e.Message ); } } } @@ -5474,44 +5105,44 @@

      Usage and SDK Samples

      -
      +
      <?php
       require_once(__DIR__ . '/vendor/autoload.php');
       
       $api_instance = new Swagger\Client\ApiWRENCHApi();
      -$body = ; // Compound_job_name_addFileWriteAction_body | Input to add a file write action.
      +$body = ; // Service_name_createFileCopy_body | Input to start a new service.
       $simid = simid_example; // String | ID of the simulation
      -$compoundJobName = compoundJobName_example; // String | Name of the compound job
      +$serviceName = serviceName_example; // String | The storage service name
       
       try {
      -    $result = $api_instance->addFileWriteAction($body, $simid, $compoundJobName);
      +    $result = $api_instance->createFileCopyAtStorageService($body, $simid, $serviceName);
           print_r($result);
       } catch (Exception $e) {
      -    echo 'Exception when calling WRENCHApi->addFileWriteAction: ', $e->getMessage(), PHP_EOL;
      +    echo 'Exception when calling WRENCHApi->createFileCopyAtStorageService: ', $e->getMessage(), PHP_EOL;
       }
       ?>
      -
      +
      use Data::Dumper;
       use WWW::SwaggerClient::Configuration;
       use WWW::SwaggerClient::WRENCHApi;
       
       my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
      -my $body = WWW::SwaggerClient::Object::Compound_job_name_addFileWriteAction_body->new(); # Compound_job_name_addFileWriteAction_body | Input to add a file write action.
      +my $body = WWW::SwaggerClient::Object::Service_name_createFileCopy_body->new(); # Service_name_createFileCopy_body | Input to start a new service.
       my $simid = simid_example; # String | ID of the simulation
      -my $compoundJobName = compoundJobName_example; # String | Name of the compound job
      +my $serviceName = serviceName_example; # String | The storage service name
       
       eval { 
      -    my $result = $api_instance->addFileWriteAction(body => $body, simid => $simid, compoundJobName => $compoundJobName);
      +    my $result = $api_instance->createFileCopyAtStorageService(body => $body, simid => $simid, serviceName => $serviceName);
           print Dumper($result);
       };
       if ($@) {
      -    warn "Exception when calling WRENCHApi->addFileWriteAction: $@\n";
      +    warn "Exception when calling WRENCHApi->createFileCopyAtStorageService: $@\n";
       }
      -
      +
      from __future__ import print_statement
       import time
       import swagger_client
      @@ -5520,16 +5151,16 @@ 

      Usage and SDK Samples

      # create an instance of the API class api_instance = swagger_client.WRENCHApi() -body = # Compound_job_name_addFileWriteAction_body | Input to add a file write action. +body = # Service_name_createFileCopy_body | Input to start a new service. simid = simid_example # String | ID of the simulation -compoundJobName = compoundJobName_example # String | Name of the compound job +serviceName = serviceName_example # String | The storage service name try: - # Add a file write action to compound job. - api_response = api_instance.add_file_write_action(body, simid, compoundJobName) + # Create, ex nihilo, a copy of a file copy at a storage service. + api_response = api_instance.create_file_copy_at_storage_service(body, simid, serviceName) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->addFileWriteAction: %s\n" % e)
      + print("Exception when calling WRENCHApi->createFileCopyAtStorageService: %s\n" % e)
      @@ -5545,7 +5176,7 @@

      Parameters

      -
      +
      @@ -5563,11 +5194,11 @@

      Parameters

      - compound_job_name* + service_name* -
      +
      @@ -5575,7 +5206,7 @@

      Parameters

      - Name of the compound job + The storage service name
      @@ -5601,11 +5232,11 @@

      Parameters

      -
      +
      @@ -5640,14 +5271,14 @@

      Status: 200 - OK

      -
      -
      +
      +
      - +
      -

      Status: 404 - Job not found

      +

      Status: 404 - Simulation or storage service not found

      @@ -5703,11 +5334,11 @@

      Status: 405 - Invalid input


      -
      -
      +
      +
      -

      addInputFile

      -

      Add an input file to a task

      +

      createStandardJob

      +

      Create a new standard job.

      @@ -5715,32 +5346,32 @@

      addInputFile


      -
      /simulation/{simid}/workflows/{workflow_name}/tasks/{tid}/addInputFile
      +
      /simulation/{simid}/workflows/{workflow_name}/createStandardJob

      Usage and SDK Samples

      -
      +
      curl -X PUT\
       -H "Accept: application/json"\
       -H "Content-Type: application/json"\
      -"https://wrench-project.org/v1/simulation/{simid}/workflows/{workflow_name}/tasks/{tid}/addInputFile"
      +"https://wrench-project.org/v1/simulation/{simid}/workflows/{workflow_name}/createStandardJob"
      -
      +
      import io.swagger.client.*;
       import io.swagger.client.auth.*;
       import io.swagger.client.model.*;
      @@ -5754,60 +5385,56 @@ 

      Usage and SDK Samples

      public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); - Tid_addInputFile_body body = ; // Tid_addInputFile_body | Input file. + StandardJob body = ; // StandardJob | Job specification. String simid = simid_example; // String | ID of the simulation String workflowName = workflowName_example; // String | - String tid = tid_example; // String | ID of the task try { - GenericResponse result = apiInstance.addInputFile(body, simid, workflowName, tid); + JobResponse result = apiInstance.createStandardJob(body, simid, workflowName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#addInputFile"); + System.err.println("Exception when calling WRENCHApi#createStandardJob"); e.printStackTrace(); } } }
      -
      +
      import io.swagger.client.api.WRENCHApi;
       
       public class WRENCHApiExample {
       
           public static void main(String[] args) {
               WRENCHApi apiInstance = new WRENCHApi();
      -        Tid_addInputFile_body body = ; // Tid_addInputFile_body | Input file.
      +        StandardJob body = ; // StandardJob | Job specification.
               String simid = simid_example; // String | ID of the simulation
               String workflowName = workflowName_example; // String | 
      -        String tid = tid_example; // String | ID of the task
               try {
      -            GenericResponse result = apiInstance.addInputFile(body, simid, workflowName, tid);
      +            JobResponse result = apiInstance.createStandardJob(body, simid, workflowName);
                   System.out.println(result);
               } catch (ApiException e) {
      -            System.err.println("Exception when calling WRENCHApi#addInputFile");
      +            System.err.println("Exception when calling WRENCHApi#createStandardJob");
                   e.printStackTrace();
               }
           }
       }
      -
      -
      Tid_addInputFile_body *body = ; // Input file.
      +                            
      +
      StandardJob *body = ; // Job specification.
       String *simid = simid_example; // ID of the simulation
       String *workflowName = workflowName_example; // 
      -String *tid = tid_example; // ID of the task
       
       WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
       
      -// Add an input file to a task
      -[apiInstance addInputFileWith:body
      +// Create a new standard job.
      +[apiInstance createStandardJobWith:body
           simid:simid
           workflowName:workflowName
      -    tid:tid
      -              completionHandler: ^(GenericResponse output, NSError* error) {
      +              completionHandler: ^(JobResponse output, NSError* error) {
                                   if (output) {
                                       NSLog(@"%@", output);
                                   }
      @@ -5818,14 +5445,13 @@ 

      Usage and SDK Samples

      -
      +
      var WrenchRestApi = require('wrench_rest_api');
       
       var api = new WrenchRestApi.WRENCHApi()
      -var body = ; // {{Tid_addInputFile_body}} Input file.
      +var body = ; // {{StandardJob}} Job specification.
       var simid = simid_example; // {{String}} ID of the simulation
       var workflowName = workflowName_example; // {{String}} 
      -var tid = tid_example; // {{String}} ID of the task
       
       var callback = function(error, data, response) {
         if (error) {
      @@ -5834,14 +5460,14 @@ 

      Usage and SDK Samples

      console.log('API called successfully. Returned data: ' + data); } }; -api.addInputFile(bodysimidworkflowNametid, callback); +api.createStandardJob(bodysimidworkflowName, callback);
      - -
      +
      using System;
       using System.Diagnostics;
       using IO.Swagger.Api;
      @@ -5850,26 +5476,25 @@ 

      Usage and SDK Samples

      namespace Example { - public class addInputFileExample + public class createStandardJobExample { public void main() { var apiInstance = new WRENCHApi(); - var body = new Tid_addInputFile_body(); // Tid_addInputFile_body | Input file. + var body = new StandardJob(); // StandardJob | Job specification. var simid = simid_example; // String | ID of the simulation var workflowName = workflowName_example; // String | - var tid = tid_example; // String | ID of the task try { - // Add an input file to a task - GenericResponse result = apiInstance.addInputFile(body, simid, workflowName, tid); + // Create a new standard job. + JobResponse result = apiInstance.createStandardJob(body, simid, workflowName); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.addInputFile: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.createStandardJob: " + e.Message ); } } } @@ -5877,46 +5502,44 @@

      Usage and SDK Samples

      -
      +
      <?php
       require_once(__DIR__ . '/vendor/autoload.php');
       
       $api_instance = new Swagger\Client\ApiWRENCHApi();
      -$body = ; // Tid_addInputFile_body | Input file.
      +$body = ; // StandardJob | Job specification.
       $simid = simid_example; // String | ID of the simulation
       $workflowName = workflowName_example; // String | 
      -$tid = tid_example; // String | ID of the task
       
       try {
      -    $result = $api_instance->addInputFile($body, $simid, $workflowName, $tid);
      +    $result = $api_instance->createStandardJob($body, $simid, $workflowName);
           print_r($result);
       } catch (Exception $e) {
      -    echo 'Exception when calling WRENCHApi->addInputFile: ', $e->getMessage(), PHP_EOL;
      +    echo 'Exception when calling WRENCHApi->createStandardJob: ', $e->getMessage(), PHP_EOL;
       }
       ?>
      -
      +
      use Data::Dumper;
       use WWW::SwaggerClient::Configuration;
       use WWW::SwaggerClient::WRENCHApi;
       
       my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
      -my $body = WWW::SwaggerClient::Object::Tid_addInputFile_body->new(); # Tid_addInputFile_body | Input file.
      +my $body = WWW::SwaggerClient::Object::StandardJob->new(); # StandardJob | Job specification.
       my $simid = simid_example; # String | ID of the simulation
       my $workflowName = workflowName_example; # String | 
      -my $tid = tid_example; # String | ID of the task
       
       eval { 
      -    my $result = $api_instance->addInputFile(body => $body, simid => $simid, workflowName => $workflowName, tid => $tid);
      +    my $result = $api_instance->createStandardJob(body => $body, simid => $simid, workflowName => $workflowName);
           print Dumper($result);
       };
       if ($@) {
      -    warn "Exception when calling WRENCHApi->addInputFile: $@\n";
      +    warn "Exception when calling WRENCHApi->createStandardJob: $@\n";
       }
      -
      +
      from __future__ import print_statement
       import time
       import swagger_client
      @@ -5925,17 +5548,16 @@ 

      Usage and SDK Samples

      # create an instance of the API class api_instance = swagger_client.WRENCHApi() -body = # Tid_addInputFile_body | Input file. +body = # StandardJob | Job specification. simid = simid_example # String | ID of the simulation workflowName = workflowName_example # String | -tid = tid_example # String | ID of the task try: - # Add an input file to a task - api_response = api_instance.add_input_file(body, simid, workflowName, tid) + # Create a new standard job. + api_response = api_instance.create_standard_job(body, simid, workflowName) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->addInputFile: %s\n" % e)
      + print("Exception when calling WRENCHApi->createStandardJob: %s\n" % e)
      @@ -5951,7 +5573,7 @@

      Parameters

      -
      +
      @@ -5973,35 +5595,13 @@

      Parameters

      -
      -
      -
      - - String - - -
      -
      - Required -
      -
      -
      - - - tid* - - - -
      +
      String -
      - ID of the task -
      Required @@ -6026,11 +5626,11 @@

      Parameters

      -
      +
      @@ -6065,14 +5665,14 @@

      Status: 200 - OK

      -
      -
      +
      +
      - +
      -

      Status: 404 - Task not found

      - - - -
      -
      -

      Status: 405 - Invalid input


      -
      -
      +
      +
      -

      addOutputFile

      -

      Add an output file to a task

      +

      createTask

      +

      Create a new task.

      @@ -6140,32 +5732,32 @@

      addOutputFile


      -
      /simulation/{simid}/workflows/{workflow_name}/tasks/{tid}/addOutputFile
      +
      /simulation/{simid}/workflows/{workflow_name}/createTask

      Usage and SDK Samples

      -
      +
      curl -X PUT\
       -H "Accept: application/json"\
       -H "Content-Type: application/json"\
      -"https://wrench-project.org/v1/simulation/{simid}/workflows/{workflow_name}/tasks/{tid}/addOutputFile"
      +"https://wrench-project.org/v1/simulation/{simid}/workflows/{workflow_name}/createTask"
      -
      +
      import io.swagger.client.*;
       import io.swagger.client.auth.*;
       import io.swagger.client.model.*;
      @@ -6179,59 +5771,55 @@ 

      Usage and SDK Samples

      public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); - Tid_addOutputFile_body body = ; // Tid_addOutputFile_body | Job characteristics. + Task body = ; // Task | Task characteristics. String simid = simid_example; // String | ID of the simulation String workflowName = workflowName_example; // String | - String tid = tid_example; // String | ID of the task try { - GenericResponse result = apiInstance.addOutputFile(body, simid, workflowName, tid); + GenericResponse result = apiInstance.createTask(body, simid, workflowName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#addOutputFile"); + System.err.println("Exception when calling WRENCHApi#createTask"); e.printStackTrace(); } } }
      -
      +
      import io.swagger.client.api.WRENCHApi;
       
       public class WRENCHApiExample {
       
           public static void main(String[] args) {
               WRENCHApi apiInstance = new WRENCHApi();
      -        Tid_addOutputFile_body body = ; // Tid_addOutputFile_body | Job characteristics.
      +        Task body = ; // Task | Task characteristics.
               String simid = simid_example; // String | ID of the simulation
               String workflowName = workflowName_example; // String | 
      -        String tid = tid_example; // String | ID of the task
               try {
      -            GenericResponse result = apiInstance.addOutputFile(body, simid, workflowName, tid);
      +            GenericResponse result = apiInstance.createTask(body, simid, workflowName);
                   System.out.println(result);
               } catch (ApiException e) {
      -            System.err.println("Exception when calling WRENCHApi#addOutputFile");
      +            System.err.println("Exception when calling WRENCHApi#createTask");
                   e.printStackTrace();
               }
           }
       }
      -
      -
      Tid_addOutputFile_body *body = ; // Job characteristics.
      +                            
      +
      Task *body = ; // Task characteristics.
       String *simid = simid_example; // ID of the simulation
       String *workflowName = workflowName_example; // 
      -String *tid = tid_example; // ID of the task
       
       WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
       
      -// Add an output file to a task
      -[apiInstance addOutputFileWith:body
      +// Create a new task.
      +[apiInstance createTaskWith:body
           simid:simid
           workflowName:workflowName
      -    tid:tid
                     completionHandler: ^(GenericResponse output, NSError* error) {
                                   if (output) {
                                       NSLog(@"%@", output);
      @@ -6243,14 +5831,13 @@ 

      Usage and SDK Samples

      -
      +
      var WrenchRestApi = require('wrench_rest_api');
       
       var api = new WrenchRestApi.WRENCHApi()
      -var body = ; // {{Tid_addOutputFile_body}} Job characteristics.
      +var body = ; // {{Task}} Task characteristics.
       var simid = simid_example; // {{String}} ID of the simulation
       var workflowName = workflowName_example; // {{String}} 
      -var tid = tid_example; // {{String}} ID of the task
       
       var callback = function(error, data, response) {
         if (error) {
      @@ -6259,14 +5846,14 @@ 

      Usage and SDK Samples

      console.log('API called successfully. Returned data: ' + data); } }; -api.addOutputFile(bodysimidworkflowNametid, callback); +api.createTask(bodysimidworkflowName, callback);
      - -
      +
      using System;
       using System.Diagnostics;
       using IO.Swagger.Api;
      @@ -6275,26 +5862,25 @@ 

      Usage and SDK Samples

      namespace Example { - public class addOutputFileExample + public class createTaskExample { public void main() { var apiInstance = new WRENCHApi(); - var body = new Tid_addOutputFile_body(); // Tid_addOutputFile_body | Job characteristics. + var body = new Task(); // Task | Task characteristics. var simid = simid_example; // String | ID of the simulation var workflowName = workflowName_example; // String | - var tid = tid_example; // String | ID of the task try { - // Add an output file to a task - GenericResponse result = apiInstance.addOutputFile(body, simid, workflowName, tid); + // Create a new task. + GenericResponse result = apiInstance.createTask(body, simid, workflowName); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.addOutputFile: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.createTask: " + e.Message ); } } } @@ -6302,46 +5888,44 @@

      Usage and SDK Samples

      -
      +
      <?php
       require_once(__DIR__ . '/vendor/autoload.php');
       
       $api_instance = new Swagger\Client\ApiWRENCHApi();
      -$body = ; // Tid_addOutputFile_body | Job characteristics.
      +$body = ; // Task | Task characteristics.
       $simid = simid_example; // String | ID of the simulation
       $workflowName = workflowName_example; // String | 
      -$tid = tid_example; // String | ID of the task
       
       try {
      -    $result = $api_instance->addOutputFile($body, $simid, $workflowName, $tid);
      +    $result = $api_instance->createTask($body, $simid, $workflowName);
           print_r($result);
       } catch (Exception $e) {
      -    echo 'Exception when calling WRENCHApi->addOutputFile: ', $e->getMessage(), PHP_EOL;
      +    echo 'Exception when calling WRENCHApi->createTask: ', $e->getMessage(), PHP_EOL;
       }
       ?>
      -
      +
      use Data::Dumper;
       use WWW::SwaggerClient::Configuration;
       use WWW::SwaggerClient::WRENCHApi;
       
       my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
      -my $body = WWW::SwaggerClient::Object::Tid_addOutputFile_body->new(); # Tid_addOutputFile_body | Job characteristics.
      +my $body = WWW::SwaggerClient::Object::Task->new(); # Task | Task characteristics.
       my $simid = simid_example; # String | ID of the simulation
       my $workflowName = workflowName_example; # String | 
      -my $tid = tid_example; # String | ID of the task
       
       eval { 
      -    my $result = $api_instance->addOutputFile(body => $body, simid => $simid, workflowName => $workflowName, tid => $tid);
      +    my $result = $api_instance->createTask(body => $body, simid => $simid, workflowName => $workflowName);
           print Dumper($result);
       };
       if ($@) {
      -    warn "Exception when calling WRENCHApi->addOutputFile: $@\n";
      +    warn "Exception when calling WRENCHApi->createTask: $@\n";
       }
      -
      +
      from __future__ import print_statement
       import time
       import swagger_client
      @@ -6350,17 +5934,16 @@ 

      Usage and SDK Samples

      # create an instance of the API class api_instance = swagger_client.WRENCHApi() -body = # Tid_addOutputFile_body | Job characteristics. +body = # Task | Task characteristics. simid = simid_example # String | ID of the simulation workflowName = workflowName_example # String | -tid = tid_example # String | ID of the task try: - # Add an output file to a task - api_response = api_instance.add_output_file(body, simid, workflowName, tid) + # Create a new task. + api_response = api_instance.create_task(body, simid, workflowName) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->addOutputFile: %s\n" % e)
      + print("Exception when calling WRENCHApi->createTask: %s\n" % e)
      @@ -6376,7 +5959,7 @@

      Parameters

      -
      +
      @@ -6398,35 +5981,13 @@

      Parameters

      -
      -
      -
      - - String - - -
      -
      - Required -
      -
      -
      - - - tid* - - - -
      +
      String -
      - ID of the task -
      Required @@ -6451,11 +6012,11 @@

      Parameters

      -
      +
      @@ -6490,14 +6051,14 @@

      Status: 200 - OK

      -
      -
      +
      +
      - +
      -

      Status: 404 - Task not found

      - - - -
      -
      -

      Status: 405 - Invalid input


      -
      -
      +
      +
      -

      addParentJob

      -

      Add parent compound job to compound job

      +

      createVM

      +

      Create a VM on a cloud compute service.

      @@ -6565,32 +6118,32 @@

      addParentJob


      -
      /simulation/{simid}/compoundJobs/{compound_job_name}/addParentJob
      +
      /simulation/{simid}/cloud_compute_services/{service_name}/createVM

      Usage and SDK Samples

      - -
      -
      -
      curl -X POST\
      +                          
    • Curl
    • +
    • Java
    • +
    • Android
    • + +
    • Obj-C
    • +
    • JavaScript
    • + +
    • C#
    • +
    • PHP
    • +
    • Perl
    • +
    • Python
    • +
    + +
    +
    +
    curl -X POST\
     -H "Accept: application/json"\
     -H "Content-Type: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/compoundJobs/{compound_job_name}/addParentJob"
    +"https://wrench-project.org/v1/simulation/{simid}/cloud_compute_services/{service_name}/createVM"
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    @@ -6604,56 +6157,56 @@ 

    Usage and SDK Samples

    public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); - Compound_job_name_addParentJob_body body = ; // Compound_job_name_addParentJob_body | Input to add a parent compound job. + Service_name_createVM_body body = ; // Service_name_createVM_body | Input to start create a VM. String simid = simid_example; // String | ID of the simulation - String compoundJobName = compoundJobName_example; // String | Name of the compound job + String serviceName = serviceName_example; // String | The cloud compute service name try { - GenericResponse result = apiInstance.addParentJob(body, simid, compoundJobName); + VMCreationResponse result = apiInstance.createVM(body, simid, serviceName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#addParentJob"); + System.err.println("Exception when calling WRENCHApi#createVM"); e.printStackTrace(); } } }
    -
    +
    import io.swagger.client.api.WRENCHApi;
     
     public class WRENCHApiExample {
     
         public static void main(String[] args) {
             WRENCHApi apiInstance = new WRENCHApi();
    -        Compound_job_name_addParentJob_body body = ; // Compound_job_name_addParentJob_body | Input to add a parent compound job.
    +        Service_name_createVM_body body = ; // Service_name_createVM_body | Input to start create a VM.
             String simid = simid_example; // String | ID of the simulation
    -        String compoundJobName = compoundJobName_example; // String | Name of the compound job
    +        String serviceName = serviceName_example; // String | The cloud compute service name
             try {
    -            GenericResponse result = apiInstance.addParentJob(body, simid, compoundJobName);
    +            VMCreationResponse result = apiInstance.createVM(body, simid, serviceName);
                 System.out.println(result);
             } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#addParentJob");
    +            System.err.println("Exception when calling WRENCHApi#createVM");
                 e.printStackTrace();
             }
         }
     }
    -
    -
    Compound_job_name_addParentJob_body *body = ; // Input to add a parent compound job.
    +                            
    +
    Service_name_createVM_body *body = ; // Input to start create a VM.
     String *simid = simid_example; // ID of the simulation
    -String *compoundJobName = compoundJobName_example; // Name of the compound job
    +String *serviceName = serviceName_example; // The cloud compute service name
     
     WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
     
    -// Add parent compound job to compound job
    -[apiInstance addParentJobWith:body
    +// Create a VM on a cloud compute service.
    +[apiInstance createVMWith:body
         simid:simid
    -    compoundJobName:compoundJobName
    -              completionHandler: ^(GenericResponse output, NSError* error) {
    +    serviceName:serviceName
    +              completionHandler: ^(VMCreationResponse output, NSError* error) {
                                 if (output) {
                                     NSLog(@"%@", output);
                                 }
    @@ -6664,13 +6217,13 @@ 

    Usage and SDK Samples

    -
    +
    var WrenchRestApi = require('wrench_rest_api');
     
     var api = new WrenchRestApi.WRENCHApi()
    -var body = ; // {{Compound_job_name_addParentJob_body}} Input to add a parent compound job.
    +var body = ; // {{Service_name_createVM_body}} Input to start create a VM.
     var simid = simid_example; // {{String}} ID of the simulation
    -var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
    +var serviceName = serviceName_example; // {{String}} The cloud compute service name
     
     var callback = function(error, data, response) {
       if (error) {
    @@ -6679,14 +6232,14 @@ 

    Usage and SDK Samples

    console.log('API called successfully. Returned data: ' + data); } }; -api.addParentJob(bodysimidcompoundJobName, callback); +api.createVM(bodysimidserviceName, callback);
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -6695,25 +6248,25 @@ 

    Usage and SDK Samples

    namespace Example { - public class addParentJobExample + public class createVMExample { public void main() { var apiInstance = new WRENCHApi(); - var body = new Compound_job_name_addParentJob_body(); // Compound_job_name_addParentJob_body | Input to add a parent compound job. + var body = new Service_name_createVM_body(); // Service_name_createVM_body | Input to start create a VM. var simid = simid_example; // String | ID of the simulation - var compoundJobName = compoundJobName_example; // String | Name of the compound job + var serviceName = serviceName_example; // String | The cloud compute service name try { - // Add parent compound job to compound job - GenericResponse result = apiInstance.addParentJob(body, simid, compoundJobName); + // Create a VM on a cloud compute service. + VMCreationResponse result = apiInstance.createVM(body, simid, serviceName); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.addParentJob: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.createVM: " + e.Message ); } } } @@ -6721,44 +6274,44 @@

    Usage and SDK Samples

    -
    +
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
     
     $api_instance = new Swagger\Client\ApiWRENCHApi();
    -$body = ; // Compound_job_name_addParentJob_body | Input to add a parent compound job.
    +$body = ; // Service_name_createVM_body | Input to start create a VM.
     $simid = simid_example; // String | ID of the simulation
    -$compoundJobName = compoundJobName_example; // String | Name of the compound job
    +$serviceName = serviceName_example; // String | The cloud compute service name
     
     try {
    -    $result = $api_instance->addParentJob($body, $simid, $compoundJobName);
    +    $result = $api_instance->createVM($body, $simid, $serviceName);
         print_r($result);
     } catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->addParentJob: ', $e->getMessage(), PHP_EOL;
    +    echo 'Exception when calling WRENCHApi->createVM: ', $e->getMessage(), PHP_EOL;
     }
     ?>
    -
    +
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
     use WWW::SwaggerClient::WRENCHApi;
     
     my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $body = WWW::SwaggerClient::Object::Compound_job_name_addParentJob_body->new(); # Compound_job_name_addParentJob_body | Input to add a parent compound job.
    +my $body = WWW::SwaggerClient::Object::Service_name_createVM_body->new(); # Service_name_createVM_body | Input to start create a VM.
     my $simid = simid_example; # String | ID of the simulation
    -my $compoundJobName = compoundJobName_example; # String | Name of the compound job
    +my $serviceName = serviceName_example; # String | The cloud compute service name
     
     eval { 
    -    my $result = $api_instance->addParentJob(body => $body, simid => $simid, compoundJobName => $compoundJobName);
    +    my $result = $api_instance->createVM(body => $body, simid => $simid, serviceName => $serviceName);
         print Dumper($result);
     };
     if ($@) {
    -    warn "Exception when calling WRENCHApi->addParentJob: $@\n";
    +    warn "Exception when calling WRENCHApi->createVM: $@\n";
     }
    -
    +
    from __future__ import print_statement
     import time
     import swagger_client
    @@ -6767,16 +6320,16 @@ 

    Usage and SDK Samples

    # create an instance of the API class api_instance = swagger_client.WRENCHApi() -body = # Compound_job_name_addParentJob_body | Input to add a parent compound job. +body = # Service_name_createVM_body | Input to start create a VM. simid = simid_example # String | ID of the simulation -compoundJobName = compoundJobName_example # String | Name of the compound job +serviceName = serviceName_example # String | The cloud compute service name try: - # Add parent compound job to compound job - api_response = api_instance.add_parent_job(body, simid, compoundJobName) + # Create a VM on a cloud compute service. + api_response = api_instance.create_vm(body, simid, serviceName) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->addParentJob: %s\n" % e)
    + print("Exception when calling WRENCHApi->createVM: %s\n" % e)
    @@ -6792,7 +6345,7 @@

    Parameters

    -
    +
    @@ -6810,11 +6363,11 @@

    Parameters

    - compound_job_name* + service_name* -
    +
    @@ -6822,7 +6375,7 @@

    Parameters

    - Name of the compound job + The cloud compute service name
    @@ -6848,11 +6401,11 @@

    Parameters

    -
    +
    @@ -6887,14 +6440,14 @@

    Status: 200 - OK

    -
    -
    +
    +
    - +
    -

    Status: 404 - Job not found

    - - - -
    -
    -

    Status: 405 - Invalid input


    -
    -
    +
    +
    -

    addSimpleStorageService

    -

    Create and start a simple storage service.

    +

    createWorkflow

    +

    Create a blank workflow.

    @@ -6962,32 +6507,31 @@

    addSimpleStorageService


    -
    /simulation/{simid}/addSimpleStorageService
    +
    /simulation/{simid}/createWorkflow

    Usage and SDK Samples

    -
    +
    curl -X POST\
     -H "Accept: application/json"\
    --H "Content-Type: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/addSimpleStorageService"
    +"https://wrench-project.org/v1/simulation/{simid}/createWorkflow"
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    @@ -7001,52 +6545,48 @@ 

    Usage and SDK Samples

    public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); - Simid_addSimpleStorageService_body body = ; // Simid_addSimpleStorageService_body | Input to start a new service. String simid = simid_example; // String | ID of the simulation try { - ServiceResponse result = apiInstance.addSimpleStorageService(body, simid); + WorkflowResponse result = apiInstance.createWorkflow(simid); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#addSimpleStorageService"); + System.err.println("Exception when calling WRENCHApi#createWorkflow"); e.printStackTrace(); } } }
    -
    +
    import io.swagger.client.api.WRENCHApi;
     
     public class WRENCHApiExample {
     
         public static void main(String[] args) {
             WRENCHApi apiInstance = new WRENCHApi();
    -        Simid_addSimpleStorageService_body body = ; // Simid_addSimpleStorageService_body | Input to start a new service.
             String simid = simid_example; // String | ID of the simulation
             try {
    -            ServiceResponse result = apiInstance.addSimpleStorageService(body, simid);
    +            WorkflowResponse result = apiInstance.createWorkflow(simid);
                 System.out.println(result);
             } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#addSimpleStorageService");
    +            System.err.println("Exception when calling WRENCHApi#createWorkflow");
                 e.printStackTrace();
             }
         }
     }
    -
    -
    Simid_addSimpleStorageService_body *body = ; // Input to start a new service.
    -String *simid = simid_example; // ID of the simulation
    +                            
    +
    String *simid = simid_example; // ID of the simulation
     
     WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
     
    -// Create and start a simple storage service.
    -[apiInstance addSimpleStorageServiceWith:body
    -    simid:simid
    -              completionHandler: ^(ServiceResponse output, NSError* error) {
    +// Create a blank workflow.
    +[apiInstance createWorkflowWith:simid
    +              completionHandler: ^(WorkflowResponse output, NSError* error) {
                                 if (output) {
                                     NSLog(@"%@", output);
                                 }
    @@ -7057,11 +6597,10 @@ 

    Usage and SDK Samples

    -
    +
    var WrenchRestApi = require('wrench_rest_api');
     
     var api = new WrenchRestApi.WRENCHApi()
    -var body = ; // {{Simid_addSimpleStorageService_body}} Input to start a new service.
     var simid = simid_example; // {{String}} ID of the simulation
     
     var callback = function(error, data, response) {
    @@ -7071,14 +6610,14 @@ 

    Usage and SDK Samples

    console.log('API called successfully. Returned data: ' + data); } }; -api.addSimpleStorageService(bodysimid, callback); +api.createWorkflow(simid, callback);
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -7087,24 +6626,23 @@ 

    Usage and SDK Samples

    namespace Example { - public class addSimpleStorageServiceExample + public class createWorkflowExample { public void main() { var apiInstance = new WRENCHApi(); - var body = new Simid_addSimpleStorageService_body(); // Simid_addSimpleStorageService_body | Input to start a new service. var simid = simid_example; // String | ID of the simulation try { - // Create and start a simple storage service. - ServiceResponse result = apiInstance.addSimpleStorageService(body, simid); + // Create a blank workflow. + WorkflowResponse result = apiInstance.createWorkflow(simid); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.addSimpleStorageService: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.createWorkflow: " + e.Message ); } } } @@ -7112,42 +6650,40 @@

    Usage and SDK Samples

    -
    +
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
     
     $api_instance = new Swagger\Client\ApiWRENCHApi();
    -$body = ; // Simid_addSimpleStorageService_body | Input to start a new service.
     $simid = simid_example; // String | ID of the simulation
     
     try {
    -    $result = $api_instance->addSimpleStorageService($body, $simid);
    +    $result = $api_instance->createWorkflow($simid);
         print_r($result);
     } catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->addSimpleStorageService: ', $e->getMessage(), PHP_EOL;
    +    echo 'Exception when calling WRENCHApi->createWorkflow: ', $e->getMessage(), PHP_EOL;
     }
     ?>
    -
    +
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
     use WWW::SwaggerClient::WRENCHApi;
     
     my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $body = WWW::SwaggerClient::Object::Simid_addSimpleStorageService_body->new(); # Simid_addSimpleStorageService_body | Input to start a new service.
     my $simid = simid_example; # String | ID of the simulation
     
     eval { 
    -    my $result = $api_instance->addSimpleStorageService(body => $body, simid => $simid);
    +    my $result = $api_instance->createWorkflow(simid => $simid);
         print Dumper($result);
     };
     if ($@) {
    -    warn "Exception when calling WRENCHApi->addSimpleStorageService: $@\n";
    +    warn "Exception when calling WRENCHApi->createWorkflow: $@\n";
     }
    -
    +
    from __future__ import print_statement
     import time
     import swagger_client
    @@ -7156,15 +6692,14 @@ 

    Usage and SDK Samples

    # create an instance of the API class api_instance = swagger_client.WRENCHApi() -body = # Simid_addSimpleStorageService_body | Input to start a new service. simid = simid_example # String | ID of the simulation try: - # Create and start a simple storage service. - api_response = api_instance.add_simple_storage_service(body, simid) + # Create a blank workflow. + api_response = api_instance.create_workflow(simid) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->addSimpleStorageService: %s\n" % e)
    + print("Exception when calling WRENCHApi->createWorkflow: %s\n" % e)
    @@ -7180,7 +6715,7 @@

    Parameters

    -
    +
    @@ -7201,50 +6736,6 @@

    Parameters

    -
    Body parameters
    - - - - - - - - -
    NameDescription
    body * - - - -
    -
    @@ -7253,14 +6744,14 @@

    Status: 200 - OK

    -
    -
    +
    +
    - +
    @@ -7308,11 +6799,11 @@

    Status: 405 - Invalid input


    -
    -
    +
    +
    -

    addSleepAction

    -

    Add a sleep action to compound job

    +

    createWorkflowFromJSON

    +

    Create a workflow from a WfCommons JSON object.

    @@ -7320,32 +6811,32 @@

    addSleepAction


    -
    /simulation/{simid}/compoundJobs/{compound_job_name}/addSleepAction
    +
    /simulation/{simid}/createWorkflowFromJSON

    Usage and SDK Samples

    -
    +
    curl -X POST\
     -H "Accept: application/json"\
     -H "Content-Type: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/compoundJobs/{compound_job_name}/addSleepAction"
    +"https://wrench-project.org/v1/simulation/{simid}/createWorkflowFromJSON"
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    @@ -7359,56 +6850,52 @@ 

    Usage and SDK Samples

    public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); - Compound_job_name_addSleepAction_body body = ; // Compound_job_name_addSleepAction_body | Input to add a sleep action. + Simid_createWorkflowFromJSON_body body = ; // Simid_createWorkflowFromJSON_body | Input to create workflow from JSON. String simid = simid_example; // String | ID of the simulation - String compoundJobName = compoundJobName_example; // String | Name of the compound job try { - GenericResponse result = apiInstance.addSleepAction(body, simid, compoundJobName); + WorkflowResponseWithTaskAndFileList result = apiInstance.createWorkflowFromJSON(body, simid); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#addSleepAction"); + System.err.println("Exception when calling WRENCHApi#createWorkflowFromJSON"); e.printStackTrace(); } } }
    -
    +
    import io.swagger.client.api.WRENCHApi;
     
     public class WRENCHApiExample {
     
         public static void main(String[] args) {
             WRENCHApi apiInstance = new WRENCHApi();
    -        Compound_job_name_addSleepAction_body body = ; // Compound_job_name_addSleepAction_body | Input to add a sleep action.
    +        Simid_createWorkflowFromJSON_body body = ; // Simid_createWorkflowFromJSON_body | Input to create workflow from JSON.
             String simid = simid_example; // String | ID of the simulation
    -        String compoundJobName = compoundJobName_example; // String | Name of the compound job
             try {
    -            GenericResponse result = apiInstance.addSleepAction(body, simid, compoundJobName);
    +            WorkflowResponseWithTaskAndFileList result = apiInstance.createWorkflowFromJSON(body, simid);
                 System.out.println(result);
             } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#addSleepAction");
    +            System.err.println("Exception when calling WRENCHApi#createWorkflowFromJSON");
                 e.printStackTrace();
             }
         }
     }
    -
    -
    Compound_job_name_addSleepAction_body *body = ; // Input to add a sleep action.
    +                            
    +
    Simid_createWorkflowFromJSON_body *body = ; // Input to create workflow from JSON.
     String *simid = simid_example; // ID of the simulation
    -String *compoundJobName = compoundJobName_example; // Name of the compound job
     
     WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
     
    -// Add a sleep action to compound job
    -[apiInstance addSleepActionWith:body
    +// Create a workflow from a WfCommons JSON object.
    +[apiInstance createWorkflowFromJSONWith:body
         simid:simid
    -    compoundJobName:compoundJobName
    -              completionHandler: ^(GenericResponse output, NSError* error) {
    +              completionHandler: ^(WorkflowResponseWithTaskAndFileList output, NSError* error) {
                                 if (output) {
                                     NSLog(@"%@", output);
                                 }
    @@ -7419,13 +6906,12 @@ 

    Usage and SDK Samples

    -
    +
    var WrenchRestApi = require('wrench_rest_api');
     
     var api = new WrenchRestApi.WRENCHApi()
    -var body = ; // {{Compound_job_name_addSleepAction_body}} Input to add a sleep action.
    +var body = ; // {{Simid_createWorkflowFromJSON_body}} Input to create workflow from JSON.
     var simid = simid_example; // {{String}} ID of the simulation
    -var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
     
     var callback = function(error, data, response) {
       if (error) {
    @@ -7434,14 +6920,14 @@ 

    Usage and SDK Samples

    console.log('API called successfully. Returned data: ' + data); } }; -api.addSleepAction(bodysimidcompoundJobName, callback); +api.createWorkflowFromJSON(bodysimid, callback);
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -7450,25 +6936,24 @@ 

    Usage and SDK Samples

    namespace Example { - public class addSleepActionExample + public class createWorkflowFromJSONExample { public void main() { var apiInstance = new WRENCHApi(); - var body = new Compound_job_name_addSleepAction_body(); // Compound_job_name_addSleepAction_body | Input to add a sleep action. + var body = new Simid_createWorkflowFromJSON_body(); // Simid_createWorkflowFromJSON_body | Input to create workflow from JSON. var simid = simid_example; // String | ID of the simulation - var compoundJobName = compoundJobName_example; // String | Name of the compound job try { - // Add a sleep action to compound job - GenericResponse result = apiInstance.addSleepAction(body, simid, compoundJobName); + // Create a workflow from a WfCommons JSON object. + WorkflowResponseWithTaskAndFileList result = apiInstance.createWorkflowFromJSON(body, simid); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.addSleepAction: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.createWorkflowFromJSON: " + e.Message ); } } } @@ -7476,44 +6961,42 @@

    Usage and SDK Samples

    -
    +
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
     
     $api_instance = new Swagger\Client\ApiWRENCHApi();
    -$body = ; // Compound_job_name_addSleepAction_body | Input to add a sleep action.
    +$body = ; // Simid_createWorkflowFromJSON_body | Input to create workflow from JSON.
     $simid = simid_example; // String | ID of the simulation
    -$compoundJobName = compoundJobName_example; // String | Name of the compound job
     
     try {
    -    $result = $api_instance->addSleepAction($body, $simid, $compoundJobName);
    +    $result = $api_instance->createWorkflowFromJSON($body, $simid);
         print_r($result);
     } catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->addSleepAction: ', $e->getMessage(), PHP_EOL;
    +    echo 'Exception when calling WRENCHApi->createWorkflowFromJSON: ', $e->getMessage(), PHP_EOL;
     }
     ?>
    -
    +
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
     use WWW::SwaggerClient::WRENCHApi;
     
     my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $body = WWW::SwaggerClient::Object::Compound_job_name_addSleepAction_body->new(); # Compound_job_name_addSleepAction_body | Input to add a sleep action.
    +my $body = WWW::SwaggerClient::Object::Simid_createWorkflowFromJSON_body->new(); # Simid_createWorkflowFromJSON_body | Input to create workflow from JSON.
     my $simid = simid_example; # String | ID of the simulation
    -my $compoundJobName = compoundJobName_example; # String | Name of the compound job
     
     eval { 
    -    my $result = $api_instance->addSleepAction(body => $body, simid => $simid, compoundJobName => $compoundJobName);
    +    my $result = $api_instance->createWorkflowFromJSON(body => $body, simid => $simid);
         print Dumper($result);
     };
     if ($@) {
    -    warn "Exception when calling WRENCHApi->addSleepAction: $@\n";
    +    warn "Exception when calling WRENCHApi->createWorkflowFromJSON: $@\n";
     }
    -
    +
    from __future__ import print_statement
     import time
     import swagger_client
    @@ -7522,16 +7005,15 @@ 

    Usage and SDK Samples

    # create an instance of the API class api_instance = swagger_client.WRENCHApi() -body = # Compound_job_name_addSleepAction_body | Input to add a sleep action. +body = # Simid_createWorkflowFromJSON_body | Input to create workflow from JSON. simid = simid_example # String | ID of the simulation -compoundJobName = compoundJobName_example # String | Name of the compound job try: - # Add a sleep action to compound job - api_response = api_instance.add_sleep_action(body, simid, compoundJobName) + # Create a workflow from a WfCommons JSON object. + api_response = api_instance.create_workflow_from_json(body, simid) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->addSleepAction: %s\n" % e)
    + print("Exception when calling WRENCHApi->createWorkflowFromJSON: %s\n" % e)
    @@ -7547,7 +7029,7 @@

    Parameters

    -
    +
    @@ -7565,28 +7047,6 @@

    Parameters

    - compound_job_name* - - - -
    -
    -
    - - String - - -
    - Name of the compound job -
    -
    -
    - Required -
    -
    -
    - - @@ -7603,11 +7063,11 @@

    Parameters

    -
    +
    @@ -7642,14 +7102,14 @@

    Status: 200 - OK

    -
    -
    +
    +
    - +
    -

    Status: 404 - Job not found

    - - - -
    -
    -

    Status: 405 - Invalid input


    -
    -
    +
    +
    -

    advanceTime

    -

    Retrieve the current simulated time.

    +

    destroyVM

    +

    Destroy a VM.

    @@ -7717,32 +7169,31 @@

    advanceTime


    -
    /simulation/{simid}/advanceTime
    +
    /simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/destroyVM

    Usage and SDK Samples

    -
    -
    curl -X PUT\
    +                          
    +
    curl -X POST\
     -H "Accept: application/json"\
    --H "Content-Type: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/advanceTime"
    +"https://wrench-project.org/v1/simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/destroyVM"
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    @@ -7756,51 +7207,55 @@ 

    Usage and SDK Samples

    public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); - Simid_advanceTime_body body = ; // Simid_advanceTime_body | Input to start a new service. String simid = simid_example; // String | ID of the simulation + String serviceName = serviceName_example; // String | The cloud compute service name + String vmName = vmName_example; // String | The VM name try { - GenericResponse result = apiInstance.advanceTime(body, simid); + GenericResponse result = apiInstance.destroyVM(simid, serviceName, vmName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#advanceTime"); + System.err.println("Exception when calling WRENCHApi#destroyVM"); e.printStackTrace(); } } }
    -
    +
    import io.swagger.client.api.WRENCHApi;
     
     public class WRENCHApiExample {
     
         public static void main(String[] args) {
             WRENCHApi apiInstance = new WRENCHApi();
    -        Simid_advanceTime_body body = ; // Simid_advanceTime_body | Input to start a new service.
             String simid = simid_example; // String | ID of the simulation
    +        String serviceName = serviceName_example; // String | The cloud compute service name
    +        String vmName = vmName_example; // String | The VM name
             try {
    -            GenericResponse result = apiInstance.advanceTime(body, simid);
    +            GenericResponse result = apiInstance.destroyVM(simid, serviceName, vmName);
                 System.out.println(result);
             } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#advanceTime");
    +            System.err.println("Exception when calling WRENCHApi#destroyVM");
                 e.printStackTrace();
             }
         }
     }
    -
    -
    Simid_advanceTime_body *body = ; // Input to start a new service.
    -String *simid = simid_example; // ID of the simulation
    +                            
    +
    String *simid = simid_example; // ID of the simulation
    +String *serviceName = serviceName_example; // The cloud compute service name
    +String *vmName = vmName_example; // The VM name
     
     WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
     
    -// Retrieve the current simulated time.
    -[apiInstance advanceTimeWith:body
    -    simid:simid
    +// Destroy a VM.
    +[apiInstance destroyVMWith:simid
    +    serviceName:serviceName
    +    vmName:vmName
                   completionHandler: ^(GenericResponse output, NSError* error) {
                                 if (output) {
                                     NSLog(@"%@", output);
    @@ -7812,12 +7267,13 @@ 

    Usage and SDK Samples

    -
    +
    var WrenchRestApi = require('wrench_rest_api');
     
     var api = new WrenchRestApi.WRENCHApi()
    -var body = ; // {{Simid_advanceTime_body}} Input to start a new service.
     var simid = simid_example; // {{String}} ID of the simulation
    +var serviceName = serviceName_example; // {{String}} The cloud compute service name
    +var vmName = vmName_example; // {{String}} The VM name
     
     var callback = function(error, data, response) {
       if (error) {
    @@ -7826,14 +7282,14 @@ 

    Usage and SDK Samples

    console.log('API called successfully. Returned data: ' + data); } }; -api.advanceTime(bodysimid, callback); +api.destroyVM(simid, serviceName, vmName, callback);
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -7842,24 +7298,25 @@ 

    Usage and SDK Samples

    namespace Example { - public class advanceTimeExample + public class destroyVMExample { public void main() { var apiInstance = new WRENCHApi(); - var body = new Simid_advanceTime_body(); // Simid_advanceTime_body | Input to start a new service. var simid = simid_example; // String | ID of the simulation + var serviceName = serviceName_example; // String | The cloud compute service name + var vmName = vmName_example; // String | The VM name try { - // Retrieve the current simulated time. - GenericResponse result = apiInstance.advanceTime(body, simid); + // Destroy a VM. + GenericResponse result = apiInstance.destroyVM(simid, serviceName, vmName); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.advanceTime: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.destroyVM: " + e.Message ); } } } @@ -7867,42 +7324,44 @@

    Usage and SDK Samples

    -
    +
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
     
     $api_instance = new Swagger\Client\ApiWRENCHApi();
    -$body = ; // Simid_advanceTime_body | Input to start a new service.
     $simid = simid_example; // String | ID of the simulation
    +$serviceName = serviceName_example; // String | The cloud compute service name
    +$vmName = vmName_example; // String | The VM name
     
     try {
    -    $result = $api_instance->advanceTime($body, $simid);
    +    $result = $api_instance->destroyVM($simid, $serviceName, $vmName);
         print_r($result);
     } catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->advanceTime: ', $e->getMessage(), PHP_EOL;
    +    echo 'Exception when calling WRENCHApi->destroyVM: ', $e->getMessage(), PHP_EOL;
     }
     ?>
    -
    +
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
     use WWW::SwaggerClient::WRENCHApi;
     
     my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $body = WWW::SwaggerClient::Object::Simid_advanceTime_body->new(); # Simid_advanceTime_body | Input to start a new service.
     my $simid = simid_example; # String | ID of the simulation
    +my $serviceName = serviceName_example; # String | The cloud compute service name
    +my $vmName = vmName_example; # String | The VM name
     
     eval { 
    -    my $result = $api_instance->advanceTime(body => $body, simid => $simid);
    +    my $result = $api_instance->destroyVM(simid => $simid, serviceName => $serviceName, vmName => $vmName);
         print Dumper($result);
     };
     if ($@) {
    -    warn "Exception when calling WRENCHApi->advanceTime: $@\n";
    +    warn "Exception when calling WRENCHApi->destroyVM: $@\n";
     }
    -
    +
    from __future__ import print_statement
     import time
     import swagger_client
    @@ -7911,15 +7370,16 @@ 

    Usage and SDK Samples

    # create an instance of the API class api_instance = swagger_client.WRENCHApi() -body = # Simid_advanceTime_body | Input to start a new service. simid = simid_example # String | ID of the simulation +serviceName = serviceName_example # String | The cloud compute service name +vmName = vmName_example # String | The VM name try: - # Retrieve the current simulated time. - api_response = api_instance.advance_time(body, simid) + # Destroy a VM. + api_response = api_instance.destroy_vm(simid, serviceName, vmName) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->advanceTime: %s\n" % e)
    + print("Exception when calling WRENCHApi->destroyVM: %s\n" % e)
    @@ -7935,7 +7395,7 @@

    Parameters

    -
    +
    @@ -7953,53 +7413,53 @@

    Parameters

    + service_name* + + + +
    +
    +
    + + String + + +
    + The cloud compute service name +
    +
    +
    + Required +
    +
    +
    + + + vm_name* + + + +
    +
    +
    + + String + + +
    + The VM name +
    +
    +
    + Required +
    +
    +
    + + - - -
    Body parameters
    - - - - - - - - -
    NameDescription
    body * - - - -
    -
    + + @@ -8008,14 +7468,14 @@

    Status: 200 - OK

    -
    -
    +
    +
    - +
    @@ -8063,11 +7523,11 @@

    Status: 405 - Invalid input


    -
    -
    +
    +
    -

    createCompoundJob

    -

    Create a new compound job.

    +

    getAllHostnames

    +

    Retrieve the names of all hosts in the simulated platform.

    @@ -8075,32 +7535,31 @@

    createCompoundJob


    -
    /simulation/{simid}/createCompoundJob
    +
    /simulation/{simid}/hostnames

    Usage and SDK Samples

    -
    -
    curl -X POST\
    +                          
    +
    curl -X GET\
     -H "Accept: application/json"\
    --H "Content-Type: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/createCompoundJob"
    +"https://wrench-project.org/v1/simulation/{simid}/hostnames"
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    @@ -8114,52 +7573,48 @@ 

    Usage and SDK Samples

    public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); - Simid_createCompoundJob_body body = ; // Simid_createCompoundJob_body | Input to create a new compound job - String simid = simid_example; // String | ID of the simulation + String simid = simid_example; // String | ID of simulation try { - GenericResponse result = apiInstance.createCompoundJob(body, simid); + HostnameList result = apiInstance.getAllHostnames(simid); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#createCompoundJob"); + System.err.println("Exception when calling WRENCHApi#getAllHostnames"); e.printStackTrace(); } } }
    -
    +
    import io.swagger.client.api.WRENCHApi;
     
     public class WRENCHApiExample {
     
         public static void main(String[] args) {
             WRENCHApi apiInstance = new WRENCHApi();
    -        Simid_createCompoundJob_body body = ; // Simid_createCompoundJob_body | Input to create a new compound job
    -        String simid = simid_example; // String | ID of the simulation
    +        String simid = simid_example; // String | ID of simulation
             try {
    -            GenericResponse result = apiInstance.createCompoundJob(body, simid);
    +            HostnameList result = apiInstance.getAllHostnames(simid);
                 System.out.println(result);
             } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#createCompoundJob");
    +            System.err.println("Exception when calling WRENCHApi#getAllHostnames");
                 e.printStackTrace();
             }
         }
     }
    -
    -
    Simid_createCompoundJob_body *body = ; // Input to create a new compound job
    -String *simid = simid_example; // ID of the simulation
    +                            
    +
    String *simid = simid_example; // ID of simulation
     
     WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
     
    -// Create a new compound job.
    -[apiInstance createCompoundJobWith:body
    -    simid:simid
    -              completionHandler: ^(GenericResponse output, NSError* error) {
    +// Retrieve the names of all hosts in the simulated platform.
    +[apiInstance getAllHostnamesWith:simid
    +              completionHandler: ^(HostnameList output, NSError* error) {
                                 if (output) {
                                     NSLog(@"%@", output);
                                 }
    @@ -8170,12 +7625,11 @@ 

    Usage and SDK Samples

    -
    +
    var WrenchRestApi = require('wrench_rest_api');
     
     var api = new WrenchRestApi.WRENCHApi()
    -var body = ; // {{Simid_createCompoundJob_body}} Input to create a new compound job
    -var simid = simid_example; // {{String}} ID of the simulation
    +var simid = simid_example; // {{String}} ID of simulation
     
     var callback = function(error, data, response) {
       if (error) {
    @@ -8184,14 +7638,14 @@ 

    Usage and SDK Samples

    console.log('API called successfully. Returned data: ' + data); } }; -api.createCompoundJob(bodysimid, callback); +api.getAllHostnames(simid, callback);
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -8200,24 +7654,23 @@ 

    Usage and SDK Samples

    namespace Example { - public class createCompoundJobExample + public class getAllHostnamesExample { public void main() { var apiInstance = new WRENCHApi(); - var body = new Simid_createCompoundJob_body(); // Simid_createCompoundJob_body | Input to create a new compound job - var simid = simid_example; // String | ID of the simulation + var simid = simid_example; // String | ID of simulation try { - // Create a new compound job. - GenericResponse result = apiInstance.createCompoundJob(body, simid); + // Retrieve the names of all hosts in the simulated platform. + HostnameList result = apiInstance.getAllHostnames(simid); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.createCompoundJob: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.getAllHostnames: " + e.Message ); } } } @@ -8225,42 +7678,40 @@

    Usage and SDK Samples

    -
    +
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
     
     $api_instance = new Swagger\Client\ApiWRENCHApi();
    -$body = ; // Simid_createCompoundJob_body | Input to create a new compound job
    -$simid = simid_example; // String | ID of the simulation
    +$simid = simid_example; // String | ID of simulation
     
     try {
    -    $result = $api_instance->createCompoundJob($body, $simid);
    +    $result = $api_instance->getAllHostnames($simid);
         print_r($result);
     } catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->createCompoundJob: ', $e->getMessage(), PHP_EOL;
    +    echo 'Exception when calling WRENCHApi->getAllHostnames: ', $e->getMessage(), PHP_EOL;
     }
     ?>
    -
    +
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
     use WWW::SwaggerClient::WRENCHApi;
     
     my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $body = WWW::SwaggerClient::Object::Simid_createCompoundJob_body->new(); # Simid_createCompoundJob_body | Input to create a new compound job
    -my $simid = simid_example; # String | ID of the simulation
    +my $simid = simid_example; # String | ID of simulation
     
     eval { 
    -    my $result = $api_instance->createCompoundJob(body => $body, simid => $simid);
    +    my $result = $api_instance->getAllHostnames(simid => $simid);
         print Dumper($result);
     };
     if ($@) {
    -    warn "Exception when calling WRENCHApi->createCompoundJob: $@\n";
    +    warn "Exception when calling WRENCHApi->getAllHostnames: $@\n";
     }
    -
    +
    from __future__ import print_statement
     import time
     import swagger_client
    @@ -8269,15 +7720,14 @@ 

    Usage and SDK Samples

    # create an instance of the API class api_instance = swagger_client.WRENCHApi() -body = # Simid_createCompoundJob_body | Input to create a new compound job -simid = simid_example # String | ID of the simulation +simid = simid_example # String | ID of simulation try: - # Create a new compound job. - api_response = api_instance.create_compound_job(body, simid) + # Retrieve the names of all hosts in the simulated platform. + api_response = api_instance.get_all_hostnames(simid) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->createCompoundJob: %s\n" % e)
    + print("Exception when calling WRENCHApi->getAllHostnames: %s\n" % e)
    @@ -8293,7 +7743,7 @@

    Parameters

    -
    +
    @@ -8301,7 +7751,7 @@

    Parameters

    - ID of the simulation + ID of simulation
    @@ -8314,50 +7764,6 @@

    Parameters

    -
    Body parameters
    - - - - - - - - -
    NameDescription
    body * - - - -
    -
    @@ -8366,14 +7772,14 @@

    Status: 200 - OK

    -
    -
    +
    +
    - +
    @@ -8421,11 +7827,11 @@

    Status: 405 - Invalid input


    -
    -
    +
    +
    -

    createFileCopyAtStorageService

    -

    Create, ex nihilo, a copy of a file copy at a storage service.

    +

    getCoreCounts

    +

    Returns the core counts for each host managed by the compute service.

    @@ -8433,32 +7839,31 @@

    createFileCopyAtStorageService


    -
    /simulation/{simid}/storage_services/{service_name}/createFileCopy
    +
    /simulation/{simid}/compute_services/{service_name}/coreCounts

    Usage and SDK Samples

    -
    -
    curl -X POST\
    +                          
    +
    curl -X GET\
     -H "Accept: application/json"\
    --H "Content-Type: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/storage_services/{service_name}/createFileCopy"
    +"https://wrench-project.org/v1/simulation/{simid}/compute_services/{service_name}/coreCounts"
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    @@ -8472,56 +7877,52 @@ 

    Usage and SDK Samples

    public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); - Service_name_createFileCopy_body body = ; // Service_name_createFileCopy_body | Input to start a new service. String simid = simid_example; // String | ID of the simulation - String serviceName = serviceName_example; // String | The storage service name + String serviceName = serviceName_example; // String | The compute service name try { - GenericResponse result = apiInstance.createFileCopyAtStorageService(body, simid, serviceName); + inline_response_200_1 result = apiInstance.getCoreCounts(simid, serviceName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#createFileCopyAtStorageService"); + System.err.println("Exception when calling WRENCHApi#getCoreCounts"); e.printStackTrace(); } } }
    -
    +
    import io.swagger.client.api.WRENCHApi;
     
     public class WRENCHApiExample {
     
         public static void main(String[] args) {
             WRENCHApi apiInstance = new WRENCHApi();
    -        Service_name_createFileCopy_body body = ; // Service_name_createFileCopy_body | Input to start a new service.
             String simid = simid_example; // String | ID of the simulation
    -        String serviceName = serviceName_example; // String | The storage service name
    +        String serviceName = serviceName_example; // String | The compute service name
             try {
    -            GenericResponse result = apiInstance.createFileCopyAtStorageService(body, simid, serviceName);
    +            inline_response_200_1 result = apiInstance.getCoreCounts(simid, serviceName);
                 System.out.println(result);
             } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#createFileCopyAtStorageService");
    +            System.err.println("Exception when calling WRENCHApi#getCoreCounts");
                 e.printStackTrace();
             }
         }
     }
    -
    -
    Service_name_createFileCopy_body *body = ; // Input to start a new service.
    -String *simid = simid_example; // ID of the simulation
    -String *serviceName = serviceName_example; // The storage service name
    +                            
    +
    String *simid = simid_example; // ID of the simulation
    +String *serviceName = serviceName_example; // The compute service name
     
     WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
     
    -// Create, ex nihilo, a copy of a file copy at a storage service.
    -[apiInstance createFileCopyAtStorageServiceWith:body
    -    simid:simid
    +// Returns the core counts for each host managed by the compute service.
    +[apiInstance getCoreCountsWith:simid
         serviceName:serviceName
    -              completionHandler: ^(GenericResponse output, NSError* error) {
    +              completionHandler: ^(inline_response_200_1 output, NSError* error) {
                                 if (output) {
                                     NSLog(@"%@", output);
                                 }
    @@ -8532,13 +7933,12 @@ 

    Usage and SDK Samples

    -
    +
    var WrenchRestApi = require('wrench_rest_api');
     
     var api = new WrenchRestApi.WRENCHApi()
    -var body = ; // {{Service_name_createFileCopy_body}} Input to start a new service.
     var simid = simid_example; // {{String}} ID of the simulation
    -var serviceName = serviceName_example; // {{String}} The storage service name
    +var serviceName = serviceName_example; // {{String}} The compute service name
     
     var callback = function(error, data, response) {
       if (error) {
    @@ -8547,14 +7947,14 @@ 

    Usage and SDK Samples

    console.log('API called successfully. Returned data: ' + data); } }; -api.createFileCopyAtStorageService(bodysimidserviceName, callback); +api.getCoreCounts(simid, serviceName, callback);
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -8563,25 +7963,24 @@ 

    Usage and SDK Samples

    namespace Example { - public class createFileCopyAtStorageServiceExample + public class getCoreCountsExample { public void main() { var apiInstance = new WRENCHApi(); - var body = new Service_name_createFileCopy_body(); // Service_name_createFileCopy_body | Input to start a new service. var simid = simid_example; // String | ID of the simulation - var serviceName = serviceName_example; // String | The storage service name + var serviceName = serviceName_example; // String | The compute service name try { - // Create, ex nihilo, a copy of a file copy at a storage service. - GenericResponse result = apiInstance.createFileCopyAtStorageService(body, simid, serviceName); + // Returns the core counts for each host managed by the compute service. + inline_response_200_1 result = apiInstance.getCoreCounts(simid, serviceName); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.createFileCopyAtStorageService: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.getCoreCounts: " + e.Message ); } } } @@ -8589,44 +7988,42 @@

    Usage and SDK Samples

    -
    +
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
     
     $api_instance = new Swagger\Client\ApiWRENCHApi();
    -$body = ; // Service_name_createFileCopy_body | Input to start a new service.
     $simid = simid_example; // String | ID of the simulation
    -$serviceName = serviceName_example; // String | The storage service name
    +$serviceName = serviceName_example; // String | The compute service name
     
     try {
    -    $result = $api_instance->createFileCopyAtStorageService($body, $simid, $serviceName);
    +    $result = $api_instance->getCoreCounts($simid, $serviceName);
         print_r($result);
     } catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->createFileCopyAtStorageService: ', $e->getMessage(), PHP_EOL;
    +    echo 'Exception when calling WRENCHApi->getCoreCounts: ', $e->getMessage(), PHP_EOL;
     }
     ?>
    -
    +
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
     use WWW::SwaggerClient::WRENCHApi;
     
     my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $body = WWW::SwaggerClient::Object::Service_name_createFileCopy_body->new(); # Service_name_createFileCopy_body | Input to start a new service.
     my $simid = simid_example; # String | ID of the simulation
    -my $serviceName = serviceName_example; # String | The storage service name
    +my $serviceName = serviceName_example; # String | The compute service name
     
     eval { 
    -    my $result = $api_instance->createFileCopyAtStorageService(body => $body, simid => $simid, serviceName => $serviceName);
    +    my $result = $api_instance->getCoreCounts(simid => $simid, serviceName => $serviceName);
         print Dumper($result);
     };
     if ($@) {
    -    warn "Exception when calling WRENCHApi->createFileCopyAtStorageService: $@\n";
    +    warn "Exception when calling WRENCHApi->getCoreCounts: $@\n";
     }
    -
    +
    from __future__ import print_statement
     import time
     import swagger_client
    @@ -8635,16 +8032,15 @@ 

    Usage and SDK Samples

    # create an instance of the API class api_instance = swagger_client.WRENCHApi() -body = # Service_name_createFileCopy_body | Input to start a new service. simid = simid_example # String | ID of the simulation -serviceName = serviceName_example # String | The storage service name +serviceName = serviceName_example # String | The compute service name try: - # Create, ex nihilo, a copy of a file copy at a storage service. - api_response = api_instance.create_file_copy_at_storage_service(body, simid, serviceName) + # Returns the core counts for each host managed by the compute service. + api_response = api_instance.get_core_counts(simid, serviceName) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->createFileCopyAtStorageService: %s\n" % e)
    + print("Exception when calling WRENCHApi->getCoreCounts: %s\n" % e)
    @@ -8660,7 +8056,7 @@

    Parameters

    -
    +
    @@ -8682,7 +8078,7 @@

    Parameters

    -
    +
    @@ -8690,7 +8086,7 @@

    Parameters

    - The storage service name + The compute service name
    @@ -8703,50 +8099,6 @@

    Parameters

    -
    Body parameters
    - - - - - - - - -
    NameDescription
    body * - - - -
    -
    @@ -8755,14 +8107,14 @@

    Status: 200 - OK

    -
    -
    +
    +
    - +
    -

    Status: 404 - Simulation or storage service not found

    - - - -
    -
    -

    Status: 405 - Invalid input


    -
    -
    +
    +
    -

    createStandardJob

    -

    Create a new standard job.

    +

    getCoreFlopRates

    +

    Returns the core flop rate for each host managed by the compute service.

    @@ -8830,32 +8174,31 @@

    createStandardJob


    -
    /simulation/{simid}/workflows/{workflow_name}/createStandardJob
    +
    /simulation/{simid}/compute_services/{service_name}/coreFlopRates

    Usage and SDK Samples

    -
    -
    curl -X PUT\
    +                          
    +
    curl -X GET\
     -H "Accept: application/json"\
    --H "Content-Type: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/workflows/{workflow_name}/createStandardJob"
    +"https://wrench-project.org/v1/simulation/{simid}/compute_services/{service_name}/coreFlopRates"
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    @@ -8869,56 +8212,52 @@ 

    Usage and SDK Samples

    public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); - StandardJob body = ; // StandardJob | Job specification. String simid = simid_example; // String | ID of the simulation - String workflowName = workflowName_example; // String | + String serviceName = serviceName_example; // String | The compute service name try { - JobResponse result = apiInstance.createStandardJob(body, simid, workflowName); + inline_response_200 result = apiInstance.getCoreFlopRates(simid, serviceName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#createStandardJob"); + System.err.println("Exception when calling WRENCHApi#getCoreFlopRates"); e.printStackTrace(); } } }
    -
    +
    import io.swagger.client.api.WRENCHApi;
     
     public class WRENCHApiExample {
     
         public static void main(String[] args) {
             WRENCHApi apiInstance = new WRENCHApi();
    -        StandardJob body = ; // StandardJob | Job specification.
             String simid = simid_example; // String | ID of the simulation
    -        String workflowName = workflowName_example; // String | 
    +        String serviceName = serviceName_example; // String | The compute service name
             try {
    -            JobResponse result = apiInstance.createStandardJob(body, simid, workflowName);
    +            inline_response_200 result = apiInstance.getCoreFlopRates(simid, serviceName);
                 System.out.println(result);
             } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#createStandardJob");
    +            System.err.println("Exception when calling WRENCHApi#getCoreFlopRates");
                 e.printStackTrace();
             }
         }
     }
    -
    -
    StandardJob *body = ; // Job specification.
    -String *simid = simid_example; // ID of the simulation
    -String *workflowName = workflowName_example; // 
    +                            
    +
    String *simid = simid_example; // ID of the simulation
    +String *serviceName = serviceName_example; // The compute service name
     
     WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
     
    -// Create a new standard job.
    -[apiInstance createStandardJobWith:body
    -    simid:simid
    -    workflowName:workflowName
    -              completionHandler: ^(JobResponse output, NSError* error) {
    +// Returns the core flop rate for each host managed by the compute service.
    +[apiInstance getCoreFlopRatesWith:simid
    +    serviceName:serviceName
    +              completionHandler: ^(inline_response_200 output, NSError* error) {
                                 if (output) {
                                     NSLog(@"%@", output);
                                 }
    @@ -8929,13 +8268,12 @@ 

    Usage and SDK Samples

    -
    +
    var WrenchRestApi = require('wrench_rest_api');
     
     var api = new WrenchRestApi.WRENCHApi()
    -var body = ; // {{StandardJob}} Job specification.
     var simid = simid_example; // {{String}} ID of the simulation
    -var workflowName = workflowName_example; // {{String}} 
    +var serviceName = serviceName_example; // {{String}} The compute service name
     
     var callback = function(error, data, response) {
       if (error) {
    @@ -8944,14 +8282,14 @@ 

    Usage and SDK Samples

    console.log('API called successfully. Returned data: ' + data); } }; -api.createStandardJob(bodysimidworkflowName, callback); +api.getCoreFlopRates(simid, serviceName, callback);
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -8960,25 +8298,24 @@ 

    Usage and SDK Samples

    namespace Example { - public class createStandardJobExample + public class getCoreFlopRatesExample { public void main() { var apiInstance = new WRENCHApi(); - var body = new StandardJob(); // StandardJob | Job specification. var simid = simid_example; // String | ID of the simulation - var workflowName = workflowName_example; // String | + var serviceName = serviceName_example; // String | The compute service name try { - // Create a new standard job. - JobResponse result = apiInstance.createStandardJob(body, simid, workflowName); + // Returns the core flop rate for each host managed by the compute service. + inline_response_200 result = apiInstance.getCoreFlopRates(simid, serviceName); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.createStandardJob: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.getCoreFlopRates: " + e.Message ); } } } @@ -8986,44 +8323,42 @@

    Usage and SDK Samples

    -
    +
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
     
     $api_instance = new Swagger\Client\ApiWRENCHApi();
    -$body = ; // StandardJob | Job specification.
     $simid = simid_example; // String | ID of the simulation
    -$workflowName = workflowName_example; // String | 
    +$serviceName = serviceName_example; // String | The compute service name
     
     try {
    -    $result = $api_instance->createStandardJob($body, $simid, $workflowName);
    +    $result = $api_instance->getCoreFlopRates($simid, $serviceName);
         print_r($result);
     } catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->createStandardJob: ', $e->getMessage(), PHP_EOL;
    +    echo 'Exception when calling WRENCHApi->getCoreFlopRates: ', $e->getMessage(), PHP_EOL;
     }
     ?>
    -
    +
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
     use WWW::SwaggerClient::WRENCHApi;
     
     my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $body = WWW::SwaggerClient::Object::StandardJob->new(); # StandardJob | Job specification.
     my $simid = simid_example; # String | ID of the simulation
    -my $workflowName = workflowName_example; # String | 
    +my $serviceName = serviceName_example; # String | The compute service name
     
     eval { 
    -    my $result = $api_instance->createStandardJob(body => $body, simid => $simid, workflowName => $workflowName);
    +    my $result = $api_instance->getCoreFlopRates(simid => $simid, serviceName => $serviceName);
         print Dumper($result);
     };
     if ($@) {
    -    warn "Exception when calling WRENCHApi->createStandardJob: $@\n";
    +    warn "Exception when calling WRENCHApi->getCoreFlopRates: $@\n";
     }
    -
    +
    from __future__ import print_statement
     import time
     import swagger_client
    @@ -9032,16 +8367,15 @@ 

    Usage and SDK Samples

    # create an instance of the API class api_instance = swagger_client.WRENCHApi() -body = # StandardJob | Job specification. simid = simid_example # String | ID of the simulation -workflowName = workflowName_example # String | +serviceName = serviceName_example # String | The compute service name try: - # Create a new standard job. - api_response = api_instance.create_standard_job(body, simid, workflowName) + # Returns the core flop rate for each host managed by the compute service. + api_response = api_instance.get_core_flop_rates(simid, serviceName) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->createStandardJob: %s\n" % e)
    + print("Exception when calling WRENCHApi->getCoreFlopRates: %s\n" % e)
    @@ -9057,7 +8391,7 @@

    Parameters

    -
    +
    @@ -9075,17 +8409,20 @@

    Parameters

    - workflow_name* + service_name* -
    +
    String +
    + The compute service name +
    Required @@ -9097,50 +8434,6 @@

    Parameters

    -
    Body parameters
    - - - - - - - - -
    NameDescription
    body * - - - -
    -
    @@ -9149,14 +8442,14 @@

    Status: 200 - OK

    -
    -
    +
    +
    - +
    @@ -9204,11 +8497,11 @@

    Status: 405 - Invalid input


    -
    -
    +
    +
    -

    createTask

    -

    Create a new task.

    +

    getExecutionHosts

    +

    Get the list of execution hosts available to run VMs.

    @@ -9216,32 +8509,31 @@

    createTask


    -
    /simulation/{simid}/workflows/{workflow_name}/createTask
    +
    /simulation/{simid}/getExecutionHosts

    Usage and SDK Samples

    -
    -
    curl -X PUT\
    +                          
    +
    curl -X GET\
     -H "Accept: application/json"\
    --H "Content-Type: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/workflows/{workflow_name}/createTask"
    +"https://wrench-project.org/v1/simulation/{simid}/getExecutionHosts"
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    @@ -9255,56 +8547,48 @@ 

    Usage and SDK Samples

    public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); - Task body = ; // Task | Task characteristics. - String simid = simid_example; // String | ID of the simulation - String workflowName = workflowName_example; // String | + String simid = simid_example; // String | ID of simulation try { - GenericResponse result = apiInstance.createTask(body, simid, workflowName); + HostnameList result = apiInstance.getExecutionHosts(simid); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#createTask"); + System.err.println("Exception when calling WRENCHApi#getExecutionHosts"); e.printStackTrace(); } } }
    -
    +
    import io.swagger.client.api.WRENCHApi;
     
     public class WRENCHApiExample {
     
         public static void main(String[] args) {
             WRENCHApi apiInstance = new WRENCHApi();
    -        Task body = ; // Task | Task characteristics.
    -        String simid = simid_example; // String | ID of the simulation
    -        String workflowName = workflowName_example; // String | 
    +        String simid = simid_example; // String | ID of simulation
             try {
    -            GenericResponse result = apiInstance.createTask(body, simid, workflowName);
    +            HostnameList result = apiInstance.getExecutionHosts(simid);
                 System.out.println(result);
             } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#createTask");
    +            System.err.println("Exception when calling WRENCHApi#getExecutionHosts");
                 e.printStackTrace();
             }
         }
     }
    -
    -
    Task *body = ; // Task characteristics.
    -String *simid = simid_example; // ID of the simulation
    -String *workflowName = workflowName_example; // 
    +                            
    +
    String *simid = simid_example; // ID of simulation
     
     WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
     
    -// Create a new task.
    -[apiInstance createTaskWith:body
    -    simid:simid
    -    workflowName:workflowName
    -              completionHandler: ^(GenericResponse output, NSError* error) {
    +// Get the list of execution hosts available to run VMs.
    +[apiInstance getExecutionHostsWith:simid
    +              completionHandler: ^(HostnameList output, NSError* error) {
                                 if (output) {
                                     NSLog(@"%@", output);
                                 }
    @@ -9315,13 +8599,11 @@ 

    Usage and SDK Samples

    -
    +
    var WrenchRestApi = require('wrench_rest_api');
     
     var api = new WrenchRestApi.WRENCHApi()
    -var body = ; // {{Task}} Task characteristics.
    -var simid = simid_example; // {{String}} ID of the simulation
    -var workflowName = workflowName_example; // {{String}} 
    +var simid = simid_example; // {{String}} ID of simulation
     
     var callback = function(error, data, response) {
       if (error) {
    @@ -9330,14 +8612,14 @@ 

    Usage and SDK Samples

    console.log('API called successfully. Returned data: ' + data); } }; -api.createTask(bodysimidworkflowName, callback); +api.getExecutionHosts(simid, callback);
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -9346,25 +8628,23 @@ 

    Usage and SDK Samples

    namespace Example { - public class createTaskExample + public class getExecutionHostsExample { public void main() { var apiInstance = new WRENCHApi(); - var body = new Task(); // Task | Task characteristics. - var simid = simid_example; // String | ID of the simulation - var workflowName = workflowName_example; // String | + var simid = simid_example; // String | ID of simulation try { - // Create a new task. - GenericResponse result = apiInstance.createTask(body, simid, workflowName); + // Get the list of execution hosts available to run VMs. + HostnameList result = apiInstance.getExecutionHosts(simid); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.createTask: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.getExecutionHosts: " + e.Message ); } } } @@ -9372,44 +8652,40 @@

    Usage and SDK Samples

    -
    +
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
     
     $api_instance = new Swagger\Client\ApiWRENCHApi();
    -$body = ; // Task | Task characteristics.
    -$simid = simid_example; // String | ID of the simulation
    -$workflowName = workflowName_example; // String | 
    +$simid = simid_example; // String | ID of simulation
     
     try {
    -    $result = $api_instance->createTask($body, $simid, $workflowName);
    +    $result = $api_instance->getExecutionHosts($simid);
         print_r($result);
     } catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->createTask: ', $e->getMessage(), PHP_EOL;
    +    echo 'Exception when calling WRENCHApi->getExecutionHosts: ', $e->getMessage(), PHP_EOL;
     }
     ?>
    -
    +
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
     use WWW::SwaggerClient::WRENCHApi;
     
     my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $body = WWW::SwaggerClient::Object::Task->new(); # Task | Task characteristics.
    -my $simid = simid_example; # String | ID of the simulation
    -my $workflowName = workflowName_example; # String | 
    +my $simid = simid_example; # String | ID of simulation
     
     eval { 
    -    my $result = $api_instance->createTask(body => $body, simid => $simid, workflowName => $workflowName);
    +    my $result = $api_instance->getExecutionHosts(simid => $simid);
         print Dumper($result);
     };
     if ($@) {
    -    warn "Exception when calling WRENCHApi->createTask: $@\n";
    +    warn "Exception when calling WRENCHApi->getExecutionHosts: $@\n";
     }
    -
    +
    from __future__ import print_statement
     import time
     import swagger_client
    @@ -9418,16 +8694,14 @@ 

    Usage and SDK Samples

    # create an instance of the API class api_instance = swagger_client.WRENCHApi() -body = # Task | Task characteristics. -simid = simid_example # String | ID of the simulation -workflowName = workflowName_example # String | +simid = simid_example # String | ID of simulation try: - # Create a new task. - api_response = api_instance.create_task(body, simid, workflowName) + # Get the list of execution hosts available to run VMs. + api_response = api_instance.get_execution_hosts(simid) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->createTask: %s\n" % e)
    + print("Exception when calling WRENCHApi->getExecutionHosts: %s\n" % e)
    @@ -9443,7 +8717,7 @@

    Parameters

    -
    +
    @@ -9451,7 +8725,7 @@

    Parameters

    - ID of the simulation + ID of simulation
    @@ -9461,96 +8735,33 @@

    Parameters

    - workflow_name* - - - -
    -
    -
    - - String - - -
    -
    - Required -
    -
    -
    - - -
    Body parameters
    - - - - - - - - -
    NameDescription
    body * - - - -
    -
    - - - -

    Responses

    -

    Status: 200 - OK

    - - - -
    -
    -
    -
    - +
    @@ -9590,11 +8801,11 @@

    Status: 405 - Invalid input


    -
    -
    +
    +
    -

    createVM

    -

    Create a VM on a cloud compute service.

    +

    getFileSize

    +

    Get a file size.

    @@ -9602,32 +8813,31 @@

    createVM


    -
    /simulation/{simid}/cloud_compute_services/{service_name}/createVM
    +
    /simulation/{simid}/files/{file_id}/size

    Usage and SDK Samples

    -
    -
    curl -X POST\
    +                          
    +
    curl -X GET\
     -H "Accept: application/json"\
    --H "Content-Type: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/cloud_compute_services/{service_name}/createVM"
    +"https://wrench-project.org/v1/simulation/{simid}/files/{file_id}/size"
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    @@ -9641,56 +8851,52 @@ 

    Usage and SDK Samples

    public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); - Service_name_createVM_body body = ; // Service_name_createVM_body | Input to start create a VM. String simid = simid_example; // String | ID of the simulation - String serviceName = serviceName_example; // String | The cloud compute service name + String fileId = fileId_example; // String | Name of the file try { - VMCreationResponse result = apiInstance.createVM(body, simid, serviceName); + FileSizeResponse result = apiInstance.getFileSize(simid, fileId); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#createVM"); + System.err.println("Exception when calling WRENCHApi#getFileSize"); e.printStackTrace(); } } }
    -
    +
    import io.swagger.client.api.WRENCHApi;
     
     public class WRENCHApiExample {
     
         public static void main(String[] args) {
             WRENCHApi apiInstance = new WRENCHApi();
    -        Service_name_createVM_body body = ; // Service_name_createVM_body | Input to start create a VM.
             String simid = simid_example; // String | ID of the simulation
    -        String serviceName = serviceName_example; // String | The cloud compute service name
    +        String fileId = fileId_example; // String | Name of the file
             try {
    -            VMCreationResponse result = apiInstance.createVM(body, simid, serviceName);
    +            FileSizeResponse result = apiInstance.getFileSize(simid, fileId);
                 System.out.println(result);
             } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#createVM");
    +            System.err.println("Exception when calling WRENCHApi#getFileSize");
                 e.printStackTrace();
             }
         }
     }
    -
    -
    Service_name_createVM_body *body = ; // Input to start create a VM.
    -String *simid = simid_example; // ID of the simulation
    -String *serviceName = serviceName_example; // The cloud compute service name
    +                            
    +
    String *simid = simid_example; // ID of the simulation
    +String *fileId = fileId_example; // Name of the file
     
     WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
     
    -// Create a VM on a cloud compute service.
    -[apiInstance createVMWith:body
    -    simid:simid
    -    serviceName:serviceName
    -              completionHandler: ^(VMCreationResponse output, NSError* error) {
    +// Get a file size.
    +[apiInstance getFileSizeWith:simid
    +    fileId:fileId
    +              completionHandler: ^(FileSizeResponse output, NSError* error) {
                                 if (output) {
                                     NSLog(@"%@", output);
                                 }
    @@ -9701,13 +8907,12 @@ 

    Usage and SDK Samples

    -
    +
    var WrenchRestApi = require('wrench_rest_api');
     
     var api = new WrenchRestApi.WRENCHApi()
    -var body = ; // {{Service_name_createVM_body}} Input to start create a VM.
     var simid = simid_example; // {{String}} ID of the simulation
    -var serviceName = serviceName_example; // {{String}} The cloud compute service name
    +var fileId = fileId_example; // {{String}} Name of the file
     
     var callback = function(error, data, response) {
       if (error) {
    @@ -9716,14 +8921,14 @@ 

    Usage and SDK Samples

    console.log('API called successfully. Returned data: ' + data); } }; -api.createVM(bodysimidserviceName, callback); +api.getFileSize(simid, fileId, callback);
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -9732,25 +8937,24 @@ 

    Usage and SDK Samples

    namespace Example { - public class createVMExample + public class getFileSizeExample { public void main() { var apiInstance = new WRENCHApi(); - var body = new Service_name_createVM_body(); // Service_name_createVM_body | Input to start create a VM. var simid = simid_example; // String | ID of the simulation - var serviceName = serviceName_example; // String | The cloud compute service name + var fileId = fileId_example; // String | Name of the file try { - // Create a VM on a cloud compute service. - VMCreationResponse result = apiInstance.createVM(body, simid, serviceName); + // Get a file size. + FileSizeResponse result = apiInstance.getFileSize(simid, fileId); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.createVM: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.getFileSize: " + e.Message ); } } } @@ -9758,44 +8962,42 @@

    Usage and SDK Samples

    -
    +
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
     
     $api_instance = new Swagger\Client\ApiWRENCHApi();
    -$body = ; // Service_name_createVM_body | Input to start create a VM.
     $simid = simid_example; // String | ID of the simulation
    -$serviceName = serviceName_example; // String | The cloud compute service name
    +$fileId = fileId_example; // String | Name of the file
     
     try {
    -    $result = $api_instance->createVM($body, $simid, $serviceName);
    +    $result = $api_instance->getFileSize($simid, $fileId);
         print_r($result);
     } catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->createVM: ', $e->getMessage(), PHP_EOL;
    +    echo 'Exception when calling WRENCHApi->getFileSize: ', $e->getMessage(), PHP_EOL;
     }
     ?>
    -
    +
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
     use WWW::SwaggerClient::WRENCHApi;
     
     my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $body = WWW::SwaggerClient::Object::Service_name_createVM_body->new(); # Service_name_createVM_body | Input to start create a VM.
     my $simid = simid_example; # String | ID of the simulation
    -my $serviceName = serviceName_example; # String | The cloud compute service name
    +my $fileId = fileId_example; # String | Name of the file
     
     eval { 
    -    my $result = $api_instance->createVM(body => $body, simid => $simid, serviceName => $serviceName);
    +    my $result = $api_instance->getFileSize(simid => $simid, fileId => $fileId);
         print Dumper($result);
     };
     if ($@) {
    -    warn "Exception when calling WRENCHApi->createVM: $@\n";
    +    warn "Exception when calling WRENCHApi->getFileSize: $@\n";
     }
    -
    +
    from __future__ import print_statement
     import time
     import swagger_client
    @@ -9804,16 +9006,15 @@ 

    Usage and SDK Samples

    # create an instance of the API class api_instance = swagger_client.WRENCHApi() -body = # Service_name_createVM_body | Input to start create a VM. simid = simid_example # String | ID of the simulation -serviceName = serviceName_example # String | The cloud compute service name +fileId = fileId_example # String | Name of the file try: - # Create a VM on a cloud compute service. - api_response = api_instance.create_vm(body, simid, serviceName) + # Get a file size. + api_response = api_instance.get_file_size(simid, fileId) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->createVM: %s\n" % e)
    + print("Exception when calling WRENCHApi->getFileSize: %s\n" % e)
    @@ -9829,7 +9030,7 @@

    Parameters

    -
    +
    @@ -9847,11 +9048,11 @@

    Parameters

    - service_name* + file_id* -
    +
    @@ -9859,7 +9060,7 @@

    Parameters

    - The cloud compute service name + Name of the file
    @@ -9872,50 +9073,6 @@

    Parameters

    -
    Body parameters
    - - - - - - - - -
    NameDescription
    body * - - - -
    -
    @@ -9924,14 +9081,14 @@

    Status: 200 - OK

    -
    -
    +
    +
    - +
    +

    Status: 404 - File not found

    + + + +
    +
    +

    Status: 405 - Invalid input


    -
    -
    +
    +
    -

    createWorkflow

    -

    Create a blank workflow.

    +

    getInputFiles

    +

    Return the list of input files of the workflow.

    @@ -9991,31 +9156,31 @@

    createWorkflow


    -
    /simulation/{simid}/createWorkflow
    +
    /simulation/{simid}/workflows/{workflow_name}/inputFiles

    Usage and SDK Samples

    -
    -
    curl -X POST\
    +                          
    +
    curl -X GET\
     -H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/createWorkflow"
    +"https://wrench-project.org/v1/simulation/{simid}/workflows/{workflow_name}/inputFiles"
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    @@ -10030,18 +9195,19 @@ 

    Usage and SDK Samples

    WRENCHApi apiInstance = new WRENCHApi(); String simid = simid_example; // String | ID of the simulation + String workflowName = workflowName_example; // String | try { - WorkflowResponse result = apiInstance.createWorkflow(simid); + FileList result = apiInstance.getInputFiles(simid, workflowName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#createWorkflow"); + System.err.println("Exception when calling WRENCHApi#getInputFiles"); e.printStackTrace(); } } }
    -
    +
    import io.swagger.client.api.WRENCHApi;
     
     public class WRENCHApiExample {
    @@ -10049,28 +9215,31 @@ 

    Usage and SDK Samples

    public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); String simid = simid_example; // String | ID of the simulation + String workflowName = workflowName_example; // String | try { - WorkflowResponse result = apiInstance.createWorkflow(simid); + FileList result = apiInstance.getInputFiles(simid, workflowName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#createWorkflow"); + System.err.println("Exception when calling WRENCHApi#getInputFiles"); e.printStackTrace(); } } }
    -
    +
    String *simid = simid_example; // ID of the simulation
    +String *workflowName = workflowName_example; // 
     
     WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
     
    -// Create a blank workflow.
    -[apiInstance createWorkflowWith:simid
    -              completionHandler: ^(WorkflowResponse output, NSError* error) {
    +// Return the list of input files of the workflow.
    +[apiInstance getInputFilesWith:simid
    +    workflowName:workflowName
    +              completionHandler: ^(FileList output, NSError* error) {
                                 if (output) {
                                     NSLog(@"%@", output);
                                 }
    @@ -10081,11 +9250,12 @@ 

    Usage and SDK Samples

    -
    +
    var WrenchRestApi = require('wrench_rest_api');
     
     var api = new WrenchRestApi.WRENCHApi()
     var simid = simid_example; // {{String}} ID of the simulation
    +var workflowName = workflowName_example; // {{String}} 
     
     var callback = function(error, data, response) {
       if (error) {
    @@ -10094,14 +9264,14 @@ 

    Usage and SDK Samples

    console.log('API called successfully. Returned data: ' + data); } }; -api.createWorkflow(simid, callback); +api.getInputFiles(simid, workflowName, callback);
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -10110,23 +9280,24 @@ 

    Usage and SDK Samples

    namespace Example { - public class createWorkflowExample + public class getInputFilesExample { public void main() { var apiInstance = new WRENCHApi(); var simid = simid_example; // String | ID of the simulation + var workflowName = workflowName_example; // String | try { - // Create a blank workflow. - WorkflowResponse result = apiInstance.createWorkflow(simid); + // Return the list of input files of the workflow. + FileList result = apiInstance.getInputFiles(simid, workflowName); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.createWorkflow: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.getInputFiles: " + e.Message ); } } } @@ -10134,40 +9305,42 @@

    Usage and SDK Samples

    -
    +
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
     
     $api_instance = new Swagger\Client\ApiWRENCHApi();
     $simid = simid_example; // String | ID of the simulation
    +$workflowName = workflowName_example; // String | 
     
     try {
    -    $result = $api_instance->createWorkflow($simid);
    +    $result = $api_instance->getInputFiles($simid, $workflowName);
         print_r($result);
     } catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->createWorkflow: ', $e->getMessage(), PHP_EOL;
    +    echo 'Exception when calling WRENCHApi->getInputFiles: ', $e->getMessage(), PHP_EOL;
     }
     ?>
    -
    +
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
     use WWW::SwaggerClient::WRENCHApi;
     
     my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
     my $simid = simid_example; # String | ID of the simulation
    +my $workflowName = workflowName_example; # String | 
     
     eval { 
    -    my $result = $api_instance->createWorkflow(simid => $simid);
    +    my $result = $api_instance->getInputFiles(simid => $simid, workflowName => $workflowName);
         print Dumper($result);
     };
     if ($@) {
    -    warn "Exception when calling WRENCHApi->createWorkflow: $@\n";
    +    warn "Exception when calling WRENCHApi->getInputFiles: $@\n";
     }
    -
    +
    from __future__ import print_statement
     import time
     import swagger_client
    @@ -10177,13 +9350,14 @@ 

    Usage and SDK Samples

    # create an instance of the API class api_instance = swagger_client.WRENCHApi() simid = simid_example # String | ID of the simulation +workflowName = workflowName_example # String | try: - # Create a blank workflow. - api_response = api_instance.create_workflow(simid) + # Return the list of input files of the workflow. + api_response = api_instance.get_input_files(simid, workflowName) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->createWorkflow: %s\n" % e)
    + print("Exception when calling WRENCHApi->getInputFiles: %s\n" % e)
    @@ -10199,7 +9373,7 @@

    Parameters

    -
    +
    @@ -10217,6 +9391,25 @@

    Parameters

    + workflow_name* + + + +
    +
    +
    + + String + + +
    +
    + Required +
    +
    +
    + + @@ -10228,14 +9421,14 @@

    Status: 200 - OK

    -
    -
    +
    +
    - +
    +

    Status: 404 - Task not found

    + + + +
    +
    +

    Status: 405 - Invalid input


    -
    -
    +
    +
    -

    createWorkflowFromJSON

    -

    Create a workflow from a WfCommons JSON object.

    +

    getReadyTasks

    +

    Return the list of ready tasks in the workflow.

    @@ -10295,32 +9496,31 @@

    createWorkflowFromJSON


    -
    /simulation/{simid}/createWorkflowFromJSON
    +
    /simulation/{simid}/workflows/{workflow_name}/readyTasks

    Usage and SDK Samples

    -
    -
    curl -X POST\
    +                          
    +
    curl -X GET\
     -H "Accept: application/json"\
    --H "Content-Type: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/createWorkflowFromJSON"
    +"https://wrench-project.org/v1/simulation/{simid}/workflows/{workflow_name}/readyTasks"
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    @@ -10334,52 +9534,52 @@ 

    Usage and SDK Samples

    public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); - Simid_createWorkflowFromJSON_body body = ; // Simid_createWorkflowFromJSON_body | Input to create workflow from JSON. String simid = simid_example; // String | ID of the simulation + String workflowName = workflowName_example; // String | try { - WorkflowResponseWithTaskAndFileList result = apiInstance.createWorkflowFromJSON(body, simid); + TaskList result = apiInstance.getReadyTasks(simid, workflowName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#createWorkflowFromJSON"); + System.err.println("Exception when calling WRENCHApi#getReadyTasks"); e.printStackTrace(); } } }
    -
    +
    import io.swagger.client.api.WRENCHApi;
     
     public class WRENCHApiExample {
     
         public static void main(String[] args) {
             WRENCHApi apiInstance = new WRENCHApi();
    -        Simid_createWorkflowFromJSON_body body = ; // Simid_createWorkflowFromJSON_body | Input to create workflow from JSON.
             String simid = simid_example; // String | ID of the simulation
    +        String workflowName = workflowName_example; // String | 
             try {
    -            WorkflowResponseWithTaskAndFileList result = apiInstance.createWorkflowFromJSON(body, simid);
    +            TaskList result = apiInstance.getReadyTasks(simid, workflowName);
                 System.out.println(result);
             } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#createWorkflowFromJSON");
    +            System.err.println("Exception when calling WRENCHApi#getReadyTasks");
                 e.printStackTrace();
             }
         }
     }
    -
    -
    Simid_createWorkflowFromJSON_body *body = ; // Input to create workflow from JSON.
    -String *simid = simid_example; // ID of the simulation
    +                            
    +
    String *simid = simid_example; // ID of the simulation
    +String *workflowName = workflowName_example; // 
     
     WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
     
    -// Create a workflow from a WfCommons JSON object.
    -[apiInstance createWorkflowFromJSONWith:body
    -    simid:simid
    -              completionHandler: ^(WorkflowResponseWithTaskAndFileList output, NSError* error) {
    +// Return the list of ready tasks in the workflow.
    +[apiInstance getReadyTasksWith:simid
    +    workflowName:workflowName
    +              completionHandler: ^(TaskList output, NSError* error) {
                                 if (output) {
                                     NSLog(@"%@", output);
                                 }
    @@ -10390,12 +9590,12 @@ 

    Usage and SDK Samples

    -
    +
    var WrenchRestApi = require('wrench_rest_api');
     
     var api = new WrenchRestApi.WRENCHApi()
    -var body = ; // {{Simid_createWorkflowFromJSON_body}} Input to create workflow from JSON.
     var simid = simid_example; // {{String}} ID of the simulation
    +var workflowName = workflowName_example; // {{String}} 
     
     var callback = function(error, data, response) {
       if (error) {
    @@ -10404,14 +9604,14 @@ 

    Usage and SDK Samples

    console.log('API called successfully. Returned data: ' + data); } }; -api.createWorkflowFromJSON(bodysimid, callback); +api.getReadyTasks(simid, workflowName, callback);
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -10420,24 +9620,24 @@ 

    Usage and SDK Samples

    namespace Example { - public class createWorkflowFromJSONExample + public class getReadyTasksExample { public void main() { var apiInstance = new WRENCHApi(); - var body = new Simid_createWorkflowFromJSON_body(); // Simid_createWorkflowFromJSON_body | Input to create workflow from JSON. var simid = simid_example; // String | ID of the simulation + var workflowName = workflowName_example; // String | try { - // Create a workflow from a WfCommons JSON object. - WorkflowResponseWithTaskAndFileList result = apiInstance.createWorkflowFromJSON(body, simid); + // Return the list of ready tasks in the workflow. + TaskList result = apiInstance.getReadyTasks(simid, workflowName); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.createWorkflowFromJSON: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.getReadyTasks: " + e.Message ); } } } @@ -10445,42 +9645,42 @@

    Usage and SDK Samples

    -
    +
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
     
     $api_instance = new Swagger\Client\ApiWRENCHApi();
    -$body = ; // Simid_createWorkflowFromJSON_body | Input to create workflow from JSON.
     $simid = simid_example; // String | ID of the simulation
    +$workflowName = workflowName_example; // String | 
     
     try {
    -    $result = $api_instance->createWorkflowFromJSON($body, $simid);
    +    $result = $api_instance->getReadyTasks($simid, $workflowName);
         print_r($result);
     } catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->createWorkflowFromJSON: ', $e->getMessage(), PHP_EOL;
    +    echo 'Exception when calling WRENCHApi->getReadyTasks: ', $e->getMessage(), PHP_EOL;
     }
     ?>
    -
    +
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
     use WWW::SwaggerClient::WRENCHApi;
     
     my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $body = WWW::SwaggerClient::Object::Simid_createWorkflowFromJSON_body->new(); # Simid_createWorkflowFromJSON_body | Input to create workflow from JSON.
     my $simid = simid_example; # String | ID of the simulation
    +my $workflowName = workflowName_example; # String | 
     
     eval { 
    -    my $result = $api_instance->createWorkflowFromJSON(body => $body, simid => $simid);
    +    my $result = $api_instance->getReadyTasks(simid => $simid, workflowName => $workflowName);
         print Dumper($result);
     };
     if ($@) {
    -    warn "Exception when calling WRENCHApi->createWorkflowFromJSON: $@\n";
    +    warn "Exception when calling WRENCHApi->getReadyTasks: $@\n";
     }
    -
    +
    from __future__ import print_statement
     import time
     import swagger_client
    @@ -10489,15 +9689,15 @@ 

    Usage and SDK Samples

    # create an instance of the API class api_instance = swagger_client.WRENCHApi() -body = # Simid_createWorkflowFromJSON_body | Input to create workflow from JSON. simid = simid_example # String | ID of the simulation +workflowName = workflowName_example # String | try: - # Create a workflow from a WfCommons JSON object. - api_response = api_instance.create_workflow_from_json(body, simid) + # Return the list of ready tasks in the workflow. + api_response = api_instance.get_ready_tasks(simid, workflowName) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->createWorkflowFromJSON: %s\n" % e)
    + print("Exception when calling WRENCHApi->getReadyTasks: %s\n" % e)
    @@ -10513,7 +9713,7 @@

    Parameters

    -
    +
    @@ -10531,53 +9731,28 @@

    Parameters

    + workflow_name* + + + +
    +
    +
    + + String + + +
    +
    + Required +
    +
    +
    + + -
    Body parameters
    - - - - - - - - -
    NameDescription
    body * - - - -
    -
    @@ -10586,14 +9761,14 @@

    Status: 200 - OK

    -
    -
    +
    +
    - +
    +

    Status: 404 - Task not found

    + + + +
    +
    +

    Status: 405 - Invalid input


    -
    -
    +
    +
    -

    destroyVM

    -

    Destroy a VM.

    +

    getSimulationEvents

    +

    Retrieve all simulation events since last time we checked.

    @@ -10653,31 +9836,31 @@

    destroyVM


    -
    /simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/destroyVM
    +
    /simulation/{simid}/simulationEvents

    Usage and SDK Samples

    -
    -
    curl -X POST\
    +                          
    +
    curl -X GET\
     -H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/destroyVM"
    +"https://wrench-project.org/v1/simulation/{simid}/simulationEvents"
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    @@ -10691,56 +9874,48 @@ 

    Usage and SDK Samples

    public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); - String simid = simid_example; // String | ID of the simulation - String serviceName = serviceName_example; // String | The cloud compute service name - String vmName = vmName_example; // String | The VM name + String simid = simid_example; // String | ID of simulation try { - GenericResponse result = apiInstance.destroyVM(simid, serviceName, vmName); + EventList result = apiInstance.getSimulationEvents(simid); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#destroyVM"); + System.err.println("Exception when calling WRENCHApi#getSimulationEvents"); e.printStackTrace(); } } }
    -
    +
    import io.swagger.client.api.WRENCHApi;
     
     public class WRENCHApiExample {
     
         public static void main(String[] args) {
             WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String serviceName = serviceName_example; // String | The cloud compute service name
    -        String vmName = vmName_example; // String | The VM name
    +        String simid = simid_example; // String | ID of simulation
             try {
    -            GenericResponse result = apiInstance.destroyVM(simid, serviceName, vmName);
    +            EventList result = apiInstance.getSimulationEvents(simid);
                 System.out.println(result);
             } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#destroyVM");
    +            System.err.println("Exception when calling WRENCHApi#getSimulationEvents");
                 e.printStackTrace();
             }
         }
     }
    -
    -
    String *simid = simid_example; // ID of the simulation
    -String *serviceName = serviceName_example; // The cloud compute service name
    -String *vmName = vmName_example; // The VM name
    +                            
    +
    String *simid = simid_example; // ID of simulation
     
     WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
     
    -// Destroy a VM.
    -[apiInstance destroyVMWith:simid
    -    serviceName:serviceName
    -    vmName:vmName
    -              completionHandler: ^(GenericResponse output, NSError* error) {
    +// Retrieve all simulation events since last time we checked.
    +[apiInstance getSimulationEventsWith:simid
    +              completionHandler: ^(EventList output, NSError* error) {
                                 if (output) {
                                     NSLog(@"%@", output);
                                 }
    @@ -10751,13 +9926,11 @@ 

    Usage and SDK Samples

    -
    +
    var WrenchRestApi = require('wrench_rest_api');
     
     var api = new WrenchRestApi.WRENCHApi()
    -var simid = simid_example; // {{String}} ID of the simulation
    -var serviceName = serviceName_example; // {{String}} The cloud compute service name
    -var vmName = vmName_example; // {{String}} The VM name
    +var simid = simid_example; // {{String}} ID of simulation
     
     var callback = function(error, data, response) {
       if (error) {
    @@ -10766,14 +9939,14 @@ 

    Usage and SDK Samples

    console.log('API called successfully. Returned data: ' + data); } }; -api.destroyVM(simid, serviceName, vmName, callback); +api.getSimulationEvents(simid, callback);
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -10782,25 +9955,23 @@ 

    Usage and SDK Samples

    namespace Example { - public class destroyVMExample + public class getSimulationEventsExample { public void main() { var apiInstance = new WRENCHApi(); - var simid = simid_example; // String | ID of the simulation - var serviceName = serviceName_example; // String | The cloud compute service name - var vmName = vmName_example; // String | The VM name + var simid = simid_example; // String | ID of simulation try { - // Destroy a VM. - GenericResponse result = apiInstance.destroyVM(simid, serviceName, vmName); + // Retrieve all simulation events since last time we checked. + EventList result = apiInstance.getSimulationEvents(simid); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.destroyVM: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.getSimulationEvents: " + e.Message ); } } } @@ -10808,44 +9979,40 @@

    Usage and SDK Samples

    -
    +
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
     
     $api_instance = new Swagger\Client\ApiWRENCHApi();
    -$simid = simid_example; // String | ID of the simulation
    -$serviceName = serviceName_example; // String | The cloud compute service name
    -$vmName = vmName_example; // String | The VM name
    +$simid = simid_example; // String | ID of simulation
     
     try {
    -    $result = $api_instance->destroyVM($simid, $serviceName, $vmName);
    +    $result = $api_instance->getSimulationEvents($simid);
         print_r($result);
     } catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->destroyVM: ', $e->getMessage(), PHP_EOL;
    +    echo 'Exception when calling WRENCHApi->getSimulationEvents: ', $e->getMessage(), PHP_EOL;
     }
     ?>
    -
    +
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
     use WWW::SwaggerClient::WRENCHApi;
     
     my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $simid = simid_example; # String | ID of the simulation
    -my $serviceName = serviceName_example; # String | The cloud compute service name
    -my $vmName = vmName_example; # String | The VM name
    +my $simid = simid_example; # String | ID of simulation
     
     eval { 
    -    my $result = $api_instance->destroyVM(simid => $simid, serviceName => $serviceName, vmName => $vmName);
    +    my $result = $api_instance->getSimulationEvents(simid => $simid);
         print Dumper($result);
     };
     if ($@) {
    -    warn "Exception when calling WRENCHApi->destroyVM: $@\n";
    +    warn "Exception when calling WRENCHApi->getSimulationEvents: $@\n";
     }
    -
    +
    from __future__ import print_statement
     import time
     import swagger_client
    @@ -10854,16 +10021,14 @@ 

    Usage and SDK Samples

    # create an instance of the API class api_instance = swagger_client.WRENCHApi() -simid = simid_example # String | ID of the simulation -serviceName = serviceName_example # String | The cloud compute service name -vmName = vmName_example # String | The VM name +simid = simid_example # String | ID of simulation try: - # Destroy a VM. - api_response = api_instance.destroy_vm(simid, serviceName, vmName) + # Retrieve all simulation events since last time we checked. + api_response = api_instance.get_simulation_events(simid) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->destroyVM: %s\n" % e)
    + print("Exception when calling WRENCHApi->getSimulationEvents: %s\n" % e)
    @@ -10879,29 +10044,7 @@

    Parameters

    -
    -
    -
    - - String - - -
    - ID of the simulation -
    -
    -
    - Required -
    -
    -
    - - - service_name* - - - -
    +
    @@ -10909,29 +10052,7 @@

    Parameters

    - The cloud compute service name -
    -
    -
    - Required -
    -
    -
    - - - vm_name* - - - -
    -
    -
    - - String - - -
    - The VM name + ID of simulation
    @@ -10952,14 +10073,14 @@

    Status: 200 - OK

    -
    -
    +
    +
    - +
    @@ -11007,11 +10128,11 @@

    Status: 405 - Invalid input


    -
    -
    +
    +
    -

    fileRegistryServiceAddEntry

    -

    Add an entry to a file registry service.

    +

    getSimulationTime

    +

    Retrieve the current simulated time.

    @@ -11019,32 +10140,31 @@

    fileRegistryServiceAddEntry


    -
    /simulation/{simid}/fileRegistryServices/{file_registry_service_name}/addEntry
    +
    /simulation/{simid}/getTime

    Usage and SDK Samples

    -
    -
    curl -X POST\
    +                          
    +
    curl -X GET\
     -H "Accept: application/json"\
    --H "Content-Type: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/fileRegistryServices/{file_registry_service_name}/addEntry"
    +"https://wrench-project.org/v1/simulation/{simid}/getTime"
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    @@ -11058,56 +10178,48 @@ 

    Usage and SDK Samples

    public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); - FileRegistryServiceEntry body = ; // FileRegistryServiceEntry | Entry to add. String simid = simid_example; // String | ID of the simulation - String fileRegistryServiceName = fileRegistryServiceName_example; // String | try { - GenericResponse result = apiInstance.fileRegistryServiceAddEntry(body, simid, fileRegistryServiceName); + TimeResponse result = apiInstance.getSimulationTime(simid); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#fileRegistryServiceAddEntry"); + System.err.println("Exception when calling WRENCHApi#getSimulationTime"); e.printStackTrace(); } } }
    -
    +
    import io.swagger.client.api.WRENCHApi;
     
     public class WRENCHApiExample {
     
         public static void main(String[] args) {
             WRENCHApi apiInstance = new WRENCHApi();
    -        FileRegistryServiceEntry body = ; // FileRegistryServiceEntry | Entry to add.
             String simid = simid_example; // String | ID of the simulation
    -        String fileRegistryServiceName = fileRegistryServiceName_example; // String | 
             try {
    -            GenericResponse result = apiInstance.fileRegistryServiceAddEntry(body, simid, fileRegistryServiceName);
    +            TimeResponse result = apiInstance.getSimulationTime(simid);
                 System.out.println(result);
             } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#fileRegistryServiceAddEntry");
    +            System.err.println("Exception when calling WRENCHApi#getSimulationTime");
                 e.printStackTrace();
             }
         }
     }
    -
    -
    FileRegistryServiceEntry *body = ; // Entry to add.
    -String *simid = simid_example; // ID of the simulation
    -String *fileRegistryServiceName = fileRegistryServiceName_example; // 
    +                            
    +
    String *simid = simid_example; // ID of the simulation
     
     WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
     
    -// Add an entry to a file registry service.
    -[apiInstance fileRegistryServiceAddEntryWith:body
    -    simid:simid
    -    fileRegistryServiceName:fileRegistryServiceName
    -              completionHandler: ^(GenericResponse output, NSError* error) {
    +// Retrieve the current simulated time.
    +[apiInstance getSimulationTimeWith:simid
    +              completionHandler: ^(TimeResponse output, NSError* error) {
                                 if (output) {
                                     NSLog(@"%@", output);
                                 }
    @@ -11118,13 +10230,11 @@ 

    Usage and SDK Samples

    -
    +
    var WrenchRestApi = require('wrench_rest_api');
     
     var api = new WrenchRestApi.WRENCHApi()
    -var body = ; // {{FileRegistryServiceEntry}} Entry to add.
     var simid = simid_example; // {{String}} ID of the simulation
    -var fileRegistryServiceName = fileRegistryServiceName_example; // {{String}} 
     
     var callback = function(error, data, response) {
       if (error) {
    @@ -11133,14 +10243,14 @@ 

    Usage and SDK Samples

    console.log('API called successfully. Returned data: ' + data); } }; -api.fileRegistryServiceAddEntry(bodysimidfileRegistryServiceName, callback); +api.getSimulationTime(simid, callback);
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -11149,25 +10259,23 @@ 

    Usage and SDK Samples

    namespace Example { - public class fileRegistryServiceAddEntryExample + public class getSimulationTimeExample { public void main() { var apiInstance = new WRENCHApi(); - var body = new FileRegistryServiceEntry(); // FileRegistryServiceEntry | Entry to add. var simid = simid_example; // String | ID of the simulation - var fileRegistryServiceName = fileRegistryServiceName_example; // String | try { - // Add an entry to a file registry service. - GenericResponse result = apiInstance.fileRegistryServiceAddEntry(body, simid, fileRegistryServiceName); + // Retrieve the current simulated time. + TimeResponse result = apiInstance.getSimulationTime(simid); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.fileRegistryServiceAddEntry: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.getSimulationTime: " + e.Message ); } } } @@ -11175,44 +10283,40 @@

    Usage and SDK Samples

    -
    +
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
     
     $api_instance = new Swagger\Client\ApiWRENCHApi();
    -$body = ; // FileRegistryServiceEntry | Entry to add.
     $simid = simid_example; // String | ID of the simulation
    -$fileRegistryServiceName = fileRegistryServiceName_example; // String | 
     
     try {
    -    $result = $api_instance->fileRegistryServiceAddEntry($body, $simid, $fileRegistryServiceName);
    +    $result = $api_instance->getSimulationTime($simid);
         print_r($result);
     } catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->fileRegistryServiceAddEntry: ', $e->getMessage(), PHP_EOL;
    +    echo 'Exception when calling WRENCHApi->getSimulationTime: ', $e->getMessage(), PHP_EOL;
     }
     ?>
    -
    +
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
     use WWW::SwaggerClient::WRENCHApi;
     
     my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $body = WWW::SwaggerClient::Object::FileRegistryServiceEntry->new(); # FileRegistryServiceEntry | Entry to add.
     my $simid = simid_example; # String | ID of the simulation
    -my $fileRegistryServiceName = fileRegistryServiceName_example; # String | 
     
     eval { 
    -    my $result = $api_instance->fileRegistryServiceAddEntry(body => $body, simid => $simid, fileRegistryServiceName => $fileRegistryServiceName);
    +    my $result = $api_instance->getSimulationTime(simid => $simid);
         print Dumper($result);
     };
     if ($@) {
    -    warn "Exception when calling WRENCHApi->fileRegistryServiceAddEntry: $@\n";
    +    warn "Exception when calling WRENCHApi->getSimulationTime: $@\n";
     }
    -
    +
    from __future__ import print_statement
     import time
     import swagger_client
    @@ -11221,16 +10325,14 @@ 

    Usage and SDK Samples

    # create an instance of the API class api_instance = swagger_client.WRENCHApi() -body = # FileRegistryServiceEntry | Entry to add. simid = simid_example # String | ID of the simulation -fileRegistryServiceName = fileRegistryServiceName_example # String | try: - # Add an entry to a file registry service. - api_response = api_instance.file_registry_service_add_entry(body, simid, fileRegistryServiceName) + # Retrieve the current simulated time. + api_response = api_instance.get_simulation_time(simid) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->fileRegistryServiceAddEntry: %s\n" % e)
    + print("Exception when calling WRENCHApi->getSimulationTime: %s\n" % e)
    @@ -11246,7 +10348,7 @@

    Parameters

    -
    +
    @@ -11264,72 +10366,9 @@

    Parameters

    - file_registry_service_name* - - - -
    -
    -
    - - String - - -
    -
    - Required -
    -
    -
    - - -
    Body parameters
    - - - - - - - - -
    NameDescription
    body * - - - -
    -
    @@ -11338,14 +10377,14 @@

    Status: 200 - OK

    -
    -
    +
    +
    - +
    @@ -11393,11 +10432,11 @@

    Status: 405 - Invalid input


    -
    -
    +
    +
    -

    fileRegistryServiceLookUpEntry

    -

    Look up the locations of file.

    +

    getStandardJobTasks

    +

    Retrieve job's tasks

    @@ -11405,32 +10444,31 @@

    fileRegistryServiceLookUpEntry


    -
    /simulation/{simid}/fileRegistryServices/{file_registry_service_name}/lookupEntry
    +
    /simulation/{simid}/jobs/{job_name}/tasks

    Usage and SDK Samples

    -
    -
    curl -X POST\
    +                          
    +
    curl -X GET\
     -H "Accept: application/json"\
    --H "Content-Type: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/fileRegistryServices/{file_registry_service_name}/lookupEntry"
    +"https://wrench-project.org/v1/simulation/{simid}/jobs/{job_name}/tasks"
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    @@ -11444,56 +10482,52 @@ 

    Usage and SDK Samples

    public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); - File_registry_service_name_lookupEntry_body body = ; // File_registry_service_name_lookupEntry_body | File to lookup. String simid = simid_example; // String | ID of the simulation - String fileRegistryServiceName = fileRegistryServiceName_example; // String | + String jobName = jobName_example; // String | ID of the job try { - StorageServiceList result = apiInstance.fileRegistryServiceLookUpEntry(body, simid, fileRegistryServiceName); + TaskList result = apiInstance.getStandardJobTasks(simid, jobName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#fileRegistryServiceLookUpEntry"); + System.err.println("Exception when calling WRENCHApi#getStandardJobTasks"); e.printStackTrace(); } } }
    -
    +
    import io.swagger.client.api.WRENCHApi;
     
     public class WRENCHApiExample {
     
         public static void main(String[] args) {
             WRENCHApi apiInstance = new WRENCHApi();
    -        File_registry_service_name_lookupEntry_body body = ; // File_registry_service_name_lookupEntry_body | File to lookup.
             String simid = simid_example; // String | ID of the simulation
    -        String fileRegistryServiceName = fileRegistryServiceName_example; // String | 
    +        String jobName = jobName_example; // String | ID of the job
             try {
    -            StorageServiceList result = apiInstance.fileRegistryServiceLookUpEntry(body, simid, fileRegistryServiceName);
    +            TaskList result = apiInstance.getStandardJobTasks(simid, jobName);
                 System.out.println(result);
             } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#fileRegistryServiceLookUpEntry");
    +            System.err.println("Exception when calling WRENCHApi#getStandardJobTasks");
                 e.printStackTrace();
             }
         }
     }
    -
    -
    File_registry_service_name_lookupEntry_body *body = ; // File to lookup.
    -String *simid = simid_example; // ID of the simulation
    -String *fileRegistryServiceName = fileRegistryServiceName_example; // 
    +                            
    +
    String *simid = simid_example; // ID of the simulation
    +String *jobName = jobName_example; // ID of the job
     
     WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
     
    -// Look up the locations of file.
    -[apiInstance fileRegistryServiceLookUpEntryWith:body
    -    simid:simid
    -    fileRegistryServiceName:fileRegistryServiceName
    -              completionHandler: ^(StorageServiceList output, NSError* error) {
    +// Retrieve job's tasks
    +[apiInstance getStandardJobTasksWith:simid
    +    jobName:jobName
    +              completionHandler: ^(TaskList output, NSError* error) {
                                 if (output) {
                                     NSLog(@"%@", output);
                                 }
    @@ -11504,13 +10538,12 @@ 

    Usage and SDK Samples

    -
    +
    var WrenchRestApi = require('wrench_rest_api');
     
     var api = new WrenchRestApi.WRENCHApi()
    -var body = ; // {{File_registry_service_name_lookupEntry_body}} File to lookup.
     var simid = simid_example; // {{String}} ID of the simulation
    -var fileRegistryServiceName = fileRegistryServiceName_example; // {{String}} 
    +var jobName = jobName_example; // {{String}} ID of the job
     
     var callback = function(error, data, response) {
       if (error) {
    @@ -11519,14 +10552,14 @@ 

    Usage and SDK Samples

    console.log('API called successfully. Returned data: ' + data); } }; -api.fileRegistryServiceLookUpEntry(bodysimidfileRegistryServiceName, callback); +api.getStandardJobTasks(simid, jobName, callback);
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -11535,25 +10568,24 @@ 

    Usage and SDK Samples

    namespace Example { - public class fileRegistryServiceLookUpEntryExample + public class getStandardJobTasksExample { public void main() { var apiInstance = new WRENCHApi(); - var body = new File_registry_service_name_lookupEntry_body(); // File_registry_service_name_lookupEntry_body | File to lookup. var simid = simid_example; // String | ID of the simulation - var fileRegistryServiceName = fileRegistryServiceName_example; // String | + var jobName = jobName_example; // String | ID of the job try { - // Look up the locations of file. - StorageServiceList result = apiInstance.fileRegistryServiceLookUpEntry(body, simid, fileRegistryServiceName); + // Retrieve job's tasks + TaskList result = apiInstance.getStandardJobTasks(simid, jobName); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.fileRegistryServiceLookUpEntry: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.getStandardJobTasks: " + e.Message ); } } } @@ -11561,44 +10593,42 @@

    Usage and SDK Samples

    -
    +
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
     
     $api_instance = new Swagger\Client\ApiWRENCHApi();
    -$body = ; // File_registry_service_name_lookupEntry_body | File to lookup.
     $simid = simid_example; // String | ID of the simulation
    -$fileRegistryServiceName = fileRegistryServiceName_example; // String | 
    +$jobName = jobName_example; // String | ID of the job
     
     try {
    -    $result = $api_instance->fileRegistryServiceLookUpEntry($body, $simid, $fileRegistryServiceName);
    +    $result = $api_instance->getStandardJobTasks($simid, $jobName);
         print_r($result);
     } catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->fileRegistryServiceLookUpEntry: ', $e->getMessage(), PHP_EOL;
    +    echo 'Exception when calling WRENCHApi->getStandardJobTasks: ', $e->getMessage(), PHP_EOL;
     }
     ?>
    -
    +
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
     use WWW::SwaggerClient::WRENCHApi;
     
     my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $body = WWW::SwaggerClient::Object::File_registry_service_name_lookupEntry_body->new(); # File_registry_service_name_lookupEntry_body | File to lookup.
     my $simid = simid_example; # String | ID of the simulation
    -my $fileRegistryServiceName = fileRegistryServiceName_example; # String | 
    +my $jobName = jobName_example; # String | ID of the job
     
     eval { 
    -    my $result = $api_instance->fileRegistryServiceLookUpEntry(body => $body, simid => $simid, fileRegistryServiceName => $fileRegistryServiceName);
    +    my $result = $api_instance->getStandardJobTasks(simid => $simid, jobName => $jobName);
         print Dumper($result);
     };
     if ($@) {
    -    warn "Exception when calling WRENCHApi->fileRegistryServiceLookUpEntry: $@\n";
    +    warn "Exception when calling WRENCHApi->getStandardJobTasks: $@\n";
     }
    -
    +
    from __future__ import print_statement
     import time
     import swagger_client
    @@ -11607,16 +10637,15 @@ 

    Usage and SDK Samples

    # create an instance of the API class api_instance = swagger_client.WRENCHApi() -body = # File_registry_service_name_lookupEntry_body | File to lookup. simid = simid_example # String | ID of the simulation -fileRegistryServiceName = fileRegistryServiceName_example # String | +jobName = jobName_example # String | ID of the job try: - # Look up the locations of file. - api_response = api_instance.file_registry_service_look_up_entry(body, simid, fileRegistryServiceName) + # Retrieve job's tasks + api_response = api_instance.get_standard_job_tasks(simid, jobName) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->fileRegistryServiceLookUpEntry: %s\n" % e)
    + print("Exception when calling WRENCHApi->getStandardJobTasks: %s\n" % e)
    @@ -11632,7 +10661,7 @@

    Parameters

    -
    +
    @@ -11650,17 +10679,20 @@

    Parameters

    - file_registry_service_name* + job_name* -
    +
    String +
    + ID of the job +
    Required @@ -11672,77 +10704,33 @@

    Parameters

    -
    Body parameters
    - - - - - - - - -
    NameDescription
    body * - - - -
    -
    - - - -

    Responses

    -

    Status: 200 - OK

    - - - -
    -
    -
    -
    - +
    -

    Status: 404 - Task not found

    +

    Status: 404 - Job not found

    @@ -11787,11 +10775,11 @@

    Status: 405 - Invalid input


    -
    -
    +
    +
    -

    fileRegistryServiceRemoveEntry

    -

    Remove an entry from a file registry service.

    +

    getTaskEndDate

    +

    Get a task's end date.

    @@ -11799,32 +10787,31 @@

    fileRegistryServiceRemoveEntry


    -
    /simulation/{simid}/fileRegistryServices/{file_registry_service_name}/removeEntry
    +
    /simulation/{simid}/workflows/{workflow_name}/tasks/{task_name}/taskGetEndDate

    Usage and SDK Samples

    -
    -
    curl -X POST\
    +                          
    +
    curl -X GET\
     -H "Accept: application/json"\
    --H "Content-Type: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/fileRegistryServices/{file_registry_service_name}/removeEntry"
    +"https://wrench-project.org/v1/simulation/{simid}/workflows/{workflow_name}/tasks/{task_name}/taskGetEndDate"
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    @@ -11838,56 +10825,56 @@ 

    Usage and SDK Samples

    public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); - FileRegistryServiceEntry body = ; // FileRegistryServiceEntry | Entry to remove. String simid = simid_example; // String | ID of the simulation - String fileRegistryServiceName = fileRegistryServiceName_example; // String | name of the file registry service + String workflowName = workflowName_example; // String | + String taskName = taskName_example; // String | Name of the task try { - GenericResponse result = apiInstance.fileRegistryServiceRemoveEntry(body, simid, fileRegistryServiceName); + TimeResponse result = apiInstance.getTaskEndDate(simid, workflowName, taskName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#fileRegistryServiceRemoveEntry"); + System.err.println("Exception when calling WRENCHApi#getTaskEndDate"); e.printStackTrace(); } } }
    -
    +
    import io.swagger.client.api.WRENCHApi;
     
     public class WRENCHApiExample {
     
         public static void main(String[] args) {
             WRENCHApi apiInstance = new WRENCHApi();
    -        FileRegistryServiceEntry body = ; // FileRegistryServiceEntry | Entry to remove.
             String simid = simid_example; // String | ID of the simulation
    -        String fileRegistryServiceName = fileRegistryServiceName_example; // String | name of the file registry service
    +        String workflowName = workflowName_example; // String | 
    +        String taskName = taskName_example; // String | Name of the task
             try {
    -            GenericResponse result = apiInstance.fileRegistryServiceRemoveEntry(body, simid, fileRegistryServiceName);
    +            TimeResponse result = apiInstance.getTaskEndDate(simid, workflowName, taskName);
                 System.out.println(result);
             } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#fileRegistryServiceRemoveEntry");
    +            System.err.println("Exception when calling WRENCHApi#getTaskEndDate");
                 e.printStackTrace();
             }
         }
     }
    -
    -
    FileRegistryServiceEntry *body = ; // Entry to remove.
    -String *simid = simid_example; // ID of the simulation
    -String *fileRegistryServiceName = fileRegistryServiceName_example; // name of the file registry service
    +                            
    +
    String *simid = simid_example; // ID of the simulation
    +String *workflowName = workflowName_example; // 
    +String *taskName = taskName_example; // Name of the task
     
     WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
     
    -// Remove an entry from a file registry service.
    -[apiInstance fileRegistryServiceRemoveEntryWith:body
    -    simid:simid
    -    fileRegistryServiceName:fileRegistryServiceName
    -              completionHandler: ^(GenericResponse output, NSError* error) {
    +// Get a task's end date.
    +[apiInstance getTaskEndDateWith:simid
    +    workflowName:workflowName
    +    taskName:taskName
    +              completionHandler: ^(TimeResponse output, NSError* error) {
                                 if (output) {
                                     NSLog(@"%@", output);
                                 }
    @@ -11898,13 +10885,13 @@ 

    Usage and SDK Samples

    -
    +
    var WrenchRestApi = require('wrench_rest_api');
     
     var api = new WrenchRestApi.WRENCHApi()
    -var body = ; // {{FileRegistryServiceEntry}} Entry to remove.
     var simid = simid_example; // {{String}} ID of the simulation
    -var fileRegistryServiceName = fileRegistryServiceName_example; // {{String}} name of the file registry service
    +var workflowName = workflowName_example; // {{String}} 
    +var taskName = taskName_example; // {{String}} Name of the task
     
     var callback = function(error, data, response) {
       if (error) {
    @@ -11913,14 +10900,14 @@ 

    Usage and SDK Samples

    console.log('API called successfully. Returned data: ' + data); } }; -api.fileRegistryServiceRemoveEntry(bodysimidfileRegistryServiceName, callback); +api.getTaskEndDate(simid, workflowName, taskName, callback);
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -11929,25 +10916,25 @@ 

    Usage and SDK Samples

    namespace Example { - public class fileRegistryServiceRemoveEntryExample + public class getTaskEndDateExample { public void main() { var apiInstance = new WRENCHApi(); - var body = new FileRegistryServiceEntry(); // FileRegistryServiceEntry | Entry to remove. var simid = simid_example; // String | ID of the simulation - var fileRegistryServiceName = fileRegistryServiceName_example; // String | name of the file registry service + var workflowName = workflowName_example; // String | + var taskName = taskName_example; // String | Name of the task try { - // Remove an entry from a file registry service. - GenericResponse result = apiInstance.fileRegistryServiceRemoveEntry(body, simid, fileRegistryServiceName); + // Get a task's end date. + TimeResponse result = apiInstance.getTaskEndDate(simid, workflowName, taskName); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.fileRegistryServiceRemoveEntry: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.getTaskEndDate: " + e.Message ); } } } @@ -11955,44 +10942,44 @@

    Usage and SDK Samples

    -
    +
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
     
     $api_instance = new Swagger\Client\ApiWRENCHApi();
    -$body = ; // FileRegistryServiceEntry | Entry to remove.
     $simid = simid_example; // String | ID of the simulation
    -$fileRegistryServiceName = fileRegistryServiceName_example; // String | name of the file registry service
    +$workflowName = workflowName_example; // String | 
    +$taskName = taskName_example; // String | Name of the task
     
     try {
    -    $result = $api_instance->fileRegistryServiceRemoveEntry($body, $simid, $fileRegistryServiceName);
    +    $result = $api_instance->getTaskEndDate($simid, $workflowName, $taskName);
         print_r($result);
     } catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->fileRegistryServiceRemoveEntry: ', $e->getMessage(), PHP_EOL;
    +    echo 'Exception when calling WRENCHApi->getTaskEndDate: ', $e->getMessage(), PHP_EOL;
     }
     ?>
    -
    +
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
     use WWW::SwaggerClient::WRENCHApi;
     
     my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $body = WWW::SwaggerClient::Object::FileRegistryServiceEntry->new(); # FileRegistryServiceEntry | Entry to remove.
     my $simid = simid_example; # String | ID of the simulation
    -my $fileRegistryServiceName = fileRegistryServiceName_example; # String | name of the file registry service
    +my $workflowName = workflowName_example; # String | 
    +my $taskName = taskName_example; # String | Name of the task
     
     eval { 
    -    my $result = $api_instance->fileRegistryServiceRemoveEntry(body => $body, simid => $simid, fileRegistryServiceName => $fileRegistryServiceName);
    +    my $result = $api_instance->getTaskEndDate(simid => $simid, workflowName => $workflowName, taskName => $taskName);
         print Dumper($result);
     };
     if ($@) {
    -    warn "Exception when calling WRENCHApi->fileRegistryServiceRemoveEntry: $@\n";
    +    warn "Exception when calling WRENCHApi->getTaskEndDate: $@\n";
     }
    -
    +
    from __future__ import print_statement
     import time
     import swagger_client
    @@ -12001,16 +10988,16 @@ 

    Usage and SDK Samples

    # create an instance of the API class api_instance = swagger_client.WRENCHApi() -body = # FileRegistryServiceEntry | Entry to remove. simid = simid_example # String | ID of the simulation -fileRegistryServiceName = fileRegistryServiceName_example # String | name of the file registry service +workflowName = workflowName_example # String | +taskName = taskName_example # String | Name of the task try: - # Remove an entry from a file registry service. - api_response = api_instance.file_registry_service_remove_entry(body, simid, fileRegistryServiceName) + # Get a task's end date. + api_response = api_instance.get_task_end_date(simid, workflowName, taskName) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->fileRegistryServiceRemoveEntry: %s\n" % e)
    + print("Exception when calling WRENCHApi->getTaskEndDate: %s\n" % e)
    @@ -12026,7 +11013,7 @@

    Parameters

    -
    +
    @@ -12044,11 +11031,30 @@

    Parameters

    - file_registry_service_name* + workflow_name* + + + +
    +
    +
    + + String + + +
    +
    + Required +
    +
    +
    + + + task_name* -
    +
    @@ -12056,7 +11062,7 @@

    Parameters

    - name of the file registry service + Name of the task
    @@ -12069,50 +11075,6 @@

    Parameters

    -
    Body parameters
    - - - - - - - - -
    NameDescription
    body * - - - -
    -
    @@ -12121,14 +11083,14 @@

    Status: 200 - OK

    -
    -
    +
    +
    - +
    +

    Status: 404 - Job not found

    + + + +
    +
    +

    Status: 405 - Invalid input


    -
    -
    +
    +
    -

    getAllHostnames

    -

    Retrieve the names of all hosts in the simulated platform.

    +

    getTaskFlops

    +

    Get a task's flops

    @@ -12188,31 +11158,31 @@

    getAllHostnames


    -
    /simulation/{simid}/hostnames
    +
    /simulation/{simid}/workflows/{workflow_name}/tasks/{task_name}/taskGetFlops

    Usage and SDK Samples

    -
    +
    curl -X GET\
     -H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/hostnames"
    +"https://wrench-project.org/v1/simulation/{simid}/workflows/{workflow_name}/tasks/{task_name}/taskGetFlops"
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    @@ -12226,48 +11196,56 @@ 

    Usage and SDK Samples

    public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); - String simid = simid_example; // String | ID of simulation + String simid = simid_example; // String | ID of the simulation + String workflowName = workflowName_example; // String | Name of the workflow + String taskName = taskName_example; // String | Name of the task try { - HostnameList result = apiInstance.getAllHostnames(simid); + TaskFlops result = apiInstance.getTaskFlops(simid, workflowName, taskName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#getAllHostnames"); + System.err.println("Exception when calling WRENCHApi#getTaskFlops"); e.printStackTrace(); } } }
    -
    +
    import io.swagger.client.api.WRENCHApi;
     
     public class WRENCHApiExample {
     
         public static void main(String[] args) {
             WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of simulation
    +        String simid = simid_example; // String | ID of the simulation
    +        String workflowName = workflowName_example; // String | Name of the workflow
    +        String taskName = taskName_example; // String | Name of the task
             try {
    -            HostnameList result = apiInstance.getAllHostnames(simid);
    +            TaskFlops result = apiInstance.getTaskFlops(simid, workflowName, taskName);
                 System.out.println(result);
             } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getAllHostnames");
    +            System.err.println("Exception when calling WRENCHApi#getTaskFlops");
                 e.printStackTrace();
             }
         }
     }
    -
    -
    String *simid = simid_example; // ID of simulation
    +                            
    +
    String *simid = simid_example; // ID of the simulation
    +String *workflowName = workflowName_example; // Name of the workflow
    +String *taskName = taskName_example; // Name of the task
     
     WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
     
    -// Retrieve the names of all hosts in the simulated platform.
    -[apiInstance getAllHostnamesWith:simid
    -              completionHandler: ^(HostnameList output, NSError* error) {
    +// Get a task's flops
    +[apiInstance getTaskFlopsWith:simid
    +    workflowName:workflowName
    +    taskName:taskName
    +              completionHandler: ^(TaskFlops output, NSError* error) {
                                 if (output) {
                                     NSLog(@"%@", output);
                                 }
    @@ -12278,11 +11256,13 @@ 

    Usage and SDK Samples

    -
    +
    var WrenchRestApi = require('wrench_rest_api');
     
     var api = new WrenchRestApi.WRENCHApi()
    -var simid = simid_example; // {{String}} ID of simulation
    +var simid = simid_example; // {{String}} ID of the simulation
    +var workflowName = workflowName_example; // {{String}} Name of the workflow
    +var taskName = taskName_example; // {{String}} Name of the task
     
     var callback = function(error, data, response) {
       if (error) {
    @@ -12291,14 +11271,14 @@ 

    Usage and SDK Samples

    console.log('API called successfully. Returned data: ' + data); } }; -api.getAllHostnames(simid, callback); +api.getTaskFlops(simid, workflowName, taskName, callback);
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -12307,23 +11287,25 @@ 

    Usage and SDK Samples

    namespace Example { - public class getAllHostnamesExample + public class getTaskFlopsExample { public void main() { var apiInstance = new WRENCHApi(); - var simid = simid_example; // String | ID of simulation + var simid = simid_example; // String | ID of the simulation + var workflowName = workflowName_example; // String | Name of the workflow + var taskName = taskName_example; // String | Name of the task try { - // Retrieve the names of all hosts in the simulated platform. - HostnameList result = apiInstance.getAllHostnames(simid); + // Get a task's flops + TaskFlops result = apiInstance.getTaskFlops(simid, workflowName, taskName); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.getAllHostnames: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.getTaskFlops: " + e.Message ); } } } @@ -12331,40 +11313,44 @@

    Usage and SDK Samples

    -
    +
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
     
     $api_instance = new Swagger\Client\ApiWRENCHApi();
    -$simid = simid_example; // String | ID of simulation
    +$simid = simid_example; // String | ID of the simulation
    +$workflowName = workflowName_example; // String | Name of the workflow
    +$taskName = taskName_example; // String | Name of the task
     
     try {
    -    $result = $api_instance->getAllHostnames($simid);
    +    $result = $api_instance->getTaskFlops($simid, $workflowName, $taskName);
         print_r($result);
     } catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->getAllHostnames: ', $e->getMessage(), PHP_EOL;
    +    echo 'Exception when calling WRENCHApi->getTaskFlops: ', $e->getMessage(), PHP_EOL;
     }
     ?>
    -
    +
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
     use WWW::SwaggerClient::WRENCHApi;
     
     my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $simid = simid_example; # String | ID of simulation
    +my $simid = simid_example; # String | ID of the simulation
    +my $workflowName = workflowName_example; # String | Name of the workflow
    +my $taskName = taskName_example; # String | Name of the task
     
     eval { 
    -    my $result = $api_instance->getAllHostnames(simid => $simid);
    +    my $result = $api_instance->getTaskFlops(simid => $simid, workflowName => $workflowName, taskName => $taskName);
         print Dumper($result);
     };
     if ($@) {
    -    warn "Exception when calling WRENCHApi->getAllHostnames: $@\n";
    +    warn "Exception when calling WRENCHApi->getTaskFlops: $@\n";
     }
    -
    +
    from __future__ import print_statement
     import time
     import swagger_client
    @@ -12373,14 +11359,16 @@ 

    Usage and SDK Samples

    # create an instance of the API class api_instance = swagger_client.WRENCHApi() -simid = simid_example # String | ID of simulation +simid = simid_example # String | ID of the simulation +workflowName = workflowName_example # String | Name of the workflow +taskName = taskName_example # String | Name of the task try: - # Retrieve the names of all hosts in the simulated platform. - api_response = api_instance.get_all_hostnames(simid) + # Get a task's flops + api_response = api_instance.get_task_flops(simid, workflowName, taskName) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->getAllHostnames: %s\n" % e)
    + print("Exception when calling WRENCHApi->getTaskFlops: %s\n" % e)
    @@ -12396,7 +11384,7 @@

    Parameters

    -
    +
    @@ -12404,7 +11392,51 @@

    Parameters

    - ID of simulation + ID of the simulation +
    +
    +
    + Required +
    +
    +
    + + + workflow_name* + + + +
    +
    +
    + + String + + +
    + Name of the workflow +
    +
    +
    + Required +
    +
    +
    + + + task_name* + + + +
    +
    +
    + + String + + +
    + Name of the task
    @@ -12425,14 +11457,14 @@

    Status: 200 - OK

    -
    -
    +
    +
    - +
    +

    Status: 404 - Job not found

    + + + +
    +
    +

    Status: 405 - Invalid input


    -
    -
    +
    +
    -

    getCoreCounts

    -

    Returns the core counts for each host managed by the compute service.

    +

    getTaskInputFiles

    +

    Retrieve task's input files

    @@ -12492,31 +11532,31 @@

    getCoreCounts


    -
    /simulation/{simid}/compute_services/{service_name}/coreCounts
    +
    /simulation/{simid}/workflows/{workflow_name}/tasks/{tid}/inputFiles

    Usage and SDK Samples

    -
    +
    curl -X GET\
     -H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/compute_services/{service_name}/coreCounts"
    +"https://wrench-project.org/v1/simulation/{simid}/workflows/{workflow_name}/tasks/{tid}/inputFiles"
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    @@ -12531,19 +11571,20 @@ 

    Usage and SDK Samples

    WRENCHApi apiInstance = new WRENCHApi(); String simid = simid_example; // String | ID of the simulation - String serviceName = serviceName_example; // String | The compute service name + String workflowName = workflowName_example; // String | + String tid = tid_example; // String | ID of the task try { - inline_response_200_1 result = apiInstance.getCoreCounts(simid, serviceName); + FileList result = apiInstance.getTaskInputFiles(simid, workflowName, tid); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#getCoreCounts"); + System.err.println("Exception when calling WRENCHApi#getTaskInputFiles"); e.printStackTrace(); } } }
    -
    +
    import io.swagger.client.api.WRENCHApi;
     
     public class WRENCHApiExample {
    @@ -12551,31 +11592,34 @@ 

    Usage and SDK Samples

    public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); String simid = simid_example; // String | ID of the simulation - String serviceName = serviceName_example; // String | The compute service name + String workflowName = workflowName_example; // String | + String tid = tid_example; // String | ID of the task try { - inline_response_200_1 result = apiInstance.getCoreCounts(simid, serviceName); + FileList result = apiInstance.getTaskInputFiles(simid, workflowName, tid); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#getCoreCounts"); + System.err.println("Exception when calling WRENCHApi#getTaskInputFiles"); e.printStackTrace(); } } }
    -
    +
    String *simid = simid_example; // ID of the simulation
    -String *serviceName = serviceName_example; // The compute service name
    +String *workflowName = workflowName_example; // 
    +String *tid = tid_example; // ID of the task
     
     WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
     
    -// Returns the core counts for each host managed by the compute service.
    -[apiInstance getCoreCountsWith:simid
    -    serviceName:serviceName
    -              completionHandler: ^(inline_response_200_1 output, NSError* error) {
    +// Retrieve task's input files
    +[apiInstance getTaskInputFilesWith:simid
    +    workflowName:workflowName
    +    tid:tid
    +              completionHandler: ^(FileList output, NSError* error) {
                                 if (output) {
                                     NSLog(@"%@", output);
                                 }
    @@ -12586,12 +11630,13 @@ 

    Usage and SDK Samples

    -
    +
    var WrenchRestApi = require('wrench_rest_api');
     
     var api = new WrenchRestApi.WRENCHApi()
     var simid = simid_example; // {{String}} ID of the simulation
    -var serviceName = serviceName_example; // {{String}} The compute service name
    +var workflowName = workflowName_example; // {{String}} 
    +var tid = tid_example; // {{String}} ID of the task
     
     var callback = function(error, data, response) {
       if (error) {
    @@ -12600,14 +11645,14 @@ 

    Usage and SDK Samples

    console.log('API called successfully. Returned data: ' + data); } }; -api.getCoreCounts(simid, serviceName, callback); +api.getTaskInputFiles(simid, workflowName, tid, callback);
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -12616,24 +11661,25 @@ 

    Usage and SDK Samples

    namespace Example { - public class getCoreCountsExample + public class getTaskInputFilesExample { public void main() { var apiInstance = new WRENCHApi(); var simid = simid_example; // String | ID of the simulation - var serviceName = serviceName_example; // String | The compute service name + var workflowName = workflowName_example; // String | + var tid = tid_example; // String | ID of the task try { - // Returns the core counts for each host managed by the compute service. - inline_response_200_1 result = apiInstance.getCoreCounts(simid, serviceName); + // Retrieve task's input files + FileList result = apiInstance.getTaskInputFiles(simid, workflowName, tid); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.getCoreCounts: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.getTaskInputFiles: " + e.Message ); } } } @@ -12641,42 +11687,44 @@

    Usage and SDK Samples

    -
    +
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
     
     $api_instance = new Swagger\Client\ApiWRENCHApi();
     $simid = simid_example; // String | ID of the simulation
    -$serviceName = serviceName_example; // String | The compute service name
    +$workflowName = workflowName_example; // String | 
    +$tid = tid_example; // String | ID of the task
     
     try {
    -    $result = $api_instance->getCoreCounts($simid, $serviceName);
    +    $result = $api_instance->getTaskInputFiles($simid, $workflowName, $tid);
         print_r($result);
     } catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->getCoreCounts: ', $e->getMessage(), PHP_EOL;
    +    echo 'Exception when calling WRENCHApi->getTaskInputFiles: ', $e->getMessage(), PHP_EOL;
     }
     ?>
    -
    +
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
     use WWW::SwaggerClient::WRENCHApi;
     
     my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
     my $simid = simid_example; # String | ID of the simulation
    -my $serviceName = serviceName_example; # String | The compute service name
    +my $workflowName = workflowName_example; # String | 
    +my $tid = tid_example; # String | ID of the task
     
     eval { 
    -    my $result = $api_instance->getCoreCounts(simid => $simid, serviceName => $serviceName);
    +    my $result = $api_instance->getTaskInputFiles(simid => $simid, workflowName => $workflowName, tid => $tid);
         print Dumper($result);
     };
     if ($@) {
    -    warn "Exception when calling WRENCHApi->getCoreCounts: $@\n";
    +    warn "Exception when calling WRENCHApi->getTaskInputFiles: $@\n";
     }
    -
    +
    from __future__ import print_statement
     import time
     import swagger_client
    @@ -12686,14 +11734,15 @@ 

    Usage and SDK Samples

    # create an instance of the API class api_instance = swagger_client.WRENCHApi() simid = simid_example # String | ID of the simulation -serviceName = serviceName_example # String | The compute service name +workflowName = workflowName_example # String | +tid = tid_example # String | ID of the task try: - # Returns the core counts for each host managed by the compute service. - api_response = api_instance.get_core_counts(simid, serviceName) + # Retrieve task's input files + api_response = api_instance.get_task_input_files(simid, workflowName, tid) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->getCoreCounts: %s\n" % e)
    + print("Exception when calling WRENCHApi->getTaskInputFiles: %s\n" % e)
    @@ -12709,7 +11758,7 @@

    Parameters

    -
    +
    @@ -12727,11 +11776,30 @@

    Parameters

    - service_name* + workflow_name* -
    +
    +
    +
    + + String + + +
    +
    + Required +
    +
    +
    + + + tid* + + + +
    @@ -12739,7 +11807,7 @@

    Parameters

    - The compute service name + ID of the task
    @@ -12760,14 +11828,14 @@

    Status: 200 - OK

    -
    -
    +
    +
    - +
    +

    Status: 404 - Task not found

    + + + +
    +
    +

    Status: 405 - Invalid input


    -
    -
    +
    +
    -

    getCoreFlopRates

    -

    Returns the core flop rate for each host managed by the compute service.

    +

    getTaskMaxNumCores

    +

    Get a task's maximum number of cores.

    @@ -12827,31 +11903,31 @@

    getCoreFlopRates


    -
    /simulation/{simid}/compute_services/{service_name}/coreFlopRates
    +
    /simulation/{simid}/workflows/{workflow_name}/tasks/{task_name}/taskGetMaxNumCores

    Usage and SDK Samples

    -
    +
    curl -X GET\
     -H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/compute_services/{service_name}/coreFlopRates"
    +"https://wrench-project.org/v1/simulation/{simid}/workflows/{workflow_name}/tasks/{task_name}/taskGetMaxNumCores"
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    @@ -12866,19 +11942,20 @@ 

    Usage and SDK Samples

    WRENCHApi apiInstance = new WRENCHApi(); String simid = simid_example; // String | ID of the simulation - String serviceName = serviceName_example; // String | The compute service name + String workflowName = workflowName_example; // String | + String taskName = taskName_example; // String | Name of the task try { - inline_response_200 result = apiInstance.getCoreFlopRates(simid, serviceName); + TaskCores result = apiInstance.getTaskMaxNumCores(simid, workflowName, taskName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#getCoreFlopRates"); + System.err.println("Exception when calling WRENCHApi#getTaskMaxNumCores"); e.printStackTrace(); } } }
    -
    +
    import io.swagger.client.api.WRENCHApi;
     
     public class WRENCHApiExample {
    @@ -12886,31 +11963,34 @@ 

    Usage and SDK Samples

    public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); String simid = simid_example; // String | ID of the simulation - String serviceName = serviceName_example; // String | The compute service name + String workflowName = workflowName_example; // String | + String taskName = taskName_example; // String | Name of the task try { - inline_response_200 result = apiInstance.getCoreFlopRates(simid, serviceName); + TaskCores result = apiInstance.getTaskMaxNumCores(simid, workflowName, taskName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#getCoreFlopRates"); + System.err.println("Exception when calling WRENCHApi#getTaskMaxNumCores"); e.printStackTrace(); } } }
    -
    +
    String *simid = simid_example; // ID of the simulation
    -String *serviceName = serviceName_example; // The compute service name
    +String *workflowName = workflowName_example; // 
    +String *taskName = taskName_example; // Name of the task
     
     WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
     
    -// Returns the core flop rate for each host managed by the compute service.
    -[apiInstance getCoreFlopRatesWith:simid
    -    serviceName:serviceName
    -              completionHandler: ^(inline_response_200 output, NSError* error) {
    +// Get a task's maximum number of cores.
    +[apiInstance getTaskMaxNumCoresWith:simid
    +    workflowName:workflowName
    +    taskName:taskName
    +              completionHandler: ^(TaskCores output, NSError* error) {
                                 if (output) {
                                     NSLog(@"%@", output);
                                 }
    @@ -12921,12 +12001,13 @@ 

    Usage and SDK Samples

    -
    +
    var WrenchRestApi = require('wrench_rest_api');
     
     var api = new WrenchRestApi.WRENCHApi()
     var simid = simid_example; // {{String}} ID of the simulation
    -var serviceName = serviceName_example; // {{String}} The compute service name
    +var workflowName = workflowName_example; // {{String}} 
    +var taskName = taskName_example; // {{String}} Name of the task
     
     var callback = function(error, data, response) {
       if (error) {
    @@ -12935,14 +12016,14 @@ 

    Usage and SDK Samples

    console.log('API called successfully. Returned data: ' + data); } }; -api.getCoreFlopRates(simid, serviceName, callback); +api.getTaskMaxNumCores(simid, workflowName, taskName, callback);
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -12951,24 +12032,25 @@ 

    Usage and SDK Samples

    namespace Example { - public class getCoreFlopRatesExample + public class getTaskMaxNumCoresExample { public void main() { var apiInstance = new WRENCHApi(); var simid = simid_example; // String | ID of the simulation - var serviceName = serviceName_example; // String | The compute service name + var workflowName = workflowName_example; // String | + var taskName = taskName_example; // String | Name of the task try { - // Returns the core flop rate for each host managed by the compute service. - inline_response_200 result = apiInstance.getCoreFlopRates(simid, serviceName); + // Get a task's maximum number of cores. + TaskCores result = apiInstance.getTaskMaxNumCores(simid, workflowName, taskName); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.getCoreFlopRates: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.getTaskMaxNumCores: " + e.Message ); } } } @@ -12976,42 +12058,44 @@

    Usage and SDK Samples

    -
    +
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
     
     $api_instance = new Swagger\Client\ApiWRENCHApi();
     $simid = simid_example; // String | ID of the simulation
    -$serviceName = serviceName_example; // String | The compute service name
    +$workflowName = workflowName_example; // String | 
    +$taskName = taskName_example; // String | Name of the task
     
     try {
    -    $result = $api_instance->getCoreFlopRates($simid, $serviceName);
    +    $result = $api_instance->getTaskMaxNumCores($simid, $workflowName, $taskName);
         print_r($result);
     } catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->getCoreFlopRates: ', $e->getMessage(), PHP_EOL;
    +    echo 'Exception when calling WRENCHApi->getTaskMaxNumCores: ', $e->getMessage(), PHP_EOL;
     }
     ?>
    -
    +
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
     use WWW::SwaggerClient::WRENCHApi;
     
     my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
     my $simid = simid_example; # String | ID of the simulation
    -my $serviceName = serviceName_example; # String | The compute service name
    +my $workflowName = workflowName_example; # String | 
    +my $taskName = taskName_example; # String | Name of the task
     
     eval { 
    -    my $result = $api_instance->getCoreFlopRates(simid => $simid, serviceName => $serviceName);
    +    my $result = $api_instance->getTaskMaxNumCores(simid => $simid, workflowName => $workflowName, taskName => $taskName);
         print Dumper($result);
     };
     if ($@) {
    -    warn "Exception when calling WRENCHApi->getCoreFlopRates: $@\n";
    +    warn "Exception when calling WRENCHApi->getTaskMaxNumCores: $@\n";
     }
    -
    +
    from __future__ import print_statement
     import time
     import swagger_client
    @@ -13021,14 +12105,15 @@ 

    Usage and SDK Samples

    # create an instance of the API class api_instance = swagger_client.WRENCHApi() simid = simid_example # String | ID of the simulation -serviceName = serviceName_example # String | The compute service name +workflowName = workflowName_example # String | +taskName = taskName_example # String | Name of the task try: - # Returns the core flop rate for each host managed by the compute service. - api_response = api_instance.get_core_flop_rates(simid, serviceName) + # Get a task's maximum number of cores. + api_response = api_instance.get_task_max_num_cores(simid, workflowName, taskName) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->getCoreFlopRates: %s\n" % e)
    + print("Exception when calling WRENCHApi->getTaskMaxNumCores: %s\n" % e)
    @@ -13044,7 +12129,7 @@

    Parameters

    -
    +
    @@ -13062,11 +12147,30 @@

    Parameters

    - service_name* + workflow_name* -
    +
    +
    +
    + + String + + +
    +
    + Required +
    +
    +
    + + + task_name* + + + +
    @@ -13074,7 +12178,7 @@

    Parameters

    - The compute service name + Name of the task
    @@ -13095,14 +12199,14 @@

    Status: 200 - OK

    -
    -
    +
    +
    - +
    +

    Status: 404 - Job not found

    + + + +
    +
    +

    Status: 405 - Invalid input


    -
    -
    +
    +
    -

    getExecutionHosts

    -

    Get the list of execution hosts available to run VMs.

    +

    getTaskMemory

    +

    Get a task's memory requirement.

    @@ -13162,31 +12274,31 @@

    getExecutionHosts


    -
    /simulation/{simid}/getExecutionHosts
    +
    /simulation/{simid}/workflows/{workflow_name}/tasks/{task_name}/taskGetMemory

    Usage and SDK Samples

    -
    +
    curl -X GET\
     -H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/getExecutionHosts"
    +"https://wrench-project.org/v1/simulation/{simid}/workflows/{workflow_name}/tasks/{task_name}/taskGetMemory"
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    @@ -13200,48 +12312,56 @@ 

    Usage and SDK Samples

    public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); - String simid = simid_example; // String | ID of simulation + String simid = simid_example; // String | ID of the simulation + String workflowName = workflowName_example; // String | + String taskName = taskName_example; // String | Name of the task try { - HostnameList result = apiInstance.getExecutionHosts(simid); + TaskMem result = apiInstance.getTaskMemory(simid, workflowName, taskName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#getExecutionHosts"); + System.err.println("Exception when calling WRENCHApi#getTaskMemory"); e.printStackTrace(); } } }
    -
    +
    import io.swagger.client.api.WRENCHApi;
     
     public class WRENCHApiExample {
     
         public static void main(String[] args) {
             WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of simulation
    +        String simid = simid_example; // String | ID of the simulation
    +        String workflowName = workflowName_example; // String | 
    +        String taskName = taskName_example; // String | Name of the task
             try {
    -            HostnameList result = apiInstance.getExecutionHosts(simid);
    +            TaskMem result = apiInstance.getTaskMemory(simid, workflowName, taskName);
                 System.out.println(result);
             } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getExecutionHosts");
    +            System.err.println("Exception when calling WRENCHApi#getTaskMemory");
                 e.printStackTrace();
             }
         }
     }
    -
    -
    String *simid = simid_example; // ID of simulation
    +                            
    +
    String *simid = simid_example; // ID of the simulation
    +String *workflowName = workflowName_example; // 
    +String *taskName = taskName_example; // Name of the task
     
     WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
     
    -// Get the list of execution hosts available to run VMs.
    -[apiInstance getExecutionHostsWith:simid
    -              completionHandler: ^(HostnameList output, NSError* error) {
    +// Get a task's memory requirement.
    +[apiInstance getTaskMemoryWith:simid
    +    workflowName:workflowName
    +    taskName:taskName
    +              completionHandler: ^(TaskMem output, NSError* error) {
                                 if (output) {
                                     NSLog(@"%@", output);
                                 }
    @@ -13252,11 +12372,13 @@ 

    Usage and SDK Samples

    -
    +
    var WrenchRestApi = require('wrench_rest_api');
     
     var api = new WrenchRestApi.WRENCHApi()
    -var simid = simid_example; // {{String}} ID of simulation
    +var simid = simid_example; // {{String}} ID of the simulation
    +var workflowName = workflowName_example; // {{String}} 
    +var taskName = taskName_example; // {{String}} Name of the task
     
     var callback = function(error, data, response) {
       if (error) {
    @@ -13265,14 +12387,14 @@ 

    Usage and SDK Samples

    console.log('API called successfully. Returned data: ' + data); } }; -api.getExecutionHosts(simid, callback); +api.getTaskMemory(simid, workflowName, taskName, callback);
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -13281,23 +12403,25 @@ 

    Usage and SDK Samples

    namespace Example { - public class getExecutionHostsExample + public class getTaskMemoryExample { public void main() { var apiInstance = new WRENCHApi(); - var simid = simid_example; // String | ID of simulation + var simid = simid_example; // String | ID of the simulation + var workflowName = workflowName_example; // String | + var taskName = taskName_example; // String | Name of the task try { - // Get the list of execution hosts available to run VMs. - HostnameList result = apiInstance.getExecutionHosts(simid); + // Get a task's memory requirement. + TaskMem result = apiInstance.getTaskMemory(simid, workflowName, taskName); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.getExecutionHosts: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.getTaskMemory: " + e.Message ); } } } @@ -13305,40 +12429,44 @@

    Usage and SDK Samples

    -
    +
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
     
     $api_instance = new Swagger\Client\ApiWRENCHApi();
    -$simid = simid_example; // String | ID of simulation
    +$simid = simid_example; // String | ID of the simulation
    +$workflowName = workflowName_example; // String | 
    +$taskName = taskName_example; // String | Name of the task
     
     try {
    -    $result = $api_instance->getExecutionHosts($simid);
    +    $result = $api_instance->getTaskMemory($simid, $workflowName, $taskName);
         print_r($result);
     } catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->getExecutionHosts: ', $e->getMessage(), PHP_EOL;
    +    echo 'Exception when calling WRENCHApi->getTaskMemory: ', $e->getMessage(), PHP_EOL;
     }
     ?>
    -
    +
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
     use WWW::SwaggerClient::WRENCHApi;
     
     my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $simid = simid_example; # String | ID of simulation
    +my $simid = simid_example; # String | ID of the simulation
    +my $workflowName = workflowName_example; # String | 
    +my $taskName = taskName_example; # String | Name of the task
     
     eval { 
    -    my $result = $api_instance->getExecutionHosts(simid => $simid);
    +    my $result = $api_instance->getTaskMemory(simid => $simid, workflowName => $workflowName, taskName => $taskName);
         print Dumper($result);
     };
     if ($@) {
    -    warn "Exception when calling WRENCHApi->getExecutionHosts: $@\n";
    +    warn "Exception when calling WRENCHApi->getTaskMemory: $@\n";
     }
    -
    +
    from __future__ import print_statement
     import time
     import swagger_client
    @@ -13347,14 +12475,16 @@ 

    Usage and SDK Samples

    # create an instance of the API class api_instance = swagger_client.WRENCHApi() -simid = simid_example # String | ID of simulation +simid = simid_example # String | ID of the simulation +workflowName = workflowName_example # String | +taskName = taskName_example # String | Name of the task try: - # Get the list of execution hosts available to run VMs. - api_response = api_instance.get_execution_hosts(simid) + # Get a task's memory requirement. + api_response = api_instance.get_task_memory(simid, workflowName, taskName) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->getExecutionHosts: %s\n" % e)
    + print("Exception when calling WRENCHApi->getTaskMemory: %s\n" % e)
    @@ -13370,7 +12500,7 @@

    Parameters

    -
    +
    @@ -13378,7 +12508,48 @@

    Parameters

    - ID of simulation + ID of the simulation +
    +
    +
    + Required +
    +
    +
    + + + workflow_name* + + + +
    +
    +
    + + String + + +
    +
    + Required +
    +
    +
    + + + task_name* + + + +
    +
    +
    + + String + + +
    + Name of the task
    @@ -13399,14 +12570,14 @@

    Status: 200 - OK

    -
    -
    +
    +
    - +
    +

    Status: 404 - Job not found

    + + + +
    +
    +

    Status: 405 - Invalid input


    -
    -
    +
    +
    -

    getFileSize

    -

    Get a file size.

    +

    getTaskMinNumCores

    +

    Get a task's minimum number of cores.

    @@ -13466,31 +12645,31 @@

    getFileSize


    -
    /simulation/{simid}/files/{file_id}/size
    +
    /simulation/{simid}/workflows/{workflow_name}/tasks/{task_name}/taskGetMinNumCores

    Usage and SDK Samples

    -
    +
    curl -X GET\
     -H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/files/{file_id}/size"
    +"https://wrench-project.org/v1/simulation/{simid}/workflows/{workflow_name}/tasks/{task_name}/taskGetMinNumCores"
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    @@ -13505,19 +12684,20 @@ 

    Usage and SDK Samples

    WRENCHApi apiInstance = new WRENCHApi(); String simid = simid_example; // String | ID of the simulation - String fileId = fileId_example; // String | Name of the file + String workflowName = workflowName_example; // String | + String taskName = taskName_example; // String | Name of the task try { - FileSizeResponse result = apiInstance.getFileSize(simid, fileId); + TaskCores result = apiInstance.getTaskMinNumCores(simid, workflowName, taskName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#getFileSize"); + System.err.println("Exception when calling WRENCHApi#getTaskMinNumCores"); e.printStackTrace(); } } }
    -
    +
    import io.swagger.client.api.WRENCHApi;
     
     public class WRENCHApiExample {
    @@ -13525,31 +12705,34 @@ 

    Usage and SDK Samples

    public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); String simid = simid_example; // String | ID of the simulation - String fileId = fileId_example; // String | Name of the file + String workflowName = workflowName_example; // String | + String taskName = taskName_example; // String | Name of the task try { - FileSizeResponse result = apiInstance.getFileSize(simid, fileId); + TaskCores result = apiInstance.getTaskMinNumCores(simid, workflowName, taskName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#getFileSize"); + System.err.println("Exception when calling WRENCHApi#getTaskMinNumCores"); e.printStackTrace(); } } }
    -
    +
    String *simid = simid_example; // ID of the simulation
    -String *fileId = fileId_example; // Name of the file
    +String *workflowName = workflowName_example; // 
    +String *taskName = taskName_example; // Name of the task
     
     WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
     
    -// Get a file size.
    -[apiInstance getFileSizeWith:simid
    -    fileId:fileId
    -              completionHandler: ^(FileSizeResponse output, NSError* error) {
    +// Get a task's minimum number of cores.
    +[apiInstance getTaskMinNumCoresWith:simid
    +    workflowName:workflowName
    +    taskName:taskName
    +              completionHandler: ^(TaskCores output, NSError* error) {
                                 if (output) {
                                     NSLog(@"%@", output);
                                 }
    @@ -13560,12 +12743,13 @@ 

    Usage and SDK Samples

    -
    +
    var WrenchRestApi = require('wrench_rest_api');
     
     var api = new WrenchRestApi.WRENCHApi()
     var simid = simid_example; // {{String}} ID of the simulation
    -var fileId = fileId_example; // {{String}} Name of the file
    +var workflowName = workflowName_example; // {{String}} 
    +var taskName = taskName_example; // {{String}} Name of the task
     
     var callback = function(error, data, response) {
       if (error) {
    @@ -13574,14 +12758,14 @@ 

    Usage and SDK Samples

    console.log('API called successfully. Returned data: ' + data); } }; -api.getFileSize(simid, fileId, callback); +api.getTaskMinNumCores(simid, workflowName, taskName, callback);
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -13590,24 +12774,25 @@ 

    Usage and SDK Samples

    namespace Example { - public class getFileSizeExample + public class getTaskMinNumCoresExample { public void main() { var apiInstance = new WRENCHApi(); var simid = simid_example; // String | ID of the simulation - var fileId = fileId_example; // String | Name of the file + var workflowName = workflowName_example; // String | + var taskName = taskName_example; // String | Name of the task try { - // Get a file size. - FileSizeResponse result = apiInstance.getFileSize(simid, fileId); + // Get a task's minimum number of cores. + TaskCores result = apiInstance.getTaskMinNumCores(simid, workflowName, taskName); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.getFileSize: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.getTaskMinNumCores: " + e.Message ); } } } @@ -13615,42 +12800,44 @@

    Usage and SDK Samples

    -
    +
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
     
     $api_instance = new Swagger\Client\ApiWRENCHApi();
     $simid = simid_example; // String | ID of the simulation
    -$fileId = fileId_example; // String | Name of the file
    +$workflowName = workflowName_example; // String | 
    +$taskName = taskName_example; // String | Name of the task
     
     try {
    -    $result = $api_instance->getFileSize($simid, $fileId);
    +    $result = $api_instance->getTaskMinNumCores($simid, $workflowName, $taskName);
         print_r($result);
     } catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->getFileSize: ', $e->getMessage(), PHP_EOL;
    +    echo 'Exception when calling WRENCHApi->getTaskMinNumCores: ', $e->getMessage(), PHP_EOL;
     }
     ?>
    -
    +
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
     use WWW::SwaggerClient::WRENCHApi;
     
     my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
     my $simid = simid_example; # String | ID of the simulation
    -my $fileId = fileId_example; # String | Name of the file
    +my $workflowName = workflowName_example; # String | 
    +my $taskName = taskName_example; # String | Name of the task
     
     eval { 
    -    my $result = $api_instance->getFileSize(simid => $simid, fileId => $fileId);
    +    my $result = $api_instance->getTaskMinNumCores(simid => $simid, workflowName => $workflowName, taskName => $taskName);
         print Dumper($result);
     };
     if ($@) {
    -    warn "Exception when calling WRENCHApi->getFileSize: $@\n";
    +    warn "Exception when calling WRENCHApi->getTaskMinNumCores: $@\n";
     }
    -
    +
    from __future__ import print_statement
     import time
     import swagger_client
    @@ -13660,14 +12847,15 @@ 

    Usage and SDK Samples

    # create an instance of the API class api_instance = swagger_client.WRENCHApi() simid = simid_example # String | ID of the simulation -fileId = fileId_example # String | Name of the file +workflowName = workflowName_example # String | +taskName = taskName_example # String | Name of the task try: - # Get a file size. - api_response = api_instance.get_file_size(simid, fileId) + # Get a task's minimum number of cores. + api_response = api_instance.get_task_min_num_cores(simid, workflowName, taskName) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->getFileSize: %s\n" % e)
    + print("Exception when calling WRENCHApi->getTaskMinNumCores: %s\n" % e)
    @@ -13683,7 +12871,7 @@

    Parameters

    -
    +
    @@ -13701,11 +12889,30 @@

    Parameters

    - file_id* + workflow_name* -
    +
    +
    +
    + + String + + +
    +
    + Required +
    +
    +
    + + + task_name* + + + +
    @@ -13713,7 +12920,7 @@

    Parameters

    - Name of the file + Name of the task
    @@ -13734,14 +12941,14 @@

    Status: 200 - OK

    -
    -
    +
    +
    - +
    -

    Status: 404 - File not found

    +

    Status: 404 - Job not found

    @@ -13797,11 +13004,11 @@

    Status: 405 - Invalid input


    -
    -
    +
    +
    -

    getInputFiles

    -

    Return the list of input files of the workflow.

    +

    getTaskOutputFiles

    +

    Retrieve task's output files

    @@ -13809,31 +13016,31 @@

    getInputFiles


    -
    /simulation/{simid}/workflows/{workflow_name}/inputFiles
    +
    /simulation/{simid}/workflows/{workflow_name}/tasks/{tid}/outputFiles

    Usage and SDK Samples

    -
    +
    curl -X GET\
     -H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/workflows/{workflow_name}/inputFiles"
    +"https://wrench-project.org/v1/simulation/{simid}/workflows/{workflow_name}/tasks/{tid}/outputFiles"
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    @@ -13849,18 +13056,19 @@ 

    Usage and SDK Samples

    WRENCHApi apiInstance = new WRENCHApi(); String simid = simid_example; // String | ID of the simulation String workflowName = workflowName_example; // String | + String tid = tid_example; // String | ID of the task try { - FileList result = apiInstance.getInputFiles(simid, workflowName); + FileList result = apiInstance.getTaskOutputFiles(simid, workflowName, tid); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#getInputFiles"); + System.err.println("Exception when calling WRENCHApi#getTaskOutputFiles"); e.printStackTrace(); } } }
    -
    +
    import io.swagger.client.api.WRENCHApi;
     
     public class WRENCHApiExample {
    @@ -13869,29 +13077,32 @@ 

    Usage and SDK Samples

    WRENCHApi apiInstance = new WRENCHApi(); String simid = simid_example; // String | ID of the simulation String workflowName = workflowName_example; // String | + String tid = tid_example; // String | ID of the task try { - FileList result = apiInstance.getInputFiles(simid, workflowName); + FileList result = apiInstance.getTaskOutputFiles(simid, workflowName, tid); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#getInputFiles"); + System.err.println("Exception when calling WRENCHApi#getTaskOutputFiles"); e.printStackTrace(); } } }
    -
    +
    String *simid = simid_example; // ID of the simulation
     String *workflowName = workflowName_example; // 
    +String *tid = tid_example; // ID of the task
     
     WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
     
    -// Return the list of input files of the workflow.
    -[apiInstance getInputFilesWith:simid
    +// Retrieve task's output files
    +[apiInstance getTaskOutputFilesWith:simid
         workflowName:workflowName
    +    tid:tid
                   completionHandler: ^(FileList output, NSError* error) {
                                 if (output) {
                                     NSLog(@"%@", output);
    @@ -13903,12 +13114,13 @@ 

    Usage and SDK Samples

    -
    +
    var WrenchRestApi = require('wrench_rest_api');
     
     var api = new WrenchRestApi.WRENCHApi()
     var simid = simid_example; // {{String}} ID of the simulation
     var workflowName = workflowName_example; // {{String}} 
    +var tid = tid_example; // {{String}} ID of the task
     
     var callback = function(error, data, response) {
       if (error) {
    @@ -13917,14 +13129,14 @@ 

    Usage and SDK Samples

    console.log('API called successfully. Returned data: ' + data); } }; -api.getInputFiles(simid, workflowName, callback); +api.getTaskOutputFiles(simid, workflowName, tid, callback);
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -13933,7 +13145,7 @@ 

    Usage and SDK Samples

    namespace Example { - public class getInputFilesExample + public class getTaskOutputFilesExample { public void main() { @@ -13941,16 +13153,17 @@

    Usage and SDK Samples

    var apiInstance = new WRENCHApi(); var simid = simid_example; // String | ID of the simulation var workflowName = workflowName_example; // String | + var tid = tid_example; // String | ID of the task try { - // Return the list of input files of the workflow. - FileList result = apiInstance.getInputFiles(simid, workflowName); + // Retrieve task's output files + FileList result = apiInstance.getTaskOutputFiles(simid, workflowName, tid); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.getInputFiles: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.getTaskOutputFiles: " + e.Message ); } } } @@ -13958,24 +13171,25 @@

    Usage and SDK Samples

    -
    +
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
     
     $api_instance = new Swagger\Client\ApiWRENCHApi();
     $simid = simid_example; // String | ID of the simulation
     $workflowName = workflowName_example; // String | 
    +$tid = tid_example; // String | ID of the task
     
     try {
    -    $result = $api_instance->getInputFiles($simid, $workflowName);
    +    $result = $api_instance->getTaskOutputFiles($simid, $workflowName, $tid);
         print_r($result);
     } catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->getInputFiles: ', $e->getMessage(), PHP_EOL;
    +    echo 'Exception when calling WRENCHApi->getTaskOutputFiles: ', $e->getMessage(), PHP_EOL;
     }
     ?>
    -
    +
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
     use WWW::SwaggerClient::WRENCHApi;
    @@ -13983,17 +13197,18 @@ 

    Usage and SDK Samples

    my $api_instance = WWW::SwaggerClient::WRENCHApi->new(); my $simid = simid_example; # String | ID of the simulation my $workflowName = workflowName_example; # String | +my $tid = tid_example; # String | ID of the task eval { - my $result = $api_instance->getInputFiles(simid => $simid, workflowName => $workflowName); + my $result = $api_instance->getTaskOutputFiles(simid => $simid, workflowName => $workflowName, tid => $tid); print Dumper($result); }; if ($@) { - warn "Exception when calling WRENCHApi->getInputFiles: $@\n"; + warn "Exception when calling WRENCHApi->getTaskOutputFiles: $@\n"; }
    -
    +
    from __future__ import print_statement
     import time
     import swagger_client
    @@ -14004,13 +13219,14 @@ 

    Usage and SDK Samples

    api_instance = swagger_client.WRENCHApi() simid = simid_example # String | ID of the simulation workflowName = workflowName_example # String | +tid = tid_example # String | ID of the task try: - # Return the list of input files of the workflow. - api_response = api_instance.get_input_files(simid, workflowName) + # Retrieve task's output files + api_response = api_instance.get_task_output_files(simid, workflowName, tid) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->getInputFiles: %s\n" % e)
    + print("Exception when calling WRENCHApi->getTaskOutputFiles: %s\n" % e)
    @@ -14026,7 +13242,7 @@

    Parameters

    -
    +
    @@ -14048,13 +13264,35 @@

    Parameters

    -
    +
    +
    +
    + + String + + +
    +
    + Required +
    +
    +
    + + + tid* + + + +
    String +
    + ID of the task +
    Required @@ -14074,14 +13312,14 @@

    Status: 200 - OK

    -
    -
    +
    +
    - +
    @@ -14137,11 +13375,11 @@

    Status: 405 - Invalid input


    -
    -
    +
    +
    -

    getReadyTasks

    -

    Return the list of ready tasks in the workflow.

    +

    getTaskStartDate

    +

    Get a task's start date.

    @@ -14149,31 +13387,31 @@

    getReadyTasks


    -
    /simulation/{simid}/workflows/{workflow_name}/readyTasks
    +
    /simulation/{simid}/workflows/{workflow_name}/tasks/{task_name}/taskGetStartDate

    Usage and SDK Samples

    -
    +
    curl -X GET\
     -H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/workflows/{workflow_name}/readyTasks"
    +"https://wrench-project.org/v1/simulation/{simid}/workflows/{workflow_name}/tasks/{task_name}/taskGetStartDate"
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    @@ -14189,18 +13427,19 @@ 

    Usage and SDK Samples

    WRENCHApi apiInstance = new WRENCHApi(); String simid = simid_example; // String | ID of the simulation String workflowName = workflowName_example; // String | + String taskName = taskName_example; // String | Name of the task try { - TaskList result = apiInstance.getReadyTasks(simid, workflowName); + TimeResponse result = apiInstance.getTaskStartDate(simid, workflowName, taskName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#getReadyTasks"); + System.err.println("Exception when calling WRENCHApi#getTaskStartDate"); e.printStackTrace(); } } }
    -
    +
    import io.swagger.client.api.WRENCHApi;
     
     public class WRENCHApiExample {
    @@ -14209,30 +13448,33 @@ 

    Usage and SDK Samples

    WRENCHApi apiInstance = new WRENCHApi(); String simid = simid_example; // String | ID of the simulation String workflowName = workflowName_example; // String | + String taskName = taskName_example; // String | Name of the task try { - TaskList result = apiInstance.getReadyTasks(simid, workflowName); + TimeResponse result = apiInstance.getTaskStartDate(simid, workflowName, taskName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#getReadyTasks"); + System.err.println("Exception when calling WRENCHApi#getTaskStartDate"); e.printStackTrace(); } } }
    -
    +
    String *simid = simid_example; // ID of the simulation
     String *workflowName = workflowName_example; // 
    +String *taskName = taskName_example; // Name of the task
     
     WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
     
    -// Return the list of ready tasks in the workflow.
    -[apiInstance getReadyTasksWith:simid
    +// Get a task's start date.
    +[apiInstance getTaskStartDateWith:simid
         workflowName:workflowName
    -              completionHandler: ^(TaskList output, NSError* error) {
    +    taskName:taskName
    +              completionHandler: ^(TimeResponse output, NSError* error) {
                                 if (output) {
                                     NSLog(@"%@", output);
                                 }
    @@ -14243,12 +13485,13 @@ 

    Usage and SDK Samples

    -
    +
    var WrenchRestApi = require('wrench_rest_api');
     
     var api = new WrenchRestApi.WRENCHApi()
     var simid = simid_example; // {{String}} ID of the simulation
     var workflowName = workflowName_example; // {{String}} 
    +var taskName = taskName_example; // {{String}} Name of the task
     
     var callback = function(error, data, response) {
       if (error) {
    @@ -14257,14 +13500,14 @@ 

    Usage and SDK Samples

    console.log('API called successfully. Returned data: ' + data); } }; -api.getReadyTasks(simid, workflowName, callback); +api.getTaskStartDate(simid, workflowName, taskName, callback);
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -14273,7 +13516,7 @@ 

    Usage and SDK Samples

    namespace Example { - public class getReadyTasksExample + public class getTaskStartDateExample { public void main() { @@ -14281,16 +13524,17 @@

    Usage and SDK Samples

    var apiInstance = new WRENCHApi(); var simid = simid_example; // String | ID of the simulation var workflowName = workflowName_example; // String | + var taskName = taskName_example; // String | Name of the task try { - // Return the list of ready tasks in the workflow. - TaskList result = apiInstance.getReadyTasks(simid, workflowName); + // Get a task's start date. + TimeResponse result = apiInstance.getTaskStartDate(simid, workflowName, taskName); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.getReadyTasks: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.getTaskStartDate: " + e.Message ); } } } @@ -14298,24 +13542,25 @@

    Usage and SDK Samples

    -
    +
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
     
     $api_instance = new Swagger\Client\ApiWRENCHApi();
     $simid = simid_example; // String | ID of the simulation
     $workflowName = workflowName_example; // String | 
    +$taskName = taskName_example; // String | Name of the task
     
     try {
    -    $result = $api_instance->getReadyTasks($simid, $workflowName);
    +    $result = $api_instance->getTaskStartDate($simid, $workflowName, $taskName);
         print_r($result);
     } catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->getReadyTasks: ', $e->getMessage(), PHP_EOL;
    +    echo 'Exception when calling WRENCHApi->getTaskStartDate: ', $e->getMessage(), PHP_EOL;
     }
     ?>
    -
    +
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
     use WWW::SwaggerClient::WRENCHApi;
    @@ -14323,17 +13568,18 @@ 

    Usage and SDK Samples

    my $api_instance = WWW::SwaggerClient::WRENCHApi->new(); my $simid = simid_example; # String | ID of the simulation my $workflowName = workflowName_example; # String | +my $taskName = taskName_example; # String | Name of the task eval { - my $result = $api_instance->getReadyTasks(simid => $simid, workflowName => $workflowName); + my $result = $api_instance->getTaskStartDate(simid => $simid, workflowName => $workflowName, taskName => $taskName); print Dumper($result); }; if ($@) { - warn "Exception when calling WRENCHApi->getReadyTasks: $@\n"; + warn "Exception when calling WRENCHApi->getTaskStartDate: $@\n"; }
    -
    +
    from __future__ import print_statement
     import time
     import swagger_client
    @@ -14344,13 +13590,14 @@ 

    Usage and SDK Samples

    api_instance = swagger_client.WRENCHApi() simid = simid_example # String | ID of the simulation workflowName = workflowName_example # String | +taskName = taskName_example # String | Name of the task try: - # Return the list of ready tasks in the workflow. - api_response = api_instance.get_ready_tasks(simid, workflowName) + # Get a task's start date. + api_response = api_instance.get_task_start_date(simid, workflowName, taskName) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->getReadyTasks: %s\n" % e)
    + print("Exception when calling WRENCHApi->getTaskStartDate: %s\n" % e)
    @@ -14366,7 +13613,7 @@

    Parameters

    -
    +
    @@ -14388,13 +13635,35 @@

    Parameters

    -
    +
    +
    +
    + + String + + +
    +
    + Required +
    +
    +
    + + + task_name* + + + +
    String +
    + Name of the task +
    Required @@ -14414,14 +13683,14 @@

    Status: 200 - OK

    -
    -
    +
    +
    - +
    -

    Status: 404 - Task not found

    +

    Status: 404 - Job not found

    @@ -14477,11 +13746,11 @@

    Status: 405 - Invalid input


    -
    -
    +
    +
    -

    getSimulationEvents

    -

    Retrieve all simulation events since last time we checked.

    +

    getVMComputeService

    +

    Get the compute service running on a VM, if any.

    @@ -14489,31 +13758,31 @@

    getSimulationEvents


    -
    /simulation/{simid}/simulationEvents
    +
    /simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/getVMComputeService

    Usage and SDK Samples

    -
    +
    curl -X GET\
     -H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/simulationEvents"
    +"https://wrench-project.org/v1/simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/getVMComputeService"
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    @@ -14527,48 +13796,56 @@ 

    Usage and SDK Samples

    public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); - String simid = simid_example; // String | ID of simulation + String simid = simid_example; // String | ID of the simulation + String serviceName = serviceName_example; // String | The cloud compute service name + String vmName = vmName_example; // String | The VM name try { - EventList result = apiInstance.getSimulationEvents(simid); + ServiceResponse result = apiInstance.getVMComputeService(simid, serviceName, vmName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#getSimulationEvents"); + System.err.println("Exception when calling WRENCHApi#getVMComputeService"); e.printStackTrace(); } } }
    -
    +
    import io.swagger.client.api.WRENCHApi;
     
     public class WRENCHApiExample {
     
         public static void main(String[] args) {
             WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of simulation
    +        String simid = simid_example; // String | ID of the simulation
    +        String serviceName = serviceName_example; // String | The cloud compute service name
    +        String vmName = vmName_example; // String | The VM name
             try {
    -            EventList result = apiInstance.getSimulationEvents(simid);
    +            ServiceResponse result = apiInstance.getVMComputeService(simid, serviceName, vmName);
                 System.out.println(result);
             } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getSimulationEvents");
    +            System.err.println("Exception when calling WRENCHApi#getVMComputeService");
                 e.printStackTrace();
             }
         }
     }
    -
    -
    String *simid = simid_example; // ID of simulation
    +                            
    +
    String *simid = simid_example; // ID of the simulation
    +String *serviceName = serviceName_example; // The cloud compute service name
    +String *vmName = vmName_example; // The VM name
     
     WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
     
    -// Retrieve all simulation events since last time we checked.
    -[apiInstance getSimulationEventsWith:simid
    -              completionHandler: ^(EventList output, NSError* error) {
    +// Get the compute service running on a VM, if any.
    +[apiInstance getVMComputeServiceWith:simid
    +    serviceName:serviceName
    +    vmName:vmName
    +              completionHandler: ^(ServiceResponse output, NSError* error) {
                                 if (output) {
                                     NSLog(@"%@", output);
                                 }
    @@ -14579,11 +13856,13 @@ 

    Usage and SDK Samples

    -
    +
    var WrenchRestApi = require('wrench_rest_api');
     
     var api = new WrenchRestApi.WRENCHApi()
    -var simid = simid_example; // {{String}} ID of simulation
    +var simid = simid_example; // {{String}} ID of the simulation
    +var serviceName = serviceName_example; // {{String}} The cloud compute service name
    +var vmName = vmName_example; // {{String}} The VM name
     
     var callback = function(error, data, response) {
       if (error) {
    @@ -14592,14 +13871,14 @@ 

    Usage and SDK Samples

    console.log('API called successfully. Returned data: ' + data); } }; -api.getSimulationEvents(simid, callback); +api.getVMComputeService(simid, serviceName, vmName, callback);
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -14608,23 +13887,25 @@ 

    Usage and SDK Samples

    namespace Example { - public class getSimulationEventsExample + public class getVMComputeServiceExample { public void main() { var apiInstance = new WRENCHApi(); - var simid = simid_example; // String | ID of simulation + var simid = simid_example; // String | ID of the simulation + var serviceName = serviceName_example; // String | The cloud compute service name + var vmName = vmName_example; // String | The VM name try { - // Retrieve all simulation events since last time we checked. - EventList result = apiInstance.getSimulationEvents(simid); + // Get the compute service running on a VM, if any. + ServiceResponse result = apiInstance.getVMComputeService(simid, serviceName, vmName); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.getSimulationEvents: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.getVMComputeService: " + e.Message ); } } } @@ -14632,40 +13913,44 @@

    Usage and SDK Samples

    -
    +
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
     
     $api_instance = new Swagger\Client\ApiWRENCHApi();
    -$simid = simid_example; // String | ID of simulation
    +$simid = simid_example; // String | ID of the simulation
    +$serviceName = serviceName_example; // String | The cloud compute service name
    +$vmName = vmName_example; // String | The VM name
     
     try {
    -    $result = $api_instance->getSimulationEvents($simid);
    +    $result = $api_instance->getVMComputeService($simid, $serviceName, $vmName);
         print_r($result);
     } catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->getSimulationEvents: ', $e->getMessage(), PHP_EOL;
    +    echo 'Exception when calling WRENCHApi->getVMComputeService: ', $e->getMessage(), PHP_EOL;
     }
     ?>
    -
    +
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
     use WWW::SwaggerClient::WRENCHApi;
     
     my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $simid = simid_example; # String | ID of simulation
    +my $simid = simid_example; # String | ID of the simulation
    +my $serviceName = serviceName_example; # String | The cloud compute service name
    +my $vmName = vmName_example; # String | The VM name
     
     eval { 
    -    my $result = $api_instance->getSimulationEvents(simid => $simid);
    +    my $result = $api_instance->getVMComputeService(simid => $simid, serviceName => $serviceName, vmName => $vmName);
         print Dumper($result);
     };
     if ($@) {
    -    warn "Exception when calling WRENCHApi->getSimulationEvents: $@\n";
    +    warn "Exception when calling WRENCHApi->getVMComputeService: $@\n";
     }
    -
    +
    from __future__ import print_statement
     import time
     import swagger_client
    @@ -14674,14 +13959,16 @@ 

    Usage and SDK Samples

    # create an instance of the API class api_instance = swagger_client.WRENCHApi() -simid = simid_example # String | ID of simulation +simid = simid_example # String | ID of the simulation +serviceName = serviceName_example # String | The cloud compute service name +vmName = vmName_example # String | The VM name try: - # Retrieve all simulation events since last time we checked. - api_response = api_instance.get_simulation_events(simid) + # Get the compute service running on a VM, if any. + api_response = api_instance.get_vm_compute_service(simid, serviceName, vmName) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->getSimulationEvents: %s\n" % e)
    + print("Exception when calling WRENCHApi->getVMComputeService: %s\n" % e)
    @@ -14697,7 +13984,7 @@

    Parameters

    -
    +
    @@ -14705,7 +13992,7 @@

    Parameters

    - ID of simulation + ID of the simulation
    @@ -14715,33 +14002,77 @@

    Parameters

    - - - - - - -

    Responses

    -

    Status: 200 - OK

    - - - -
    -
    -
    -
    - +
    @@ -14781,11 +14112,11 @@

    Status: 405 - Invalid input


    -
    -
    +
    +
    -

    getSimulationTime

    -

    Retrieve the current simulated time.

    +

    getVMPhysicalHostname

    +

    Get the name of the physical host on which a VM is running.

    @@ -14793,31 +14124,31 @@

    getSimulationTime


    -
    /simulation/{simid}/getTime
    +
    /simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/getVMPhysicalHostname

    Usage and SDK Samples

    -
    +
    curl -X GET\
     -H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/getTime"
    +"https://wrench-project.org/v1/simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/getVMPhysicalHostname"
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    @@ -14832,18 +14163,20 @@ 

    Usage and SDK Samples

    WRENCHApi apiInstance = new WRENCHApi(); String simid = simid_example; // String | ID of the simulation + String serviceName = serviceName_example; // String | The cloud compute service name + String vmName = vmName_example; // String | The VM name try { - TimeResponse result = apiInstance.getSimulationTime(simid); + ServiceResponse result = apiInstance.getVMPhysicalHostname(simid, serviceName, vmName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#getSimulationTime"); + System.err.println("Exception when calling WRENCHApi#getVMPhysicalHostname"); e.printStackTrace(); } } }
    -
    +
    import io.swagger.client.api.WRENCHApi;
     
     public class WRENCHApiExample {
    @@ -14851,28 +14184,34 @@ 

    Usage and SDK Samples

    public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); String simid = simid_example; // String | ID of the simulation + String serviceName = serviceName_example; // String | The cloud compute service name + String vmName = vmName_example; // String | The VM name try { - TimeResponse result = apiInstance.getSimulationTime(simid); + ServiceResponse result = apiInstance.getVMPhysicalHostname(simid, serviceName, vmName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#getSimulationTime"); + System.err.println("Exception when calling WRENCHApi#getVMPhysicalHostname"); e.printStackTrace(); } } }
    -
    +
    String *simid = simid_example; // ID of the simulation
    +String *serviceName = serviceName_example; // The cloud compute service name
    +String *vmName = vmName_example; // The VM name
     
     WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
     
    -// Retrieve the current simulated time.
    -[apiInstance getSimulationTimeWith:simid
    -              completionHandler: ^(TimeResponse output, NSError* error) {
    +// Get the name of the physical host on which a VM is running.
    +[apiInstance getVMPhysicalHostnameWith:simid
    +    serviceName:serviceName
    +    vmName:vmName
    +              completionHandler: ^(ServiceResponse output, NSError* error) {
                                 if (output) {
                                     NSLog(@"%@", output);
                                 }
    @@ -14883,11 +14222,13 @@ 

    Usage and SDK Samples

    -
    +
    var WrenchRestApi = require('wrench_rest_api');
     
     var api = new WrenchRestApi.WRENCHApi()
     var simid = simid_example; // {{String}} ID of the simulation
    +var serviceName = serviceName_example; // {{String}} The cloud compute service name
    +var vmName = vmName_example; // {{String}} The VM name
     
     var callback = function(error, data, response) {
       if (error) {
    @@ -14896,14 +14237,14 @@ 

    Usage and SDK Samples

    console.log('API called successfully. Returned data: ' + data); } }; -api.getSimulationTime(simid, callback); +api.getVMPhysicalHostname(simid, serviceName, vmName, callback);
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -14912,23 +14253,25 @@ 

    Usage and SDK Samples

    namespace Example { - public class getSimulationTimeExample + public class getVMPhysicalHostnameExample { public void main() { var apiInstance = new WRENCHApi(); var simid = simid_example; // String | ID of the simulation + var serviceName = serviceName_example; // String | The cloud compute service name + var vmName = vmName_example; // String | The VM name try { - // Retrieve the current simulated time. - TimeResponse result = apiInstance.getSimulationTime(simid); + // Get the name of the physical host on which a VM is running. + ServiceResponse result = apiInstance.getVMPhysicalHostname(simid, serviceName, vmName); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.getSimulationTime: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.getVMPhysicalHostname: " + e.Message ); } } } @@ -14936,40 +14279,44 @@

    Usage and SDK Samples

    -
    +
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
     
     $api_instance = new Swagger\Client\ApiWRENCHApi();
     $simid = simid_example; // String | ID of the simulation
    +$serviceName = serviceName_example; // String | The cloud compute service name
    +$vmName = vmName_example; // String | The VM name
     
     try {
    -    $result = $api_instance->getSimulationTime($simid);
    +    $result = $api_instance->getVMPhysicalHostname($simid, $serviceName, $vmName);
         print_r($result);
     } catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->getSimulationTime: ', $e->getMessage(), PHP_EOL;
    +    echo 'Exception when calling WRENCHApi->getVMPhysicalHostname: ', $e->getMessage(), PHP_EOL;
     }
     ?>
    -
    +
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
     use WWW::SwaggerClient::WRENCHApi;
     
     my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
     my $simid = simid_example; # String | ID of the simulation
    +my $serviceName = serviceName_example; # String | The cloud compute service name
    +my $vmName = vmName_example; # String | The VM name
     
     eval { 
    -    my $result = $api_instance->getSimulationTime(simid => $simid);
    +    my $result = $api_instance->getVMPhysicalHostname(simid => $simid, serviceName => $serviceName, vmName => $vmName);
         print Dumper($result);
     };
     if ($@) {
    -    warn "Exception when calling WRENCHApi->getSimulationTime: $@\n";
    +    warn "Exception when calling WRENCHApi->getVMPhysicalHostname: $@\n";
     }
    -
    +
    from __future__ import print_statement
     import time
     import swagger_client
    @@ -14979,13 +14326,15 @@ 

    Usage and SDK Samples

    # create an instance of the API class api_instance = swagger_client.WRENCHApi() simid = simid_example # String | ID of the simulation +serviceName = serviceName_example # String | The cloud compute service name +vmName = vmName_example # String | The VM name try: - # Retrieve the current simulated time. - api_response = api_instance.get_simulation_time(simid) + # Get the name of the physical host on which a VM is running. + api_response = api_instance.get_vm_physical_hostname(simid, serviceName, vmName) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->getSimulationTime: %s\n" % e)
    + print("Exception when calling WRENCHApi->getVMPhysicalHostname: %s\n" % e)
    @@ -15001,7 +14350,7 @@

    Parameters

    -
    +
    @@ -15019,6 +14368,50 @@

    Parameters

    + service_name* + + + +
    +
    +
    + + String + + +
    + The cloud compute service name +
    +
    +
    + Required +
    +
    +
    + + + vm_name* + + + +
    +
    +
    + + String + + +
    + The VM name +
    +
    +
    + Required +
    +
    +
    + + @@ -15030,14 +14423,14 @@

    Status: 200 - OK

    -
    -
    +
    +
    - +
    @@ -15085,43 +14478,43 @@

    Status: 405 - Invalid input


    -
    -
    +
    +
    -

    getStandardJobTasks

    -

    Retrieve job's tasks

    -
    +

    isVMDown

    +

    Method to check whether a VM is currently down.

    +


    -
    /simulation/{simid}/jobs/{job_name}/tasks
    +
    /simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/isVMDown

    Usage and SDK Samples

    -
    +
    curl -X GET\
     -H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/jobs/{job_name}/tasks"
    +"https://wrench-project.org/v1/simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/isVMDown"
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    @@ -15136,19 +14529,20 @@ 

    Usage and SDK Samples

    WRENCHApi apiInstance = new WRENCHApi(); String simid = simid_example; // String | ID of the simulation - String jobName = jobName_example; // String | ID of the job + String serviceName = serviceName_example; // String | The cloud compute service name + String vmName = vmName_example; // String | The VM name try { - TaskList result = apiInstance.getStandardJobTasks(simid, jobName); + ServiceResponse result = apiInstance.isVMDown(simid, serviceName, vmName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#getStandardJobTasks"); + System.err.println("Exception when calling WRENCHApi#isVMDown"); e.printStackTrace(); } } }
    -
    +
    import io.swagger.client.api.WRENCHApi;
     
     public class WRENCHApiExample {
    @@ -15156,31 +14550,34 @@ 

    Usage and SDK Samples

    public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); String simid = simid_example; // String | ID of the simulation - String jobName = jobName_example; // String | ID of the job + String serviceName = serviceName_example; // String | The cloud compute service name + String vmName = vmName_example; // String | The VM name try { - TaskList result = apiInstance.getStandardJobTasks(simid, jobName); + ServiceResponse result = apiInstance.isVMDown(simid, serviceName, vmName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#getStandardJobTasks"); + System.err.println("Exception when calling WRENCHApi#isVMDown"); e.printStackTrace(); } } }
    -
    +
    String *simid = simid_example; // ID of the simulation
    -String *jobName = jobName_example; // ID of the job
    +String *serviceName = serviceName_example; // The cloud compute service name
    +String *vmName = vmName_example; // The VM name
     
     WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
     
    -// Retrieve job's tasks
    -[apiInstance getStandardJobTasksWith:simid
    -    jobName:jobName
    -              completionHandler: ^(TaskList output, NSError* error) {
    +// Method to check whether a VM is currently down.
    +[apiInstance isVMDownWith:simid
    +    serviceName:serviceName
    +    vmName:vmName
    +              completionHandler: ^(ServiceResponse output, NSError* error) {
                                 if (output) {
                                     NSLog(@"%@", output);
                                 }
    @@ -15191,12 +14588,13 @@ 

    Usage and SDK Samples

    -
    +
    var WrenchRestApi = require('wrench_rest_api');
     
     var api = new WrenchRestApi.WRENCHApi()
     var simid = simid_example; // {{String}} ID of the simulation
    -var jobName = jobName_example; // {{String}} ID of the job
    +var serviceName = serviceName_example; // {{String}} The cloud compute service name
    +var vmName = vmName_example; // {{String}} The VM name
     
     var callback = function(error, data, response) {
       if (error) {
    @@ -15205,14 +14603,14 @@ 

    Usage and SDK Samples

    console.log('API called successfully. Returned data: ' + data); } }; -api.getStandardJobTasks(simid, jobName, callback); +api.isVMDown(simid, serviceName, vmName, callback);
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -15221,24 +14619,25 @@ 

    Usage and SDK Samples

    namespace Example { - public class getStandardJobTasksExample + public class isVMDownExample { public void main() { var apiInstance = new WRENCHApi(); var simid = simid_example; // String | ID of the simulation - var jobName = jobName_example; // String | ID of the job + var serviceName = serviceName_example; // String | The cloud compute service name + var vmName = vmName_example; // String | The VM name try { - // Retrieve job's tasks - TaskList result = apiInstance.getStandardJobTasks(simid, jobName); + // Method to check whether a VM is currently down. + ServiceResponse result = apiInstance.isVMDown(simid, serviceName, vmName); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.getStandardJobTasks: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.isVMDown: " + e.Message ); } } } @@ -15246,42 +14645,44 @@

    Usage and SDK Samples

    -
    +
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
     
     $api_instance = new Swagger\Client\ApiWRENCHApi();
     $simid = simid_example; // String | ID of the simulation
    -$jobName = jobName_example; // String | ID of the job
    +$serviceName = serviceName_example; // String | The cloud compute service name
    +$vmName = vmName_example; // String | The VM name
     
     try {
    -    $result = $api_instance->getStandardJobTasks($simid, $jobName);
    +    $result = $api_instance->isVMDown($simid, $serviceName, $vmName);
         print_r($result);
     } catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->getStandardJobTasks: ', $e->getMessage(), PHP_EOL;
    +    echo 'Exception when calling WRENCHApi->isVMDown: ', $e->getMessage(), PHP_EOL;
     }
     ?>
    -
    +
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
     use WWW::SwaggerClient::WRENCHApi;
     
     my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
     my $simid = simid_example; # String | ID of the simulation
    -my $jobName = jobName_example; # String | ID of the job
    +my $serviceName = serviceName_example; # String | The cloud compute service name
    +my $vmName = vmName_example; # String | The VM name
     
     eval { 
    -    my $result = $api_instance->getStandardJobTasks(simid => $simid, jobName => $jobName);
    +    my $result = $api_instance->isVMDown(simid => $simid, serviceName => $serviceName, vmName => $vmName);
         print Dumper($result);
     };
     if ($@) {
    -    warn "Exception when calling WRENCHApi->getStandardJobTasks: $@\n";
    +    warn "Exception when calling WRENCHApi->isVMDown: $@\n";
     }
    -
    +
    from __future__ import print_statement
     import time
     import swagger_client
    @@ -15291,14 +14692,15 @@ 

    Usage and SDK Samples

    # create an instance of the API class api_instance = swagger_client.WRENCHApi() simid = simid_example # String | ID of the simulation -jobName = jobName_example # String | ID of the job +serviceName = serviceName_example # String | The cloud compute service name +vmName = vmName_example # String | The VM name try: - # Retrieve job's tasks - api_response = api_instance.get_standard_job_tasks(simid, jobName) + # Method to check whether a VM is currently down. + api_response = api_instance.is_vm_down(simid, serviceName, vmName) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->getStandardJobTasks: %s\n" % e)
    + print("Exception when calling WRENCHApi->isVMDown: %s\n" % e)
    @@ -15314,7 +14716,7 @@

    Parameters

    -
    +
    @@ -15332,11 +14734,11 @@

    Parameters

    - job_name* + service_name* -
    +
    @@ -15344,7 +14746,29 @@

    Parameters

    - ID of the job + The cloud compute service name +
    +
    +
    + Required +
    +
    +
    + + + vm_name* + + + +
    +
    +
    + + String + + +
    + The VM name
    @@ -15365,14 +14789,14 @@

    Status: 200 - OK

    -
    -
    +
    +
    - +
    -

    Status: 404 - Job not found

    - - - -
    -
    -

    Status: 405 - Invalid input


    -
    -
    +
    +
    -

    getTaskEndDate

    -

    Get a task's end date.

    +

    isVMRunning

    +

    Method to check whether a VM is currently running.

    @@ -15440,31 +14856,31 @@

    getTaskEndDate


    -
    /simulation/{simid}/workflows/{workflow_name}/tasks/{task_name}/taskGetEndDate
    +
    /simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/isVMRunning

    Usage and SDK Samples

    -
    +
    curl -X GET\
     -H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/workflows/{workflow_name}/tasks/{task_name}/taskGetEndDate"
    +"https://wrench-project.org/v1/simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/isVMRunning"
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    @@ -15479,20 +14895,20 @@ 

    Usage and SDK Samples

    WRENCHApi apiInstance = new WRENCHApi(); String simid = simid_example; // String | ID of the simulation - String workflowName = workflowName_example; // String | - String taskName = taskName_example; // String | Name of the task + String serviceName = serviceName_example; // String | Name of the cloud compute service + String vmName = vmName_example; // String | Name of the vm try { - TimeResponse result = apiInstance.getTaskEndDate(simid, workflowName, taskName); + ServiceResponse result = apiInstance.isVMRunning(simid, serviceName, vmName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#getTaskEndDate"); + System.err.println("Exception when calling WRENCHApi#isVMRunning"); e.printStackTrace(); } } }
    -
    +
    import io.swagger.client.api.WRENCHApi;
     
     public class WRENCHApiExample {
    @@ -15500,34 +14916,34 @@ 

    Usage and SDK Samples

    public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); String simid = simid_example; // String | ID of the simulation - String workflowName = workflowName_example; // String | - String taskName = taskName_example; // String | Name of the task + String serviceName = serviceName_example; // String | Name of the cloud compute service + String vmName = vmName_example; // String | Name of the vm try { - TimeResponse result = apiInstance.getTaskEndDate(simid, workflowName, taskName); + ServiceResponse result = apiInstance.isVMRunning(simid, serviceName, vmName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#getTaskEndDate"); + System.err.println("Exception when calling WRENCHApi#isVMRunning"); e.printStackTrace(); } } }
    -
    +
    String *simid = simid_example; // ID of the simulation
    -String *workflowName = workflowName_example; // 
    -String *taskName = taskName_example; // Name of the task
    +String *serviceName = serviceName_example; // Name of the cloud compute service
    +String *vmName = vmName_example; // Name of the vm
     
     WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
     
    -// Get a task's end date.
    -[apiInstance getTaskEndDateWith:simid
    -    workflowName:workflowName
    -    taskName:taskName
    -              completionHandler: ^(TimeResponse output, NSError* error) {
    +// Method to check whether a VM is currently running.
    +[apiInstance isVMRunningWith:simid
    +    serviceName:serviceName
    +    vmName:vmName
    +              completionHandler: ^(ServiceResponse output, NSError* error) {
                                 if (output) {
                                     NSLog(@"%@", output);
                                 }
    @@ -15538,13 +14954,13 @@ 

    Usage and SDK Samples

    -
    +
    var WrenchRestApi = require('wrench_rest_api');
     
     var api = new WrenchRestApi.WRENCHApi()
     var simid = simid_example; // {{String}} ID of the simulation
    -var workflowName = workflowName_example; // {{String}} 
    -var taskName = taskName_example; // {{String}} Name of the task
    +var serviceName = serviceName_example; // {{String}} Name of the cloud compute service
    +var vmName = vmName_example; // {{String}} Name of the vm
     
     var callback = function(error, data, response) {
       if (error) {
    @@ -15553,14 +14969,14 @@ 

    Usage and SDK Samples

    console.log('API called successfully. Returned data: ' + data); } }; -api.getTaskEndDate(simid, workflowName, taskName, callback); +api.isVMRunning(simid, serviceName, vmName, callback);
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -15569,25 +14985,25 @@ 

    Usage and SDK Samples

    namespace Example { - public class getTaskEndDateExample + public class isVMRunningExample { public void main() { var apiInstance = new WRENCHApi(); var simid = simid_example; // String | ID of the simulation - var workflowName = workflowName_example; // String | - var taskName = taskName_example; // String | Name of the task + var serviceName = serviceName_example; // String | Name of the cloud compute service + var vmName = vmName_example; // String | Name of the vm try { - // Get a task's end date. - TimeResponse result = apiInstance.getTaskEndDate(simid, workflowName, taskName); + // Method to check whether a VM is currently running. + ServiceResponse result = apiInstance.isVMRunning(simid, serviceName, vmName); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.getTaskEndDate: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.isVMRunning: " + e.Message ); } } } @@ -15595,44 +15011,44 @@

    Usage and SDK Samples

    -
    +
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
     
     $api_instance = new Swagger\Client\ApiWRENCHApi();
     $simid = simid_example; // String | ID of the simulation
    -$workflowName = workflowName_example; // String | 
    -$taskName = taskName_example; // String | Name of the task
    +$serviceName = serviceName_example; // String | Name of the cloud compute service
    +$vmName = vmName_example; // String | Name of the vm
     
     try {
    -    $result = $api_instance->getTaskEndDate($simid, $workflowName, $taskName);
    +    $result = $api_instance->isVMRunning($simid, $serviceName, $vmName);
         print_r($result);
     } catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->getTaskEndDate: ', $e->getMessage(), PHP_EOL;
    +    echo 'Exception when calling WRENCHApi->isVMRunning: ', $e->getMessage(), PHP_EOL;
     }
     ?>
    -
    +
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
     use WWW::SwaggerClient::WRENCHApi;
     
     my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
     my $simid = simid_example; # String | ID of the simulation
    -my $workflowName = workflowName_example; # String | 
    -my $taskName = taskName_example; # String | Name of the task
    +my $serviceName = serviceName_example; # String | Name of the cloud compute service
    +my $vmName = vmName_example; # String | Name of the vm
     
     eval { 
    -    my $result = $api_instance->getTaskEndDate(simid => $simid, workflowName => $workflowName, taskName => $taskName);
    +    my $result = $api_instance->isVMRunning(simid => $simid, serviceName => $serviceName, vmName => $vmName);
         print Dumper($result);
     };
     if ($@) {
    -    warn "Exception when calling WRENCHApi->getTaskEndDate: $@\n";
    +    warn "Exception when calling WRENCHApi->isVMRunning: $@\n";
     }
    -
    +
    from __future__ import print_statement
     import time
     import swagger_client
    @@ -15642,15 +15058,15 @@ 

    Usage and SDK Samples

    # create an instance of the API class api_instance = swagger_client.WRENCHApi() simid = simid_example # String | ID of the simulation -workflowName = workflowName_example # String | -taskName = taskName_example # String | Name of the task +serviceName = serviceName_example # String | Name of the cloud compute service +vmName = vmName_example # String | Name of the vm try: - # Get a task's end date. - api_response = api_instance.get_task_end_date(simid, workflowName, taskName) + # Method to check whether a VM is currently running. + api_response = api_instance.is_vm_running(simid, serviceName, vmName) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->getTaskEndDate: %s\n" % e)
    + print("Exception when calling WRENCHApi->isVMRunning: %s\n" % e)
    @@ -15666,7 +15082,7 @@

    Parameters

    -
    +
    @@ -15684,17 +15100,20 @@

    Parameters

    - workflow_name* + service_name* -
    +
    String +
    + Name of the cloud compute service +
    Required @@ -15703,11 +15122,11 @@

    Parameters

    - task_name* + vm_name* -
    +
    @@ -15715,7 +15134,7 @@

    Parameters

    - Name of the task + Name of the vm
    @@ -15736,14 +15155,14 @@

    Status: 200 - OK

    -
    -
    +
    +
    - +
    -

    Status: 404 - Job not found

    - - - -
    -
    -

    Status: 405 - Invalid input


    -
    -
    +
    +
    -

    getTaskEndDate_1

    -

    Get an action's end date.

    +

    isVMSuspended

    +

    Method to check whether a VM is currently suspended.

    @@ -15811,31 +15222,31 @@

    getTaskEndDate_1


    -
    /simulation/{simid}/{compound_job_name}/actions/{name}/actionGetEndDate
    +
    /simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/isVMSuspended

    Usage and SDK Samples

    -
    +
    curl -X GET\
     -H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/{compound_job_name}/actions/{name}/actionGetEndDate"
    +"https://wrench-project.org/v1/simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/isVMSuspended"
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    @@ -15850,20 +15261,20 @@ 

    Usage and SDK Samples

    WRENCHApi apiInstance = new WRENCHApi(); String simid = simid_example; // String | ID of the simulation - String compoundJobName = compoundJobName_example; // String | Name of the compound job - String name = name_example; // String | Name of the action + String serviceName = serviceName_example; // String | The cloud compute service name + String vmName = vmName_example; // String | The VM name try { - TimeResponse result = apiInstance.getTaskEndDate_0(simid, compoundJobName, name); + ServiceResponse result = apiInstance.isVMSuspended(simid, serviceName, vmName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#getTaskEndDate_0"); + System.err.println("Exception when calling WRENCHApi#isVMSuspended"); e.printStackTrace(); } } }
    -
    +
    import io.swagger.client.api.WRENCHApi;
     
     public class WRENCHApiExample {
    @@ -15871,34 +15282,34 @@ 

    Usage and SDK Samples

    public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); String simid = simid_example; // String | ID of the simulation - String compoundJobName = compoundJobName_example; // String | Name of the compound job - String name = name_example; // String | Name of the action + String serviceName = serviceName_example; // String | The cloud compute service name + String vmName = vmName_example; // String | The VM name try { - TimeResponse result = apiInstance.getTaskEndDate_0(simid, compoundJobName, name); + ServiceResponse result = apiInstance.isVMSuspended(simid, serviceName, vmName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#getTaskEndDate_0"); + System.err.println("Exception when calling WRENCHApi#isVMSuspended"); e.printStackTrace(); } } }
    -
    +
    String *simid = simid_example; // ID of the simulation
    -String *compoundJobName = compoundJobName_example; // Name of the compound job
    -String *name = name_example; // Name of the action
    +String *serviceName = serviceName_example; // The cloud compute service name
    +String *vmName = vmName_example; // The VM name
     
     WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
     
    -// Get an action's end date.
    -[apiInstance getTaskEndDate_1With:simid
    -    compoundJobName:compoundJobName
    -    name:name
    -              completionHandler: ^(TimeResponse output, NSError* error) {
    +// Method to check whether a VM is currently suspended.
    +[apiInstance isVMSuspendedWith:simid
    +    serviceName:serviceName
    +    vmName:vmName
    +              completionHandler: ^(ServiceResponse output, NSError* error) {
                                 if (output) {
                                     NSLog(@"%@", output);
                                 }
    @@ -15909,13 +15320,13 @@ 

    Usage and SDK Samples

    -
    +
    var WrenchRestApi = require('wrench_rest_api');
     
     var api = new WrenchRestApi.WRENCHApi()
     var simid = simid_example; // {{String}} ID of the simulation
    -var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
    -var name = name_example; // {{String}} Name of the action
    +var serviceName = serviceName_example; // {{String}} The cloud compute service name
    +var vmName = vmName_example; // {{String}} The VM name
     
     var callback = function(error, data, response) {
       if (error) {
    @@ -15924,14 +15335,14 @@ 

    Usage and SDK Samples

    console.log('API called successfully. Returned data: ' + data); } }; -api.getTaskEndDate_0(simid, compoundJobName, name, callback); +api.isVMSuspended(simid, serviceName, vmName, callback);
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -15940,25 +15351,25 @@ 

    Usage and SDK Samples

    namespace Example { - public class getTaskEndDate_0Example + public class isVMSuspendedExample { public void main() { var apiInstance = new WRENCHApi(); var simid = simid_example; // String | ID of the simulation - var compoundJobName = compoundJobName_example; // String | Name of the compound job - var name = name_example; // String | Name of the action + var serviceName = serviceName_example; // String | The cloud compute service name + var vmName = vmName_example; // String | The VM name try { - // Get an action's end date. - TimeResponse result = apiInstance.getTaskEndDate_0(simid, compoundJobName, name); + // Method to check whether a VM is currently suspended. + ServiceResponse result = apiInstance.isVMSuspended(simid, serviceName, vmName); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.getTaskEndDate_0: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.isVMSuspended: " + e.Message ); } } } @@ -15966,44 +15377,44 @@

    Usage and SDK Samples

    -
    +
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
     
     $api_instance = new Swagger\Client\ApiWRENCHApi();
     $simid = simid_example; // String | ID of the simulation
    -$compoundJobName = compoundJobName_example; // String | Name of the compound job
    -$name = name_example; // String | Name of the action
    +$serviceName = serviceName_example; // String | The cloud compute service name
    +$vmName = vmName_example; // String | The VM name
     
     try {
    -    $result = $api_instance->getTaskEndDate_0($simid, $compoundJobName, $name);
    +    $result = $api_instance->isVMSuspended($simid, $serviceName, $vmName);
         print_r($result);
     } catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->getTaskEndDate_0: ', $e->getMessage(), PHP_EOL;
    +    echo 'Exception when calling WRENCHApi->isVMSuspended: ', $e->getMessage(), PHP_EOL;
     }
     ?>
    -
    +
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
     use WWW::SwaggerClient::WRENCHApi;
     
     my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
     my $simid = simid_example; # String | ID of the simulation
    -my $compoundJobName = compoundJobName_example; # String | Name of the compound job
    -my $name = name_example; # String | Name of the action
    +my $serviceName = serviceName_example; # String | The cloud compute service name
    +my $vmName = vmName_example; # String | The VM name
     
     eval { 
    -    my $result = $api_instance->getTaskEndDate_0(simid => $simid, compoundJobName => $compoundJobName, name => $name);
    +    my $result = $api_instance->isVMSuspended(simid => $simid, serviceName => $serviceName, vmName => $vmName);
         print Dumper($result);
     };
     if ($@) {
    -    warn "Exception when calling WRENCHApi->getTaskEndDate_0: $@\n";
    +    warn "Exception when calling WRENCHApi->isVMSuspended: $@\n";
     }
    -
    +
    from __future__ import print_statement
     import time
     import swagger_client
    @@ -16013,15 +15424,15 @@ 

    Usage and SDK Samples

    # create an instance of the API class api_instance = swagger_client.WRENCHApi() simid = simid_example # String | ID of the simulation -compoundJobName = compoundJobName_example # String | Name of the compound job -name = name_example # String | Name of the action +serviceName = serviceName_example # String | The cloud compute service name +vmName = vmName_example # String | The VM name try: - # Get an action's end date. - api_response = api_instance.get_task_end_date_0(simid, compoundJobName, name) + # Method to check whether a VM is currently suspended. + api_response = api_instance.is_vm_suspended(simid, serviceName, vmName) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->getTaskEndDate_0: %s\n" % e)
    + print("Exception when calling WRENCHApi->isVMSuspended: %s\n" % e)
    @@ -16037,7 +15448,7 @@

    Parameters

    -
    +
    @@ -16055,11 +15466,11 @@

    Parameters

    - compound_job_name* + service_name* -
    +
    @@ -16067,7 +15478,7 @@

    Parameters

    - Name of the compound job + The cloud compute service name
    @@ -16077,11 +15488,11 @@

    Parameters

    - name* + vm_name* -
    +
    @@ -16089,7 +15500,7 @@

    Parameters

    - Name of the action + The VM name
    @@ -16110,14 +15521,14 @@

    Status: 200 - OK

    -
    -
    +
    +
    - +
    -

    Status: 404 - Job not found

    - - - -
    -
    -

    Status: 405 - Invalid input


    -
    -
    +
    +
    -

    getTaskFlops

    -

    Get a task's flops

    +

    lookupFileAtStorageService

    +

    Check if a copy of a file is stored at a storage service.

    @@ -16185,31 +15588,32 @@

    getTaskFlops


    -
    /simulation/{simid}/workflows/{workflow_name}/tasks/{task_name}/taskGetFlops
    +
    /simulation/{simid}/storage_services/{service_name}/lookupFile

    Usage and SDK Samples

    -
    -
    curl -X GET\
    +                          
    +
    curl -X POST\
     -H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/workflows/{workflow_name}/tasks/{task_name}/taskGetFlops"
    +-H "Content-Type: application/json"\ +"https://wrench-project.org/v1/simulation/{simid}/storage_services/{service_name}/lookupFile"
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    @@ -16223,56 +15627,56 @@ 

    Usage and SDK Samples

    public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); + Service_name_lookupFile_body body = ; // Service_name_lookupFile_body | Input to start a new service. String simid = simid_example; // String | ID of the simulation - String workflowName = workflowName_example; // String | Name of the workflow - String taskName = taskName_example; // String | Name of the task + String serviceName = serviceName_example; // String | The storage service's head host try { - TaskFlops result = apiInstance.getTaskFlops(simid, workflowName, taskName); + BooleanResponse result = apiInstance.lookupFileAtStorageService(body, simid, serviceName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#getTaskFlops"); + System.err.println("Exception when calling WRENCHApi#lookupFileAtStorageService"); e.printStackTrace(); } } }
    -
    +
    import io.swagger.client.api.WRENCHApi;
     
     public class WRENCHApiExample {
     
         public static void main(String[] args) {
             WRENCHApi apiInstance = new WRENCHApi();
    +        Service_name_lookupFile_body body = ; // Service_name_lookupFile_body | Input to start a new service.
             String simid = simid_example; // String | ID of the simulation
    -        String workflowName = workflowName_example; // String | Name of the workflow
    -        String taskName = taskName_example; // String | Name of the task
    +        String serviceName = serviceName_example; // String | The storage service's head host
             try {
    -            TaskFlops result = apiInstance.getTaskFlops(simid, workflowName, taskName);
    +            BooleanResponse result = apiInstance.lookupFileAtStorageService(body, simid, serviceName);
                 System.out.println(result);
             } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getTaskFlops");
    +            System.err.println("Exception when calling WRENCHApi#lookupFileAtStorageService");
                 e.printStackTrace();
             }
         }
     }
    -
    -
    String *simid = simid_example; // ID of the simulation
    -String *workflowName = workflowName_example; // Name of the workflow
    -String *taskName = taskName_example; // Name of the task
    +                            
    +
    Service_name_lookupFile_body *body = ; // Input to start a new service.
    +String *simid = simid_example; // ID of the simulation
    +String *serviceName = serviceName_example; // The storage service's head host
     
     WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
     
    -// Get a task's flops
    -[apiInstance getTaskFlopsWith:simid
    -    workflowName:workflowName
    -    taskName:taskName
    -              completionHandler: ^(TaskFlops output, NSError* error) {
    +// Check if a copy of a file is stored at a storage service.
    +[apiInstance lookupFileAtStorageServiceWith:body
    +    simid:simid
    +    serviceName:serviceName
    +              completionHandler: ^(BooleanResponse output, NSError* error) {
                                 if (output) {
                                     NSLog(@"%@", output);
                                 }
    @@ -16283,13 +15687,13 @@ 

    Usage and SDK Samples

    -
    +
    var WrenchRestApi = require('wrench_rest_api');
     
     var api = new WrenchRestApi.WRENCHApi()
    +var body = ; // {{Service_name_lookupFile_body}} Input to start a new service.
     var simid = simid_example; // {{String}} ID of the simulation
    -var workflowName = workflowName_example; // {{String}} Name of the workflow
    -var taskName = taskName_example; // {{String}} Name of the task
    +var serviceName = serviceName_example; // {{String}} The storage service's head host
     
     var callback = function(error, data, response) {
       if (error) {
    @@ -16298,14 +15702,14 @@ 

    Usage and SDK Samples

    console.log('API called successfully. Returned data: ' + data); } }; -api.getTaskFlops(simid, workflowName, taskName, callback); +api.lookupFileAtStorageService(bodysimidserviceName, callback);
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -16314,25 +15718,25 @@ 

    Usage and SDK Samples

    namespace Example { - public class getTaskFlopsExample + public class lookupFileAtStorageServiceExample { public void main() { var apiInstance = new WRENCHApi(); + var body = new Service_name_lookupFile_body(); // Service_name_lookupFile_body | Input to start a new service. var simid = simid_example; // String | ID of the simulation - var workflowName = workflowName_example; // String | Name of the workflow - var taskName = taskName_example; // String | Name of the task + var serviceName = serviceName_example; // String | The storage service's head host try { - // Get a task's flops - TaskFlops result = apiInstance.getTaskFlops(simid, workflowName, taskName); + // Check if a copy of a file is stored at a storage service. + BooleanResponse result = apiInstance.lookupFileAtStorageService(body, simid, serviceName); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.getTaskFlops: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.lookupFileAtStorageService: " + e.Message ); } } } @@ -16340,44 +15744,44 @@

    Usage and SDK Samples

    -
    +
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
     
     $api_instance = new Swagger\Client\ApiWRENCHApi();
    +$body = ; // Service_name_lookupFile_body | Input to start a new service.
     $simid = simid_example; // String | ID of the simulation
    -$workflowName = workflowName_example; // String | Name of the workflow
    -$taskName = taskName_example; // String | Name of the task
    +$serviceName = serviceName_example; // String | The storage service's head host
     
     try {
    -    $result = $api_instance->getTaskFlops($simid, $workflowName, $taskName);
    +    $result = $api_instance->lookupFileAtStorageService($body, $simid, $serviceName);
         print_r($result);
     } catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->getTaskFlops: ', $e->getMessage(), PHP_EOL;
    +    echo 'Exception when calling WRENCHApi->lookupFileAtStorageService: ', $e->getMessage(), PHP_EOL;
     }
     ?>
    -
    +
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
     use WWW::SwaggerClient::WRENCHApi;
     
     my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    +my $body = WWW::SwaggerClient::Object::Service_name_lookupFile_body->new(); # Service_name_lookupFile_body | Input to start a new service.
     my $simid = simid_example; # String | ID of the simulation
    -my $workflowName = workflowName_example; # String | Name of the workflow
    -my $taskName = taskName_example; # String | Name of the task
    +my $serviceName = serviceName_example; # String | The storage service's head host
     
     eval { 
    -    my $result = $api_instance->getTaskFlops(simid => $simid, workflowName => $workflowName, taskName => $taskName);
    +    my $result = $api_instance->lookupFileAtStorageService(body => $body, simid => $simid, serviceName => $serviceName);
         print Dumper($result);
     };
     if ($@) {
    -    warn "Exception when calling WRENCHApi->getTaskFlops: $@\n";
    +    warn "Exception when calling WRENCHApi->lookupFileAtStorageService: $@\n";
     }
    -
    +
    from __future__ import print_statement
     import time
     import swagger_client
    @@ -16386,16 +15790,16 @@ 

    Usage and SDK Samples

    # create an instance of the API class api_instance = swagger_client.WRENCHApi() +body = # Service_name_lookupFile_body | Input to start a new service. simid = simid_example # String | ID of the simulation -workflowName = workflowName_example # String | Name of the workflow -taskName = taskName_example # String | Name of the task +serviceName = serviceName_example # String | The storage service's head host try: - # Get a task's flops - api_response = api_instance.get_task_flops(simid, workflowName, taskName) + # Check if a copy of a file is stored at a storage service. + api_response = api_instance.lookup_file_at_storage_service(body, simid, serviceName) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->getTaskFlops: %s\n" % e)
    + print("Exception when calling WRENCHApi->lookupFileAtStorageService: %s\n" % e)
    @@ -16411,7 +15815,7 @@

    Parameters

    -
    +
    @@ -16429,33 +15833,11 @@

    Parameters

    - workflow_name* - - - -
    -
    -
    - - String - - -
    - Name of the workflow -
    -
    -
    - Required -
    -
    -
    - - - task_name* + service_name* -
    +
    @@ -16463,7 +15845,7 @@

    Parameters

    - Name of the task + The storage service's head host
    @@ -16476,6 +15858,50 @@

    Parameters

    +
    Body parameters
    + + + + + + + + +
    NameDescription
    body * + + + +
    +
    @@ -16484,14 +15910,14 @@

    Status: 200 - OK

    -
    -
    +
    +
    - +
    -

    Status: 404 - Job not found

    +

    Status: 404 - Simulation or storage service not found

    @@ -16547,11 +15973,11 @@

    Status: 405 - Invalid input


    -
    -
    +
    +
    -

    getTaskFlops_2

    -

    Get an action's flops

    +

    resumeVM

    +

    Resume a suspended VM.

    @@ -16559,31 +15985,31 @@

    getTaskFlops_2


    -
    /simulation/{simid}/compoundJobs/{compound_job_name}/setPriority
    +
    /simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/resumeVM

    Usage and SDK Samples

    -
    -
    curl -X PUT\
    +                          
    +
    curl -X POST\
     -H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/compoundJobs/{compound_job_name}/setPriority"
    +"https://wrench-project.org/v1/simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/resumeVM"
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    @@ -16598,19 +16024,20 @@ 

    Usage and SDK Samples

    WRENCHApi apiInstance = new WRENCHApi(); String simid = simid_example; // String | ID of the simulation - String compoundJobName = compoundJobName_example; // String | Name of the compound job + String serviceName = serviceName_example; // String | The cloud compute service name + String vmName = vmName_example; // String | The VM name try { - TaskFlops result = apiInstance.getTaskFlops_0(simid, compoundJobName); + GenericResponse result = apiInstance.resumeVM(simid, serviceName, vmName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#getTaskFlops_0"); + System.err.println("Exception when calling WRENCHApi#resumeVM"); e.printStackTrace(); } } }
    -
    +
    import io.swagger.client.api.WRENCHApi;
     
     public class WRENCHApiExample {
    @@ -16618,31 +16045,34 @@ 

    Usage and SDK Samples

    public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); String simid = simid_example; // String | ID of the simulation - String compoundJobName = compoundJobName_example; // String | Name of the compound job + String serviceName = serviceName_example; // String | The cloud compute service name + String vmName = vmName_example; // String | The VM name try { - TaskFlops result = apiInstance.getTaskFlops_0(simid, compoundJobName); + GenericResponse result = apiInstance.resumeVM(simid, serviceName, vmName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#getTaskFlops_0"); + System.err.println("Exception when calling WRENCHApi#resumeVM"); e.printStackTrace(); } } }
    -
    +
    String *simid = simid_example; // ID of the simulation
    -String *compoundJobName = compoundJobName_example; // Name of the compound job
    +String *serviceName = serviceName_example; // The cloud compute service name
    +String *vmName = vmName_example; // The VM name
     
     WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
     
    -// Get an action's flops
    -[apiInstance getTaskFlops_2With:simid
    -    compoundJobName:compoundJobName
    -              completionHandler: ^(TaskFlops output, NSError* error) {
    +// Resume a suspended VM.
    +[apiInstance resumeVMWith:simid
    +    serviceName:serviceName
    +    vmName:vmName
    +              completionHandler: ^(GenericResponse output, NSError* error) {
                                 if (output) {
                                     NSLog(@"%@", output);
                                 }
    @@ -16653,12 +16083,13 @@ 

    Usage and SDK Samples

    -
    +
    var WrenchRestApi = require('wrench_rest_api');
     
     var api = new WrenchRestApi.WRENCHApi()
     var simid = simid_example; // {{String}} ID of the simulation
    -var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
    +var serviceName = serviceName_example; // {{String}} The cloud compute service name
    +var vmName = vmName_example; // {{String}} The VM name
     
     var callback = function(error, data, response) {
       if (error) {
    @@ -16667,14 +16098,14 @@ 

    Usage and SDK Samples

    console.log('API called successfully. Returned data: ' + data); } }; -api.getTaskFlops_0(simid, compoundJobName, callback); +api.resumeVM(simid, serviceName, vmName, callback);
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -16683,24 +16114,25 @@ 

    Usage and SDK Samples

    namespace Example { - public class getTaskFlops_0Example + public class resumeVMExample { public void main() { var apiInstance = new WRENCHApi(); var simid = simid_example; // String | ID of the simulation - var compoundJobName = compoundJobName_example; // String | Name of the compound job + var serviceName = serviceName_example; // String | The cloud compute service name + var vmName = vmName_example; // String | The VM name try { - // Get an action's flops - TaskFlops result = apiInstance.getTaskFlops_0(simid, compoundJobName); + // Resume a suspended VM. + GenericResponse result = apiInstance.resumeVM(simid, serviceName, vmName); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.getTaskFlops_0: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.resumeVM: " + e.Message ); } } } @@ -16708,42 +16140,44 @@

    Usage and SDK Samples

    -
    +
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
     
     $api_instance = new Swagger\Client\ApiWRENCHApi();
     $simid = simid_example; // String | ID of the simulation
    -$compoundJobName = compoundJobName_example; // String | Name of the compound job
    +$serviceName = serviceName_example; // String | The cloud compute service name
    +$vmName = vmName_example; // String | The VM name
     
     try {
    -    $result = $api_instance->getTaskFlops_0($simid, $compoundJobName);
    +    $result = $api_instance->resumeVM($simid, $serviceName, $vmName);
         print_r($result);
     } catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->getTaskFlops_0: ', $e->getMessage(), PHP_EOL;
    +    echo 'Exception when calling WRENCHApi->resumeVM: ', $e->getMessage(), PHP_EOL;
     }
     ?>
    -
    +
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
     use WWW::SwaggerClient::WRENCHApi;
     
     my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
     my $simid = simid_example; # String | ID of the simulation
    -my $compoundJobName = compoundJobName_example; # String | Name of the compound job
    +my $serviceName = serviceName_example; # String | The cloud compute service name
    +my $vmName = vmName_example; # String | The VM name
     
     eval { 
    -    my $result = $api_instance->getTaskFlops_0(simid => $simid, compoundJobName => $compoundJobName);
    +    my $result = $api_instance->resumeVM(simid => $simid, serviceName => $serviceName, vmName => $vmName);
         print Dumper($result);
     };
     if ($@) {
    -    warn "Exception when calling WRENCHApi->getTaskFlops_0: $@\n";
    +    warn "Exception when calling WRENCHApi->resumeVM: $@\n";
     }
    -
    +
    from __future__ import print_statement
     import time
     import swagger_client
    @@ -16753,14 +16187,15 @@ 

    Usage and SDK Samples

    # create an instance of the API class api_instance = swagger_client.WRENCHApi() simid = simid_example # String | ID of the simulation -compoundJobName = compoundJobName_example # String | Name of the compound job +serviceName = serviceName_example # String | The cloud compute service name +vmName = vmName_example # String | The VM name try: - # Get an action's flops - api_response = api_instance.get_task_flops_0(simid, compoundJobName) + # Resume a suspended VM. + api_response = api_instance.resume_vm(simid, serviceName, vmName) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->getTaskFlops_0: %s\n" % e)
    + print("Exception when calling WRENCHApi->resumeVM: %s\n" % e)
    @@ -16776,7 +16211,7 @@

    Parameters

    -
    +
    @@ -16794,11 +16229,33 @@

    Parameters

    - compound_job_name* + service_name* + + + +
    +
    +
    + + String + + +
    + The cloud compute service name +
    +
    +
    + Required +
    +
    +
    + + + vm_name* -
    +
    @@ -16806,7 +16263,7 @@

    Parameters

    - Name of the compound job + The VM name
    @@ -16827,14 +16284,14 @@

    Status: 200 - OK

    -
    -
    +
    +
    - +
    -

    Status: 404 - Job not found

    - - - -
    -
    -

    Status: 405 - Invalid input


    -
    -
    +
    +
    -

    getTaskFlops_3

    -

    Get an action's flops

    +

    shutdownVM

    +

    Shutdown a VM.

    @@ -16902,31 +16351,31 @@

    getTaskFlops_3


    -
    /simulation/{simid}/compoundJobs/{compound_job_name}/getParentJobs
    +
    /simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/shutdownVM

    Usage and SDK Samples

    - -
    -
    -
    curl -X GET\
    +                          
  • Curl
  • +
  • Java
  • +
  • Android
  • + +
  • Obj-C
  • +
  • JavaScript
  • + +
  • C#
  • +
  • PHP
  • +
  • Perl
  • +
  • Python
  • +
+ +
+
+
curl -X POST\
 -H "Accept: application/json"\
-"https://wrench-project.org/v1/simulation/{simid}/compoundJobs/{compound_job_name}/getParentJobs"
+"https://wrench-project.org/v1/simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/shutdownVM"
-
+
import io.swagger.client.*;
 import io.swagger.client.auth.*;
 import io.swagger.client.model.*;
@@ -16941,19 +16390,20 @@ 

Usage and SDK Samples

WRENCHApi apiInstance = new WRENCHApi(); String simid = simid_example; // String | ID of the simulation - String compoundJobName = compoundJobName_example; // String | Name of the compound job + String serviceName = serviceName_example; // String | The cloud compute service name + String vmName = vmName_example; // String | The VM name try { - TaskFlops result = apiInstance.getTaskFlops_1(simid, compoundJobName); + ServiceResponse result = apiInstance.shutdownVM(simid, serviceName, vmName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#getTaskFlops_1"); + System.err.println("Exception when calling WRENCHApi#shutdownVM"); e.printStackTrace(); } } }
-
+
import io.swagger.client.api.WRENCHApi;
 
 public class WRENCHApiExample {
@@ -16961,31 +16411,34 @@ 

Usage and SDK Samples

public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); String simid = simid_example; // String | ID of the simulation - String compoundJobName = compoundJobName_example; // String | Name of the compound job + String serviceName = serviceName_example; // String | The cloud compute service name + String vmName = vmName_example; // String | The VM name try { - TaskFlops result = apiInstance.getTaskFlops_1(simid, compoundJobName); + ServiceResponse result = apiInstance.shutdownVM(simid, serviceName, vmName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#getTaskFlops_1"); + System.err.println("Exception when calling WRENCHApi#shutdownVM"); e.printStackTrace(); } } }
-
+
String *simid = simid_example; // ID of the simulation
-String *compoundJobName = compoundJobName_example; // Name of the compound job
+String *serviceName = serviceName_example; // The cloud compute service name
+String *vmName = vmName_example; // The VM name
 
 WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
 
-// Get an action's flops
-[apiInstance getTaskFlops_3With:simid
-    compoundJobName:compoundJobName
-              completionHandler: ^(TaskFlops output, NSError* error) {
+// Shutdown a VM.
+[apiInstance shutdownVMWith:simid
+    serviceName:serviceName
+    vmName:vmName
+              completionHandler: ^(ServiceResponse output, NSError* error) {
                             if (output) {
                                 NSLog(@"%@", output);
                             }
@@ -16996,12 +16449,13 @@ 

Usage and SDK Samples

-
+
var WrenchRestApi = require('wrench_rest_api');
 
 var api = new WrenchRestApi.WRENCHApi()
 var simid = simid_example; // {{String}} ID of the simulation
-var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
+var serviceName = serviceName_example; // {{String}} The cloud compute service name
+var vmName = vmName_example; // {{String}} The VM name
 
 var callback = function(error, data, response) {
   if (error) {
@@ -17010,14 +16464,14 @@ 

Usage and SDK Samples

console.log('API called successfully. Returned data: ' + data); } }; -api.getTaskFlops_1(simid, compoundJobName, callback); +api.shutdownVM(simid, serviceName, vmName, callback);
- -
+
using System;
 using System.Diagnostics;
 using IO.Swagger.Api;
@@ -17026,24 +16480,25 @@ 

Usage and SDK Samples

namespace Example { - public class getTaskFlops_1Example + public class shutdownVMExample { public void main() { var apiInstance = new WRENCHApi(); var simid = simid_example; // String | ID of the simulation - var compoundJobName = compoundJobName_example; // String | Name of the compound job + var serviceName = serviceName_example; // String | The cloud compute service name + var vmName = vmName_example; // String | The VM name try { - // Get an action's flops - TaskFlops result = apiInstance.getTaskFlops_1(simid, compoundJobName); + // Shutdown a VM. + ServiceResponse result = apiInstance.shutdownVM(simid, serviceName, vmName); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.getTaskFlops_1: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.shutdownVM: " + e.Message ); } } } @@ -17051,42 +16506,44 @@

Usage and SDK Samples

-
+
<?php
 require_once(__DIR__ . '/vendor/autoload.php');
 
 $api_instance = new Swagger\Client\ApiWRENCHApi();
 $simid = simid_example; // String | ID of the simulation
-$compoundJobName = compoundJobName_example; // String | Name of the compound job
+$serviceName = serviceName_example; // String | The cloud compute service name
+$vmName = vmName_example; // String | The VM name
 
 try {
-    $result = $api_instance->getTaskFlops_1($simid, $compoundJobName);
+    $result = $api_instance->shutdownVM($simid, $serviceName, $vmName);
     print_r($result);
 } catch (Exception $e) {
-    echo 'Exception when calling WRENCHApi->getTaskFlops_1: ', $e->getMessage(), PHP_EOL;
+    echo 'Exception when calling WRENCHApi->shutdownVM: ', $e->getMessage(), PHP_EOL;
 }
 ?>
-
+
use Data::Dumper;
 use WWW::SwaggerClient::Configuration;
 use WWW::SwaggerClient::WRENCHApi;
 
 my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
 my $simid = simid_example; # String | ID of the simulation
-my $compoundJobName = compoundJobName_example; # String | Name of the compound job
+my $serviceName = serviceName_example; # String | The cloud compute service name
+my $vmName = vmName_example; # String | The VM name
 
 eval { 
-    my $result = $api_instance->getTaskFlops_1(simid => $simid, compoundJobName => $compoundJobName);
+    my $result = $api_instance->shutdownVM(simid => $simid, serviceName => $serviceName, vmName => $vmName);
     print Dumper($result);
 };
 if ($@) {
-    warn "Exception when calling WRENCHApi->getTaskFlops_1: $@\n";
+    warn "Exception when calling WRENCHApi->shutdownVM: $@\n";
 }
-
+
from __future__ import print_statement
 import time
 import swagger_client
@@ -17096,14 +16553,15 @@ 

Usage and SDK Samples

# create an instance of the API class api_instance = swagger_client.WRENCHApi() simid = simid_example # String | ID of the simulation -compoundJobName = compoundJobName_example # String | Name of the compound job +serviceName = serviceName_example # String | The cloud compute service name +vmName = vmName_example # String | The VM name try: - # Get an action's flops - api_response = api_instance.get_task_flops_1(simid, compoundJobName) + # Shutdown a VM. + api_response = api_instance.shutdown_vm(simid, serviceName, vmName) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->getTaskFlops_1: %s\n" % e)
+ print("Exception when calling WRENCHApi->shutdownVM: %s\n" % e)
@@ -17119,7 +16577,7 @@

Parameters

-
+
@@ -17137,11 +16595,33 @@

Parameters

- compound_job_name* + service_name* + + + +
+
+
+ + String + + +
+ The cloud compute service name +
+
+
+ Required +
+
+
+ + + vm_name* -
+
@@ -17149,7 +16629,7 @@

Parameters

- Name of the compound job + The VM name
@@ -17170,14 +16650,14 @@

Status: 200 - OK

-
-
+
+
- +
-

Status: 404 - Job not found

- - - -
-
-

Status: 405 - Invalid input


-
-
+
+
-

getTaskFlops_4

-

Get an action's flops

+

startSimulation

+

Start a new simulation

@@ -17245,31 +16717,32 @@

getTaskFlops_4


-
/simulation/{simid}/compoundJobs/{compound_job_name}/addFileRegistryAddEntryAction
+
/simulation/startSimulation

Usage and SDK Samples

-
+
curl -X POST\
 -H "Accept: application/json"\
-"https://wrench-project.org/v1/simulation/{simid}/compoundJobs/{compound_job_name}/addFileRegistryAddEntryAction"
+-H "Content-Type: application/json"\ +"https://wrench-project.org/v1/simulation/startSimulation"
-
+
import io.swagger.client.*;
 import io.swagger.client.auth.*;
 import io.swagger.client.model.*;
@@ -17283,52 +16756,48 @@ 

Usage and SDK Samples

public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); - String simid = simid_example; // String | ID of the simulation - String compoundJobName = compoundJobName_example; // String | Name of the compound job + SimulationInput body = ; // SimulationInput | Start a new simulation based on a platform file and a controller hostname. try { - TaskFlops result = apiInstance.getTaskFlops_10(simid, compoundJobName); + SimulationReturn result = apiInstance.startSimulation(body); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#getTaskFlops_10"); + System.err.println("Exception when calling WRENCHApi#startSimulation"); e.printStackTrace(); } } }
-
+
import io.swagger.client.api.WRENCHApi;
 
 public class WRENCHApiExample {
 
     public static void main(String[] args) {
         WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String compoundJobName = compoundJobName_example; // String | Name of the compound job
+        SimulationInput body = ; // SimulationInput | Start a new simulation based on a platform file and a controller hostname.
         try {
-            TaskFlops result = apiInstance.getTaskFlops_10(simid, compoundJobName);
+            SimulationReturn result = apiInstance.startSimulation(body);
             System.out.println(result);
         } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getTaskFlops_10");
+            System.err.println("Exception when calling WRENCHApi#startSimulation");
             e.printStackTrace();
         }
     }
 }
-
-
String *simid = simid_example; // ID of the simulation
-String *compoundJobName = compoundJobName_example; // Name of the compound job
+                            
+
SimulationInput *body = ; // Start a new simulation based on a platform file and a controller hostname.
 
 WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
 
-// Get an action's flops
-[apiInstance getTaskFlops_4With:simid
-    compoundJobName:compoundJobName
-              completionHandler: ^(TaskFlops output, NSError* error) {
+// Start a new simulation
+[apiInstance startSimulationWith:body
+              completionHandler: ^(SimulationReturn output, NSError* error) {
                             if (output) {
                                 NSLog(@"%@", output);
                             }
@@ -17339,12 +16808,11 @@ 

Usage and SDK Samples

-
+
var WrenchRestApi = require('wrench_rest_api');
 
 var api = new WrenchRestApi.WRENCHApi()
-var simid = simid_example; // {{String}} ID of the simulation
-var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
+var body = ; // {{SimulationInput}} Start a new simulation based on a platform file and a controller hostname.
 
 var callback = function(error, data, response) {
   if (error) {
@@ -17353,14 +16821,14 @@ 

Usage and SDK Samples

console.log('API called successfully. Returned data: ' + data); } }; -api.getTaskFlops_10(simid, compoundJobName, callback); +api.startSimulation(body, callback);
- -
+
using System;
 using System.Diagnostics;
 using IO.Swagger.Api;
@@ -17369,24 +16837,23 @@ 

Usage and SDK Samples

namespace Example { - public class getTaskFlops_10Example + public class startSimulationExample { public void main() { var apiInstance = new WRENCHApi(); - var simid = simid_example; // String | ID of the simulation - var compoundJobName = compoundJobName_example; // String | Name of the compound job + var body = new SimulationInput(); // SimulationInput | Start a new simulation based on a platform file and a controller hostname. try { - // Get an action's flops - TaskFlops result = apiInstance.getTaskFlops_10(simid, compoundJobName); + // Start a new simulation + SimulationReturn result = apiInstance.startSimulation(body); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.getTaskFlops_10: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.startSimulation: " + e.Message ); } } } @@ -17394,17281 +16861,108 @@

Usage and SDK Samples

-
+
<?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-$api_instance = new Swagger\Client\ApiWRENCHApi();
-$simid = simid_example; // String | ID of the simulation
-$compoundJobName = compoundJobName_example; // String | Name of the compound job
-
-try {
-    $result = $api_instance->getTaskFlops_10($simid, $compoundJobName);
-    print_r($result);
-} catch (Exception $e) {
-    echo 'Exception when calling WRENCHApi->getTaskFlops_10: ', $e->getMessage(), PHP_EOL;
-}
-?>
-
- -
-
use Data::Dumper;
-use WWW::SwaggerClient::Configuration;
-use WWW::SwaggerClient::WRENCHApi;
-
-my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
-my $simid = simid_example; # String | ID of the simulation
-my $compoundJobName = compoundJobName_example; # String | Name of the compound job
-
-eval { 
-    my $result = $api_instance->getTaskFlops_10(simid => $simid, compoundJobName => $compoundJobName);
-    print Dumper($result);
-};
-if ($@) {
-    warn "Exception when calling WRENCHApi->getTaskFlops_10: $@\n";
-}
-
- -
-
from __future__ import print_statement
-import time
-import swagger_client
-from swagger_client.rest import ApiException
-from pprint import pprint
-
-# create an instance of the API class
-api_instance = swagger_client.WRENCHApi()
-simid = simid_example # String | ID of the simulation
-compoundJobName = compoundJobName_example # String | Name of the compound job
-
-try: 
-    # Get an action's flops
-    api_response = api_instance.get_task_flops_10(simid, compoundJobName)
-    pprint(api_response)
-except ApiException as e:
-    print("Exception when calling WRENCHApi->getTaskFlops_10: %s\n" % e)
-
-
- -

Parameters

- -
Path parameters
- - - - - - - - - - - -
NameDescription
simid* - - -
-
-
- - String - - -
- ID of the simulation -
-
-
- Required -
-
-
-
compound_job_name* - - -
-
-
- - String - - -
- Name of the compound job -
-
-
- Required -
-
-
-
- - - - - -

Responses

-

Status: 200 - OK

- - - -
-
-
- -
- -
-
- -

Status: 404 - Job not found

- - - -
-
- -

Status: 405 - Invalid input

- - - -
-
- -
-
-
-
-
-
-

getTaskFlops_5

-

Get an action's flops

-
-
-
-

-

-

-
-
/simulation/{simid}/compoundJobs/{compound_job_name}/addFileRegistryDeleteEntryAction
-

-

Usage and SDK Samples

-

- - -
-
-
curl -X POST\
--H "Accept: application/json"\
-"https://wrench-project.org/v1/simulation/{simid}/compoundJobs/{compound_job_name}/addFileRegistryDeleteEntryAction"
-
-
-
import io.swagger.client.*;
-import io.swagger.client.auth.*;
-import io.swagger.client.model.*;
-import io.swagger.client.api.WRENCHApi;
-
-import java.io.File;
-import java.util.*;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String compoundJobName = compoundJobName_example; // String | Name of the compound job
-        try {
-            TaskFlops result = apiInstance.getTaskFlops_11(simid, compoundJobName);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getTaskFlops_11");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
import io.swagger.client.api.WRENCHApi;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String compoundJobName = compoundJobName_example; // String | Name of the compound job
-        try {
-            TaskFlops result = apiInstance.getTaskFlops_11(simid, compoundJobName);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getTaskFlops_11");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
String *simid = simid_example; // ID of the simulation
-String *compoundJobName = compoundJobName_example; // Name of the compound job
-
-WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
-
-// Get an action's flops
-[apiInstance getTaskFlops_5With:simid
-    compoundJobName:compoundJobName
-              completionHandler: ^(TaskFlops output, NSError* error) {
-                            if (output) {
-                                NSLog(@"%@", output);
-                            }
-                            if (error) {
-                                NSLog(@"Error: %@", error);
-                            }
-                        }];
-
-
- -
-
var WrenchRestApi = require('wrench_rest_api');
-
-var api = new WrenchRestApi.WRENCHApi()
-var simid = simid_example; // {{String}} ID of the simulation
-var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
-
-var callback = function(error, data, response) {
-  if (error) {
-    console.error(error);
-  } else {
-    console.log('API called successfully. Returned data: ' + data);
-  }
-};
-api.getTaskFlops_11(simid, compoundJobName, callback);
-
-
- - -
-
using System;
-using System.Diagnostics;
-using IO.Swagger.Api;
-using IO.Swagger.Client;
-using IO.Swagger.Model;
-
-namespace Example
-{
-    public class getTaskFlops_11Example
-    {
-        public void main()
-        {
-
-            var apiInstance = new WRENCHApi();
-            var simid = simid_example;  // String | ID of the simulation
-            var compoundJobName = compoundJobName_example;  // String | Name of the compound job
-
-            try
-            {
-                // Get an action's flops
-                TaskFlops result = apiInstance.getTaskFlops_11(simid, compoundJobName);
-                Debug.WriteLine(result);
-            }
-            catch (Exception e)
-            {
-                Debug.Print("Exception when calling WRENCHApi.getTaskFlops_11: " + e.Message );
-            }
-        }
-    }
-}
-
-
- -
-
<?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-$api_instance = new Swagger\Client\ApiWRENCHApi();
-$simid = simid_example; // String | ID of the simulation
-$compoundJobName = compoundJobName_example; // String | Name of the compound job
-
-try {
-    $result = $api_instance->getTaskFlops_11($simid, $compoundJobName);
-    print_r($result);
-} catch (Exception $e) {
-    echo 'Exception when calling WRENCHApi->getTaskFlops_11: ', $e->getMessage(), PHP_EOL;
-}
-?>
-
- -
-
use Data::Dumper;
-use WWW::SwaggerClient::Configuration;
-use WWW::SwaggerClient::WRENCHApi;
-
-my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
-my $simid = simid_example; # String | ID of the simulation
-my $compoundJobName = compoundJobName_example; # String | Name of the compound job
-
-eval { 
-    my $result = $api_instance->getTaskFlops_11(simid => $simid, compoundJobName => $compoundJobName);
-    print Dumper($result);
-};
-if ($@) {
-    warn "Exception when calling WRENCHApi->getTaskFlops_11: $@\n";
-}
-
- -
-
from __future__ import print_statement
-import time
-import swagger_client
-from swagger_client.rest import ApiException
-from pprint import pprint
-
-# create an instance of the API class
-api_instance = swagger_client.WRENCHApi()
-simid = simid_example # String | ID of the simulation
-compoundJobName = compoundJobName_example # String | Name of the compound job
-
-try: 
-    # Get an action's flops
-    api_response = api_instance.get_task_flops_11(simid, compoundJobName)
-    pprint(api_response)
-except ApiException as e:
-    print("Exception when calling WRENCHApi->getTaskFlops_11: %s\n" % e)
-
-
- -

Parameters

- -
Path parameters
- - - - - - - - - - - -
NameDescription
simid* - - -
-
-
- - String - - -
- ID of the simulation -
-
-
- Required -
-
-
-
compound_job_name* - - -
-
-
- - String - - -
- Name of the compound job -
-
-
- Required -
-
-
-
- - - - - -

Responses

-

Status: 200 - OK

- - - -
-
-
- -
- -
-
- -

Status: 404 - Job not found

- - - -
-
- -

Status: 405 - Invalid input

- - - -
-
- -
-
-
-
-
-
-

getTaskFlops_6

-

Get an action's flops

-
-
-
-

-

-

-
-
/simulation/{simid}/compoundJobs/{compound_job_name}/removeAction
-

-

Usage and SDK Samples

-

- - -
-
-
curl -X POST\
--H "Accept: application/json"\
-"https://wrench-project.org/v1/simulation/{simid}/compoundJobs/{compound_job_name}/removeAction"
-
-
-
import io.swagger.client.*;
-import io.swagger.client.auth.*;
-import io.swagger.client.model.*;
-import io.swagger.client.api.WRENCHApi;
-
-import java.io.File;
-import java.util.*;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String compoundJobName = compoundJobName_example; // String | Name of the compound job
-        try {
-            TaskFlops result = apiInstance.getTaskFlops_12(simid, compoundJobName);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getTaskFlops_12");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
import io.swagger.client.api.WRENCHApi;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String compoundJobName = compoundJobName_example; // String | Name of the compound job
-        try {
-            TaskFlops result = apiInstance.getTaskFlops_12(simid, compoundJobName);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getTaskFlops_12");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
String *simid = simid_example; // ID of the simulation
-String *compoundJobName = compoundJobName_example; // Name of the compound job
-
-WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
-
-// Get an action's flops
-[apiInstance getTaskFlops_6With:simid
-    compoundJobName:compoundJobName
-              completionHandler: ^(TaskFlops output, NSError* error) {
-                            if (output) {
-                                NSLog(@"%@", output);
-                            }
-                            if (error) {
-                                NSLog(@"Error: %@", error);
-                            }
-                        }];
-
-
- -
-
var WrenchRestApi = require('wrench_rest_api');
-
-var api = new WrenchRestApi.WRENCHApi()
-var simid = simid_example; // {{String}} ID of the simulation
-var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
-
-var callback = function(error, data, response) {
-  if (error) {
-    console.error(error);
-  } else {
-    console.log('API called successfully. Returned data: ' + data);
-  }
-};
-api.getTaskFlops_12(simid, compoundJobName, callback);
-
-
- - -
-
using System;
-using System.Diagnostics;
-using IO.Swagger.Api;
-using IO.Swagger.Client;
-using IO.Swagger.Model;
-
-namespace Example
-{
-    public class getTaskFlops_12Example
-    {
-        public void main()
-        {
-
-            var apiInstance = new WRENCHApi();
-            var simid = simid_example;  // String | ID of the simulation
-            var compoundJobName = compoundJobName_example;  // String | Name of the compound job
-
-            try
-            {
-                // Get an action's flops
-                TaskFlops result = apiInstance.getTaskFlops_12(simid, compoundJobName);
-                Debug.WriteLine(result);
-            }
-            catch (Exception e)
-            {
-                Debug.Print("Exception when calling WRENCHApi.getTaskFlops_12: " + e.Message );
-            }
-        }
-    }
-}
-
-
- -
-
<?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-$api_instance = new Swagger\Client\ApiWRENCHApi();
-$simid = simid_example; // String | ID of the simulation
-$compoundJobName = compoundJobName_example; // String | Name of the compound job
-
-try {
-    $result = $api_instance->getTaskFlops_12($simid, $compoundJobName);
-    print_r($result);
-} catch (Exception $e) {
-    echo 'Exception when calling WRENCHApi->getTaskFlops_12: ', $e->getMessage(), PHP_EOL;
-}
-?>
-
- -
-
use Data::Dumper;
-use WWW::SwaggerClient::Configuration;
-use WWW::SwaggerClient::WRENCHApi;
-
-my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
-my $simid = simid_example; # String | ID of the simulation
-my $compoundJobName = compoundJobName_example; # String | Name of the compound job
-
-eval { 
-    my $result = $api_instance->getTaskFlops_12(simid => $simid, compoundJobName => $compoundJobName);
-    print Dumper($result);
-};
-if ($@) {
-    warn "Exception when calling WRENCHApi->getTaskFlops_12: $@\n";
-}
-
- -
-
from __future__ import print_statement
-import time
-import swagger_client
-from swagger_client.rest import ApiException
-from pprint import pprint
-
-# create an instance of the API class
-api_instance = swagger_client.WRENCHApi()
-simid = simid_example # String | ID of the simulation
-compoundJobName = compoundJobName_example # String | Name of the compound job
-
-try: 
-    # Get an action's flops
-    api_response = api_instance.get_task_flops_12(simid, compoundJobName)
-    pprint(api_response)
-except ApiException as e:
-    print("Exception when calling WRENCHApi->getTaskFlops_12: %s\n" % e)
-
-
- -

Parameters

- -
Path parameters
- - - - - - - - - - - -
NameDescription
simid* - - -
-
-
- - String - - -
- ID of the simulation -
-
-
- Required -
-
-
-
compound_job_name* - - -
-
-
- - String - - -
- Name of the compound job -
-
-
- Required -
-
-
-
- - - - - -

Responses

-

Status: 200 - OK

- - - -
-
-
- -
- -
-
- -

Status: 404 - Job not found

- - - -
-
- -

Status: 405 - Invalid input

- - - -
-
- -
-
-
-
-
-
-

getTaskFlops_7

-

Get an action's flops

-
-
-
-

-

-

-
-
/simulation/{simid}/{compound_job_name}/actions/{name}/actionGetParents
-

-

Usage and SDK Samples

-

- - -
-
-
curl -X GET\
--H "Accept: application/json"\
-"https://wrench-project.org/v1/simulation/{simid}/{compound_job_name}/actions/{name}/actionGetParents"
-
-
-
import io.swagger.client.*;
-import io.swagger.client.auth.*;
-import io.swagger.client.model.*;
-import io.swagger.client.api.WRENCHApi;
-
-import java.io.File;
-import java.util.*;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String compoundJobName = compoundJobName_example; // String | Name of the compound job
-        String name = name_example; // String | Name of the action
-        try {
-            TaskFlops result = apiInstance.getTaskFlops_13(simid, compoundJobName, name);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getTaskFlops_13");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
import io.swagger.client.api.WRENCHApi;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String compoundJobName = compoundJobName_example; // String | Name of the compound job
-        String name = name_example; // String | Name of the action
-        try {
-            TaskFlops result = apiInstance.getTaskFlops_13(simid, compoundJobName, name);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getTaskFlops_13");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
String *simid = simid_example; // ID of the simulation
-String *compoundJobName = compoundJobName_example; // Name of the compound job
-String *name = name_example; // Name of the action
-
-WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
-
-// Get an action's flops
-[apiInstance getTaskFlops_7With:simid
-    compoundJobName:compoundJobName
-    name:name
-              completionHandler: ^(TaskFlops output, NSError* error) {
-                            if (output) {
-                                NSLog(@"%@", output);
-                            }
-                            if (error) {
-                                NSLog(@"Error: %@", error);
-                            }
-                        }];
-
-
- -
-
var WrenchRestApi = require('wrench_rest_api');
-
-var api = new WrenchRestApi.WRENCHApi()
-var simid = simid_example; // {{String}} ID of the simulation
-var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
-var name = name_example; // {{String}} Name of the action
-
-var callback = function(error, data, response) {
-  if (error) {
-    console.error(error);
-  } else {
-    console.log('API called successfully. Returned data: ' + data);
-  }
-};
-api.getTaskFlops_13(simid, compoundJobName, name, callback);
-
-
- - -
-
using System;
-using System.Diagnostics;
-using IO.Swagger.Api;
-using IO.Swagger.Client;
-using IO.Swagger.Model;
-
-namespace Example
-{
-    public class getTaskFlops_13Example
-    {
-        public void main()
-        {
-
-            var apiInstance = new WRENCHApi();
-            var simid = simid_example;  // String | ID of the simulation
-            var compoundJobName = compoundJobName_example;  // String | Name of the compound job
-            var name = name_example;  // String | Name of the action
-
-            try
-            {
-                // Get an action's flops
-                TaskFlops result = apiInstance.getTaskFlops_13(simid, compoundJobName, name);
-                Debug.WriteLine(result);
-            }
-            catch (Exception e)
-            {
-                Debug.Print("Exception when calling WRENCHApi.getTaskFlops_13: " + e.Message );
-            }
-        }
-    }
-}
-
-
- -
-
<?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-$api_instance = new Swagger\Client\ApiWRENCHApi();
-$simid = simid_example; // String | ID of the simulation
-$compoundJobName = compoundJobName_example; // String | Name of the compound job
-$name = name_example; // String | Name of the action
-
-try {
-    $result = $api_instance->getTaskFlops_13($simid, $compoundJobName, $name);
-    print_r($result);
-} catch (Exception $e) {
-    echo 'Exception when calling WRENCHApi->getTaskFlops_13: ', $e->getMessage(), PHP_EOL;
-}
-?>
-
- -
-
use Data::Dumper;
-use WWW::SwaggerClient::Configuration;
-use WWW::SwaggerClient::WRENCHApi;
-
-my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
-my $simid = simid_example; # String | ID of the simulation
-my $compoundJobName = compoundJobName_example; # String | Name of the compound job
-my $name = name_example; # String | Name of the action
-
-eval { 
-    my $result = $api_instance->getTaskFlops_13(simid => $simid, compoundJobName => $compoundJobName, name => $name);
-    print Dumper($result);
-};
-if ($@) {
-    warn "Exception when calling WRENCHApi->getTaskFlops_13: $@\n";
-}
-
- -
-
from __future__ import print_statement
-import time
-import swagger_client
-from swagger_client.rest import ApiException
-from pprint import pprint
-
-# create an instance of the API class
-api_instance = swagger_client.WRENCHApi()
-simid = simid_example # String | ID of the simulation
-compoundJobName = compoundJobName_example # String | Name of the compound job
-name = name_example # String | Name of the action
-
-try: 
-    # Get an action's flops
-    api_response = api_instance.get_task_flops_13(simid, compoundJobName, name)
-    pprint(api_response)
-except ApiException as e:
-    print("Exception when calling WRENCHApi->getTaskFlops_13: %s\n" % e)
-
-
- -

Parameters

- -
Path parameters
- - - - - - - - - - - - - - -
NameDescription
simid* - - -
-
-
- - String - - -
- ID of the simulation -
-
-
- Required -
-
-
-
compound_job_name* - - -
-
-
- - String - - -
- Name of the compound job -
-
-
- Required -
-
-
-
name* - - -
-
-
- - String - - -
- Name of the action -
-
-
- Required -
-
-
-
- - - - - -

Responses

-

Status: 200 - OK

- - - -
-
-
- -
- -
-
- -

Status: 404 - Job not found

- - - -
-
- -

Status: 405 - Invalid input

- - - -
-
- -
-
-
-
-
-
-

getTaskFlops_8

-

Get an action's flops

-
-
-
-

-

-

-
-
/simulation/{simid}/{compound_job_name}/actions/{name}/actionGetChildren
-

-

Usage and SDK Samples

-

- - -
-
-
curl -X GET\
--H "Accept: application/json"\
-"https://wrench-project.org/v1/simulation/{simid}/{compound_job_name}/actions/{name}/actionGetChildren"
-
-
-
import io.swagger.client.*;
-import io.swagger.client.auth.*;
-import io.swagger.client.model.*;
-import io.swagger.client.api.WRENCHApi;
-
-import java.io.File;
-import java.util.*;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String compoundJobName = compoundJobName_example; // String | Name of the compound job
-        String name = name_example; // String | Name of the action
-        try {
-            TaskFlops result = apiInstance.getTaskFlops_14(simid, compoundJobName, name);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getTaskFlops_14");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
import io.swagger.client.api.WRENCHApi;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String compoundJobName = compoundJobName_example; // String | Name of the compound job
-        String name = name_example; // String | Name of the action
-        try {
-            TaskFlops result = apiInstance.getTaskFlops_14(simid, compoundJobName, name);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getTaskFlops_14");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
String *simid = simid_example; // ID of the simulation
-String *compoundJobName = compoundJobName_example; // Name of the compound job
-String *name = name_example; // Name of the action
-
-WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
-
-// Get an action's flops
-[apiInstance getTaskFlops_8With:simid
-    compoundJobName:compoundJobName
-    name:name
-              completionHandler: ^(TaskFlops output, NSError* error) {
-                            if (output) {
-                                NSLog(@"%@", output);
-                            }
-                            if (error) {
-                                NSLog(@"Error: %@", error);
-                            }
-                        }];
-
-
- -
-
var WrenchRestApi = require('wrench_rest_api');
-
-var api = new WrenchRestApi.WRENCHApi()
-var simid = simid_example; // {{String}} ID of the simulation
-var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
-var name = name_example; // {{String}} Name of the action
-
-var callback = function(error, data, response) {
-  if (error) {
-    console.error(error);
-  } else {
-    console.log('API called successfully. Returned data: ' + data);
-  }
-};
-api.getTaskFlops_14(simid, compoundJobName, name, callback);
-
-
- - -
-
using System;
-using System.Diagnostics;
-using IO.Swagger.Api;
-using IO.Swagger.Client;
-using IO.Swagger.Model;
-
-namespace Example
-{
-    public class getTaskFlops_14Example
-    {
-        public void main()
-        {
-
-            var apiInstance = new WRENCHApi();
-            var simid = simid_example;  // String | ID of the simulation
-            var compoundJobName = compoundJobName_example;  // String | Name of the compound job
-            var name = name_example;  // String | Name of the action
-
-            try
-            {
-                // Get an action's flops
-                TaskFlops result = apiInstance.getTaskFlops_14(simid, compoundJobName, name);
-                Debug.WriteLine(result);
-            }
-            catch (Exception e)
-            {
-                Debug.Print("Exception when calling WRENCHApi.getTaskFlops_14: " + e.Message );
-            }
-        }
-    }
-}
-
-
- -
-
<?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-$api_instance = new Swagger\Client\ApiWRENCHApi();
-$simid = simid_example; // String | ID of the simulation
-$compoundJobName = compoundJobName_example; // String | Name of the compound job
-$name = name_example; // String | Name of the action
-
-try {
-    $result = $api_instance->getTaskFlops_14($simid, $compoundJobName, $name);
-    print_r($result);
-} catch (Exception $e) {
-    echo 'Exception when calling WRENCHApi->getTaskFlops_14: ', $e->getMessage(), PHP_EOL;
-}
-?>
-
- -
-
use Data::Dumper;
-use WWW::SwaggerClient::Configuration;
-use WWW::SwaggerClient::WRENCHApi;
-
-my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
-my $simid = simid_example; # String | ID of the simulation
-my $compoundJobName = compoundJobName_example; # String | Name of the compound job
-my $name = name_example; # String | Name of the action
-
-eval { 
-    my $result = $api_instance->getTaskFlops_14(simid => $simid, compoundJobName => $compoundJobName, name => $name);
-    print Dumper($result);
-};
-if ($@) {
-    warn "Exception when calling WRENCHApi->getTaskFlops_14: $@\n";
-}
-
- -
-
from __future__ import print_statement
-import time
-import swagger_client
-from swagger_client.rest import ApiException
-from pprint import pprint
-
-# create an instance of the API class
-api_instance = swagger_client.WRENCHApi()
-simid = simid_example # String | ID of the simulation
-compoundJobName = compoundJobName_example # String | Name of the compound job
-name = name_example # String | Name of the action
-
-try: 
-    # Get an action's flops
-    api_response = api_instance.get_task_flops_14(simid, compoundJobName, name)
-    pprint(api_response)
-except ApiException as e:
-    print("Exception when calling WRENCHApi->getTaskFlops_14: %s\n" % e)
-
-
- -

Parameters

- -
Path parameters
- - - - - - - - - - - - - - -
NameDescription
simid* - - -
-
-
- - String - - -
- ID of the simulation -
-
-
- Required -
-
-
-
compound_job_name* - - -
-
-
- - String - - -
- Name of the compound job -
-
-
- Required -
-
-
-
name* - - -
-
-
- - String - - -
- Name of the action -
-
-
- Required -
-
-
-
- - - - - -

Responses

-

Status: 200 - OK

- - - -
-
-
- -
- -
-
- -

Status: 404 - Job not found

- - - -
-
- -

Status: 405 - Invalid input

- - - -
-
- -
-
-
-
-
-
-

getTaskFlops_9

-

Get an action's flops

-
-
-
-

-

-

-
-
/simulation/{simid}/{compound_job_name}/actions/{name}/actionGetPriority
-

-

Usage and SDK Samples

-

- - -
-
-
curl -X GET\
--H "Accept: application/json"\
-"https://wrench-project.org/v1/simulation/{simid}/{compound_job_name}/actions/{name}/actionGetPriority"
-
-
-
import io.swagger.client.*;
-import io.swagger.client.auth.*;
-import io.swagger.client.model.*;
-import io.swagger.client.api.WRENCHApi;
-
-import java.io.File;
-import java.util.*;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String compoundJobName = compoundJobName_example; // String | Name of the compound job
-        String name = name_example; // String | Name of the action
-        try {
-            TaskFlops result = apiInstance.getTaskFlops_15(simid, compoundJobName, name);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getTaskFlops_15");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
import io.swagger.client.api.WRENCHApi;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String compoundJobName = compoundJobName_example; // String | Name of the compound job
-        String name = name_example; // String | Name of the action
-        try {
-            TaskFlops result = apiInstance.getTaskFlops_15(simid, compoundJobName, name);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getTaskFlops_15");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
String *simid = simid_example; // ID of the simulation
-String *compoundJobName = compoundJobName_example; // Name of the compound job
-String *name = name_example; // Name of the action
-
-WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
-
-// Get an action's flops
-[apiInstance getTaskFlops_9With:simid
-    compoundJobName:compoundJobName
-    name:name
-              completionHandler: ^(TaskFlops output, NSError* error) {
-                            if (output) {
-                                NSLog(@"%@", output);
-                            }
-                            if (error) {
-                                NSLog(@"Error: %@", error);
-                            }
-                        }];
-
-
- -
-
var WrenchRestApi = require('wrench_rest_api');
-
-var api = new WrenchRestApi.WRENCHApi()
-var simid = simid_example; // {{String}} ID of the simulation
-var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
-var name = name_example; // {{String}} Name of the action
-
-var callback = function(error, data, response) {
-  if (error) {
-    console.error(error);
-  } else {
-    console.log('API called successfully. Returned data: ' + data);
-  }
-};
-api.getTaskFlops_15(simid, compoundJobName, name, callback);
-
-
- - -
-
using System;
-using System.Diagnostics;
-using IO.Swagger.Api;
-using IO.Swagger.Client;
-using IO.Swagger.Model;
-
-namespace Example
-{
-    public class getTaskFlops_15Example
-    {
-        public void main()
-        {
-
-            var apiInstance = new WRENCHApi();
-            var simid = simid_example;  // String | ID of the simulation
-            var compoundJobName = compoundJobName_example;  // String | Name of the compound job
-            var name = name_example;  // String | Name of the action
-
-            try
-            {
-                // Get an action's flops
-                TaskFlops result = apiInstance.getTaskFlops_15(simid, compoundJobName, name);
-                Debug.WriteLine(result);
-            }
-            catch (Exception e)
-            {
-                Debug.Print("Exception when calling WRENCHApi.getTaskFlops_15: " + e.Message );
-            }
-        }
-    }
-}
-
-
- -
-
<?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-$api_instance = new Swagger\Client\ApiWRENCHApi();
-$simid = simid_example; // String | ID of the simulation
-$compoundJobName = compoundJobName_example; // String | Name of the compound job
-$name = name_example; // String | Name of the action
-
-try {
-    $result = $api_instance->getTaskFlops_15($simid, $compoundJobName, $name);
-    print_r($result);
-} catch (Exception $e) {
-    echo 'Exception when calling WRENCHApi->getTaskFlops_15: ', $e->getMessage(), PHP_EOL;
-}
-?>
-
- -
-
use Data::Dumper;
-use WWW::SwaggerClient::Configuration;
-use WWW::SwaggerClient::WRENCHApi;
-
-my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
-my $simid = simid_example; # String | ID of the simulation
-my $compoundJobName = compoundJobName_example; # String | Name of the compound job
-my $name = name_example; # String | Name of the action
-
-eval { 
-    my $result = $api_instance->getTaskFlops_15(simid => $simid, compoundJobName => $compoundJobName, name => $name);
-    print Dumper($result);
-};
-if ($@) {
-    warn "Exception when calling WRENCHApi->getTaskFlops_15: $@\n";
-}
-
- -
-
from __future__ import print_statement
-import time
-import swagger_client
-from swagger_client.rest import ApiException
-from pprint import pprint
-
-# create an instance of the API class
-api_instance = swagger_client.WRENCHApi()
-simid = simid_example # String | ID of the simulation
-compoundJobName = compoundJobName_example # String | Name of the compound job
-name = name_example # String | Name of the action
-
-try: 
-    # Get an action's flops
-    api_response = api_instance.get_task_flops_15(simid, compoundJobName, name)
-    pprint(api_response)
-except ApiException as e:
-    print("Exception when calling WRENCHApi->getTaskFlops_15: %s\n" % e)
-
-
- -

Parameters

- -
Path parameters
- - - - - - - - - - - - - - -
NameDescription
simid* - - -
-
-
- - String - - -
- ID of the simulation -
-
-
- Required -
-
-
-
compound_job_name* - - -
-
-
- - String - - -
- Name of the compound job -
-
-
- Required -
-
-
-
name* - - -
-
-
- - String - - -
- Name of the action -
-
-
- Required -
-
-
-
- - - - - -

Responses

-

Status: 200 - OK

- - - -
-
-
- -
- -
-
- -

Status: 404 - Job not found

- - - -
-
- -

Status: 405 - Invalid input

- - - -
-
- -
-
-
-
-
-
-

getTaskFlops_10

-

Get an action's flops

-
-
-
-

-

-

-
-
/simulation/{simid}/{compound_job_name}/actions/{name}/actionSetPriority
-

-

Usage and SDK Samples

-

- - -
-
-
curl -X GET\
--H "Accept: application/json"\
-"https://wrench-project.org/v1/simulation/{simid}/{compound_job_name}/actions/{name}/actionSetPriority"
-
-
-
import io.swagger.client.*;
-import io.swagger.client.auth.*;
-import io.swagger.client.model.*;
-import io.swagger.client.api.WRENCHApi;
-
-import java.io.File;
-import java.util.*;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String compoundJobName = compoundJobName_example; // String | Name of the compound job
-        String name = name_example; // String | Name of the action
-        try {
-            TaskFlops result = apiInstance.getTaskFlops_16(simid, compoundJobName, name);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getTaskFlops_16");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
import io.swagger.client.api.WRENCHApi;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String compoundJobName = compoundJobName_example; // String | Name of the compound job
-        String name = name_example; // String | Name of the action
-        try {
-            TaskFlops result = apiInstance.getTaskFlops_16(simid, compoundJobName, name);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getTaskFlops_16");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
String *simid = simid_example; // ID of the simulation
-String *compoundJobName = compoundJobName_example; // Name of the compound job
-String *name = name_example; // Name of the action
-
-WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
-
-// Get an action's flops
-[apiInstance getTaskFlops_10With:simid
-    compoundJobName:compoundJobName
-    name:name
-              completionHandler: ^(TaskFlops output, NSError* error) {
-                            if (output) {
-                                NSLog(@"%@", output);
-                            }
-                            if (error) {
-                                NSLog(@"Error: %@", error);
-                            }
-                        }];
-
-
- -
-
var WrenchRestApi = require('wrench_rest_api');
-
-var api = new WrenchRestApi.WRENCHApi()
-var simid = simid_example; // {{String}} ID of the simulation
-var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
-var name = name_example; // {{String}} Name of the action
-
-var callback = function(error, data, response) {
-  if (error) {
-    console.error(error);
-  } else {
-    console.log('API called successfully. Returned data: ' + data);
-  }
-};
-api.getTaskFlops_16(simid, compoundJobName, name, callback);
-
-
- - -
-
using System;
-using System.Diagnostics;
-using IO.Swagger.Api;
-using IO.Swagger.Client;
-using IO.Swagger.Model;
-
-namespace Example
-{
-    public class getTaskFlops_16Example
-    {
-        public void main()
-        {
-
-            var apiInstance = new WRENCHApi();
-            var simid = simid_example;  // String | ID of the simulation
-            var compoundJobName = compoundJobName_example;  // String | Name of the compound job
-            var name = name_example;  // String | Name of the action
-
-            try
-            {
-                // Get an action's flops
-                TaskFlops result = apiInstance.getTaskFlops_16(simid, compoundJobName, name);
-                Debug.WriteLine(result);
-            }
-            catch (Exception e)
-            {
-                Debug.Print("Exception when calling WRENCHApi.getTaskFlops_16: " + e.Message );
-            }
-        }
-    }
-}
-
-
- -
-
<?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-$api_instance = new Swagger\Client\ApiWRENCHApi();
-$simid = simid_example; // String | ID of the simulation
-$compoundJobName = compoundJobName_example; // String | Name of the compound job
-$name = name_example; // String | Name of the action
-
-try {
-    $result = $api_instance->getTaskFlops_16($simid, $compoundJobName, $name);
-    print_r($result);
-} catch (Exception $e) {
-    echo 'Exception when calling WRENCHApi->getTaskFlops_16: ', $e->getMessage(), PHP_EOL;
-}
-?>
-
- -
-
use Data::Dumper;
-use WWW::SwaggerClient::Configuration;
-use WWW::SwaggerClient::WRENCHApi;
-
-my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
-my $simid = simid_example; # String | ID of the simulation
-my $compoundJobName = compoundJobName_example; # String | Name of the compound job
-my $name = name_example; # String | Name of the action
-
-eval { 
-    my $result = $api_instance->getTaskFlops_16(simid => $simid, compoundJobName => $compoundJobName, name => $name);
-    print Dumper($result);
-};
-if ($@) {
-    warn "Exception when calling WRENCHApi->getTaskFlops_16: $@\n";
-}
-
- -
-
from __future__ import print_statement
-import time
-import swagger_client
-from swagger_client.rest import ApiException
-from pprint import pprint
-
-# create an instance of the API class
-api_instance = swagger_client.WRENCHApi()
-simid = simid_example # String | ID of the simulation
-compoundJobName = compoundJobName_example # String | Name of the compound job
-name = name_example # String | Name of the action
-
-try: 
-    # Get an action's flops
-    api_response = api_instance.get_task_flops_16(simid, compoundJobName, name)
-    pprint(api_response)
-except ApiException as e:
-    print("Exception when calling WRENCHApi->getTaskFlops_16: %s\n" % e)
-
-
- -

Parameters

- -
Path parameters
- - - - - - - - - - - - - - -
NameDescription
simid* - - -
-
-
- - String - - -
- ID of the simulation -
-
-
- Required -
-
-
-
compound_job_name* - - -
-
-
- - String - - -
- Name of the compound job -
-
-
- Required -
-
-
-
name* - - -
-
-
- - String - - -
- Name of the action -
-
-
- Required -
-
-
-
- - - - - -

Responses

-

Status: 200 - OK

- - - -
-
-
- -
- -
-
- -

Status: 404 - Job not found

- - - -
-
- -

Status: 405 - Invalid input

- - - -
-
- -
-
-
-
-
-
-

getTaskFlops_11

-

Get an action's flops

-
-
-
-

-

-

-
-
/simulation/{simid}/{compound_job_name}/actions/{name}/actionGetFlops
-

-

Usage and SDK Samples

-

- - -
-
-
curl -X GET\
--H "Accept: application/json"\
-"https://wrench-project.org/v1/simulation/{simid}/{compound_job_name}/actions/{name}/actionGetFlops"
-
-
-
import io.swagger.client.*;
-import io.swagger.client.auth.*;
-import io.swagger.client.model.*;
-import io.swagger.client.api.WRENCHApi;
-
-import java.io.File;
-import java.util.*;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String compoundJobName = compoundJobName_example; // String | Name of the compound job
-        String name = name_example; // String | Name of the action
-        try {
-            TaskFlops result = apiInstance.getTaskFlops_17(simid, compoundJobName, name);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getTaskFlops_17");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
import io.swagger.client.api.WRENCHApi;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String compoundJobName = compoundJobName_example; // String | Name of the compound job
-        String name = name_example; // String | Name of the action
-        try {
-            TaskFlops result = apiInstance.getTaskFlops_17(simid, compoundJobName, name);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getTaskFlops_17");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
String *simid = simid_example; // ID of the simulation
-String *compoundJobName = compoundJobName_example; // Name of the compound job
-String *name = name_example; // Name of the action
-
-WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
-
-// Get an action's flops
-[apiInstance getTaskFlops_11With:simid
-    compoundJobName:compoundJobName
-    name:name
-              completionHandler: ^(TaskFlops output, NSError* error) {
-                            if (output) {
-                                NSLog(@"%@", output);
-                            }
-                            if (error) {
-                                NSLog(@"Error: %@", error);
-                            }
-                        }];
-
-
- -
-
var WrenchRestApi = require('wrench_rest_api');
-
-var api = new WrenchRestApi.WRENCHApi()
-var simid = simid_example; // {{String}} ID of the simulation
-var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
-var name = name_example; // {{String}} Name of the action
-
-var callback = function(error, data, response) {
-  if (error) {
-    console.error(error);
-  } else {
-    console.log('API called successfully. Returned data: ' + data);
-  }
-};
-api.getTaskFlops_17(simid, compoundJobName, name, callback);
-
-
- - -
-
using System;
-using System.Diagnostics;
-using IO.Swagger.Api;
-using IO.Swagger.Client;
-using IO.Swagger.Model;
-
-namespace Example
-{
-    public class getTaskFlops_17Example
-    {
-        public void main()
-        {
-
-            var apiInstance = new WRENCHApi();
-            var simid = simid_example;  // String | ID of the simulation
-            var compoundJobName = compoundJobName_example;  // String | Name of the compound job
-            var name = name_example;  // String | Name of the action
-
-            try
-            {
-                // Get an action's flops
-                TaskFlops result = apiInstance.getTaskFlops_17(simid, compoundJobName, name);
-                Debug.WriteLine(result);
-            }
-            catch (Exception e)
-            {
-                Debug.Print("Exception when calling WRENCHApi.getTaskFlops_17: " + e.Message );
-            }
-        }
-    }
-}
-
-
- -
-
<?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-$api_instance = new Swagger\Client\ApiWRENCHApi();
-$simid = simid_example; // String | ID of the simulation
-$compoundJobName = compoundJobName_example; // String | Name of the compound job
-$name = name_example; // String | Name of the action
-
-try {
-    $result = $api_instance->getTaskFlops_17($simid, $compoundJobName, $name);
-    print_r($result);
-} catch (Exception $e) {
-    echo 'Exception when calling WRENCHApi->getTaskFlops_17: ', $e->getMessage(), PHP_EOL;
-}
-?>
-
- -
-
use Data::Dumper;
-use WWW::SwaggerClient::Configuration;
-use WWW::SwaggerClient::WRENCHApi;
-
-my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
-my $simid = simid_example; # String | ID of the simulation
-my $compoundJobName = compoundJobName_example; # String | Name of the compound job
-my $name = name_example; # String | Name of the action
-
-eval { 
-    my $result = $api_instance->getTaskFlops_17(simid => $simid, compoundJobName => $compoundJobName, name => $name);
-    print Dumper($result);
-};
-if ($@) {
-    warn "Exception when calling WRENCHApi->getTaskFlops_17: $@\n";
-}
-
- -
-
from __future__ import print_statement
-import time
-import swagger_client
-from swagger_client.rest import ApiException
-from pprint import pprint
-
-# create an instance of the API class
-api_instance = swagger_client.WRENCHApi()
-simid = simid_example # String | ID of the simulation
-compoundJobName = compoundJobName_example # String | Name of the compound job
-name = name_example # String | Name of the action
-
-try: 
-    # Get an action's flops
-    api_response = api_instance.get_task_flops_17(simid, compoundJobName, name)
-    pprint(api_response)
-except ApiException as e:
-    print("Exception when calling WRENCHApi->getTaskFlops_17: %s\n" % e)
-
-
- -

Parameters

- -
Path parameters
- - - - - - - - - - - - - - -
NameDescription
simid* - - -
-
-
- - String - - -
- ID of the simulation -
-
-
- Required -
-
-
-
compound_job_name* - - -
-
-
- - String - - -
- Name of the compound job -
-
-
- Required -
-
-
-
name* - - -
-
-
- - String - - -
- Name of the action -
-
-
- Required -
-
-
-
- - - - - -

Responses

-

Status: 200 - OK

- - - -
-
-
- -
- -
-
- -

Status: 404 - Job not found

- - - -
-
- -

Status: 405 - Invalid input

- - - -
-
- -
-
-
-
-
-
-

getTaskFlops_12

-

Get an action's flops

-
-
-
-

-

-

-
-
/simulation/{simid}/{compound_job_name}/actions/{name}/actionGetState
-

-

Usage and SDK Samples

-

- - -
-
-
curl -X GET\
--H "Accept: application/json"\
-"https://wrench-project.org/v1/simulation/{simid}/{compound_job_name}/actions/{name}/actionGetState"
-
-
-
import io.swagger.client.*;
-import io.swagger.client.auth.*;
-import io.swagger.client.model.*;
-import io.swagger.client.api.WRENCHApi;
-
-import java.io.File;
-import java.util.*;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String compoundJobName = compoundJobName_example; // String | Name of the compound job
-        String name = name_example; // String | Name of the action
-        try {
-            TaskFlops result = apiInstance.getTaskFlops_18(simid, compoundJobName, name);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getTaskFlops_18");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
import io.swagger.client.api.WRENCHApi;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String compoundJobName = compoundJobName_example; // String | Name of the compound job
-        String name = name_example; // String | Name of the action
-        try {
-            TaskFlops result = apiInstance.getTaskFlops_18(simid, compoundJobName, name);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getTaskFlops_18");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
String *simid = simid_example; // ID of the simulation
-String *compoundJobName = compoundJobName_example; // Name of the compound job
-String *name = name_example; // Name of the action
-
-WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
-
-// Get an action's flops
-[apiInstance getTaskFlops_12With:simid
-    compoundJobName:compoundJobName
-    name:name
-              completionHandler: ^(TaskFlops output, NSError* error) {
-                            if (output) {
-                                NSLog(@"%@", output);
-                            }
-                            if (error) {
-                                NSLog(@"Error: %@", error);
-                            }
-                        }];
-
-
- -
-
var WrenchRestApi = require('wrench_rest_api');
-
-var api = new WrenchRestApi.WRENCHApi()
-var simid = simid_example; // {{String}} ID of the simulation
-var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
-var name = name_example; // {{String}} Name of the action
-
-var callback = function(error, data, response) {
-  if (error) {
-    console.error(error);
-  } else {
-    console.log('API called successfully. Returned data: ' + data);
-  }
-};
-api.getTaskFlops_18(simid, compoundJobName, name, callback);
-
-
- - -
-
using System;
-using System.Diagnostics;
-using IO.Swagger.Api;
-using IO.Swagger.Client;
-using IO.Swagger.Model;
-
-namespace Example
-{
-    public class getTaskFlops_18Example
-    {
-        public void main()
-        {
-
-            var apiInstance = new WRENCHApi();
-            var simid = simid_example;  // String | ID of the simulation
-            var compoundJobName = compoundJobName_example;  // String | Name of the compound job
-            var name = name_example;  // String | Name of the action
-
-            try
-            {
-                // Get an action's flops
-                TaskFlops result = apiInstance.getTaskFlops_18(simid, compoundJobName, name);
-                Debug.WriteLine(result);
-            }
-            catch (Exception e)
-            {
-                Debug.Print("Exception when calling WRENCHApi.getTaskFlops_18: " + e.Message );
-            }
-        }
-    }
-}
-
-
- -
-
<?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-$api_instance = new Swagger\Client\ApiWRENCHApi();
-$simid = simid_example; // String | ID of the simulation
-$compoundJobName = compoundJobName_example; // String | Name of the compound job
-$name = name_example; // String | Name of the action
-
-try {
-    $result = $api_instance->getTaskFlops_18($simid, $compoundJobName, $name);
-    print_r($result);
-} catch (Exception $e) {
-    echo 'Exception when calling WRENCHApi->getTaskFlops_18: ', $e->getMessage(), PHP_EOL;
-}
-?>
-
- -
-
use Data::Dumper;
-use WWW::SwaggerClient::Configuration;
-use WWW::SwaggerClient::WRENCHApi;
-
-my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
-my $simid = simid_example; # String | ID of the simulation
-my $compoundJobName = compoundJobName_example; # String | Name of the compound job
-my $name = name_example; # String | Name of the action
-
-eval { 
-    my $result = $api_instance->getTaskFlops_18(simid => $simid, compoundJobName => $compoundJobName, name => $name);
-    print Dumper($result);
-};
-if ($@) {
-    warn "Exception when calling WRENCHApi->getTaskFlops_18: $@\n";
-}
-
- -
-
from __future__ import print_statement
-import time
-import swagger_client
-from swagger_client.rest import ApiException
-from pprint import pprint
-
-# create an instance of the API class
-api_instance = swagger_client.WRENCHApi()
-simid = simid_example # String | ID of the simulation
-compoundJobName = compoundJobName_example # String | Name of the compound job
-name = name_example # String | Name of the action
-
-try: 
-    # Get an action's flops
-    api_response = api_instance.get_task_flops_18(simid, compoundJobName, name)
-    pprint(api_response)
-except ApiException as e:
-    print("Exception when calling WRENCHApi->getTaskFlops_18: %s\n" % e)
-
-
- -

Parameters

- -
Path parameters
- - - - - - - - - - - - - - -
NameDescription
simid* - - -
-
-
- - String - - -
- ID of the simulation -
-
-
- Required -
-
-
-
compound_job_name* - - -
-
-
- - String - - -
- Name of the compound job -
-
-
- Required -
-
-
-
name* - - -
-
-
- - String - - -
- Name of the action -
-
-
- Required -
-
-
-
- - - - - -

Responses

-

Status: 200 - OK

- - - -
-
-
- -
- -
-
- -

Status: 404 - Job not found

- - - -
-
- -

Status: 405 - Invalid input

- - - -
-
- -
-
-
-
-
-
-

getTaskFlops_13

-

Get an action's flops

-
-
-
-

-

-

-
-
/simulation/{simid}/{compound_job_name}/actions/{name}/actionGetExecutionHistory
-

-

Usage and SDK Samples

-

- - -
-
-
curl -X GET\
--H "Accept: application/json"\
-"https://wrench-project.org/v1/simulation/{simid}/{compound_job_name}/actions/{name}/actionGetExecutionHistory"
-
-
-
import io.swagger.client.*;
-import io.swagger.client.auth.*;
-import io.swagger.client.model.*;
-import io.swagger.client.api.WRENCHApi;
-
-import java.io.File;
-import java.util.*;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String compoundJobName = compoundJobName_example; // String | Name of the compound job
-        String name = name_example; // String | Name of the action
-        try {
-            TaskFlops result = apiInstance.getTaskFlops_19(simid, compoundJobName, name);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getTaskFlops_19");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
import io.swagger.client.api.WRENCHApi;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String compoundJobName = compoundJobName_example; // String | Name of the compound job
-        String name = name_example; // String | Name of the action
-        try {
-            TaskFlops result = apiInstance.getTaskFlops_19(simid, compoundJobName, name);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getTaskFlops_19");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
String *simid = simid_example; // ID of the simulation
-String *compoundJobName = compoundJobName_example; // Name of the compound job
-String *name = name_example; // Name of the action
-
-WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
-
-// Get an action's flops
-[apiInstance getTaskFlops_13With:simid
-    compoundJobName:compoundJobName
-    name:name
-              completionHandler: ^(TaskFlops output, NSError* error) {
-                            if (output) {
-                                NSLog(@"%@", output);
-                            }
-                            if (error) {
-                                NSLog(@"Error: %@", error);
-                            }
-                        }];
-
-
- -
-
var WrenchRestApi = require('wrench_rest_api');
-
-var api = new WrenchRestApi.WRENCHApi()
-var simid = simid_example; // {{String}} ID of the simulation
-var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
-var name = name_example; // {{String}} Name of the action
-
-var callback = function(error, data, response) {
-  if (error) {
-    console.error(error);
-  } else {
-    console.log('API called successfully. Returned data: ' + data);
-  }
-};
-api.getTaskFlops_19(simid, compoundJobName, name, callback);
-
-
- - -
-
using System;
-using System.Diagnostics;
-using IO.Swagger.Api;
-using IO.Swagger.Client;
-using IO.Swagger.Model;
-
-namespace Example
-{
-    public class getTaskFlops_19Example
-    {
-        public void main()
-        {
-
-            var apiInstance = new WRENCHApi();
-            var simid = simid_example;  // String | ID of the simulation
-            var compoundJobName = compoundJobName_example;  // String | Name of the compound job
-            var name = name_example;  // String | Name of the action
-
-            try
-            {
-                // Get an action's flops
-                TaskFlops result = apiInstance.getTaskFlops_19(simid, compoundJobName, name);
-                Debug.WriteLine(result);
-            }
-            catch (Exception e)
-            {
-                Debug.Print("Exception when calling WRENCHApi.getTaskFlops_19: " + e.Message );
-            }
-        }
-    }
-}
-
-
- -
-
<?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-$api_instance = new Swagger\Client\ApiWRENCHApi();
-$simid = simid_example; // String | ID of the simulation
-$compoundJobName = compoundJobName_example; // String | Name of the compound job
-$name = name_example; // String | Name of the action
-
-try {
-    $result = $api_instance->getTaskFlops_19($simid, $compoundJobName, $name);
-    print_r($result);
-} catch (Exception $e) {
-    echo 'Exception when calling WRENCHApi->getTaskFlops_19: ', $e->getMessage(), PHP_EOL;
-}
-?>
-
- -
-
use Data::Dumper;
-use WWW::SwaggerClient::Configuration;
-use WWW::SwaggerClient::WRENCHApi;
-
-my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
-my $simid = simid_example; # String | ID of the simulation
-my $compoundJobName = compoundJobName_example; # String | Name of the compound job
-my $name = name_example; # String | Name of the action
-
-eval { 
-    my $result = $api_instance->getTaskFlops_19(simid => $simid, compoundJobName => $compoundJobName, name => $name);
-    print Dumper($result);
-};
-if ($@) {
-    warn "Exception when calling WRENCHApi->getTaskFlops_19: $@\n";
-}
-
- -
-
from __future__ import print_statement
-import time
-import swagger_client
-from swagger_client.rest import ApiException
-from pprint import pprint
-
-# create an instance of the API class
-api_instance = swagger_client.WRENCHApi()
-simid = simid_example # String | ID of the simulation
-compoundJobName = compoundJobName_example # String | Name of the compound job
-name = name_example # String | Name of the action
-
-try: 
-    # Get an action's flops
-    api_response = api_instance.get_task_flops_19(simid, compoundJobName, name)
-    pprint(api_response)
-except ApiException as e:
-    print("Exception when calling WRENCHApi->getTaskFlops_19: %s\n" % e)
-
-
- -

Parameters

- -
Path parameters
- - - - - - - - - - - - - - -
NameDescription
simid* - - -
-
-
- - String - - -
- ID of the simulation -
-
-
- Required -
-
-
-
compound_job_name* - - -
-
-
- - String - - -
- Name of the compound job -
-
-
- Required -
-
-
-
name* - - -
-
-
- - String - - -
- Name of the action -
-
-
- Required -
-
-
-
- - - - - -

Responses

-

Status: 200 - OK

- - - -
-
-
- -
- -
-
- -

Status: 404 - Job not found

- - - -
-
- -

Status: 405 - Invalid input

- - - -
-
- -
-
-
-
-
-
-

getTaskFlops_14

-

Get an action's flops

-
-
-
-

-

-

-
-
/simulation/{simid}/compoundJobs/{compound_job_name}/addChildJob
-

-

Usage and SDK Samples

-

- - -
-
-
curl -X GET\
--H "Accept: application/json"\
-"https://wrench-project.org/v1/simulation/{simid}/compoundJobs/{compound_job_name}/addChildJob"
-
-
-
import io.swagger.client.*;
-import io.swagger.client.auth.*;
-import io.swagger.client.model.*;
-import io.swagger.client.api.WRENCHApi;
-
-import java.io.File;
-import java.util.*;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String compoundJobName = compoundJobName_example; // String | Name of the compound job
-        try {
-            TaskFlops result = apiInstance.getTaskFlops_2(simid, compoundJobName);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getTaskFlops_2");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
import io.swagger.client.api.WRENCHApi;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String compoundJobName = compoundJobName_example; // String | Name of the compound job
-        try {
-            TaskFlops result = apiInstance.getTaskFlops_2(simid, compoundJobName);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getTaskFlops_2");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
String *simid = simid_example; // ID of the simulation
-String *compoundJobName = compoundJobName_example; // Name of the compound job
-
-WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
-
-// Get an action's flops
-[apiInstance getTaskFlops_14With:simid
-    compoundJobName:compoundJobName
-              completionHandler: ^(TaskFlops output, NSError* error) {
-                            if (output) {
-                                NSLog(@"%@", output);
-                            }
-                            if (error) {
-                                NSLog(@"Error: %@", error);
-                            }
-                        }];
-
-
- -
-
var WrenchRestApi = require('wrench_rest_api');
-
-var api = new WrenchRestApi.WRENCHApi()
-var simid = simid_example; // {{String}} ID of the simulation
-var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
-
-var callback = function(error, data, response) {
-  if (error) {
-    console.error(error);
-  } else {
-    console.log('API called successfully. Returned data: ' + data);
-  }
-};
-api.getTaskFlops_2(simid, compoundJobName, callback);
-
-
- - -
-
using System;
-using System.Diagnostics;
-using IO.Swagger.Api;
-using IO.Swagger.Client;
-using IO.Swagger.Model;
-
-namespace Example
-{
-    public class getTaskFlops_2Example
-    {
-        public void main()
-        {
-
-            var apiInstance = new WRENCHApi();
-            var simid = simid_example;  // String | ID of the simulation
-            var compoundJobName = compoundJobName_example;  // String | Name of the compound job
-
-            try
-            {
-                // Get an action's flops
-                TaskFlops result = apiInstance.getTaskFlops_2(simid, compoundJobName);
-                Debug.WriteLine(result);
-            }
-            catch (Exception e)
-            {
-                Debug.Print("Exception when calling WRENCHApi.getTaskFlops_2: " + e.Message );
-            }
-        }
-    }
-}
-
-
- -
-
<?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-$api_instance = new Swagger\Client\ApiWRENCHApi();
-$simid = simid_example; // String | ID of the simulation
-$compoundJobName = compoundJobName_example; // String | Name of the compound job
-
-try {
-    $result = $api_instance->getTaskFlops_2($simid, $compoundJobName);
-    print_r($result);
-} catch (Exception $e) {
-    echo 'Exception when calling WRENCHApi->getTaskFlops_2: ', $e->getMessage(), PHP_EOL;
-}
-?>
-
- -
-
use Data::Dumper;
-use WWW::SwaggerClient::Configuration;
-use WWW::SwaggerClient::WRENCHApi;
-
-my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
-my $simid = simid_example; # String | ID of the simulation
-my $compoundJobName = compoundJobName_example; # String | Name of the compound job
-
-eval { 
-    my $result = $api_instance->getTaskFlops_2(simid => $simid, compoundJobName => $compoundJobName);
-    print Dumper($result);
-};
-if ($@) {
-    warn "Exception when calling WRENCHApi->getTaskFlops_2: $@\n";
-}
-
- -
-
from __future__ import print_statement
-import time
-import swagger_client
-from swagger_client.rest import ApiException
-from pprint import pprint
-
-# create an instance of the API class
-api_instance = swagger_client.WRENCHApi()
-simid = simid_example # String | ID of the simulation
-compoundJobName = compoundJobName_example # String | Name of the compound job
-
-try: 
-    # Get an action's flops
-    api_response = api_instance.get_task_flops_2(simid, compoundJobName)
-    pprint(api_response)
-except ApiException as e:
-    print("Exception when calling WRENCHApi->getTaskFlops_2: %s\n" % e)
-
-
- -

Parameters

- -
Path parameters
- - - - - - - - - - - -
NameDescription
simid* - - -
-
-
- - String - - -
- ID of the simulation -
-
-
- Required -
-
-
-
compound_job_name* - - -
-
-
- - String - - -
- Name of the compound job -
-
-
- Required -
-
-
-
- - - - - -

Responses

-

Status: 200 - OK

- - - -
-
-
- -
- -
-
- -

Status: 404 - Job not found

- - - -
-
- -

Status: 405 - Invalid input

- - - -
-
- -
-
-
-
-
-
-

getTaskFlops_15

-

Get an action's flops

-
-
-
-

-

-

-
-
/simulation/{simid}/{compound_job_name}/actions/{name}/actionGetFailureCause
-

-

Usage and SDK Samples

-

- - -
-
-
curl -X GET\
--H "Accept: application/json"\
-"https://wrench-project.org/v1/simulation/{simid}/{compound_job_name}/actions/{name}/actionGetFailureCause"
-
-
-
import io.swagger.client.*;
-import io.swagger.client.auth.*;
-import io.swagger.client.model.*;
-import io.swagger.client.api.WRENCHApi;
-
-import java.io.File;
-import java.util.*;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String compoundJobName = compoundJobName_example; // String | Name of the compound job
-        String name = name_example; // String | Name of the action
-        try {
-            TaskFlops result = apiInstance.getTaskFlops_20(simid, compoundJobName, name);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getTaskFlops_20");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
import io.swagger.client.api.WRENCHApi;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String compoundJobName = compoundJobName_example; // String | Name of the compound job
-        String name = name_example; // String | Name of the action
-        try {
-            TaskFlops result = apiInstance.getTaskFlops_20(simid, compoundJobName, name);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getTaskFlops_20");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
String *simid = simid_example; // ID of the simulation
-String *compoundJobName = compoundJobName_example; // Name of the compound job
-String *name = name_example; // Name of the action
-
-WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
-
-// Get an action's flops
-[apiInstance getTaskFlops_15With:simid
-    compoundJobName:compoundJobName
-    name:name
-              completionHandler: ^(TaskFlops output, NSError* error) {
-                            if (output) {
-                                NSLog(@"%@", output);
-                            }
-                            if (error) {
-                                NSLog(@"Error: %@", error);
-                            }
-                        }];
-
-
- -
-
var WrenchRestApi = require('wrench_rest_api');
-
-var api = new WrenchRestApi.WRENCHApi()
-var simid = simid_example; // {{String}} ID of the simulation
-var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
-var name = name_example; // {{String}} Name of the action
-
-var callback = function(error, data, response) {
-  if (error) {
-    console.error(error);
-  } else {
-    console.log('API called successfully. Returned data: ' + data);
-  }
-};
-api.getTaskFlops_20(simid, compoundJobName, name, callback);
-
-
- - -
-
using System;
-using System.Diagnostics;
-using IO.Swagger.Api;
-using IO.Swagger.Client;
-using IO.Swagger.Model;
-
-namespace Example
-{
-    public class getTaskFlops_20Example
-    {
-        public void main()
-        {
-
-            var apiInstance = new WRENCHApi();
-            var simid = simid_example;  // String | ID of the simulation
-            var compoundJobName = compoundJobName_example;  // String | Name of the compound job
-            var name = name_example;  // String | Name of the action
-
-            try
-            {
-                // Get an action's flops
-                TaskFlops result = apiInstance.getTaskFlops_20(simid, compoundJobName, name);
-                Debug.WriteLine(result);
-            }
-            catch (Exception e)
-            {
-                Debug.Print("Exception when calling WRENCHApi.getTaskFlops_20: " + e.Message );
-            }
-        }
-    }
-}
-
-
- -
-
<?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-$api_instance = new Swagger\Client\ApiWRENCHApi();
-$simid = simid_example; // String | ID of the simulation
-$compoundJobName = compoundJobName_example; // String | Name of the compound job
-$name = name_example; // String | Name of the action
-
-try {
-    $result = $api_instance->getTaskFlops_20($simid, $compoundJobName, $name);
-    print_r($result);
-} catch (Exception $e) {
-    echo 'Exception when calling WRENCHApi->getTaskFlops_20: ', $e->getMessage(), PHP_EOL;
-}
-?>
-
- -
-
use Data::Dumper;
-use WWW::SwaggerClient::Configuration;
-use WWW::SwaggerClient::WRENCHApi;
-
-my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
-my $simid = simid_example; # String | ID of the simulation
-my $compoundJobName = compoundJobName_example; # String | Name of the compound job
-my $name = name_example; # String | Name of the action
-
-eval { 
-    my $result = $api_instance->getTaskFlops_20(simid => $simid, compoundJobName => $compoundJobName, name => $name);
-    print Dumper($result);
-};
-if ($@) {
-    warn "Exception when calling WRENCHApi->getTaskFlops_20: $@\n";
-}
-
- -
-
from __future__ import print_statement
-import time
-import swagger_client
-from swagger_client.rest import ApiException
-from pprint import pprint
-
-# create an instance of the API class
-api_instance = swagger_client.WRENCHApi()
-simid = simid_example # String | ID of the simulation
-compoundJobName = compoundJobName_example # String | Name of the compound job
-name = name_example # String | Name of the action
-
-try: 
-    # Get an action's flops
-    api_response = api_instance.get_task_flops_20(simid, compoundJobName, name)
-    pprint(api_response)
-except ApiException as e:
-    print("Exception when calling WRENCHApi->getTaskFlops_20: %s\n" % e)
-
-
- -

Parameters

- -
Path parameters
- - - - - - - - - - - - - - -
NameDescription
simid* - - -
-
-
- - String - - -
- ID of the simulation -
-
-
- Required -
-
-
-
compound_job_name* - - -
-
-
- - String - - -
- Name of the compound job -
-
-
- Required -
-
-
-
name* - - -
-
-
- - String - - -
- Name of the action -
-
-
- Required -
-
-
-
- - - - - -

Responses

-

Status: 200 - OK

- - - -
-
-
- -
- -
-
- -

Status: 404 - Job not found

- - - -
-
- -

Status: 405 - Invalid input

- - - -
-
- -
-
-
-
-
-
-

getTaskFlops_16

-

Get an action's flops

-
-
-
-

-

-

-
-
/simulation/{simid}/{compound_job_name}/actions/{name}/fileCopyAction/getDestinationFileLocation
-

-

Usage and SDK Samples

-

- - -
-
-
curl -X GET\
--H "Accept: application/json"\
-"https://wrench-project.org/v1/simulation/{simid}/{compound_job_name}/actions/{name}/fileCopyAction/getDestinationFileLocation"
-
-
-
import io.swagger.client.*;
-import io.swagger.client.auth.*;
-import io.swagger.client.model.*;
-import io.swagger.client.api.WRENCHApi;
-
-import java.io.File;
-import java.util.*;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String compoundJobName = compoundJobName_example; // String | Name of the compound job
-        String name = name_example; // String | Name of the action
-        try {
-            TaskFlops result = apiInstance.getTaskFlops_21(simid, compoundJobName, name);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getTaskFlops_21");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
import io.swagger.client.api.WRENCHApi;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String compoundJobName = compoundJobName_example; // String | Name of the compound job
-        String name = name_example; // String | Name of the action
-        try {
-            TaskFlops result = apiInstance.getTaskFlops_21(simid, compoundJobName, name);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getTaskFlops_21");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
String *simid = simid_example; // ID of the simulation
-String *compoundJobName = compoundJobName_example; // Name of the compound job
-String *name = name_example; // Name of the action
-
-WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
-
-// Get an action's flops
-[apiInstance getTaskFlops_16With:simid
-    compoundJobName:compoundJobName
-    name:name
-              completionHandler: ^(TaskFlops output, NSError* error) {
-                            if (output) {
-                                NSLog(@"%@", output);
-                            }
-                            if (error) {
-                                NSLog(@"Error: %@", error);
-                            }
-                        }];
-
-
- -
-
var WrenchRestApi = require('wrench_rest_api');
-
-var api = new WrenchRestApi.WRENCHApi()
-var simid = simid_example; // {{String}} ID of the simulation
-var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
-var name = name_example; // {{String}} Name of the action
-
-var callback = function(error, data, response) {
-  if (error) {
-    console.error(error);
-  } else {
-    console.log('API called successfully. Returned data: ' + data);
-  }
-};
-api.getTaskFlops_21(simid, compoundJobName, name, callback);
-
-
- - -
-
using System;
-using System.Diagnostics;
-using IO.Swagger.Api;
-using IO.Swagger.Client;
-using IO.Swagger.Model;
-
-namespace Example
-{
-    public class getTaskFlops_21Example
-    {
-        public void main()
-        {
-
-            var apiInstance = new WRENCHApi();
-            var simid = simid_example;  // String | ID of the simulation
-            var compoundJobName = compoundJobName_example;  // String | Name of the compound job
-            var name = name_example;  // String | Name of the action
-
-            try
-            {
-                // Get an action's flops
-                TaskFlops result = apiInstance.getTaskFlops_21(simid, compoundJobName, name);
-                Debug.WriteLine(result);
-            }
-            catch (Exception e)
-            {
-                Debug.Print("Exception when calling WRENCHApi.getTaskFlops_21: " + e.Message );
-            }
-        }
-    }
-}
-
-
- -
-
<?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-$api_instance = new Swagger\Client\ApiWRENCHApi();
-$simid = simid_example; // String | ID of the simulation
-$compoundJobName = compoundJobName_example; // String | Name of the compound job
-$name = name_example; // String | Name of the action
-
-try {
-    $result = $api_instance->getTaskFlops_21($simid, $compoundJobName, $name);
-    print_r($result);
-} catch (Exception $e) {
-    echo 'Exception when calling WRENCHApi->getTaskFlops_21: ', $e->getMessage(), PHP_EOL;
-}
-?>
-
- -
-
use Data::Dumper;
-use WWW::SwaggerClient::Configuration;
-use WWW::SwaggerClient::WRENCHApi;
-
-my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
-my $simid = simid_example; # String | ID of the simulation
-my $compoundJobName = compoundJobName_example; # String | Name of the compound job
-my $name = name_example; # String | Name of the action
-
-eval { 
-    my $result = $api_instance->getTaskFlops_21(simid => $simid, compoundJobName => $compoundJobName, name => $name);
-    print Dumper($result);
-};
-if ($@) {
-    warn "Exception when calling WRENCHApi->getTaskFlops_21: $@\n";
-}
-
- -
-
from __future__ import print_statement
-import time
-import swagger_client
-from swagger_client.rest import ApiException
-from pprint import pprint
-
-# create an instance of the API class
-api_instance = swagger_client.WRENCHApi()
-simid = simid_example # String | ID of the simulation
-compoundJobName = compoundJobName_example # String | Name of the compound job
-name = name_example # String | Name of the action
-
-try: 
-    # Get an action's flops
-    api_response = api_instance.get_task_flops_21(simid, compoundJobName, name)
-    pprint(api_response)
-except ApiException as e:
-    print("Exception when calling WRENCHApi->getTaskFlops_21: %s\n" % e)
-
-
- -

Parameters

- -
Path parameters
- - - - - - - - - - - - - - -
NameDescription
simid* - - -
-
-
- - String - - -
- ID of the simulation -
-
-
- Required -
-
-
-
compound_job_name* - - -
-
-
- - String - - -
- Name of the compound job -
-
-
- Required -
-
-
-
name* - - -
-
-
- - String - - -
- Name of the action -
-
-
- Required -
-
-
-
- - - - - -

Responses

-

Status: 200 - OK

- - - -
-
-
- -
- -
-
- -

Status: 404 - Job not found

- - - -
-
- -

Status: 405 - Invalid input

- - - -
-
- -
-
-
-
-
-
-

getTaskFlops_17

-

Get an action's flops

-
-
-
-

-

-

-
-
/simulation/{simid}/{compound_job_name}/actions/{name}/fileCopyAction/getFile
-

-

Usage and SDK Samples

-

- - -
-
-
curl -X GET\
--H "Accept: application/json"\
-"https://wrench-project.org/v1/simulation/{simid}/{compound_job_name}/actions/{name}/fileCopyAction/getFile"
-
-
-
import io.swagger.client.*;
-import io.swagger.client.auth.*;
-import io.swagger.client.model.*;
-import io.swagger.client.api.WRENCHApi;
-
-import java.io.File;
-import java.util.*;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String compoundJobName = compoundJobName_example; // String | Name of the compound job
-        String name = name_example; // String | Name of the action
-        try {
-            TaskFlops result = apiInstance.getTaskFlops_22(simid, compoundJobName, name);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getTaskFlops_22");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
import io.swagger.client.api.WRENCHApi;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String compoundJobName = compoundJobName_example; // String | Name of the compound job
-        String name = name_example; // String | Name of the action
-        try {
-            TaskFlops result = apiInstance.getTaskFlops_22(simid, compoundJobName, name);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getTaskFlops_22");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
String *simid = simid_example; // ID of the simulation
-String *compoundJobName = compoundJobName_example; // Name of the compound job
-String *name = name_example; // Name of the action
-
-WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
-
-// Get an action's flops
-[apiInstance getTaskFlops_17With:simid
-    compoundJobName:compoundJobName
-    name:name
-              completionHandler: ^(TaskFlops output, NSError* error) {
-                            if (output) {
-                                NSLog(@"%@", output);
-                            }
-                            if (error) {
-                                NSLog(@"Error: %@", error);
-                            }
-                        }];
-
-
- -
-
var WrenchRestApi = require('wrench_rest_api');
-
-var api = new WrenchRestApi.WRENCHApi()
-var simid = simid_example; // {{String}} ID of the simulation
-var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
-var name = name_example; // {{String}} Name of the action
-
-var callback = function(error, data, response) {
-  if (error) {
-    console.error(error);
-  } else {
-    console.log('API called successfully. Returned data: ' + data);
-  }
-};
-api.getTaskFlops_22(simid, compoundJobName, name, callback);
-
-
- - -
-
using System;
-using System.Diagnostics;
-using IO.Swagger.Api;
-using IO.Swagger.Client;
-using IO.Swagger.Model;
-
-namespace Example
-{
-    public class getTaskFlops_22Example
-    {
-        public void main()
-        {
-
-            var apiInstance = new WRENCHApi();
-            var simid = simid_example;  // String | ID of the simulation
-            var compoundJobName = compoundJobName_example;  // String | Name of the compound job
-            var name = name_example;  // String | Name of the action
-
-            try
-            {
-                // Get an action's flops
-                TaskFlops result = apiInstance.getTaskFlops_22(simid, compoundJobName, name);
-                Debug.WriteLine(result);
-            }
-            catch (Exception e)
-            {
-                Debug.Print("Exception when calling WRENCHApi.getTaskFlops_22: " + e.Message );
-            }
-        }
-    }
-}
-
-
- -
-
<?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-$api_instance = new Swagger\Client\ApiWRENCHApi();
-$simid = simid_example; // String | ID of the simulation
-$compoundJobName = compoundJobName_example; // String | Name of the compound job
-$name = name_example; // String | Name of the action
-
-try {
-    $result = $api_instance->getTaskFlops_22($simid, $compoundJobName, $name);
-    print_r($result);
-} catch (Exception $e) {
-    echo 'Exception when calling WRENCHApi->getTaskFlops_22: ', $e->getMessage(), PHP_EOL;
-}
-?>
-
- -
-
use Data::Dumper;
-use WWW::SwaggerClient::Configuration;
-use WWW::SwaggerClient::WRENCHApi;
-
-my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
-my $simid = simid_example; # String | ID of the simulation
-my $compoundJobName = compoundJobName_example; # String | Name of the compound job
-my $name = name_example; # String | Name of the action
-
-eval { 
-    my $result = $api_instance->getTaskFlops_22(simid => $simid, compoundJobName => $compoundJobName, name => $name);
-    print Dumper($result);
-};
-if ($@) {
-    warn "Exception when calling WRENCHApi->getTaskFlops_22: $@\n";
-}
-
- -
-
from __future__ import print_statement
-import time
-import swagger_client
-from swagger_client.rest import ApiException
-from pprint import pprint
-
-# create an instance of the API class
-api_instance = swagger_client.WRENCHApi()
-simid = simid_example # String | ID of the simulation
-compoundJobName = compoundJobName_example # String | Name of the compound job
-name = name_example # String | Name of the action
-
-try: 
-    # Get an action's flops
-    api_response = api_instance.get_task_flops_22(simid, compoundJobName, name)
-    pprint(api_response)
-except ApiException as e:
-    print("Exception when calling WRENCHApi->getTaskFlops_22: %s\n" % e)
-
-
- -

Parameters

- -
Path parameters
- - - - - - - - - - - - - - -
NameDescription
simid* - - -
-
-
- - String - - -
- ID of the simulation -
-
-
- Required -
-
-
-
compound_job_name* - - -
-
-
- - String - - -
- Name of the compound job -
-
-
- Required -
-
-
-
name* - - -
-
-
- - String - - -
- Name of the action -
-
-
- Required -
-
-
-
- - - - - -

Responses

-

Status: 200 - OK

- - - -
-
-
- -
- -
-
- -

Status: 404 - Job not found

- - - -
-
- -

Status: 405 - Invalid input

- - - -
-
- -
-
-
-
-
-
-

getTaskFlops_18

-

Get an action's flops

-
-
-
-

-

-

-
-
/simulation/{simid}/{compound_job_name}/actions/{name}/fileCopyAction/getSourceFileLocation
-

-

Usage and SDK Samples

-

- - -
-
-
curl -X GET\
--H "Accept: application/json"\
-"https://wrench-project.org/v1/simulation/{simid}/{compound_job_name}/actions/{name}/fileCopyAction/getSourceFileLocation"
-
-
-
import io.swagger.client.*;
-import io.swagger.client.auth.*;
-import io.swagger.client.model.*;
-import io.swagger.client.api.WRENCHApi;
-
-import java.io.File;
-import java.util.*;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String compoundJobName = compoundJobName_example; // String | Name of the compound job
-        String name = name_example; // String | Name of the action
-        try {
-            TaskFlops result = apiInstance.getTaskFlops_23(simid, compoundJobName, name);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getTaskFlops_23");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
import io.swagger.client.api.WRENCHApi;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String compoundJobName = compoundJobName_example; // String | Name of the compound job
-        String name = name_example; // String | Name of the action
-        try {
-            TaskFlops result = apiInstance.getTaskFlops_23(simid, compoundJobName, name);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getTaskFlops_23");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
String *simid = simid_example; // ID of the simulation
-String *compoundJobName = compoundJobName_example; // Name of the compound job
-String *name = name_example; // Name of the action
-
-WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
-
-// Get an action's flops
-[apiInstance getTaskFlops_18With:simid
-    compoundJobName:compoundJobName
-    name:name
-              completionHandler: ^(TaskFlops output, NSError* error) {
-                            if (output) {
-                                NSLog(@"%@", output);
-                            }
-                            if (error) {
-                                NSLog(@"Error: %@", error);
-                            }
-                        }];
-
-
- -
-
var WrenchRestApi = require('wrench_rest_api');
-
-var api = new WrenchRestApi.WRENCHApi()
-var simid = simid_example; // {{String}} ID of the simulation
-var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
-var name = name_example; // {{String}} Name of the action
-
-var callback = function(error, data, response) {
-  if (error) {
-    console.error(error);
-  } else {
-    console.log('API called successfully. Returned data: ' + data);
-  }
-};
-api.getTaskFlops_23(simid, compoundJobName, name, callback);
-
-
- - -
-
using System;
-using System.Diagnostics;
-using IO.Swagger.Api;
-using IO.Swagger.Client;
-using IO.Swagger.Model;
-
-namespace Example
-{
-    public class getTaskFlops_23Example
-    {
-        public void main()
-        {
-
-            var apiInstance = new WRENCHApi();
-            var simid = simid_example;  // String | ID of the simulation
-            var compoundJobName = compoundJobName_example;  // String | Name of the compound job
-            var name = name_example;  // String | Name of the action
-
-            try
-            {
-                // Get an action's flops
-                TaskFlops result = apiInstance.getTaskFlops_23(simid, compoundJobName, name);
-                Debug.WriteLine(result);
-            }
-            catch (Exception e)
-            {
-                Debug.Print("Exception when calling WRENCHApi.getTaskFlops_23: " + e.Message );
-            }
-        }
-    }
-}
-
-
- -
-
<?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-$api_instance = new Swagger\Client\ApiWRENCHApi();
-$simid = simid_example; // String | ID of the simulation
-$compoundJobName = compoundJobName_example; // String | Name of the compound job
-$name = name_example; // String | Name of the action
-
-try {
-    $result = $api_instance->getTaskFlops_23($simid, $compoundJobName, $name);
-    print_r($result);
-} catch (Exception $e) {
-    echo 'Exception when calling WRENCHApi->getTaskFlops_23: ', $e->getMessage(), PHP_EOL;
-}
-?>
-
- -
-
use Data::Dumper;
-use WWW::SwaggerClient::Configuration;
-use WWW::SwaggerClient::WRENCHApi;
-
-my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
-my $simid = simid_example; # String | ID of the simulation
-my $compoundJobName = compoundJobName_example; # String | Name of the compound job
-my $name = name_example; # String | Name of the action
-
-eval { 
-    my $result = $api_instance->getTaskFlops_23(simid => $simid, compoundJobName => $compoundJobName, name => $name);
-    print Dumper($result);
-};
-if ($@) {
-    warn "Exception when calling WRENCHApi->getTaskFlops_23: $@\n";
-}
-
- -
-
from __future__ import print_statement
-import time
-import swagger_client
-from swagger_client.rest import ApiException
-from pprint import pprint
-
-# create an instance of the API class
-api_instance = swagger_client.WRENCHApi()
-simid = simid_example # String | ID of the simulation
-compoundJobName = compoundJobName_example # String | Name of the compound job
-name = name_example # String | Name of the action
-
-try: 
-    # Get an action's flops
-    api_response = api_instance.get_task_flops_23(simid, compoundJobName, name)
-    pprint(api_response)
-except ApiException as e:
-    print("Exception when calling WRENCHApi->getTaskFlops_23: %s\n" % e)
-
-
- -

Parameters

- -
Path parameters
- - - - - - - - - - - - - - -
NameDescription
simid* - - -
-
-
- - String - - -
- ID of the simulation -
-
-
- Required -
-
-
-
compound_job_name* - - -
-
-
- - String - - -
- Name of the compound job -
-
-
- Required -
-
-
-
name* - - -
-
-
- - String - - -
- Name of the action -
-
-
- Required -
-
-
-
- - - - - -

Responses

-

Status: 200 - OK

- - - -
-
-
- -
- -
-
- -

Status: 404 - Job not found

- - - -
-
- -

Status: 405 - Invalid input

- - - -
-
- -
-
-
-
-
-
-

getTaskFlops_19

-

Get an action's flops

-
-
-
-

-

-

-
-
/simulation/{simid}/{compound_job_name}/actions/{name}/fileReadAction/getUsedFileLocation
-

-

Usage and SDK Samples

-

- - -
-
-
curl -X GET\
--H "Accept: application/json"\
-"https://wrench-project.org/v1/simulation/{simid}/{compound_job_name}/actions/{name}/fileReadAction/getUsedFileLocation"
-
-
-
import io.swagger.client.*;
-import io.swagger.client.auth.*;
-import io.swagger.client.model.*;
-import io.swagger.client.api.WRENCHApi;
-
-import java.io.File;
-import java.util.*;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String compoundJobName = compoundJobName_example; // String | Name of the compound job
-        String name = name_example; // String | Name of the action
-        try {
-            TaskFlops result = apiInstance.getTaskFlops_24(simid, compoundJobName, name);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getTaskFlops_24");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
import io.swagger.client.api.WRENCHApi;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String compoundJobName = compoundJobName_example; // String | Name of the compound job
-        String name = name_example; // String | Name of the action
-        try {
-            TaskFlops result = apiInstance.getTaskFlops_24(simid, compoundJobName, name);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getTaskFlops_24");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
String *simid = simid_example; // ID of the simulation
-String *compoundJobName = compoundJobName_example; // Name of the compound job
-String *name = name_example; // Name of the action
-
-WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
-
-// Get an action's flops
-[apiInstance getTaskFlops_19With:simid
-    compoundJobName:compoundJobName
-    name:name
-              completionHandler: ^(TaskFlops output, NSError* error) {
-                            if (output) {
-                                NSLog(@"%@", output);
-                            }
-                            if (error) {
-                                NSLog(@"Error: %@", error);
-                            }
-                        }];
-
-
- -
-
var WrenchRestApi = require('wrench_rest_api');
-
-var api = new WrenchRestApi.WRENCHApi()
-var simid = simid_example; // {{String}} ID of the simulation
-var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
-var name = name_example; // {{String}} Name of the action
-
-var callback = function(error, data, response) {
-  if (error) {
-    console.error(error);
-  } else {
-    console.log('API called successfully. Returned data: ' + data);
-  }
-};
-api.getTaskFlops_24(simid, compoundJobName, name, callback);
-
-
- - -
-
using System;
-using System.Diagnostics;
-using IO.Swagger.Api;
-using IO.Swagger.Client;
-using IO.Swagger.Model;
-
-namespace Example
-{
-    public class getTaskFlops_24Example
-    {
-        public void main()
-        {
-
-            var apiInstance = new WRENCHApi();
-            var simid = simid_example;  // String | ID of the simulation
-            var compoundJobName = compoundJobName_example;  // String | Name of the compound job
-            var name = name_example;  // String | Name of the action
-
-            try
-            {
-                // Get an action's flops
-                TaskFlops result = apiInstance.getTaskFlops_24(simid, compoundJobName, name);
-                Debug.WriteLine(result);
-            }
-            catch (Exception e)
-            {
-                Debug.Print("Exception when calling WRENCHApi.getTaskFlops_24: " + e.Message );
-            }
-        }
-    }
-}
-
-
- -
-
<?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-$api_instance = new Swagger\Client\ApiWRENCHApi();
-$simid = simid_example; // String | ID of the simulation
-$compoundJobName = compoundJobName_example; // String | Name of the compound job
-$name = name_example; // String | Name of the action
-
-try {
-    $result = $api_instance->getTaskFlops_24($simid, $compoundJobName, $name);
-    print_r($result);
-} catch (Exception $e) {
-    echo 'Exception when calling WRENCHApi->getTaskFlops_24: ', $e->getMessage(), PHP_EOL;
-}
-?>
-
- -
-
use Data::Dumper;
-use WWW::SwaggerClient::Configuration;
-use WWW::SwaggerClient::WRENCHApi;
-
-my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
-my $simid = simid_example; # String | ID of the simulation
-my $compoundJobName = compoundJobName_example; # String | Name of the compound job
-my $name = name_example; # String | Name of the action
-
-eval { 
-    my $result = $api_instance->getTaskFlops_24(simid => $simid, compoundJobName => $compoundJobName, name => $name);
-    print Dumper($result);
-};
-if ($@) {
-    warn "Exception when calling WRENCHApi->getTaskFlops_24: $@\n";
-}
-
- -
-
from __future__ import print_statement
-import time
-import swagger_client
-from swagger_client.rest import ApiException
-from pprint import pprint
-
-# create an instance of the API class
-api_instance = swagger_client.WRENCHApi()
-simid = simid_example # String | ID of the simulation
-compoundJobName = compoundJobName_example # String | Name of the compound job
-name = name_example # String | Name of the action
-
-try: 
-    # Get an action's flops
-    api_response = api_instance.get_task_flops_24(simid, compoundJobName, name)
-    pprint(api_response)
-except ApiException as e:
-    print("Exception when calling WRENCHApi->getTaskFlops_24: %s\n" % e)
-
-
- -

Parameters

- -
Path parameters
- - - - - - - - - - - - - - -
NameDescription
simid* - - -
-
-
- - String - - -
- ID of the simulation -
-
-
- Required -
-
-
-
compound_job_name* - - -
-
-
- - String - - -
- Name of the compound job -
-
-
- Required -
-
-
-
name* - - -
-
-
- - String - - -
- Name of the action -
-
-
- Required -
-
-
-
- - - - - -

Responses

-

Status: 200 - OK

- - - -
-
-
- -
- -
-
- -

Status: 404 - Job not found

- - - -
-
- -

Status: 405 - Invalid input

- - - -
-
- -
-
-
-
-
-
-

getTaskFlops_20

-

Get an action's flops

-
-
-
-

-

-

-
-
/simulation/{simid}/{compound_job_name}/actions/{name}/fileRegistryAction/getFile
-

-

Usage and SDK Samples

-

- - -
-
-
curl -X GET\
--H "Accept: application/json"\
-"https://wrench-project.org/v1/simulation/{simid}/{compound_job_name}/actions/{name}/fileRegistryAction/getFile"
-
-
-
import io.swagger.client.*;
-import io.swagger.client.auth.*;
-import io.swagger.client.model.*;
-import io.swagger.client.api.WRENCHApi;
-
-import java.io.File;
-import java.util.*;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String compoundJobName = compoundJobName_example; // String | Name of the compound job
-        String name = name_example; // String | Name of the action
-        try {
-            TaskFlops result = apiInstance.getTaskFlops_25(simid, compoundJobName, name);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getTaskFlops_25");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
import io.swagger.client.api.WRENCHApi;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String compoundJobName = compoundJobName_example; // String | Name of the compound job
-        String name = name_example; // String | Name of the action
-        try {
-            TaskFlops result = apiInstance.getTaskFlops_25(simid, compoundJobName, name);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getTaskFlops_25");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
String *simid = simid_example; // ID of the simulation
-String *compoundJobName = compoundJobName_example; // Name of the compound job
-String *name = name_example; // Name of the action
-
-WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
-
-// Get an action's flops
-[apiInstance getTaskFlops_20With:simid
-    compoundJobName:compoundJobName
-    name:name
-              completionHandler: ^(TaskFlops output, NSError* error) {
-                            if (output) {
-                                NSLog(@"%@", output);
-                            }
-                            if (error) {
-                                NSLog(@"Error: %@", error);
-                            }
-                        }];
-
-
- -
-
var WrenchRestApi = require('wrench_rest_api');
-
-var api = new WrenchRestApi.WRENCHApi()
-var simid = simid_example; // {{String}} ID of the simulation
-var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
-var name = name_example; // {{String}} Name of the action
-
-var callback = function(error, data, response) {
-  if (error) {
-    console.error(error);
-  } else {
-    console.log('API called successfully. Returned data: ' + data);
-  }
-};
-api.getTaskFlops_25(simid, compoundJobName, name, callback);
-
-
- - -
-
using System;
-using System.Diagnostics;
-using IO.Swagger.Api;
-using IO.Swagger.Client;
-using IO.Swagger.Model;
-
-namespace Example
-{
-    public class getTaskFlops_25Example
-    {
-        public void main()
-        {
-
-            var apiInstance = new WRENCHApi();
-            var simid = simid_example;  // String | ID of the simulation
-            var compoundJobName = compoundJobName_example;  // String | Name of the compound job
-            var name = name_example;  // String | Name of the action
-
-            try
-            {
-                // Get an action's flops
-                TaskFlops result = apiInstance.getTaskFlops_25(simid, compoundJobName, name);
-                Debug.WriteLine(result);
-            }
-            catch (Exception e)
-            {
-                Debug.Print("Exception when calling WRENCHApi.getTaskFlops_25: " + e.Message );
-            }
-        }
-    }
-}
-
-
- -
-
<?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-$api_instance = new Swagger\Client\ApiWRENCHApi();
-$simid = simid_example; // String | ID of the simulation
-$compoundJobName = compoundJobName_example; // String | Name of the compound job
-$name = name_example; // String | Name of the action
-
-try {
-    $result = $api_instance->getTaskFlops_25($simid, $compoundJobName, $name);
-    print_r($result);
-} catch (Exception $e) {
-    echo 'Exception when calling WRENCHApi->getTaskFlops_25: ', $e->getMessage(), PHP_EOL;
-}
-?>
-
- -
-
use Data::Dumper;
-use WWW::SwaggerClient::Configuration;
-use WWW::SwaggerClient::WRENCHApi;
-
-my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
-my $simid = simid_example; # String | ID of the simulation
-my $compoundJobName = compoundJobName_example; # String | Name of the compound job
-my $name = name_example; # String | Name of the action
-
-eval { 
-    my $result = $api_instance->getTaskFlops_25(simid => $simid, compoundJobName => $compoundJobName, name => $name);
-    print Dumper($result);
-};
-if ($@) {
-    warn "Exception when calling WRENCHApi->getTaskFlops_25: $@\n";
-}
-
- -
-
from __future__ import print_statement
-import time
-import swagger_client
-from swagger_client.rest import ApiException
-from pprint import pprint
-
-# create an instance of the API class
-api_instance = swagger_client.WRENCHApi()
-simid = simid_example # String | ID of the simulation
-compoundJobName = compoundJobName_example # String | Name of the compound job
-name = name_example # String | Name of the action
-
-try: 
-    # Get an action's flops
-    api_response = api_instance.get_task_flops_25(simid, compoundJobName, name)
-    pprint(api_response)
-except ApiException as e:
-    print("Exception when calling WRENCHApi->getTaskFlops_25: %s\n" % e)
-
-
- -

Parameters

- -
Path parameters
- - - - - - - - - - - - - - -
NameDescription
simid* - - -
-
-
- - String - - -
- ID of the simulation -
-
-
- Required -
-
-
-
compound_job_name* - - -
-
-
- - String - - -
- Name of the compound job -
-
-
- Required -
-
-
-
name* - - -
-
-
- - String - - -
- Name of the action -
-
-
- Required -
-
-
-
- - - - - -

Responses

-

Status: 200 - OK

- - - -
-
-
- -
- -
-
- -

Status: 404 - Job not found

- - - -
-
- -

Status: 405 - Invalid input

- - - -
-
- -
-
-
-
-
-
-

getTaskFlops_21

-

Get an action's flops

-
-
-
-

-

-

-
-
/simulation/{simid}/{compound_job_name}/actions/{name}/fileRegistryAction/getFileLocation
-

-

Usage and SDK Samples

-

- - -
-
-
curl -X GET\
--H "Accept: application/json"\
-"https://wrench-project.org/v1/simulation/{simid}/{compound_job_name}/actions/{name}/fileRegistryAction/getFileLocation"
-
-
-
import io.swagger.client.*;
-import io.swagger.client.auth.*;
-import io.swagger.client.model.*;
-import io.swagger.client.api.WRENCHApi;
-
-import java.io.File;
-import java.util.*;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String compoundJobName = compoundJobName_example; // String | Name of the compound job
-        String name = name_example; // String | Name of the action
-        try {
-            TaskFlops result = apiInstance.getTaskFlops_26(simid, compoundJobName, name);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getTaskFlops_26");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
import io.swagger.client.api.WRENCHApi;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String compoundJobName = compoundJobName_example; // String | Name of the compound job
-        String name = name_example; // String | Name of the action
-        try {
-            TaskFlops result = apiInstance.getTaskFlops_26(simid, compoundJobName, name);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getTaskFlops_26");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
String *simid = simid_example; // ID of the simulation
-String *compoundJobName = compoundJobName_example; // Name of the compound job
-String *name = name_example; // Name of the action
-
-WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
-
-// Get an action's flops
-[apiInstance getTaskFlops_21With:simid
-    compoundJobName:compoundJobName
-    name:name
-              completionHandler: ^(TaskFlops output, NSError* error) {
-                            if (output) {
-                                NSLog(@"%@", output);
-                            }
-                            if (error) {
-                                NSLog(@"Error: %@", error);
-                            }
-                        }];
-
-
- -
-
var WrenchRestApi = require('wrench_rest_api');
-
-var api = new WrenchRestApi.WRENCHApi()
-var simid = simid_example; // {{String}} ID of the simulation
-var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
-var name = name_example; // {{String}} Name of the action
-
-var callback = function(error, data, response) {
-  if (error) {
-    console.error(error);
-  } else {
-    console.log('API called successfully. Returned data: ' + data);
-  }
-};
-api.getTaskFlops_26(simid, compoundJobName, name, callback);
-
-
- - -
-
using System;
-using System.Diagnostics;
-using IO.Swagger.Api;
-using IO.Swagger.Client;
-using IO.Swagger.Model;
-
-namespace Example
-{
-    public class getTaskFlops_26Example
-    {
-        public void main()
-        {
-
-            var apiInstance = new WRENCHApi();
-            var simid = simid_example;  // String | ID of the simulation
-            var compoundJobName = compoundJobName_example;  // String | Name of the compound job
-            var name = name_example;  // String | Name of the action
-
-            try
-            {
-                // Get an action's flops
-                TaskFlops result = apiInstance.getTaskFlops_26(simid, compoundJobName, name);
-                Debug.WriteLine(result);
-            }
-            catch (Exception e)
-            {
-                Debug.Print("Exception when calling WRENCHApi.getTaskFlops_26: " + e.Message );
-            }
-        }
-    }
-}
-
-
- -
-
<?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-$api_instance = new Swagger\Client\ApiWRENCHApi();
-$simid = simid_example; // String | ID of the simulation
-$compoundJobName = compoundJobName_example; // String | Name of the compound job
-$name = name_example; // String | Name of the action
-
-try {
-    $result = $api_instance->getTaskFlops_26($simid, $compoundJobName, $name);
-    print_r($result);
-} catch (Exception $e) {
-    echo 'Exception when calling WRENCHApi->getTaskFlops_26: ', $e->getMessage(), PHP_EOL;
-}
-?>
-
- -
-
use Data::Dumper;
-use WWW::SwaggerClient::Configuration;
-use WWW::SwaggerClient::WRENCHApi;
-
-my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
-my $simid = simid_example; # String | ID of the simulation
-my $compoundJobName = compoundJobName_example; # String | Name of the compound job
-my $name = name_example; # String | Name of the action
-
-eval { 
-    my $result = $api_instance->getTaskFlops_26(simid => $simid, compoundJobName => $compoundJobName, name => $name);
-    print Dumper($result);
-};
-if ($@) {
-    warn "Exception when calling WRENCHApi->getTaskFlops_26: $@\n";
-}
-
- -
-
from __future__ import print_statement
-import time
-import swagger_client
-from swagger_client.rest import ApiException
-from pprint import pprint
-
-# create an instance of the API class
-api_instance = swagger_client.WRENCHApi()
-simid = simid_example # String | ID of the simulation
-compoundJobName = compoundJobName_example # String | Name of the compound job
-name = name_example # String | Name of the action
-
-try: 
-    # Get an action's flops
-    api_response = api_instance.get_task_flops_26(simid, compoundJobName, name)
-    pprint(api_response)
-except ApiException as e:
-    print("Exception when calling WRENCHApi->getTaskFlops_26: %s\n" % e)
-
-
- -

Parameters

- -
Path parameters
- - - - - - - - - - - - - - -
NameDescription
simid* - - -
-
-
- - String - - -
- ID of the simulation -
-
-
- Required -
-
-
-
compound_job_name* - - -
-
-
- - String - - -
- Name of the compound job -
-
-
- Required -
-
-
-
name* - - -
-
-
- - String - - -
- Name of the action -
-
-
- Required -
-
-
-
- - - - - -

Responses

-

Status: 200 - OK

- - - -
-
-
- -
- -
-
- -

Status: 404 - Job not found

- - - -
-
- -

Status: 405 - Invalid input

- - - -
-
- -
-
-
-
-
-
-

getTaskFlops_22

-

Get an action's flops

-
-
-
-

-

-

-
-
/simulation/{simid}/{compound_job_name}/actions/{name}/fileRegistryAction/getFileRegistryService
-

-

Usage and SDK Samples

-

- - -
-
-
curl -X GET\
--H "Accept: application/json"\
-"https://wrench-project.org/v1/simulation/{simid}/{compound_job_name}/actions/{name}/fileRegistryAction/getFileRegistryService"
-
-
-
import io.swagger.client.*;
-import io.swagger.client.auth.*;
-import io.swagger.client.model.*;
-import io.swagger.client.api.WRENCHApi;
-
-import java.io.File;
-import java.util.*;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String compoundJobName = compoundJobName_example; // String | Name of the compound job
-        String name = name_example; // String | Name of the action
-        try {
-            TaskFlops result = apiInstance.getTaskFlops_27(simid, compoundJobName, name);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getTaskFlops_27");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
import io.swagger.client.api.WRENCHApi;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String compoundJobName = compoundJobName_example; // String | Name of the compound job
-        String name = name_example; // String | Name of the action
-        try {
-            TaskFlops result = apiInstance.getTaskFlops_27(simid, compoundJobName, name);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getTaskFlops_27");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
String *simid = simid_example; // ID of the simulation
-String *compoundJobName = compoundJobName_example; // Name of the compound job
-String *name = name_example; // Name of the action
-
-WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
-
-// Get an action's flops
-[apiInstance getTaskFlops_22With:simid
-    compoundJobName:compoundJobName
-    name:name
-              completionHandler: ^(TaskFlops output, NSError* error) {
-                            if (output) {
-                                NSLog(@"%@", output);
-                            }
-                            if (error) {
-                                NSLog(@"Error: %@", error);
-                            }
-                        }];
-
-
- -
-
var WrenchRestApi = require('wrench_rest_api');
-
-var api = new WrenchRestApi.WRENCHApi()
-var simid = simid_example; // {{String}} ID of the simulation
-var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
-var name = name_example; // {{String}} Name of the action
-
-var callback = function(error, data, response) {
-  if (error) {
-    console.error(error);
-  } else {
-    console.log('API called successfully. Returned data: ' + data);
-  }
-};
-api.getTaskFlops_27(simid, compoundJobName, name, callback);
-
-
- - -
-
using System;
-using System.Diagnostics;
-using IO.Swagger.Api;
-using IO.Swagger.Client;
-using IO.Swagger.Model;
-
-namespace Example
-{
-    public class getTaskFlops_27Example
-    {
-        public void main()
-        {
-
-            var apiInstance = new WRENCHApi();
-            var simid = simid_example;  // String | ID of the simulation
-            var compoundJobName = compoundJobName_example;  // String | Name of the compound job
-            var name = name_example;  // String | Name of the action
-
-            try
-            {
-                // Get an action's flops
-                TaskFlops result = apiInstance.getTaskFlops_27(simid, compoundJobName, name);
-                Debug.WriteLine(result);
-            }
-            catch (Exception e)
-            {
-                Debug.Print("Exception when calling WRENCHApi.getTaskFlops_27: " + e.Message );
-            }
-        }
-    }
-}
-
-
- -
-
<?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-$api_instance = new Swagger\Client\ApiWRENCHApi();
-$simid = simid_example; // String | ID of the simulation
-$compoundJobName = compoundJobName_example; // String | Name of the compound job
-$name = name_example; // String | Name of the action
-
-try {
-    $result = $api_instance->getTaskFlops_27($simid, $compoundJobName, $name);
-    print_r($result);
-} catch (Exception $e) {
-    echo 'Exception when calling WRENCHApi->getTaskFlops_27: ', $e->getMessage(), PHP_EOL;
-}
-?>
-
- -
-
use Data::Dumper;
-use WWW::SwaggerClient::Configuration;
-use WWW::SwaggerClient::WRENCHApi;
-
-my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
-my $simid = simid_example; # String | ID of the simulation
-my $compoundJobName = compoundJobName_example; # String | Name of the compound job
-my $name = name_example; # String | Name of the action
-
-eval { 
-    my $result = $api_instance->getTaskFlops_27(simid => $simid, compoundJobName => $compoundJobName, name => $name);
-    print Dumper($result);
-};
-if ($@) {
-    warn "Exception when calling WRENCHApi->getTaskFlops_27: $@\n";
-}
-
- -
-
from __future__ import print_statement
-import time
-import swagger_client
-from swagger_client.rest import ApiException
-from pprint import pprint
-
-# create an instance of the API class
-api_instance = swagger_client.WRENCHApi()
-simid = simid_example # String | ID of the simulation
-compoundJobName = compoundJobName_example # String | Name of the compound job
-name = name_example # String | Name of the action
-
-try: 
-    # Get an action's flops
-    api_response = api_instance.get_task_flops_27(simid, compoundJobName, name)
-    pprint(api_response)
-except ApiException as e:
-    print("Exception when calling WRENCHApi->getTaskFlops_27: %s\n" % e)
-
-
- -

Parameters

- -
Path parameters
- - - - - - - - - - - - - - -
NameDescription
simid* - - -
-
-
- - String - - -
- ID of the simulation -
-
-
- Required -
-
-
-
compound_job_name* - - -
-
-
- - String - - -
- Name of the compound job -
-
-
- Required -
-
-
-
name* - - -
-
-
- - String - - -
- Name of the action -
-
-
- Required -
-
-
-
- - - - - -

Responses

-

Status: 200 - OK

- - - -
-
-
- -
- -
-
- -

Status: 404 - Job not found

- - - -
-
- -

Status: 405 - Invalid input

- - - -
-
- -
-
-
-
-
-
-

getTaskFlops_23

-

Get an action's flops

-
-
-
-

-

-

-
-
/simulation/{simid}/compoundJobs/{compound_job_name}/getChildrenJobs
-

-

Usage and SDK Samples

-

- - -
-
-
curl -X GET\
--H "Accept: application/json"\
-"https://wrench-project.org/v1/simulation/{simid}/compoundJobs/{compound_job_name}/getChildrenJobs"
-
-
-
import io.swagger.client.*;
-import io.swagger.client.auth.*;
-import io.swagger.client.model.*;
-import io.swagger.client.api.WRENCHApi;
-
-import java.io.File;
-import java.util.*;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String compoundJobName = compoundJobName_example; // String | Name of the compound job
-        try {
-            TaskFlops result = apiInstance.getTaskFlops_3(simid, compoundJobName);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getTaskFlops_3");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
import io.swagger.client.api.WRENCHApi;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String compoundJobName = compoundJobName_example; // String | Name of the compound job
-        try {
-            TaskFlops result = apiInstance.getTaskFlops_3(simid, compoundJobName);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getTaskFlops_3");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
String *simid = simid_example; // ID of the simulation
-String *compoundJobName = compoundJobName_example; // Name of the compound job
-
-WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
-
-// Get an action's flops
-[apiInstance getTaskFlops_23With:simid
-    compoundJobName:compoundJobName
-              completionHandler: ^(TaskFlops output, NSError* error) {
-                            if (output) {
-                                NSLog(@"%@", output);
-                            }
-                            if (error) {
-                                NSLog(@"Error: %@", error);
-                            }
-                        }];
-
-
- -
-
var WrenchRestApi = require('wrench_rest_api');
-
-var api = new WrenchRestApi.WRENCHApi()
-var simid = simid_example; // {{String}} ID of the simulation
-var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
-
-var callback = function(error, data, response) {
-  if (error) {
-    console.error(error);
-  } else {
-    console.log('API called successfully. Returned data: ' + data);
-  }
-};
-api.getTaskFlops_3(simid, compoundJobName, callback);
-
-
- - -
-
using System;
-using System.Diagnostics;
-using IO.Swagger.Api;
-using IO.Swagger.Client;
-using IO.Swagger.Model;
-
-namespace Example
-{
-    public class getTaskFlops_3Example
-    {
-        public void main()
-        {
-
-            var apiInstance = new WRENCHApi();
-            var simid = simid_example;  // String | ID of the simulation
-            var compoundJobName = compoundJobName_example;  // String | Name of the compound job
-
-            try
-            {
-                // Get an action's flops
-                TaskFlops result = apiInstance.getTaskFlops_3(simid, compoundJobName);
-                Debug.WriteLine(result);
-            }
-            catch (Exception e)
-            {
-                Debug.Print("Exception when calling WRENCHApi.getTaskFlops_3: " + e.Message );
-            }
-        }
-    }
-}
-
-
- -
-
<?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-$api_instance = new Swagger\Client\ApiWRENCHApi();
-$simid = simid_example; // String | ID of the simulation
-$compoundJobName = compoundJobName_example; // String | Name of the compound job
-
-try {
-    $result = $api_instance->getTaskFlops_3($simid, $compoundJobName);
-    print_r($result);
-} catch (Exception $e) {
-    echo 'Exception when calling WRENCHApi->getTaskFlops_3: ', $e->getMessage(), PHP_EOL;
-}
-?>
-
- -
-
use Data::Dumper;
-use WWW::SwaggerClient::Configuration;
-use WWW::SwaggerClient::WRENCHApi;
-
-my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
-my $simid = simid_example; # String | ID of the simulation
-my $compoundJobName = compoundJobName_example; # String | Name of the compound job
-
-eval { 
-    my $result = $api_instance->getTaskFlops_3(simid => $simid, compoundJobName => $compoundJobName);
-    print Dumper($result);
-};
-if ($@) {
-    warn "Exception when calling WRENCHApi->getTaskFlops_3: $@\n";
-}
-
- -
-
from __future__ import print_statement
-import time
-import swagger_client
-from swagger_client.rest import ApiException
-from pprint import pprint
-
-# create an instance of the API class
-api_instance = swagger_client.WRENCHApi()
-simid = simid_example # String | ID of the simulation
-compoundJobName = compoundJobName_example # String | Name of the compound job
-
-try: 
-    # Get an action's flops
-    api_response = api_instance.get_task_flops_3(simid, compoundJobName)
-    pprint(api_response)
-except ApiException as e:
-    print("Exception when calling WRENCHApi->getTaskFlops_3: %s\n" % e)
-
-
- -

Parameters

- -
Path parameters
- - - - - - - - - - - -
NameDescription
simid* - - -
-
-
- - String - - -
- ID of the simulation -
-
-
- Required -
-
-
-
compound_job_name* - - -
-
-
- - String - - -
- Name of the compound job -
-
-
- Required -
-
-
-
- - - - - -

Responses

-

Status: 200 - OK

- - - -
-
-
- -
- -
-
- -

Status: 404 - Job not found

- - - -
-
- -

Status: 405 - Invalid input

- - - -
-
- -
-
-
-
-
-
-

getTaskFlops_24

-

Get an action's flops

-
-
-
-

-

-

-
-
/simulation/{simid}/compoundJobs/{compound_job_name}/getMinimumRequiredMemory
-

-

Usage and SDK Samples

-

- - -
-
-
curl -X GET\
--H "Accept: application/json"\
-"https://wrench-project.org/v1/simulation/{simid}/compoundJobs/{compound_job_name}/getMinimumRequiredMemory"
-
-
-
import io.swagger.client.*;
-import io.swagger.client.auth.*;
-import io.swagger.client.model.*;
-import io.swagger.client.api.WRENCHApi;
-
-import java.io.File;
-import java.util.*;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String compoundJobName = compoundJobName_example; // String | Name of the compound job
-        try {
-            TaskFlops result = apiInstance.getTaskFlops_4(simid, compoundJobName);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getTaskFlops_4");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
import io.swagger.client.api.WRENCHApi;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String compoundJobName = compoundJobName_example; // String | Name of the compound job
-        try {
-            TaskFlops result = apiInstance.getTaskFlops_4(simid, compoundJobName);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getTaskFlops_4");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
String *simid = simid_example; // ID of the simulation
-String *compoundJobName = compoundJobName_example; // Name of the compound job
-
-WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
-
-// Get an action's flops
-[apiInstance getTaskFlops_24With:simid
-    compoundJobName:compoundJobName
-              completionHandler: ^(TaskFlops output, NSError* error) {
-                            if (output) {
-                                NSLog(@"%@", output);
-                            }
-                            if (error) {
-                                NSLog(@"Error: %@", error);
-                            }
-                        }];
-
-
- -
-
var WrenchRestApi = require('wrench_rest_api');
-
-var api = new WrenchRestApi.WRENCHApi()
-var simid = simid_example; // {{String}} ID of the simulation
-var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
-
-var callback = function(error, data, response) {
-  if (error) {
-    console.error(error);
-  } else {
-    console.log('API called successfully. Returned data: ' + data);
-  }
-};
-api.getTaskFlops_4(simid, compoundJobName, callback);
-
-
- - -
-
using System;
-using System.Diagnostics;
-using IO.Swagger.Api;
-using IO.Swagger.Client;
-using IO.Swagger.Model;
-
-namespace Example
-{
-    public class getTaskFlops_4Example
-    {
-        public void main()
-        {
-
-            var apiInstance = new WRENCHApi();
-            var simid = simid_example;  // String | ID of the simulation
-            var compoundJobName = compoundJobName_example;  // String | Name of the compound job
-
-            try
-            {
-                // Get an action's flops
-                TaskFlops result = apiInstance.getTaskFlops_4(simid, compoundJobName);
-                Debug.WriteLine(result);
-            }
-            catch (Exception e)
-            {
-                Debug.Print("Exception when calling WRENCHApi.getTaskFlops_4: " + e.Message );
-            }
-        }
-    }
-}
-
-
- -
-
<?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-$api_instance = new Swagger\Client\ApiWRENCHApi();
-$simid = simid_example; // String | ID of the simulation
-$compoundJobName = compoundJobName_example; // String | Name of the compound job
-
-try {
-    $result = $api_instance->getTaskFlops_4($simid, $compoundJobName);
-    print_r($result);
-} catch (Exception $e) {
-    echo 'Exception when calling WRENCHApi->getTaskFlops_4: ', $e->getMessage(), PHP_EOL;
-}
-?>
-
- -
-
use Data::Dumper;
-use WWW::SwaggerClient::Configuration;
-use WWW::SwaggerClient::WRENCHApi;
-
-my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
-my $simid = simid_example; # String | ID of the simulation
-my $compoundJobName = compoundJobName_example; # String | Name of the compound job
-
-eval { 
-    my $result = $api_instance->getTaskFlops_4(simid => $simid, compoundJobName => $compoundJobName);
-    print Dumper($result);
-};
-if ($@) {
-    warn "Exception when calling WRENCHApi->getTaskFlops_4: $@\n";
-}
-
- -
-
from __future__ import print_statement
-import time
-import swagger_client
-from swagger_client.rest import ApiException
-from pprint import pprint
-
-# create an instance of the API class
-api_instance = swagger_client.WRENCHApi()
-simid = simid_example # String | ID of the simulation
-compoundJobName = compoundJobName_example # String | Name of the compound job
-
-try: 
-    # Get an action's flops
-    api_response = api_instance.get_task_flops_4(simid, compoundJobName)
-    pprint(api_response)
-except ApiException as e:
-    print("Exception when calling WRENCHApi->getTaskFlops_4: %s\n" % e)
-
-
- -

Parameters

- -
Path parameters
- - - - - - - - - - - -
NameDescription
simid* - - -
-
-
- - String - - -
- ID of the simulation -
-
-
- Required -
-
-
-
compound_job_name* - - -
-
-
- - String - - -
- Name of the compound job -
-
-
- Required -
-
-
-
- - - - - -

Responses

-

Status: 200 - OK

- - - -
-
-
- -
- -
-
- -

Status: 404 - Job not found

- - - -
-
- -

Status: 405 - Invalid input

- - - -
-
- -
-
-
-
-
-
-

getTaskFlops_25

-

Get an action's flops

-
-
-
-

-

-

-
-
/simulation/{simid}/compoundJobs/{compound_job_name}/getMinimumRequiredNumCores
-

-

Usage and SDK Samples

-

- - -
-
-
curl -X GET\
--H "Accept: application/json"\
-"https://wrench-project.org/v1/simulation/{simid}/compoundJobs/{compound_job_name}/getMinimumRequiredNumCores"
-
-
-
import io.swagger.client.*;
-import io.swagger.client.auth.*;
-import io.swagger.client.model.*;
-import io.swagger.client.api.WRENCHApi;
-
-import java.io.File;
-import java.util.*;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String compoundJobName = compoundJobName_example; // String | Name of the compound job
-        try {
-            TaskFlops result = apiInstance.getTaskFlops_5(simid, compoundJobName);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getTaskFlops_5");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
import io.swagger.client.api.WRENCHApi;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String compoundJobName = compoundJobName_example; // String | Name of the compound job
-        try {
-            TaskFlops result = apiInstance.getTaskFlops_5(simid, compoundJobName);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getTaskFlops_5");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
String *simid = simid_example; // ID of the simulation
-String *compoundJobName = compoundJobName_example; // Name of the compound job
-
-WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
-
-// Get an action's flops
-[apiInstance getTaskFlops_25With:simid
-    compoundJobName:compoundJobName
-              completionHandler: ^(TaskFlops output, NSError* error) {
-                            if (output) {
-                                NSLog(@"%@", output);
-                            }
-                            if (error) {
-                                NSLog(@"Error: %@", error);
-                            }
-                        }];
-
-
- -
-
var WrenchRestApi = require('wrench_rest_api');
-
-var api = new WrenchRestApi.WRENCHApi()
-var simid = simid_example; // {{String}} ID of the simulation
-var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
-
-var callback = function(error, data, response) {
-  if (error) {
-    console.error(error);
-  } else {
-    console.log('API called successfully. Returned data: ' + data);
-  }
-};
-api.getTaskFlops_5(simid, compoundJobName, callback);
-
-
- - -
-
using System;
-using System.Diagnostics;
-using IO.Swagger.Api;
-using IO.Swagger.Client;
-using IO.Swagger.Model;
-
-namespace Example
-{
-    public class getTaskFlops_5Example
-    {
-        public void main()
-        {
-
-            var apiInstance = new WRENCHApi();
-            var simid = simid_example;  // String | ID of the simulation
-            var compoundJobName = compoundJobName_example;  // String | Name of the compound job
-
-            try
-            {
-                // Get an action's flops
-                TaskFlops result = apiInstance.getTaskFlops_5(simid, compoundJobName);
-                Debug.WriteLine(result);
-            }
-            catch (Exception e)
-            {
-                Debug.Print("Exception when calling WRENCHApi.getTaskFlops_5: " + e.Message );
-            }
-        }
-    }
-}
-
-
- -
-
<?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-$api_instance = new Swagger\Client\ApiWRENCHApi();
-$simid = simid_example; // String | ID of the simulation
-$compoundJobName = compoundJobName_example; // String | Name of the compound job
-
-try {
-    $result = $api_instance->getTaskFlops_5($simid, $compoundJobName);
-    print_r($result);
-} catch (Exception $e) {
-    echo 'Exception when calling WRENCHApi->getTaskFlops_5: ', $e->getMessage(), PHP_EOL;
-}
-?>
-
- -
-
use Data::Dumper;
-use WWW::SwaggerClient::Configuration;
-use WWW::SwaggerClient::WRENCHApi;
-
-my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
-my $simid = simid_example; # String | ID of the simulation
-my $compoundJobName = compoundJobName_example; # String | Name of the compound job
-
-eval { 
-    my $result = $api_instance->getTaskFlops_5(simid => $simid, compoundJobName => $compoundJobName);
-    print Dumper($result);
-};
-if ($@) {
-    warn "Exception when calling WRENCHApi->getTaskFlops_5: $@\n";
-}
-
- -
-
from __future__ import print_statement
-import time
-import swagger_client
-from swagger_client.rest import ApiException
-from pprint import pprint
-
-# create an instance of the API class
-api_instance = swagger_client.WRENCHApi()
-simid = simid_example # String | ID of the simulation
-compoundJobName = compoundJobName_example # String | Name of the compound job
-
-try: 
-    # Get an action's flops
-    api_response = api_instance.get_task_flops_5(simid, compoundJobName)
-    pprint(api_response)
-except ApiException as e:
-    print("Exception when calling WRENCHApi->getTaskFlops_5: %s\n" % e)
-
-
- -

Parameters

- -
Path parameters
- - - - - - - - - - - -
NameDescription
simid* - - -
-
-
- - String - - -
- ID of the simulation -
-
-
- Required -
-
-
-
compound_job_name* - - -
-
-
- - String - - -
- Name of the compound job -
-
-
- Required -
-
-
-
- - - - - -

Responses

-

Status: 200 - OK

- - - -
-
-
- -
- -
-
- -

Status: 404 - Job not found

- - - -
-
- -

Status: 405 - Invalid input

- - - -
-
- -
-
-
-
-
-
-

getTaskFlops_26

-

Get an action's flops

-
-
-
-

-

-

-
-
/simulation/{simid}/compoundJobs/{compound_job_name}/getState
-

-

Usage and SDK Samples

-

- - -
-
-
curl -X GET\
--H "Accept: application/json"\
-"https://wrench-project.org/v1/simulation/{simid}/compoundJobs/{compound_job_name}/getState"
-
-
-
import io.swagger.client.*;
-import io.swagger.client.auth.*;
-import io.swagger.client.model.*;
-import io.swagger.client.api.WRENCHApi;
-
-import java.io.File;
-import java.util.*;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String compoundJobName = compoundJobName_example; // String | Name of the compound job
-        try {
-            TaskFlops result = apiInstance.getTaskFlops_6(simid, compoundJobName);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getTaskFlops_6");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
import io.swagger.client.api.WRENCHApi;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String compoundJobName = compoundJobName_example; // String | Name of the compound job
-        try {
-            TaskFlops result = apiInstance.getTaskFlops_6(simid, compoundJobName);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getTaskFlops_6");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
String *simid = simid_example; // ID of the simulation
-String *compoundJobName = compoundJobName_example; // Name of the compound job
-
-WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
-
-// Get an action's flops
-[apiInstance getTaskFlops_26With:simid
-    compoundJobName:compoundJobName
-              completionHandler: ^(TaskFlops output, NSError* error) {
-                            if (output) {
-                                NSLog(@"%@", output);
-                            }
-                            if (error) {
-                                NSLog(@"Error: %@", error);
-                            }
-                        }];
-
-
- -
-
var WrenchRestApi = require('wrench_rest_api');
-
-var api = new WrenchRestApi.WRENCHApi()
-var simid = simid_example; // {{String}} ID of the simulation
-var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
-
-var callback = function(error, data, response) {
-  if (error) {
-    console.error(error);
-  } else {
-    console.log('API called successfully. Returned data: ' + data);
-  }
-};
-api.getTaskFlops_6(simid, compoundJobName, callback);
-
-
- - -
-
using System;
-using System.Diagnostics;
-using IO.Swagger.Api;
-using IO.Swagger.Client;
-using IO.Swagger.Model;
-
-namespace Example
-{
-    public class getTaskFlops_6Example
-    {
-        public void main()
-        {
-
-            var apiInstance = new WRENCHApi();
-            var simid = simid_example;  // String | ID of the simulation
-            var compoundJobName = compoundJobName_example;  // String | Name of the compound job
-
-            try
-            {
-                // Get an action's flops
-                TaskFlops result = apiInstance.getTaskFlops_6(simid, compoundJobName);
-                Debug.WriteLine(result);
-            }
-            catch (Exception e)
-            {
-                Debug.Print("Exception when calling WRENCHApi.getTaskFlops_6: " + e.Message );
-            }
-        }
-    }
-}
-
-
- -
-
<?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-$api_instance = new Swagger\Client\ApiWRENCHApi();
-$simid = simid_example; // String | ID of the simulation
-$compoundJobName = compoundJobName_example; // String | Name of the compound job
-
-try {
-    $result = $api_instance->getTaskFlops_6($simid, $compoundJobName);
-    print_r($result);
-} catch (Exception $e) {
-    echo 'Exception when calling WRENCHApi->getTaskFlops_6: ', $e->getMessage(), PHP_EOL;
-}
-?>
-
- -
-
use Data::Dumper;
-use WWW::SwaggerClient::Configuration;
-use WWW::SwaggerClient::WRENCHApi;
-
-my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
-my $simid = simid_example; # String | ID of the simulation
-my $compoundJobName = compoundJobName_example; # String | Name of the compound job
-
-eval { 
-    my $result = $api_instance->getTaskFlops_6(simid => $simid, compoundJobName => $compoundJobName);
-    print Dumper($result);
-};
-if ($@) {
-    warn "Exception when calling WRENCHApi->getTaskFlops_6: $@\n";
-}
-
- -
-
from __future__ import print_statement
-import time
-import swagger_client
-from swagger_client.rest import ApiException
-from pprint import pprint
-
-# create an instance of the API class
-api_instance = swagger_client.WRENCHApi()
-simid = simid_example # String | ID of the simulation
-compoundJobName = compoundJobName_example # String | Name of the compound job
-
-try: 
-    # Get an action's flops
-    api_response = api_instance.get_task_flops_6(simid, compoundJobName)
-    pprint(api_response)
-except ApiException as e:
-    print("Exception when calling WRENCHApi->getTaskFlops_6: %s\n" % e)
-
-
- -

Parameters

- -
Path parameters
- - - - - - - - - - - -
NameDescription
simid* - - -
-
-
- - String - - -
- ID of the simulation -
-
-
- Required -
-
-
-
compound_job_name* - - -
-
-
- - String - - -
- Name of the compound job -
-
-
- Required -
-
-
-
- - - - - -

Responses

-

Status: 200 - OK

- - - -
-
-
- -
- -
-
- -

Status: 404 - Job not found

- - - -
-
- -

Status: 405 - Invalid input

- - - -
-
- -
-
-
-
-
-
-

getTaskFlops_27

-

Get an action's flops

-
-
-
-

-

-

-
-
/simulation/{simid}/compoundJobs/{compound_job_name}/hasFailed
-

-

Usage and SDK Samples

-

- - -
-
-
curl -X GET\
--H "Accept: application/json"\
-"https://wrench-project.org/v1/simulation/{simid}/compoundJobs/{compound_job_name}/hasFailed"
-
-
-
import io.swagger.client.*;
-import io.swagger.client.auth.*;
-import io.swagger.client.model.*;
-import io.swagger.client.api.WRENCHApi;
-
-import java.io.File;
-import java.util.*;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String compoundJobName = compoundJobName_example; // String | Name of the compound job
-        try {
-            TaskFlops result = apiInstance.getTaskFlops_7(simid, compoundJobName);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getTaskFlops_7");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
import io.swagger.client.api.WRENCHApi;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String compoundJobName = compoundJobName_example; // String | Name of the compound job
-        try {
-            TaskFlops result = apiInstance.getTaskFlops_7(simid, compoundJobName);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getTaskFlops_7");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
String *simid = simid_example; // ID of the simulation
-String *compoundJobName = compoundJobName_example; // Name of the compound job
-
-WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
-
-// Get an action's flops
-[apiInstance getTaskFlops_27With:simid
-    compoundJobName:compoundJobName
-              completionHandler: ^(TaskFlops output, NSError* error) {
-                            if (output) {
-                                NSLog(@"%@", output);
-                            }
-                            if (error) {
-                                NSLog(@"Error: %@", error);
-                            }
-                        }];
-
-
- -
-
var WrenchRestApi = require('wrench_rest_api');
-
-var api = new WrenchRestApi.WRENCHApi()
-var simid = simid_example; // {{String}} ID of the simulation
-var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
-
-var callback = function(error, data, response) {
-  if (error) {
-    console.error(error);
-  } else {
-    console.log('API called successfully. Returned data: ' + data);
-  }
-};
-api.getTaskFlops_7(simid, compoundJobName, callback);
-
-
- - -
-
using System;
-using System.Diagnostics;
-using IO.Swagger.Api;
-using IO.Swagger.Client;
-using IO.Swagger.Model;
-
-namespace Example
-{
-    public class getTaskFlops_7Example
-    {
-        public void main()
-        {
-
-            var apiInstance = new WRENCHApi();
-            var simid = simid_example;  // String | ID of the simulation
-            var compoundJobName = compoundJobName_example;  // String | Name of the compound job
-
-            try
-            {
-                // Get an action's flops
-                TaskFlops result = apiInstance.getTaskFlops_7(simid, compoundJobName);
-                Debug.WriteLine(result);
-            }
-            catch (Exception e)
-            {
-                Debug.Print("Exception when calling WRENCHApi.getTaskFlops_7: " + e.Message );
-            }
-        }
-    }
-}
-
-
- -
-
<?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-$api_instance = new Swagger\Client\ApiWRENCHApi();
-$simid = simid_example; // String | ID of the simulation
-$compoundJobName = compoundJobName_example; // String | Name of the compound job
-
-try {
-    $result = $api_instance->getTaskFlops_7($simid, $compoundJobName);
-    print_r($result);
-} catch (Exception $e) {
-    echo 'Exception when calling WRENCHApi->getTaskFlops_7: ', $e->getMessage(), PHP_EOL;
-}
-?>
-
- -
-
use Data::Dumper;
-use WWW::SwaggerClient::Configuration;
-use WWW::SwaggerClient::WRENCHApi;
-
-my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
-my $simid = simid_example; # String | ID of the simulation
-my $compoundJobName = compoundJobName_example; # String | Name of the compound job
-
-eval { 
-    my $result = $api_instance->getTaskFlops_7(simid => $simid, compoundJobName => $compoundJobName);
-    print Dumper($result);
-};
-if ($@) {
-    warn "Exception when calling WRENCHApi->getTaskFlops_7: $@\n";
-}
-
- -
-
from __future__ import print_statement
-import time
-import swagger_client
-from swagger_client.rest import ApiException
-from pprint import pprint
-
-# create an instance of the API class
-api_instance = swagger_client.WRENCHApi()
-simid = simid_example # String | ID of the simulation
-compoundJobName = compoundJobName_example # String | Name of the compound job
-
-try: 
-    # Get an action's flops
-    api_response = api_instance.get_task_flops_7(simid, compoundJobName)
-    pprint(api_response)
-except ApiException as e:
-    print("Exception when calling WRENCHApi->getTaskFlops_7: %s\n" % e)
-
-
- -

Parameters

- -
Path parameters
- - - - - - - - - - - -
NameDescription
simid* - - -
-
-
- - String - - -
- ID of the simulation -
-
-
- Required -
-
-
-
compound_job_name* - - -
-
-
- - String - - -
- Name of the compound job -
-
-
- Required -
-
-
-
- - - - - -

Responses

-

Status: 200 - OK

- - - -
-
-
- -
- -
-
- -

Status: 404 - Job not found

- - - -
-
- -

Status: 405 - Invalid input

- - - -
-
- -
-
-
-
-
-
-

getTaskFlops_28

-

Get an action's flops

-
-
-
-

-

-

-
-
/simulation/{simid}/compoundJobs/{compound_job_name}/hasSuccessfullyCompleted
-

-

Usage and SDK Samples

-

- - -
-
-
curl -X GET\
--H "Accept: application/json"\
-"https://wrench-project.org/v1/simulation/{simid}/compoundJobs/{compound_job_name}/hasSuccessfullyCompleted"
-
-
-
import io.swagger.client.*;
-import io.swagger.client.auth.*;
-import io.swagger.client.model.*;
-import io.swagger.client.api.WRENCHApi;
-
-import java.io.File;
-import java.util.*;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String compoundJobName = compoundJobName_example; // String | Name of the compound job
-        try {
-            TaskFlops result = apiInstance.getTaskFlops_8(simid, compoundJobName);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getTaskFlops_8");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
import io.swagger.client.api.WRENCHApi;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String compoundJobName = compoundJobName_example; // String | Name of the compound job
-        try {
-            TaskFlops result = apiInstance.getTaskFlops_8(simid, compoundJobName);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getTaskFlops_8");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
String *simid = simid_example; // ID of the simulation
-String *compoundJobName = compoundJobName_example; // Name of the compound job
-
-WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
-
-// Get an action's flops
-[apiInstance getTaskFlops_28With:simid
-    compoundJobName:compoundJobName
-              completionHandler: ^(TaskFlops output, NSError* error) {
-                            if (output) {
-                                NSLog(@"%@", output);
-                            }
-                            if (error) {
-                                NSLog(@"Error: %@", error);
-                            }
-                        }];
-
-
- -
-
var WrenchRestApi = require('wrench_rest_api');
-
-var api = new WrenchRestApi.WRENCHApi()
-var simid = simid_example; // {{String}} ID of the simulation
-var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
-
-var callback = function(error, data, response) {
-  if (error) {
-    console.error(error);
-  } else {
-    console.log('API called successfully. Returned data: ' + data);
-  }
-};
-api.getTaskFlops_8(simid, compoundJobName, callback);
-
-
- - -
-
using System;
-using System.Diagnostics;
-using IO.Swagger.Api;
-using IO.Swagger.Client;
-using IO.Swagger.Model;
-
-namespace Example
-{
-    public class getTaskFlops_8Example
-    {
-        public void main()
-        {
-
-            var apiInstance = new WRENCHApi();
-            var simid = simid_example;  // String | ID of the simulation
-            var compoundJobName = compoundJobName_example;  // String | Name of the compound job
-
-            try
-            {
-                // Get an action's flops
-                TaskFlops result = apiInstance.getTaskFlops_8(simid, compoundJobName);
-                Debug.WriteLine(result);
-            }
-            catch (Exception e)
-            {
-                Debug.Print("Exception when calling WRENCHApi.getTaskFlops_8: " + e.Message );
-            }
-        }
-    }
-}
-
-
- -
-
<?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-$api_instance = new Swagger\Client\ApiWRENCHApi();
-$simid = simid_example; // String | ID of the simulation
-$compoundJobName = compoundJobName_example; // String | Name of the compound job
-
-try {
-    $result = $api_instance->getTaskFlops_8($simid, $compoundJobName);
-    print_r($result);
-} catch (Exception $e) {
-    echo 'Exception when calling WRENCHApi->getTaskFlops_8: ', $e->getMessage(), PHP_EOL;
-}
-?>
-
- -
-
use Data::Dumper;
-use WWW::SwaggerClient::Configuration;
-use WWW::SwaggerClient::WRENCHApi;
-
-my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
-my $simid = simid_example; # String | ID of the simulation
-my $compoundJobName = compoundJobName_example; # String | Name of the compound job
-
-eval { 
-    my $result = $api_instance->getTaskFlops_8(simid => $simid, compoundJobName => $compoundJobName);
-    print Dumper($result);
-};
-if ($@) {
-    warn "Exception when calling WRENCHApi->getTaskFlops_8: $@\n";
-}
-
- -
-
from __future__ import print_statement
-import time
-import swagger_client
-from swagger_client.rest import ApiException
-from pprint import pprint
-
-# create an instance of the API class
-api_instance = swagger_client.WRENCHApi()
-simid = simid_example # String | ID of the simulation
-compoundJobName = compoundJobName_example # String | Name of the compound job
-
-try: 
-    # Get an action's flops
-    api_response = api_instance.get_task_flops_8(simid, compoundJobName)
-    pprint(api_response)
-except ApiException as e:
-    print("Exception when calling WRENCHApi->getTaskFlops_8: %s\n" % e)
-
-
- -

Parameters

- -
Path parameters
- - - - - - - - - - - -
NameDescription
simid* - - -
-
-
- - String - - -
- ID of the simulation -
-
-
- Required -
-
-
-
compound_job_name* - - -
-
-
- - String - - -
- Name of the compound job -
-
-
- Required -
-
-
-
- - - - - -

Responses

-

Status: 200 - OK

- - - -
-
-
- -
- -
-
- -

Status: 404 - Job not found

- - - -
-
- -

Status: 405 - Invalid input

- - - -
-
- -
-
-
-
-
-
-

getTaskFlops_29

-

Get an action's flops

-
-
-
-

-

-

-
-
/simulation/{simid}/compoundJobs/{compound_job_name}/addActionDependency
-

-

Usage and SDK Samples

-

- - -
-
-
curl -X GET\
--H "Accept: application/json"\
-"https://wrench-project.org/v1/simulation/{simid}/compoundJobs/{compound_job_name}/addActionDependency"
-
-
-
import io.swagger.client.*;
-import io.swagger.client.auth.*;
-import io.swagger.client.model.*;
-import io.swagger.client.api.WRENCHApi;
-
-import java.io.File;
-import java.util.*;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String compoundJobName = compoundJobName_example; // String | Name of the compound job
-        try {
-            TaskFlops result = apiInstance.getTaskFlops_9(simid, compoundJobName);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getTaskFlops_9");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
import io.swagger.client.api.WRENCHApi;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String compoundJobName = compoundJobName_example; // String | Name of the compound job
-        try {
-            TaskFlops result = apiInstance.getTaskFlops_9(simid, compoundJobName);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getTaskFlops_9");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
String *simid = simid_example; // ID of the simulation
-String *compoundJobName = compoundJobName_example; // Name of the compound job
-
-WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
-
-// Get an action's flops
-[apiInstance getTaskFlops_29With:simid
-    compoundJobName:compoundJobName
-              completionHandler: ^(TaskFlops output, NSError* error) {
-                            if (output) {
-                                NSLog(@"%@", output);
-                            }
-                            if (error) {
-                                NSLog(@"Error: %@", error);
-                            }
-                        }];
-
-
- -
-
var WrenchRestApi = require('wrench_rest_api');
-
-var api = new WrenchRestApi.WRENCHApi()
-var simid = simid_example; // {{String}} ID of the simulation
-var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
-
-var callback = function(error, data, response) {
-  if (error) {
-    console.error(error);
-  } else {
-    console.log('API called successfully. Returned data: ' + data);
-  }
-};
-api.getTaskFlops_9(simid, compoundJobName, callback);
-
-
- - -
-
using System;
-using System.Diagnostics;
-using IO.Swagger.Api;
-using IO.Swagger.Client;
-using IO.Swagger.Model;
-
-namespace Example
-{
-    public class getTaskFlops_9Example
-    {
-        public void main()
-        {
-
-            var apiInstance = new WRENCHApi();
-            var simid = simid_example;  // String | ID of the simulation
-            var compoundJobName = compoundJobName_example;  // String | Name of the compound job
-
-            try
-            {
-                // Get an action's flops
-                TaskFlops result = apiInstance.getTaskFlops_9(simid, compoundJobName);
-                Debug.WriteLine(result);
-            }
-            catch (Exception e)
-            {
-                Debug.Print("Exception when calling WRENCHApi.getTaskFlops_9: " + e.Message );
-            }
-        }
-    }
-}
-
-
- -
-
<?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-$api_instance = new Swagger\Client\ApiWRENCHApi();
-$simid = simid_example; // String | ID of the simulation
-$compoundJobName = compoundJobName_example; // String | Name of the compound job
-
-try {
-    $result = $api_instance->getTaskFlops_9($simid, $compoundJobName);
-    print_r($result);
-} catch (Exception $e) {
-    echo 'Exception when calling WRENCHApi->getTaskFlops_9: ', $e->getMessage(), PHP_EOL;
-}
-?>
-
- -
-
use Data::Dumper;
-use WWW::SwaggerClient::Configuration;
-use WWW::SwaggerClient::WRENCHApi;
-
-my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
-my $simid = simid_example; # String | ID of the simulation
-my $compoundJobName = compoundJobName_example; # String | Name of the compound job
-
-eval { 
-    my $result = $api_instance->getTaskFlops_9(simid => $simid, compoundJobName => $compoundJobName);
-    print Dumper($result);
-};
-if ($@) {
-    warn "Exception when calling WRENCHApi->getTaskFlops_9: $@\n";
-}
-
- -
-
from __future__ import print_statement
-import time
-import swagger_client
-from swagger_client.rest import ApiException
-from pprint import pprint
-
-# create an instance of the API class
-api_instance = swagger_client.WRENCHApi()
-simid = simid_example # String | ID of the simulation
-compoundJobName = compoundJobName_example # String | Name of the compound job
-
-try: 
-    # Get an action's flops
-    api_response = api_instance.get_task_flops_9(simid, compoundJobName)
-    pprint(api_response)
-except ApiException as e:
-    print("Exception when calling WRENCHApi->getTaskFlops_9: %s\n" % e)
-
-
- -

Parameters

- -
Path parameters
- - - - - - - - - - - -
NameDescription
simid* - - -
-
-
- - String - - -
- ID of the simulation -
-
-
- Required -
-
-
-
compound_job_name* - - -
-
-
- - String - - -
- Name of the compound job -
-
-
- Required -
-
-
-
- - - - - -

Responses

-

Status: 200 - OK

- - - -
-
-
- -
- -
-
- -

Status: 404 - Job not found

- - - -
-
- -

Status: 405 - Invalid input

- - - -
-
- -
-
-
-
-
-
-

getTaskInputFiles

-

Retrieve task's input files

-
-
-
-

-

-

-
-
/simulation/{simid}/workflows/{workflow_name}/tasks/{tid}/inputFiles
-

-

Usage and SDK Samples

-

- - -
-
-
curl -X GET\
--H "Accept: application/json"\
-"https://wrench-project.org/v1/simulation/{simid}/workflows/{workflow_name}/tasks/{tid}/inputFiles"
-
-
-
import io.swagger.client.*;
-import io.swagger.client.auth.*;
-import io.swagger.client.model.*;
-import io.swagger.client.api.WRENCHApi;
-
-import java.io.File;
-import java.util.*;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String workflowName = workflowName_example; // String | 
-        String tid = tid_example; // String | ID of the task
-        try {
-            FileList result = apiInstance.getTaskInputFiles(simid, workflowName, tid);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getTaskInputFiles");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
import io.swagger.client.api.WRENCHApi;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String workflowName = workflowName_example; // String | 
-        String tid = tid_example; // String | ID of the task
-        try {
-            FileList result = apiInstance.getTaskInputFiles(simid, workflowName, tid);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getTaskInputFiles");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
String *simid = simid_example; // ID of the simulation
-String *workflowName = workflowName_example; // 
-String *tid = tid_example; // ID of the task
-
-WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
-
-// Retrieve task's input files
-[apiInstance getTaskInputFilesWith:simid
-    workflowName:workflowName
-    tid:tid
-              completionHandler: ^(FileList output, NSError* error) {
-                            if (output) {
-                                NSLog(@"%@", output);
-                            }
-                            if (error) {
-                                NSLog(@"Error: %@", error);
-                            }
-                        }];
-
-
- -
-
var WrenchRestApi = require('wrench_rest_api');
-
-var api = new WrenchRestApi.WRENCHApi()
-var simid = simid_example; // {{String}} ID of the simulation
-var workflowName = workflowName_example; // {{String}} 
-var tid = tid_example; // {{String}} ID of the task
-
-var callback = function(error, data, response) {
-  if (error) {
-    console.error(error);
-  } else {
-    console.log('API called successfully. Returned data: ' + data);
-  }
-};
-api.getTaskInputFiles(simid, workflowName, tid, callback);
-
-
- - -
-
using System;
-using System.Diagnostics;
-using IO.Swagger.Api;
-using IO.Swagger.Client;
-using IO.Swagger.Model;
-
-namespace Example
-{
-    public class getTaskInputFilesExample
-    {
-        public void main()
-        {
-
-            var apiInstance = new WRENCHApi();
-            var simid = simid_example;  // String | ID of the simulation
-            var workflowName = workflowName_example;  // String | 
-            var tid = tid_example;  // String | ID of the task
-
-            try
-            {
-                // Retrieve task's input files
-                FileList result = apiInstance.getTaskInputFiles(simid, workflowName, tid);
-                Debug.WriteLine(result);
-            }
-            catch (Exception e)
-            {
-                Debug.Print("Exception when calling WRENCHApi.getTaskInputFiles: " + e.Message );
-            }
-        }
-    }
-}
-
-
- -
-
<?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-$api_instance = new Swagger\Client\ApiWRENCHApi();
-$simid = simid_example; // String | ID of the simulation
-$workflowName = workflowName_example; // String | 
-$tid = tid_example; // String | ID of the task
-
-try {
-    $result = $api_instance->getTaskInputFiles($simid, $workflowName, $tid);
-    print_r($result);
-} catch (Exception $e) {
-    echo 'Exception when calling WRENCHApi->getTaskInputFiles: ', $e->getMessage(), PHP_EOL;
-}
-?>
-
- -
-
use Data::Dumper;
-use WWW::SwaggerClient::Configuration;
-use WWW::SwaggerClient::WRENCHApi;
-
-my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
-my $simid = simid_example; # String | ID of the simulation
-my $workflowName = workflowName_example; # String | 
-my $tid = tid_example; # String | ID of the task
-
-eval { 
-    my $result = $api_instance->getTaskInputFiles(simid => $simid, workflowName => $workflowName, tid => $tid);
-    print Dumper($result);
-};
-if ($@) {
-    warn "Exception when calling WRENCHApi->getTaskInputFiles: $@\n";
-}
-
- -
-
from __future__ import print_statement
-import time
-import swagger_client
-from swagger_client.rest import ApiException
-from pprint import pprint
-
-# create an instance of the API class
-api_instance = swagger_client.WRENCHApi()
-simid = simid_example # String | ID of the simulation
-workflowName = workflowName_example # String | 
-tid = tid_example # String | ID of the task
-
-try: 
-    # Retrieve task's input files
-    api_response = api_instance.get_task_input_files(simid, workflowName, tid)
-    pprint(api_response)
-except ApiException as e:
-    print("Exception when calling WRENCHApi->getTaskInputFiles: %s\n" % e)
-
-
- -

Parameters

- -
Path parameters
- - - - - - - - - - - - - - -
NameDescription
simid* - - -
-
-
- - String - - -
- ID of the simulation -
-
-
- Required -
-
-
-
workflow_name* - - -
-
-
- - String - - -
-
- Required -
-
-
-
tid* - - -
-
-
- - String - - -
- ID of the task -
-
-
- Required -
-
-
-
- - - - - -

Responses

-

Status: 200 - OK

- - - -
-
-
- -
- -
-
- -

Status: 404 - Task not found

- - - -
-
- -

Status: 405 - Invalid input

- - - -
-
- -
-
-
-
-
-
-

getTaskMaxNumCores

-

Get a task's maximum number of cores.

-
-
-
-

-

-

-
-
/simulation/{simid}/workflows/{workflow_name}/tasks/{task_name}/taskGetMaxNumCores
-

-

Usage and SDK Samples

-

- - -
-
-
curl -X GET\
--H "Accept: application/json"\
-"https://wrench-project.org/v1/simulation/{simid}/workflows/{workflow_name}/tasks/{task_name}/taskGetMaxNumCores"
-
-
-
import io.swagger.client.*;
-import io.swagger.client.auth.*;
-import io.swagger.client.model.*;
-import io.swagger.client.api.WRENCHApi;
-
-import java.io.File;
-import java.util.*;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String workflowName = workflowName_example; // String | 
-        String taskName = taskName_example; // String | Name of the task
-        try {
-            TaskCores result = apiInstance.getTaskMaxNumCores(simid, workflowName, taskName);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getTaskMaxNumCores");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
import io.swagger.client.api.WRENCHApi;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String workflowName = workflowName_example; // String | 
-        String taskName = taskName_example; // String | Name of the task
-        try {
-            TaskCores result = apiInstance.getTaskMaxNumCores(simid, workflowName, taskName);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getTaskMaxNumCores");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
String *simid = simid_example; // ID of the simulation
-String *workflowName = workflowName_example; // 
-String *taskName = taskName_example; // Name of the task
-
-WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
-
-// Get a task's maximum number of cores.
-[apiInstance getTaskMaxNumCoresWith:simid
-    workflowName:workflowName
-    taskName:taskName
-              completionHandler: ^(TaskCores output, NSError* error) {
-                            if (output) {
-                                NSLog(@"%@", output);
-                            }
-                            if (error) {
-                                NSLog(@"Error: %@", error);
-                            }
-                        }];
-
-
- -
-
var WrenchRestApi = require('wrench_rest_api');
-
-var api = new WrenchRestApi.WRENCHApi()
-var simid = simid_example; // {{String}} ID of the simulation
-var workflowName = workflowName_example; // {{String}} 
-var taskName = taskName_example; // {{String}} Name of the task
-
-var callback = function(error, data, response) {
-  if (error) {
-    console.error(error);
-  } else {
-    console.log('API called successfully. Returned data: ' + data);
-  }
-};
-api.getTaskMaxNumCores(simid, workflowName, taskName, callback);
-
-
- - -
-
using System;
-using System.Diagnostics;
-using IO.Swagger.Api;
-using IO.Swagger.Client;
-using IO.Swagger.Model;
-
-namespace Example
-{
-    public class getTaskMaxNumCoresExample
-    {
-        public void main()
-        {
-
-            var apiInstance = new WRENCHApi();
-            var simid = simid_example;  // String | ID of the simulation
-            var workflowName = workflowName_example;  // String | 
-            var taskName = taskName_example;  // String | Name of the task
-
-            try
-            {
-                // Get a task's maximum number of cores.
-                TaskCores result = apiInstance.getTaskMaxNumCores(simid, workflowName, taskName);
-                Debug.WriteLine(result);
-            }
-            catch (Exception e)
-            {
-                Debug.Print("Exception when calling WRENCHApi.getTaskMaxNumCores: " + e.Message );
-            }
-        }
-    }
-}
-
-
- -
-
<?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-$api_instance = new Swagger\Client\ApiWRENCHApi();
-$simid = simid_example; // String | ID of the simulation
-$workflowName = workflowName_example; // String | 
-$taskName = taskName_example; // String | Name of the task
-
-try {
-    $result = $api_instance->getTaskMaxNumCores($simid, $workflowName, $taskName);
-    print_r($result);
-} catch (Exception $e) {
-    echo 'Exception when calling WRENCHApi->getTaskMaxNumCores: ', $e->getMessage(), PHP_EOL;
-}
-?>
-
- -
-
use Data::Dumper;
-use WWW::SwaggerClient::Configuration;
-use WWW::SwaggerClient::WRENCHApi;
-
-my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
-my $simid = simid_example; # String | ID of the simulation
-my $workflowName = workflowName_example; # String | 
-my $taskName = taskName_example; # String | Name of the task
-
-eval { 
-    my $result = $api_instance->getTaskMaxNumCores(simid => $simid, workflowName => $workflowName, taskName => $taskName);
-    print Dumper($result);
-};
-if ($@) {
-    warn "Exception when calling WRENCHApi->getTaskMaxNumCores: $@\n";
-}
-
- -
-
from __future__ import print_statement
-import time
-import swagger_client
-from swagger_client.rest import ApiException
-from pprint import pprint
-
-# create an instance of the API class
-api_instance = swagger_client.WRENCHApi()
-simid = simid_example # String | ID of the simulation
-workflowName = workflowName_example # String | 
-taskName = taskName_example # String | Name of the task
-
-try: 
-    # Get a task's maximum number of cores.
-    api_response = api_instance.get_task_max_num_cores(simid, workflowName, taskName)
-    pprint(api_response)
-except ApiException as e:
-    print("Exception when calling WRENCHApi->getTaskMaxNumCores: %s\n" % e)
-
-
- -

Parameters

- -
Path parameters
- - - - - - - - - - - - - - -
NameDescription
simid* - - -
-
-
- - String - - -
- ID of the simulation -
-
-
- Required -
-
-
-
workflow_name* - - -
-
-
- - String - - -
-
- Required -
-
-
-
task_name* - - -
-
-
- - String - - -
- Name of the task -
-
-
- Required -
-
-
-
- - - - - -

Responses

-

Status: 200 - OK

- - - -
-
-
- -
- -
-
- -

Status: 404 - Job not found

- - - -
-
- -

Status: 405 - Invalid input

- - - -
-
- -
-
-
-
-
-
-

getTaskMaxNumCores_30

-

Get an action's maximum number of cores.

-
-
-
-

-

-

-
-
/simulation/{simid}/{compound_job_name}/actions/{name}/actionGetMaxNumCores
-

-

Usage and SDK Samples

-

- - -
-
-
curl -X GET\
--H "Accept: application/json"\
-"https://wrench-project.org/v1/simulation/{simid}/{compound_job_name}/actions/{name}/actionGetMaxNumCores"
-
-
-
import io.swagger.client.*;
-import io.swagger.client.auth.*;
-import io.swagger.client.model.*;
-import io.swagger.client.api.WRENCHApi;
-
-import java.io.File;
-import java.util.*;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String compoundJobName = compoundJobName_example; // String | Name of the compound job
-        String name = name_example; // String | Name of the action
-        try {
-            TaskCores result = apiInstance.getTaskMaxNumCores_0(simid, compoundJobName, name);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getTaskMaxNumCores_0");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
import io.swagger.client.api.WRENCHApi;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String compoundJobName = compoundJobName_example; // String | Name of the compound job
-        String name = name_example; // String | Name of the action
-        try {
-            TaskCores result = apiInstance.getTaskMaxNumCores_0(simid, compoundJobName, name);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getTaskMaxNumCores_0");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
String *simid = simid_example; // ID of the simulation
-String *compoundJobName = compoundJobName_example; // Name of the compound job
-String *name = name_example; // Name of the action
-
-WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
-
-// Get an action's maximum number of cores.
-[apiInstance getTaskMaxNumCores_30With:simid
-    compoundJobName:compoundJobName
-    name:name
-              completionHandler: ^(TaskCores output, NSError* error) {
-                            if (output) {
-                                NSLog(@"%@", output);
-                            }
-                            if (error) {
-                                NSLog(@"Error: %@", error);
-                            }
-                        }];
-
-
- -
-
var WrenchRestApi = require('wrench_rest_api');
-
-var api = new WrenchRestApi.WRENCHApi()
-var simid = simid_example; // {{String}} ID of the simulation
-var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
-var name = name_example; // {{String}} Name of the action
-
-var callback = function(error, data, response) {
-  if (error) {
-    console.error(error);
-  } else {
-    console.log('API called successfully. Returned data: ' + data);
-  }
-};
-api.getTaskMaxNumCores_0(simid, compoundJobName, name, callback);
-
-
- - -
-
using System;
-using System.Diagnostics;
-using IO.Swagger.Api;
-using IO.Swagger.Client;
-using IO.Swagger.Model;
-
-namespace Example
-{
-    public class getTaskMaxNumCores_0Example
-    {
-        public void main()
-        {
-
-            var apiInstance = new WRENCHApi();
-            var simid = simid_example;  // String | ID of the simulation
-            var compoundJobName = compoundJobName_example;  // String | Name of the compound job
-            var name = name_example;  // String | Name of the action
-
-            try
-            {
-                // Get an action's maximum number of cores.
-                TaskCores result = apiInstance.getTaskMaxNumCores_0(simid, compoundJobName, name);
-                Debug.WriteLine(result);
-            }
-            catch (Exception e)
-            {
-                Debug.Print("Exception when calling WRENCHApi.getTaskMaxNumCores_0: " + e.Message );
-            }
-        }
-    }
-}
-
-
- -
-
<?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-$api_instance = new Swagger\Client\ApiWRENCHApi();
-$simid = simid_example; // String | ID of the simulation
-$compoundJobName = compoundJobName_example; // String | Name of the compound job
-$name = name_example; // String | Name of the action
-
-try {
-    $result = $api_instance->getTaskMaxNumCores_0($simid, $compoundJobName, $name);
-    print_r($result);
-} catch (Exception $e) {
-    echo 'Exception when calling WRENCHApi->getTaskMaxNumCores_0: ', $e->getMessage(), PHP_EOL;
-}
-?>
-
- -
-
use Data::Dumper;
-use WWW::SwaggerClient::Configuration;
-use WWW::SwaggerClient::WRENCHApi;
-
-my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
-my $simid = simid_example; # String | ID of the simulation
-my $compoundJobName = compoundJobName_example; # String | Name of the compound job
-my $name = name_example; # String | Name of the action
-
-eval { 
-    my $result = $api_instance->getTaskMaxNumCores_0(simid => $simid, compoundJobName => $compoundJobName, name => $name);
-    print Dumper($result);
-};
-if ($@) {
-    warn "Exception when calling WRENCHApi->getTaskMaxNumCores_0: $@\n";
-}
-
- -
-
from __future__ import print_statement
-import time
-import swagger_client
-from swagger_client.rest import ApiException
-from pprint import pprint
-
-# create an instance of the API class
-api_instance = swagger_client.WRENCHApi()
-simid = simid_example # String | ID of the simulation
-compoundJobName = compoundJobName_example # String | Name of the compound job
-name = name_example # String | Name of the action
-
-try: 
-    # Get an action's maximum number of cores.
-    api_response = api_instance.get_task_max_num_cores_0(simid, compoundJobName, name)
-    pprint(api_response)
-except ApiException as e:
-    print("Exception when calling WRENCHApi->getTaskMaxNumCores_0: %s\n" % e)
-
-
- -

Parameters

- -
Path parameters
- - - - - - - - - - - - - - -
NameDescription
simid* - - -
-
-
- - String - - -
- ID of the simulation -
-
-
- Required -
-
-
-
compound_job_name* - - -
-
-
- - String - - -
- Name of the compound job -
-
-
- Required -
-
-
-
name* - - -
-
-
- - String - - -
- Name of the action -
-
-
- Required -
-
-
-
- - - - - -

Responses

-

Status: 200 - OK

- - - -
-
-
- -
- -
-
- -

Status: 404 - Job not found

- - - -
-
- -

Status: 405 - Invalid input

- - - -
-
- -
-
-
-
-
-
-

getTaskMemory

-

Get a task's memory requirement.

-
-
-
-

-

-

-
-
/simulation/{simid}/workflows/{workflow_name}/tasks/{task_name}/taskGetMemory
-

-

Usage and SDK Samples

-

- - -
-
-
curl -X GET\
--H "Accept: application/json"\
-"https://wrench-project.org/v1/simulation/{simid}/workflows/{workflow_name}/tasks/{task_name}/taskGetMemory"
-
-
-
import io.swagger.client.*;
-import io.swagger.client.auth.*;
-import io.swagger.client.model.*;
-import io.swagger.client.api.WRENCHApi;
-
-import java.io.File;
-import java.util.*;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String workflowName = workflowName_example; // String | 
-        String taskName = taskName_example; // String | Name of the task
-        try {
-            TaskMem result = apiInstance.getTaskMemory(simid, workflowName, taskName);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getTaskMemory");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
import io.swagger.client.api.WRENCHApi;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String workflowName = workflowName_example; // String | 
-        String taskName = taskName_example; // String | Name of the task
-        try {
-            TaskMem result = apiInstance.getTaskMemory(simid, workflowName, taskName);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getTaskMemory");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
String *simid = simid_example; // ID of the simulation
-String *workflowName = workflowName_example; // 
-String *taskName = taskName_example; // Name of the task
-
-WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
-
-// Get a task's memory requirement.
-[apiInstance getTaskMemoryWith:simid
-    workflowName:workflowName
-    taskName:taskName
-              completionHandler: ^(TaskMem output, NSError* error) {
-                            if (output) {
-                                NSLog(@"%@", output);
-                            }
-                            if (error) {
-                                NSLog(@"Error: %@", error);
-                            }
-                        }];
-
-
- -
-
var WrenchRestApi = require('wrench_rest_api');
-
-var api = new WrenchRestApi.WRENCHApi()
-var simid = simid_example; // {{String}} ID of the simulation
-var workflowName = workflowName_example; // {{String}} 
-var taskName = taskName_example; // {{String}} Name of the task
-
-var callback = function(error, data, response) {
-  if (error) {
-    console.error(error);
-  } else {
-    console.log('API called successfully. Returned data: ' + data);
-  }
-};
-api.getTaskMemory(simid, workflowName, taskName, callback);
-
-
- - -
-
using System;
-using System.Diagnostics;
-using IO.Swagger.Api;
-using IO.Swagger.Client;
-using IO.Swagger.Model;
-
-namespace Example
-{
-    public class getTaskMemoryExample
-    {
-        public void main()
-        {
-
-            var apiInstance = new WRENCHApi();
-            var simid = simid_example;  // String | ID of the simulation
-            var workflowName = workflowName_example;  // String | 
-            var taskName = taskName_example;  // String | Name of the task
-
-            try
-            {
-                // Get a task's memory requirement.
-                TaskMem result = apiInstance.getTaskMemory(simid, workflowName, taskName);
-                Debug.WriteLine(result);
-            }
-            catch (Exception e)
-            {
-                Debug.Print("Exception when calling WRENCHApi.getTaskMemory: " + e.Message );
-            }
-        }
-    }
-}
-
-
- -
-
<?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-$api_instance = new Swagger\Client\ApiWRENCHApi();
-$simid = simid_example; // String | ID of the simulation
-$workflowName = workflowName_example; // String | 
-$taskName = taskName_example; // String | Name of the task
-
-try {
-    $result = $api_instance->getTaskMemory($simid, $workflowName, $taskName);
-    print_r($result);
-} catch (Exception $e) {
-    echo 'Exception when calling WRENCHApi->getTaskMemory: ', $e->getMessage(), PHP_EOL;
-}
-?>
-
- -
-
use Data::Dumper;
-use WWW::SwaggerClient::Configuration;
-use WWW::SwaggerClient::WRENCHApi;
-
-my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
-my $simid = simid_example; # String | ID of the simulation
-my $workflowName = workflowName_example; # String | 
-my $taskName = taskName_example; # String | Name of the task
-
-eval { 
-    my $result = $api_instance->getTaskMemory(simid => $simid, workflowName => $workflowName, taskName => $taskName);
-    print Dumper($result);
-};
-if ($@) {
-    warn "Exception when calling WRENCHApi->getTaskMemory: $@\n";
-}
-
- -
-
from __future__ import print_statement
-import time
-import swagger_client
-from swagger_client.rest import ApiException
-from pprint import pprint
-
-# create an instance of the API class
-api_instance = swagger_client.WRENCHApi()
-simid = simid_example # String | ID of the simulation
-workflowName = workflowName_example # String | 
-taskName = taskName_example # String | Name of the task
-
-try: 
-    # Get a task's memory requirement.
-    api_response = api_instance.get_task_memory(simid, workflowName, taskName)
-    pprint(api_response)
-except ApiException as e:
-    print("Exception when calling WRENCHApi->getTaskMemory: %s\n" % e)
-
-
- -

Parameters

- -
Path parameters
- - - - - - - - - - - - - - -
NameDescription
simid* - - -
-
-
- - String - - -
- ID of the simulation -
-
-
- Required -
-
-
-
workflow_name* - - -
-
-
- - String - - -
-
- Required -
-
-
-
task_name* - - -
-
-
- - String - - -
- Name of the task -
-
-
- Required -
-
-
-
- - - - - -

Responses

-

Status: 200 - OK

- - - -
-
-
- -
- -
-
- -

Status: 404 - Job not found

- - - -
-
- -

Status: 405 - Invalid input

- - - -
-
- -
-
-
-
-
-
-

getTaskMemory_31

-

Get an action's memory requirement.

-
-
-
-

-

-

-
-
/simulation/{simid}/{compound_job_name}/actions/{name}/actionGetMemory
-

-

Usage and SDK Samples

-

- - -
-
-
curl -X GET\
--H "Accept: application/json"\
-"https://wrench-project.org/v1/simulation/{simid}/{compound_job_name}/actions/{name}/actionGetMemory"
-
-
-
import io.swagger.client.*;
-import io.swagger.client.auth.*;
-import io.swagger.client.model.*;
-import io.swagger.client.api.WRENCHApi;
-
-import java.io.File;
-import java.util.*;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String compoundJobName = compoundJobName_example; // String | Name of the compound job
-        String name = name_example; // String | Name of the action
-        try {
-            TaskMem result = apiInstance.getTaskMemory_0(simid, compoundJobName, name);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getTaskMemory_0");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
import io.swagger.client.api.WRENCHApi;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String compoundJobName = compoundJobName_example; // String | Name of the compound job
-        String name = name_example; // String | Name of the action
-        try {
-            TaskMem result = apiInstance.getTaskMemory_0(simid, compoundJobName, name);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getTaskMemory_0");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
String *simid = simid_example; // ID of the simulation
-String *compoundJobName = compoundJobName_example; // Name of the compound job
-String *name = name_example; // Name of the action
-
-WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
-
-// Get an action's memory requirement.
-[apiInstance getTaskMemory_31With:simid
-    compoundJobName:compoundJobName
-    name:name
-              completionHandler: ^(TaskMem output, NSError* error) {
-                            if (output) {
-                                NSLog(@"%@", output);
-                            }
-                            if (error) {
-                                NSLog(@"Error: %@", error);
-                            }
-                        }];
-
-
- -
-
var WrenchRestApi = require('wrench_rest_api');
-
-var api = new WrenchRestApi.WRENCHApi()
-var simid = simid_example; // {{String}} ID of the simulation
-var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
-var name = name_example; // {{String}} Name of the action
-
-var callback = function(error, data, response) {
-  if (error) {
-    console.error(error);
-  } else {
-    console.log('API called successfully. Returned data: ' + data);
-  }
-};
-api.getTaskMemory_0(simid, compoundJobName, name, callback);
-
-
- - -
-
using System;
-using System.Diagnostics;
-using IO.Swagger.Api;
-using IO.Swagger.Client;
-using IO.Swagger.Model;
-
-namespace Example
-{
-    public class getTaskMemory_0Example
-    {
-        public void main()
-        {
-
-            var apiInstance = new WRENCHApi();
-            var simid = simid_example;  // String | ID of the simulation
-            var compoundJobName = compoundJobName_example;  // String | Name of the compound job
-            var name = name_example;  // String | Name of the action
-
-            try
-            {
-                // Get an action's memory requirement.
-                TaskMem result = apiInstance.getTaskMemory_0(simid, compoundJobName, name);
-                Debug.WriteLine(result);
-            }
-            catch (Exception e)
-            {
-                Debug.Print("Exception when calling WRENCHApi.getTaskMemory_0: " + e.Message );
-            }
-        }
-    }
-}
-
-
- -
-
<?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-$api_instance = new Swagger\Client\ApiWRENCHApi();
-$simid = simid_example; // String | ID of the simulation
-$compoundJobName = compoundJobName_example; // String | Name of the compound job
-$name = name_example; // String | Name of the action
-
-try {
-    $result = $api_instance->getTaskMemory_0($simid, $compoundJobName, $name);
-    print_r($result);
-} catch (Exception $e) {
-    echo 'Exception when calling WRENCHApi->getTaskMemory_0: ', $e->getMessage(), PHP_EOL;
-}
-?>
-
- -
-
use Data::Dumper;
-use WWW::SwaggerClient::Configuration;
-use WWW::SwaggerClient::WRENCHApi;
-
-my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
-my $simid = simid_example; # String | ID of the simulation
-my $compoundJobName = compoundJobName_example; # String | Name of the compound job
-my $name = name_example; # String | Name of the action
-
-eval { 
-    my $result = $api_instance->getTaskMemory_0(simid => $simid, compoundJobName => $compoundJobName, name => $name);
-    print Dumper($result);
-};
-if ($@) {
-    warn "Exception when calling WRENCHApi->getTaskMemory_0: $@\n";
-}
-
- -
-
from __future__ import print_statement
-import time
-import swagger_client
-from swagger_client.rest import ApiException
-from pprint import pprint
-
-# create an instance of the API class
-api_instance = swagger_client.WRENCHApi()
-simid = simid_example # String | ID of the simulation
-compoundJobName = compoundJobName_example # String | Name of the compound job
-name = name_example # String | Name of the action
-
-try: 
-    # Get an action's memory requirement.
-    api_response = api_instance.get_task_memory_0(simid, compoundJobName, name)
-    pprint(api_response)
-except ApiException as e:
-    print("Exception when calling WRENCHApi->getTaskMemory_0: %s\n" % e)
-
-
- -

Parameters

- -
Path parameters
- - - - - - - - - - - - - - -
NameDescription
simid* - - -
-
-
- - String - - -
- ID of the simulation -
-
-
- Required -
-
-
-
compound_job_name* - - -
-
-
- - String - - -
- Name of the compound job -
-
-
- Required -
-
-
-
name* - - -
-
-
- - String - - -
- Name of the action -
-
-
- Required -
-
-
-
- - - - - -

Responses

-

Status: 200 - OK

- - - -
-
-
- -
- -
-
- -

Status: 404 - Job not found

- - - -
-
- -

Status: 405 - Invalid input

- - - -
-
- -
-
-
-
-
-
-

getTaskMemory_32

-

Get an action's memory requirement.

-
-
-
-

-

-

-
-
/simulation/{simid}/{compound_job_name}/actions/{name}/actionUsesScratch
-

-

Usage and SDK Samples

-

- - -
-
-
curl -X GET\
--H "Accept: application/json"\
-"https://wrench-project.org/v1/simulation/{simid}/{compound_job_name}/actions/{name}/actionUsesScratch"
-
-
-
import io.swagger.client.*;
-import io.swagger.client.auth.*;
-import io.swagger.client.model.*;
-import io.swagger.client.api.WRENCHApi;
-
-import java.io.File;
-import java.util.*;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String compoundJobName = compoundJobName_example; // String | Name of the compound job
-        String name = name_example; // String | Name of the action
-        try {
-            TaskMem result = apiInstance.getTaskMemory_1(simid, compoundJobName, name);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getTaskMemory_1");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
import io.swagger.client.api.WRENCHApi;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String compoundJobName = compoundJobName_example; // String | Name of the compound job
-        String name = name_example; // String | Name of the action
-        try {
-            TaskMem result = apiInstance.getTaskMemory_1(simid, compoundJobName, name);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getTaskMemory_1");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
String *simid = simid_example; // ID of the simulation
-String *compoundJobName = compoundJobName_example; // Name of the compound job
-String *name = name_example; // Name of the action
-
-WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
-
-// Get an action's memory requirement.
-[apiInstance getTaskMemory_32With:simid
-    compoundJobName:compoundJobName
-    name:name
-              completionHandler: ^(TaskMem output, NSError* error) {
-                            if (output) {
-                                NSLog(@"%@", output);
-                            }
-                            if (error) {
-                                NSLog(@"Error: %@", error);
-                            }
-                        }];
-
-
- -
-
var WrenchRestApi = require('wrench_rest_api');
-
-var api = new WrenchRestApi.WRENCHApi()
-var simid = simid_example; // {{String}} ID of the simulation
-var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
-var name = name_example; // {{String}} Name of the action
-
-var callback = function(error, data, response) {
-  if (error) {
-    console.error(error);
-  } else {
-    console.log('API called successfully. Returned data: ' + data);
-  }
-};
-api.getTaskMemory_1(simid, compoundJobName, name, callback);
-
-
- - -
-
using System;
-using System.Diagnostics;
-using IO.Swagger.Api;
-using IO.Swagger.Client;
-using IO.Swagger.Model;
-
-namespace Example
-{
-    public class getTaskMemory_1Example
-    {
-        public void main()
-        {
-
-            var apiInstance = new WRENCHApi();
-            var simid = simid_example;  // String | ID of the simulation
-            var compoundJobName = compoundJobName_example;  // String | Name of the compound job
-            var name = name_example;  // String | Name of the action
-
-            try
-            {
-                // Get an action's memory requirement.
-                TaskMem result = apiInstance.getTaskMemory_1(simid, compoundJobName, name);
-                Debug.WriteLine(result);
-            }
-            catch (Exception e)
-            {
-                Debug.Print("Exception when calling WRENCHApi.getTaskMemory_1: " + e.Message );
-            }
-        }
-    }
-}
-
-
- -
-
<?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-$api_instance = new Swagger\Client\ApiWRENCHApi();
-$simid = simid_example; // String | ID of the simulation
-$compoundJobName = compoundJobName_example; // String | Name of the compound job
-$name = name_example; // String | Name of the action
-
-try {
-    $result = $api_instance->getTaskMemory_1($simid, $compoundJobName, $name);
-    print_r($result);
-} catch (Exception $e) {
-    echo 'Exception when calling WRENCHApi->getTaskMemory_1: ', $e->getMessage(), PHP_EOL;
-}
-?>
-
- -
-
use Data::Dumper;
-use WWW::SwaggerClient::Configuration;
-use WWW::SwaggerClient::WRENCHApi;
-
-my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
-my $simid = simid_example; # String | ID of the simulation
-my $compoundJobName = compoundJobName_example; # String | Name of the compound job
-my $name = name_example; # String | Name of the action
-
-eval { 
-    my $result = $api_instance->getTaskMemory_1(simid => $simid, compoundJobName => $compoundJobName, name => $name);
-    print Dumper($result);
-};
-if ($@) {
-    warn "Exception when calling WRENCHApi->getTaskMemory_1: $@\n";
-}
-
- -
-
from __future__ import print_statement
-import time
-import swagger_client
-from swagger_client.rest import ApiException
-from pprint import pprint
-
-# create an instance of the API class
-api_instance = swagger_client.WRENCHApi()
-simid = simid_example # String | ID of the simulation
-compoundJobName = compoundJobName_example # String | Name of the compound job
-name = name_example # String | Name of the action
-
-try: 
-    # Get an action's memory requirement.
-    api_response = api_instance.get_task_memory_1(simid, compoundJobName, name)
-    pprint(api_response)
-except ApiException as e:
-    print("Exception when calling WRENCHApi->getTaskMemory_1: %s\n" % e)
-
-
- -

Parameters

- -
Path parameters
- - - - - - - - - - - - - - -
NameDescription
simid* - - -
-
-
- - String - - -
- ID of the simulation -
-
-
- Required -
-
-
-
compound_job_name* - - -
-
-
- - String - - -
- Name of the compound job -
-
-
- Required -
-
-
-
name* - - -
-
-
- - String - - -
- Name of the action -
-
-
- Required -
-
-
-
- - - - - -

Responses

-

Status: 200 - OK

- - - -
-
-
- -
- -
-
- -

Status: 404 - Job not found

- - - -
-
- -

Status: 405 - Invalid input

- - - -
-
- -
-
-
-
-
-
-

getTaskMinNumCores

-

Get a task's minimum number of cores.

-
-
-
-

-

-

-
-
/simulation/{simid}/workflows/{workflow_name}/tasks/{task_name}/taskGetMinNumCores
-

-

Usage and SDK Samples

-

- - -
-
-
curl -X GET\
--H "Accept: application/json"\
-"https://wrench-project.org/v1/simulation/{simid}/workflows/{workflow_name}/tasks/{task_name}/taskGetMinNumCores"
-
-
-
import io.swagger.client.*;
-import io.swagger.client.auth.*;
-import io.swagger.client.model.*;
-import io.swagger.client.api.WRENCHApi;
-
-import java.io.File;
-import java.util.*;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String workflowName = workflowName_example; // String | 
-        String taskName = taskName_example; // String | Name of the task
-        try {
-            TaskCores result = apiInstance.getTaskMinNumCores(simid, workflowName, taskName);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getTaskMinNumCores");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
import io.swagger.client.api.WRENCHApi;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String workflowName = workflowName_example; // String | 
-        String taskName = taskName_example; // String | Name of the task
-        try {
-            TaskCores result = apiInstance.getTaskMinNumCores(simid, workflowName, taskName);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getTaskMinNumCores");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
String *simid = simid_example; // ID of the simulation
-String *workflowName = workflowName_example; // 
-String *taskName = taskName_example; // Name of the task
-
-WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
-
-// Get a task's minimum number of cores.
-[apiInstance getTaskMinNumCoresWith:simid
-    workflowName:workflowName
-    taskName:taskName
-              completionHandler: ^(TaskCores output, NSError* error) {
-                            if (output) {
-                                NSLog(@"%@", output);
-                            }
-                            if (error) {
-                                NSLog(@"Error: %@", error);
-                            }
-                        }];
-
-
- -
-
var WrenchRestApi = require('wrench_rest_api');
-
-var api = new WrenchRestApi.WRENCHApi()
-var simid = simid_example; // {{String}} ID of the simulation
-var workflowName = workflowName_example; // {{String}} 
-var taskName = taskName_example; // {{String}} Name of the task
-
-var callback = function(error, data, response) {
-  if (error) {
-    console.error(error);
-  } else {
-    console.log('API called successfully. Returned data: ' + data);
-  }
-};
-api.getTaskMinNumCores(simid, workflowName, taskName, callback);
-
-
- - -
-
using System;
-using System.Diagnostics;
-using IO.Swagger.Api;
-using IO.Swagger.Client;
-using IO.Swagger.Model;
-
-namespace Example
-{
-    public class getTaskMinNumCoresExample
-    {
-        public void main()
-        {
-
-            var apiInstance = new WRENCHApi();
-            var simid = simid_example;  // String | ID of the simulation
-            var workflowName = workflowName_example;  // String | 
-            var taskName = taskName_example;  // String | Name of the task
-
-            try
-            {
-                // Get a task's minimum number of cores.
-                TaskCores result = apiInstance.getTaskMinNumCores(simid, workflowName, taskName);
-                Debug.WriteLine(result);
-            }
-            catch (Exception e)
-            {
-                Debug.Print("Exception when calling WRENCHApi.getTaskMinNumCores: " + e.Message );
-            }
-        }
-    }
-}
-
-
- -
-
<?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-$api_instance = new Swagger\Client\ApiWRENCHApi();
-$simid = simid_example; // String | ID of the simulation
-$workflowName = workflowName_example; // String | 
-$taskName = taskName_example; // String | Name of the task
-
-try {
-    $result = $api_instance->getTaskMinNumCores($simid, $workflowName, $taskName);
-    print_r($result);
-} catch (Exception $e) {
-    echo 'Exception when calling WRENCHApi->getTaskMinNumCores: ', $e->getMessage(), PHP_EOL;
-}
-?>
-
- -
-
use Data::Dumper;
-use WWW::SwaggerClient::Configuration;
-use WWW::SwaggerClient::WRENCHApi;
-
-my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
-my $simid = simid_example; # String | ID of the simulation
-my $workflowName = workflowName_example; # String | 
-my $taskName = taskName_example; # String | Name of the task
-
-eval { 
-    my $result = $api_instance->getTaskMinNumCores(simid => $simid, workflowName => $workflowName, taskName => $taskName);
-    print Dumper($result);
-};
-if ($@) {
-    warn "Exception when calling WRENCHApi->getTaskMinNumCores: $@\n";
-}
-
- -
-
from __future__ import print_statement
-import time
-import swagger_client
-from swagger_client.rest import ApiException
-from pprint import pprint
-
-# create an instance of the API class
-api_instance = swagger_client.WRENCHApi()
-simid = simid_example # String | ID of the simulation
-workflowName = workflowName_example # String | 
-taskName = taskName_example # String | Name of the task
-
-try: 
-    # Get a task's minimum number of cores.
-    api_response = api_instance.get_task_min_num_cores(simid, workflowName, taskName)
-    pprint(api_response)
-except ApiException as e:
-    print("Exception when calling WRENCHApi->getTaskMinNumCores: %s\n" % e)
-
-
- -

Parameters

- -
Path parameters
- - - - - - - - - - - - - - -
NameDescription
simid* - - -
-
-
- - String - - -
- ID of the simulation -
-
-
- Required -
-
-
-
workflow_name* - - -
-
-
- - String - - -
-
- Required -
-
-
-
task_name* - - -
-
-
- - String - - -
- Name of the task -
-
-
- Required -
-
-
-
- - - - - -

Responses

-

Status: 200 - OK

- - - -
-
-
- -
- -
-
- -

Status: 404 - Job not found

- - - -
-
- -

Status: 405 - Invalid input

- - - -
-
- -
-
-
-
-
-
-

getTaskMinNumCores_33

-

Get an action's minimum number of cores.

-
-
-
-

-

-

-
-
/simulation/{simid}/{compound_job_name}/actions/{name}/actionGetMinNumCores
-

-

Usage and SDK Samples

-

- - -
-
-
curl -X GET\
--H "Accept: application/json"\
-"https://wrench-project.org/v1/simulation/{simid}/{compound_job_name}/actions/{name}/actionGetMinNumCores"
-
-
-
import io.swagger.client.*;
-import io.swagger.client.auth.*;
-import io.swagger.client.model.*;
-import io.swagger.client.api.WRENCHApi;
-
-import java.io.File;
-import java.util.*;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String compoundJobName = compoundJobName_example; // String | Name of the compound job
-        String name = name_example; // String | Name of the action
-        try {
-            TaskCores result = apiInstance.getTaskMinNumCores_0(simid, compoundJobName, name);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getTaskMinNumCores_0");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
import io.swagger.client.api.WRENCHApi;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String compoundJobName = compoundJobName_example; // String | Name of the compound job
-        String name = name_example; // String | Name of the action
-        try {
-            TaskCores result = apiInstance.getTaskMinNumCores_0(simid, compoundJobName, name);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getTaskMinNumCores_0");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
String *simid = simid_example; // ID of the simulation
-String *compoundJobName = compoundJobName_example; // Name of the compound job
-String *name = name_example; // Name of the action
-
-WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
-
-// Get an action's minimum number of cores.
-[apiInstance getTaskMinNumCores_33With:simid
-    compoundJobName:compoundJobName
-    name:name
-              completionHandler: ^(TaskCores output, NSError* error) {
-                            if (output) {
-                                NSLog(@"%@", output);
-                            }
-                            if (error) {
-                                NSLog(@"Error: %@", error);
-                            }
-                        }];
-
-
- -
-
var WrenchRestApi = require('wrench_rest_api');
-
-var api = new WrenchRestApi.WRENCHApi()
-var simid = simid_example; // {{String}} ID of the simulation
-var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
-var name = name_example; // {{String}} Name of the action
-
-var callback = function(error, data, response) {
-  if (error) {
-    console.error(error);
-  } else {
-    console.log('API called successfully. Returned data: ' + data);
-  }
-};
-api.getTaskMinNumCores_0(simid, compoundJobName, name, callback);
-
-
- - -
-
using System;
-using System.Diagnostics;
-using IO.Swagger.Api;
-using IO.Swagger.Client;
-using IO.Swagger.Model;
-
-namespace Example
-{
-    public class getTaskMinNumCores_0Example
-    {
-        public void main()
-        {
-
-            var apiInstance = new WRENCHApi();
-            var simid = simid_example;  // String | ID of the simulation
-            var compoundJobName = compoundJobName_example;  // String | Name of the compound job
-            var name = name_example;  // String | Name of the action
-
-            try
-            {
-                // Get an action's minimum number of cores.
-                TaskCores result = apiInstance.getTaskMinNumCores_0(simid, compoundJobName, name);
-                Debug.WriteLine(result);
-            }
-            catch (Exception e)
-            {
-                Debug.Print("Exception when calling WRENCHApi.getTaskMinNumCores_0: " + e.Message );
-            }
-        }
-    }
-}
-
-
- -
-
<?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-$api_instance = new Swagger\Client\ApiWRENCHApi();
-$simid = simid_example; // String | ID of the simulation
-$compoundJobName = compoundJobName_example; // String | Name of the compound job
-$name = name_example; // String | Name of the action
-
-try {
-    $result = $api_instance->getTaskMinNumCores_0($simid, $compoundJobName, $name);
-    print_r($result);
-} catch (Exception $e) {
-    echo 'Exception when calling WRENCHApi->getTaskMinNumCores_0: ', $e->getMessage(), PHP_EOL;
-}
-?>
-
- -
-
use Data::Dumper;
-use WWW::SwaggerClient::Configuration;
-use WWW::SwaggerClient::WRENCHApi;
-
-my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
-my $simid = simid_example; # String | ID of the simulation
-my $compoundJobName = compoundJobName_example; # String | Name of the compound job
-my $name = name_example; # String | Name of the action
-
-eval { 
-    my $result = $api_instance->getTaskMinNumCores_0(simid => $simid, compoundJobName => $compoundJobName, name => $name);
-    print Dumper($result);
-};
-if ($@) {
-    warn "Exception when calling WRENCHApi->getTaskMinNumCores_0: $@\n";
-}
-
- -
-
from __future__ import print_statement
-import time
-import swagger_client
-from swagger_client.rest import ApiException
-from pprint import pprint
-
-# create an instance of the API class
-api_instance = swagger_client.WRENCHApi()
-simid = simid_example # String | ID of the simulation
-compoundJobName = compoundJobName_example # String | Name of the compound job
-name = name_example # String | Name of the action
-
-try: 
-    # Get an action's minimum number of cores.
-    api_response = api_instance.get_task_min_num_cores_0(simid, compoundJobName, name)
-    pprint(api_response)
-except ApiException as e:
-    print("Exception when calling WRENCHApi->getTaskMinNumCores_0: %s\n" % e)
-
-
- -

Parameters

- -
Path parameters
- - - - - - - - - - - - - - -
NameDescription
simid* - - -
-
-
- - String - - -
- ID of the simulation -
-
-
- Required -
-
-
-
compound_job_name* - - -
-
-
- - String - - -
- Name of the compound job -
-
-
- Required -
-
-
-
name* - - -
-
-
- - String - - -
- Name of the action -
-
-
- Required -
-
-
-
- - - - - -

Responses

-

Status: 200 - OK

- - - -
-
-
- -
- -
-
- -

Status: 404 - Job not found

- - - -
-
- -

Status: 405 - Invalid input

- - - -
-
- -
-
-
-
-
-
-

getTaskMinNumCores_34

-

Get an action's minimum number of cores.

-
-
-
-

-

-

-
-
/simulation/{simid}/{compound_job_name}/actions/{name}/actionGetMinRAMFootprint
-

-

Usage and SDK Samples

-

- - -
-
-
curl -X GET\
--H "Accept: application/json"\
-"https://wrench-project.org/v1/simulation/{simid}/{compound_job_name}/actions/{name}/actionGetMinRAMFootprint"
-
-
-
import io.swagger.client.*;
-import io.swagger.client.auth.*;
-import io.swagger.client.model.*;
-import io.swagger.client.api.WRENCHApi;
-
-import java.io.File;
-import java.util.*;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String compoundJobName = compoundJobName_example; // String | Name of the compound job
-        String name = name_example; // String | Name of the action
-        try {
-            TaskCores result = apiInstance.getTaskMinNumCores_1(simid, compoundJobName, name);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getTaskMinNumCores_1");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
import io.swagger.client.api.WRENCHApi;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String compoundJobName = compoundJobName_example; // String | Name of the compound job
-        String name = name_example; // String | Name of the action
-        try {
-            TaskCores result = apiInstance.getTaskMinNumCores_1(simid, compoundJobName, name);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getTaskMinNumCores_1");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
String *simid = simid_example; // ID of the simulation
-String *compoundJobName = compoundJobName_example; // Name of the compound job
-String *name = name_example; // Name of the action
-
-WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
-
-// Get an action's minimum number of cores.
-[apiInstance getTaskMinNumCores_34With:simid
-    compoundJobName:compoundJobName
-    name:name
-              completionHandler: ^(TaskCores output, NSError* error) {
-                            if (output) {
-                                NSLog(@"%@", output);
-                            }
-                            if (error) {
-                                NSLog(@"Error: %@", error);
-                            }
-                        }];
-
-
- -
-
var WrenchRestApi = require('wrench_rest_api');
-
-var api = new WrenchRestApi.WRENCHApi()
-var simid = simid_example; // {{String}} ID of the simulation
-var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
-var name = name_example; // {{String}} Name of the action
-
-var callback = function(error, data, response) {
-  if (error) {
-    console.error(error);
-  } else {
-    console.log('API called successfully. Returned data: ' + data);
-  }
-};
-api.getTaskMinNumCores_1(simid, compoundJobName, name, callback);
-
-
- - -
-
using System;
-using System.Diagnostics;
-using IO.Swagger.Api;
-using IO.Swagger.Client;
-using IO.Swagger.Model;
-
-namespace Example
-{
-    public class getTaskMinNumCores_1Example
-    {
-        public void main()
-        {
-
-            var apiInstance = new WRENCHApi();
-            var simid = simid_example;  // String | ID of the simulation
-            var compoundJobName = compoundJobName_example;  // String | Name of the compound job
-            var name = name_example;  // String | Name of the action
-
-            try
-            {
-                // Get an action's minimum number of cores.
-                TaskCores result = apiInstance.getTaskMinNumCores_1(simid, compoundJobName, name);
-                Debug.WriteLine(result);
-            }
-            catch (Exception e)
-            {
-                Debug.Print("Exception when calling WRENCHApi.getTaskMinNumCores_1: " + e.Message );
-            }
-        }
-    }
-}
-
-
- -
-
<?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-$api_instance = new Swagger\Client\ApiWRENCHApi();
-$simid = simid_example; // String | ID of the simulation
-$compoundJobName = compoundJobName_example; // String | Name of the compound job
-$name = name_example; // String | Name of the action
-
-try {
-    $result = $api_instance->getTaskMinNumCores_1($simid, $compoundJobName, $name);
-    print_r($result);
-} catch (Exception $e) {
-    echo 'Exception when calling WRENCHApi->getTaskMinNumCores_1: ', $e->getMessage(), PHP_EOL;
-}
-?>
-
- -
-
use Data::Dumper;
-use WWW::SwaggerClient::Configuration;
-use WWW::SwaggerClient::WRENCHApi;
-
-my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
-my $simid = simid_example; # String | ID of the simulation
-my $compoundJobName = compoundJobName_example; # String | Name of the compound job
-my $name = name_example; # String | Name of the action
-
-eval { 
-    my $result = $api_instance->getTaskMinNumCores_1(simid => $simid, compoundJobName => $compoundJobName, name => $name);
-    print Dumper($result);
-};
-if ($@) {
-    warn "Exception when calling WRENCHApi->getTaskMinNumCores_1: $@\n";
-}
-
- -
-
from __future__ import print_statement
-import time
-import swagger_client
-from swagger_client.rest import ApiException
-from pprint import pprint
-
-# create an instance of the API class
-api_instance = swagger_client.WRENCHApi()
-simid = simid_example # String | ID of the simulation
-compoundJobName = compoundJobName_example # String | Name of the compound job
-name = name_example # String | Name of the action
-
-try: 
-    # Get an action's minimum number of cores.
-    api_response = api_instance.get_task_min_num_cores_1(simid, compoundJobName, name)
-    pprint(api_response)
-except ApiException as e:
-    print("Exception when calling WRENCHApi->getTaskMinNumCores_1: %s\n" % e)
-
-
- -

Parameters

- -
Path parameters
- - - - - - - - - - - - - - -
NameDescription
simid* - - -
-
-
- - String - - -
- ID of the simulation -
-
-
- Required -
-
-
-
compound_job_name* - - -
-
-
- - String - - -
- Name of the compound job -
-
-
- Required -
-
-
-
name* - - -
-
-
- - String - - -
- Name of the action -
-
-
- Required -
-
-
-
- - - - - -

Responses

-

Status: 200 - OK

- - - -
-
-
- -
- -
-
- -

Status: 404 - Job not found

- - - -
-
- -

Status: 405 - Invalid input

- - - -
-
- -
-
-
-
-
-
-

getTaskOutputFiles

-

Retrieve task's output files

-
-
-
-

-

-

-
-
/simulation/{simid}/workflows/{workflow_name}/tasks/{tid}/outputFiles
-

-

Usage and SDK Samples

-

- - -
-
-
curl -X GET\
--H "Accept: application/json"\
-"https://wrench-project.org/v1/simulation/{simid}/workflows/{workflow_name}/tasks/{tid}/outputFiles"
-
-
-
import io.swagger.client.*;
-import io.swagger.client.auth.*;
-import io.swagger.client.model.*;
-import io.swagger.client.api.WRENCHApi;
-
-import java.io.File;
-import java.util.*;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String workflowName = workflowName_example; // String | 
-        String tid = tid_example; // String | ID of the task
-        try {
-            FileList result = apiInstance.getTaskOutputFiles(simid, workflowName, tid);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getTaskOutputFiles");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
import io.swagger.client.api.WRENCHApi;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String workflowName = workflowName_example; // String | 
-        String tid = tid_example; // String | ID of the task
-        try {
-            FileList result = apiInstance.getTaskOutputFiles(simid, workflowName, tid);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getTaskOutputFiles");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
String *simid = simid_example; // ID of the simulation
-String *workflowName = workflowName_example; // 
-String *tid = tid_example; // ID of the task
-
-WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
-
-// Retrieve task's output files
-[apiInstance getTaskOutputFilesWith:simid
-    workflowName:workflowName
-    tid:tid
-              completionHandler: ^(FileList output, NSError* error) {
-                            if (output) {
-                                NSLog(@"%@", output);
-                            }
-                            if (error) {
-                                NSLog(@"Error: %@", error);
-                            }
-                        }];
-
-
- -
-
var WrenchRestApi = require('wrench_rest_api');
-
-var api = new WrenchRestApi.WRENCHApi()
-var simid = simid_example; // {{String}} ID of the simulation
-var workflowName = workflowName_example; // {{String}} 
-var tid = tid_example; // {{String}} ID of the task
-
-var callback = function(error, data, response) {
-  if (error) {
-    console.error(error);
-  } else {
-    console.log('API called successfully. Returned data: ' + data);
-  }
-};
-api.getTaskOutputFiles(simid, workflowName, tid, callback);
-
-
- - -
-
using System;
-using System.Diagnostics;
-using IO.Swagger.Api;
-using IO.Swagger.Client;
-using IO.Swagger.Model;
-
-namespace Example
-{
-    public class getTaskOutputFilesExample
-    {
-        public void main()
-        {
-
-            var apiInstance = new WRENCHApi();
-            var simid = simid_example;  // String | ID of the simulation
-            var workflowName = workflowName_example;  // String | 
-            var tid = tid_example;  // String | ID of the task
-
-            try
-            {
-                // Retrieve task's output files
-                FileList result = apiInstance.getTaskOutputFiles(simid, workflowName, tid);
-                Debug.WriteLine(result);
-            }
-            catch (Exception e)
-            {
-                Debug.Print("Exception when calling WRENCHApi.getTaskOutputFiles: " + e.Message );
-            }
-        }
-    }
-}
-
-
- -
-
<?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-$api_instance = new Swagger\Client\ApiWRENCHApi();
-$simid = simid_example; // String | ID of the simulation
-$workflowName = workflowName_example; // String | 
-$tid = tid_example; // String | ID of the task
-
-try {
-    $result = $api_instance->getTaskOutputFiles($simid, $workflowName, $tid);
-    print_r($result);
-} catch (Exception $e) {
-    echo 'Exception when calling WRENCHApi->getTaskOutputFiles: ', $e->getMessage(), PHP_EOL;
-}
-?>
-
- -
-
use Data::Dumper;
-use WWW::SwaggerClient::Configuration;
-use WWW::SwaggerClient::WRENCHApi;
-
-my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
-my $simid = simid_example; # String | ID of the simulation
-my $workflowName = workflowName_example; # String | 
-my $tid = tid_example; # String | ID of the task
-
-eval { 
-    my $result = $api_instance->getTaskOutputFiles(simid => $simid, workflowName => $workflowName, tid => $tid);
-    print Dumper($result);
-};
-if ($@) {
-    warn "Exception when calling WRENCHApi->getTaskOutputFiles: $@\n";
-}
-
- -
-
from __future__ import print_statement
-import time
-import swagger_client
-from swagger_client.rest import ApiException
-from pprint import pprint
-
-# create an instance of the API class
-api_instance = swagger_client.WRENCHApi()
-simid = simid_example # String | ID of the simulation
-workflowName = workflowName_example # String | 
-tid = tid_example # String | ID of the task
-
-try: 
-    # Retrieve task's output files
-    api_response = api_instance.get_task_output_files(simid, workflowName, tid)
-    pprint(api_response)
-except ApiException as e:
-    print("Exception when calling WRENCHApi->getTaskOutputFiles: %s\n" % e)
-
-
- -

Parameters

- -
Path parameters
- - - - - - - - - - - - - - -
NameDescription
simid* - - -
-
-
- - String - - -
- ID of the simulation -
-
-
- Required -
-
-
-
workflow_name* - - -
-
-
- - String - - -
-
- Required -
-
-
-
tid* - - -
-
-
- - String - - -
- ID of the task -
-
-
- Required -
-
-
-
- - - - - -

Responses

-

Status: 200 - OK

- - - -
-
-
- -
- -
-
- -

Status: 404 - Task not found

- - - -
-
- -

Status: 405 - Invalid input

- - - -
-
- -
-
-
-
-
-
-

getTaskStartDate

-

Get a task's start date.

-
-
-
-

-

-

-
-
/simulation/{simid}/workflows/{workflow_name}/tasks/{task_name}/taskGetStartDate
-

-

Usage and SDK Samples

-

- - -
-
-
curl -X GET\
--H "Accept: application/json"\
-"https://wrench-project.org/v1/simulation/{simid}/workflows/{workflow_name}/tasks/{task_name}/taskGetStartDate"
-
-
-
import io.swagger.client.*;
-import io.swagger.client.auth.*;
-import io.swagger.client.model.*;
-import io.swagger.client.api.WRENCHApi;
-
-import java.io.File;
-import java.util.*;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String workflowName = workflowName_example; // String | 
-        String taskName = taskName_example; // String | Name of the task
-        try {
-            TimeResponse result = apiInstance.getTaskStartDate(simid, workflowName, taskName);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getTaskStartDate");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
import io.swagger.client.api.WRENCHApi;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String workflowName = workflowName_example; // String | 
-        String taskName = taskName_example; // String | Name of the task
-        try {
-            TimeResponse result = apiInstance.getTaskStartDate(simid, workflowName, taskName);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getTaskStartDate");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
String *simid = simid_example; // ID of the simulation
-String *workflowName = workflowName_example; // 
-String *taskName = taskName_example; // Name of the task
-
-WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
-
-// Get a task's start date.
-[apiInstance getTaskStartDateWith:simid
-    workflowName:workflowName
-    taskName:taskName
-              completionHandler: ^(TimeResponse output, NSError* error) {
-                            if (output) {
-                                NSLog(@"%@", output);
-                            }
-                            if (error) {
-                                NSLog(@"Error: %@", error);
-                            }
-                        }];
-
-
- -
-
var WrenchRestApi = require('wrench_rest_api');
-
-var api = new WrenchRestApi.WRENCHApi()
-var simid = simid_example; // {{String}} ID of the simulation
-var workflowName = workflowName_example; // {{String}} 
-var taskName = taskName_example; // {{String}} Name of the task
-
-var callback = function(error, data, response) {
-  if (error) {
-    console.error(error);
-  } else {
-    console.log('API called successfully. Returned data: ' + data);
-  }
-};
-api.getTaskStartDate(simid, workflowName, taskName, callback);
-
-
- - -
-
using System;
-using System.Diagnostics;
-using IO.Swagger.Api;
-using IO.Swagger.Client;
-using IO.Swagger.Model;
-
-namespace Example
-{
-    public class getTaskStartDateExample
-    {
-        public void main()
-        {
-
-            var apiInstance = new WRENCHApi();
-            var simid = simid_example;  // String | ID of the simulation
-            var workflowName = workflowName_example;  // String | 
-            var taskName = taskName_example;  // String | Name of the task
-
-            try
-            {
-                // Get a task's start date.
-                TimeResponse result = apiInstance.getTaskStartDate(simid, workflowName, taskName);
-                Debug.WriteLine(result);
-            }
-            catch (Exception e)
-            {
-                Debug.Print("Exception when calling WRENCHApi.getTaskStartDate: " + e.Message );
-            }
-        }
-    }
-}
-
-
- -
-
<?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-$api_instance = new Swagger\Client\ApiWRENCHApi();
-$simid = simid_example; // String | ID of the simulation
-$workflowName = workflowName_example; // String | 
-$taskName = taskName_example; // String | Name of the task
-
-try {
-    $result = $api_instance->getTaskStartDate($simid, $workflowName, $taskName);
-    print_r($result);
-} catch (Exception $e) {
-    echo 'Exception when calling WRENCHApi->getTaskStartDate: ', $e->getMessage(), PHP_EOL;
-}
-?>
-
- -
-
use Data::Dumper;
-use WWW::SwaggerClient::Configuration;
-use WWW::SwaggerClient::WRENCHApi;
-
-my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
-my $simid = simid_example; # String | ID of the simulation
-my $workflowName = workflowName_example; # String | 
-my $taskName = taskName_example; # String | Name of the task
-
-eval { 
-    my $result = $api_instance->getTaskStartDate(simid => $simid, workflowName => $workflowName, taskName => $taskName);
-    print Dumper($result);
-};
-if ($@) {
-    warn "Exception when calling WRENCHApi->getTaskStartDate: $@\n";
-}
-
- -
-
from __future__ import print_statement
-import time
-import swagger_client
-from swagger_client.rest import ApiException
-from pprint import pprint
-
-# create an instance of the API class
-api_instance = swagger_client.WRENCHApi()
-simid = simid_example # String | ID of the simulation
-workflowName = workflowName_example # String | 
-taskName = taskName_example # String | Name of the task
-
-try: 
-    # Get a task's start date.
-    api_response = api_instance.get_task_start_date(simid, workflowName, taskName)
-    pprint(api_response)
-except ApiException as e:
-    print("Exception when calling WRENCHApi->getTaskStartDate: %s\n" % e)
-
-
- -

Parameters

- -
Path parameters
- - - - - - - - - - - - - - -
NameDescription
simid* - - -
-
-
- - String - - -
- ID of the simulation -
-
-
- Required -
-
-
-
workflow_name* - - -
-
-
- - String - - -
-
- Required -
-
-
-
task_name* - - -
-
-
- - String - - -
- Name of the task -
-
-
- Required -
-
-
-
- - - - - -

Responses

-

Status: 200 - OK

- - - -
-
-
- -
- -
-
- -

Status: 404 - Job not found

- - - -
-
- -

Status: 405 - Invalid input

- - - -
-
- -
-
-
-
-
-
-

getTaskStartDate_35

-

Get an action's start date.

-
-
-
-

-

-

-
-
/simulation/{simid}/{compound_job_name}/actions/{name}/actionGetStartDate
-

-

Usage and SDK Samples

-

- - -
-
-
curl -X GET\
--H "Accept: application/json"\
-"https://wrench-project.org/v1/simulation/{simid}/{compound_job_name}/actions/{name}/actionGetStartDate"
-
-
-
import io.swagger.client.*;
-import io.swagger.client.auth.*;
-import io.swagger.client.model.*;
-import io.swagger.client.api.WRENCHApi;
-
-import java.io.File;
-import java.util.*;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String compoundJobName = compoundJobName_example; // String | Name of the compound job
-        String name = name_example; // String | Name of the action
-        try {
-            TimeResponse result = apiInstance.getTaskStartDate_0(simid, compoundJobName, name);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getTaskStartDate_0");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
import io.swagger.client.api.WRENCHApi;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String compoundJobName = compoundJobName_example; // String | Name of the compound job
-        String name = name_example; // String | Name of the action
-        try {
-            TimeResponse result = apiInstance.getTaskStartDate_0(simid, compoundJobName, name);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getTaskStartDate_0");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
String *simid = simid_example; // ID of the simulation
-String *compoundJobName = compoundJobName_example; // Name of the compound job
-String *name = name_example; // Name of the action
-
-WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
-
-// Get an action's start date.
-[apiInstance getTaskStartDate_35With:simid
-    compoundJobName:compoundJobName
-    name:name
-              completionHandler: ^(TimeResponse output, NSError* error) {
-                            if (output) {
-                                NSLog(@"%@", output);
-                            }
-                            if (error) {
-                                NSLog(@"Error: %@", error);
-                            }
-                        }];
-
-
- -
-
var WrenchRestApi = require('wrench_rest_api');
-
-var api = new WrenchRestApi.WRENCHApi()
-var simid = simid_example; // {{String}} ID of the simulation
-var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
-var name = name_example; // {{String}} Name of the action
-
-var callback = function(error, data, response) {
-  if (error) {
-    console.error(error);
-  } else {
-    console.log('API called successfully. Returned data: ' + data);
-  }
-};
-api.getTaskStartDate_0(simid, compoundJobName, name, callback);
-
-
- - -
-
using System;
-using System.Diagnostics;
-using IO.Swagger.Api;
-using IO.Swagger.Client;
-using IO.Swagger.Model;
-
-namespace Example
-{
-    public class getTaskStartDate_0Example
-    {
-        public void main()
-        {
-
-            var apiInstance = new WRENCHApi();
-            var simid = simid_example;  // String | ID of the simulation
-            var compoundJobName = compoundJobName_example;  // String | Name of the compound job
-            var name = name_example;  // String | Name of the action
-
-            try
-            {
-                // Get an action's start date.
-                TimeResponse result = apiInstance.getTaskStartDate_0(simid, compoundJobName, name);
-                Debug.WriteLine(result);
-            }
-            catch (Exception e)
-            {
-                Debug.Print("Exception when calling WRENCHApi.getTaskStartDate_0: " + e.Message );
-            }
-        }
-    }
-}
-
-
- -
-
<?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-$api_instance = new Swagger\Client\ApiWRENCHApi();
-$simid = simid_example; // String | ID of the simulation
-$compoundJobName = compoundJobName_example; // String | Name of the compound job
-$name = name_example; // String | Name of the action
-
-try {
-    $result = $api_instance->getTaskStartDate_0($simid, $compoundJobName, $name);
-    print_r($result);
-} catch (Exception $e) {
-    echo 'Exception when calling WRENCHApi->getTaskStartDate_0: ', $e->getMessage(), PHP_EOL;
-}
-?>
-
- -
-
use Data::Dumper;
-use WWW::SwaggerClient::Configuration;
-use WWW::SwaggerClient::WRENCHApi;
-
-my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
-my $simid = simid_example; # String | ID of the simulation
-my $compoundJobName = compoundJobName_example; # String | Name of the compound job
-my $name = name_example; # String | Name of the action
-
-eval { 
-    my $result = $api_instance->getTaskStartDate_0(simid => $simid, compoundJobName => $compoundJobName, name => $name);
-    print Dumper($result);
-};
-if ($@) {
-    warn "Exception when calling WRENCHApi->getTaskStartDate_0: $@\n";
-}
-
- -
-
from __future__ import print_statement
-import time
-import swagger_client
-from swagger_client.rest import ApiException
-from pprint import pprint
-
-# create an instance of the API class
-api_instance = swagger_client.WRENCHApi()
-simid = simid_example # String | ID of the simulation
-compoundJobName = compoundJobName_example # String | Name of the compound job
-name = name_example # String | Name of the action
-
-try: 
-    # Get an action's start date.
-    api_response = api_instance.get_task_start_date_0(simid, compoundJobName, name)
-    pprint(api_response)
-except ApiException as e:
-    print("Exception when calling WRENCHApi->getTaskStartDate_0: %s\n" % e)
-
-
- -

Parameters

- -
Path parameters
- - - - - - - - - - - - - - -
NameDescription
simid* - - -
-
-
- - String - - -
- ID of the simulation -
-
-
- Required -
-
-
-
compound_job_name* - - -
-
-
- - String - - -
- Name of the compound job -
-
-
- Required -
-
-
-
name* - - -
-
-
- - String - - -
- Name of the action -
-
-
- Required -
-
-
-
- - - - - -

Responses

-

Status: 200 - OK

- - - -
-
-
- -
- -
-
- -

Status: 404 - Job not found

- - - -
-
- -

Status: 405 - Invalid input

- - - -
-
- -
-
-
-
-
-
-

getVMComputeService

-

Get the compute service running on a VM, if any.

-
-
-
-

-

-

-
-
/simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/getVMComputeService
-

-

Usage and SDK Samples

-

- - -
-
-
curl -X GET\
--H "Accept: application/json"\
-"https://wrench-project.org/v1/simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/getVMComputeService"
-
-
-
import io.swagger.client.*;
-import io.swagger.client.auth.*;
-import io.swagger.client.model.*;
-import io.swagger.client.api.WRENCHApi;
-
-import java.io.File;
-import java.util.*;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String serviceName = serviceName_example; // String | The cloud compute service name
-        String vmName = vmName_example; // String | The VM name
-        try {
-            ServiceResponse result = apiInstance.getVMComputeService(simid, serviceName, vmName);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getVMComputeService");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
import io.swagger.client.api.WRENCHApi;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String serviceName = serviceName_example; // String | The cloud compute service name
-        String vmName = vmName_example; // String | The VM name
-        try {
-            ServiceResponse result = apiInstance.getVMComputeService(simid, serviceName, vmName);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getVMComputeService");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
String *simid = simid_example; // ID of the simulation
-String *serviceName = serviceName_example; // The cloud compute service name
-String *vmName = vmName_example; // The VM name
-
-WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
-
-// Get the compute service running on a VM, if any.
-[apiInstance getVMComputeServiceWith:simid
-    serviceName:serviceName
-    vmName:vmName
-              completionHandler: ^(ServiceResponse output, NSError* error) {
-                            if (output) {
-                                NSLog(@"%@", output);
-                            }
-                            if (error) {
-                                NSLog(@"Error: %@", error);
-                            }
-                        }];
-
-
- -
-
var WrenchRestApi = require('wrench_rest_api');
-
-var api = new WrenchRestApi.WRENCHApi()
-var simid = simid_example; // {{String}} ID of the simulation
-var serviceName = serviceName_example; // {{String}} The cloud compute service name
-var vmName = vmName_example; // {{String}} The VM name
-
-var callback = function(error, data, response) {
-  if (error) {
-    console.error(error);
-  } else {
-    console.log('API called successfully. Returned data: ' + data);
-  }
-};
-api.getVMComputeService(simid, serviceName, vmName, callback);
-
-
- - -
-
using System;
-using System.Diagnostics;
-using IO.Swagger.Api;
-using IO.Swagger.Client;
-using IO.Swagger.Model;
-
-namespace Example
-{
-    public class getVMComputeServiceExample
-    {
-        public void main()
-        {
-
-            var apiInstance = new WRENCHApi();
-            var simid = simid_example;  // String | ID of the simulation
-            var serviceName = serviceName_example;  // String | The cloud compute service name
-            var vmName = vmName_example;  // String | The VM name
-
-            try
-            {
-                // Get the compute service running on a VM, if any.
-                ServiceResponse result = apiInstance.getVMComputeService(simid, serviceName, vmName);
-                Debug.WriteLine(result);
-            }
-            catch (Exception e)
-            {
-                Debug.Print("Exception when calling WRENCHApi.getVMComputeService: " + e.Message );
-            }
-        }
-    }
-}
-
-
- -
-
<?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-$api_instance = new Swagger\Client\ApiWRENCHApi();
-$simid = simid_example; // String | ID of the simulation
-$serviceName = serviceName_example; // String | The cloud compute service name
-$vmName = vmName_example; // String | The VM name
-
-try {
-    $result = $api_instance->getVMComputeService($simid, $serviceName, $vmName);
-    print_r($result);
-} catch (Exception $e) {
-    echo 'Exception when calling WRENCHApi->getVMComputeService: ', $e->getMessage(), PHP_EOL;
-}
-?>
-
- -
-
use Data::Dumper;
-use WWW::SwaggerClient::Configuration;
-use WWW::SwaggerClient::WRENCHApi;
-
-my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
-my $simid = simid_example; # String | ID of the simulation
-my $serviceName = serviceName_example; # String | The cloud compute service name
-my $vmName = vmName_example; # String | The VM name
-
-eval { 
-    my $result = $api_instance->getVMComputeService(simid => $simid, serviceName => $serviceName, vmName => $vmName);
-    print Dumper($result);
-};
-if ($@) {
-    warn "Exception when calling WRENCHApi->getVMComputeService: $@\n";
-}
-
- -
-
from __future__ import print_statement
-import time
-import swagger_client
-from swagger_client.rest import ApiException
-from pprint import pprint
-
-# create an instance of the API class
-api_instance = swagger_client.WRENCHApi()
-simid = simid_example # String | ID of the simulation
-serviceName = serviceName_example # String | The cloud compute service name
-vmName = vmName_example # String | The VM name
-
-try: 
-    # Get the compute service running on a VM, if any.
-    api_response = api_instance.get_vm_compute_service(simid, serviceName, vmName)
-    pprint(api_response)
-except ApiException as e:
-    print("Exception when calling WRENCHApi->getVMComputeService: %s\n" % e)
-
-
- -

Parameters

- -
Path parameters
- - - - - - - - - - - - - - -
NameDescription
simid* - - -
-
-
- - String - - -
- ID of the simulation -
-
-
- Required -
-
-
-
service_name* - - -
-
-
- - String - - -
- The cloud compute service name -
-
-
- Required -
-
-
-
vm_name* - - -
-
-
- - String - - -
- The VM name -
-
-
- Required -
-
-
-
- - - - - -

Responses

-

Status: 200 - OK

- - - -
-
-
- -
- -
-
- -

Status: 405 - Invalid input

- - - -
-
- -
-
-
-
-
-
-

getVMPhysicalHostname

-

Get the name of the physical host on which a VM is running.

-
-
-
-

-

-

-
-
/simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/getVMPhysicalHostname
-

-

Usage and SDK Samples

-

- - -
-
-
curl -X GET\
--H "Accept: application/json"\
-"https://wrench-project.org/v1/simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/getVMPhysicalHostname"
-
-
-
import io.swagger.client.*;
-import io.swagger.client.auth.*;
-import io.swagger.client.model.*;
-import io.swagger.client.api.WRENCHApi;
-
-import java.io.File;
-import java.util.*;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String serviceName = serviceName_example; // String | The cloud compute service name
-        String vmName = vmName_example; // String | The VM name
-        try {
-            ServiceResponse result = apiInstance.getVMPhysicalHostname(simid, serviceName, vmName);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getVMPhysicalHostname");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
import io.swagger.client.api.WRENCHApi;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String serviceName = serviceName_example; // String | The cloud compute service name
-        String vmName = vmName_example; // String | The VM name
-        try {
-            ServiceResponse result = apiInstance.getVMPhysicalHostname(simid, serviceName, vmName);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#getVMPhysicalHostname");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
String *simid = simid_example; // ID of the simulation
-String *serviceName = serviceName_example; // The cloud compute service name
-String *vmName = vmName_example; // The VM name
-
-WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
-
-// Get the name of the physical host on which a VM is running.
-[apiInstance getVMPhysicalHostnameWith:simid
-    serviceName:serviceName
-    vmName:vmName
-              completionHandler: ^(ServiceResponse output, NSError* error) {
-                            if (output) {
-                                NSLog(@"%@", output);
-                            }
-                            if (error) {
-                                NSLog(@"Error: %@", error);
-                            }
-                        }];
-
-
- -
-
var WrenchRestApi = require('wrench_rest_api');
-
-var api = new WrenchRestApi.WRENCHApi()
-var simid = simid_example; // {{String}} ID of the simulation
-var serviceName = serviceName_example; // {{String}} The cloud compute service name
-var vmName = vmName_example; // {{String}} The VM name
-
-var callback = function(error, data, response) {
-  if (error) {
-    console.error(error);
-  } else {
-    console.log('API called successfully. Returned data: ' + data);
-  }
-};
-api.getVMPhysicalHostname(simid, serviceName, vmName, callback);
-
-
- - -
-
using System;
-using System.Diagnostics;
-using IO.Swagger.Api;
-using IO.Swagger.Client;
-using IO.Swagger.Model;
-
-namespace Example
-{
-    public class getVMPhysicalHostnameExample
-    {
-        public void main()
-        {
-
-            var apiInstance = new WRENCHApi();
-            var simid = simid_example;  // String | ID of the simulation
-            var serviceName = serviceName_example;  // String | The cloud compute service name
-            var vmName = vmName_example;  // String | The VM name
-
-            try
-            {
-                // Get the name of the physical host on which a VM is running.
-                ServiceResponse result = apiInstance.getVMPhysicalHostname(simid, serviceName, vmName);
-                Debug.WriteLine(result);
-            }
-            catch (Exception e)
-            {
-                Debug.Print("Exception when calling WRENCHApi.getVMPhysicalHostname: " + e.Message );
-            }
-        }
-    }
-}
-
-
- -
-
<?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-$api_instance = new Swagger\Client\ApiWRENCHApi();
-$simid = simid_example; // String | ID of the simulation
-$serviceName = serviceName_example; // String | The cloud compute service name
-$vmName = vmName_example; // String | The VM name
-
-try {
-    $result = $api_instance->getVMPhysicalHostname($simid, $serviceName, $vmName);
-    print_r($result);
-} catch (Exception $e) {
-    echo 'Exception when calling WRENCHApi->getVMPhysicalHostname: ', $e->getMessage(), PHP_EOL;
-}
-?>
-
- -
-
use Data::Dumper;
-use WWW::SwaggerClient::Configuration;
-use WWW::SwaggerClient::WRENCHApi;
-
-my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
-my $simid = simid_example; # String | ID of the simulation
-my $serviceName = serviceName_example; # String | The cloud compute service name
-my $vmName = vmName_example; # String | The VM name
-
-eval { 
-    my $result = $api_instance->getVMPhysicalHostname(simid => $simid, serviceName => $serviceName, vmName => $vmName);
-    print Dumper($result);
-};
-if ($@) {
-    warn "Exception when calling WRENCHApi->getVMPhysicalHostname: $@\n";
-}
-
- -
-
from __future__ import print_statement
-import time
-import swagger_client
-from swagger_client.rest import ApiException
-from pprint import pprint
-
-# create an instance of the API class
-api_instance = swagger_client.WRENCHApi()
-simid = simid_example # String | ID of the simulation
-serviceName = serviceName_example # String | The cloud compute service name
-vmName = vmName_example # String | The VM name
-
-try: 
-    # Get the name of the physical host on which a VM is running.
-    api_response = api_instance.get_vm_physical_hostname(simid, serviceName, vmName)
-    pprint(api_response)
-except ApiException as e:
-    print("Exception when calling WRENCHApi->getVMPhysicalHostname: %s\n" % e)
-
-
- -

Parameters

- -
Path parameters
- - - - - - - - - - - - - - -
NameDescription
simid* - - -
-
-
- - String - - -
- ID of the simulation -
-
-
- Required -
-
-
-
service_name* - - -
-
-
- - String - - -
- The cloud compute service name -
-
-
- Required -
-
-
-
vm_name* - - -
-
-
- - String - - -
- The VM name -
-
-
- Required -
-
-
-
- - - - - -

Responses

-

Status: 200 - OK

- - - -
-
-
- -
- -
-
- -

Status: 405 - Invalid input

- - - -
-
- -
-
-
-
-
-
-

isVMDown

-

Method to check whether a VM is currently down.

-
-
-
-

-

-

-
-
/simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/isVMDown
-

-

Usage and SDK Samples

-

- - -
-
-
curl -X GET\
--H "Accept: application/json"\
-"https://wrench-project.org/v1/simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/isVMDown"
-
-
-
import io.swagger.client.*;
-import io.swagger.client.auth.*;
-import io.swagger.client.model.*;
-import io.swagger.client.api.WRENCHApi;
-
-import java.io.File;
-import java.util.*;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String serviceName = serviceName_example; // String | The cloud compute service name
-        String vmName = vmName_example; // String | The VM name
-        try {
-            ServiceResponse result = apiInstance.isVMDown(simid, serviceName, vmName);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#isVMDown");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
import io.swagger.client.api.WRENCHApi;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String serviceName = serviceName_example; // String | The cloud compute service name
-        String vmName = vmName_example; // String | The VM name
-        try {
-            ServiceResponse result = apiInstance.isVMDown(simid, serviceName, vmName);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#isVMDown");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
String *simid = simid_example; // ID of the simulation
-String *serviceName = serviceName_example; // The cloud compute service name
-String *vmName = vmName_example; // The VM name
-
-WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
-
-// Method to check whether a VM is currently down.
-[apiInstance isVMDownWith:simid
-    serviceName:serviceName
-    vmName:vmName
-              completionHandler: ^(ServiceResponse output, NSError* error) {
-                            if (output) {
-                                NSLog(@"%@", output);
-                            }
-                            if (error) {
-                                NSLog(@"Error: %@", error);
-                            }
-                        }];
-
-
- -
-
var WrenchRestApi = require('wrench_rest_api');
-
-var api = new WrenchRestApi.WRENCHApi()
-var simid = simid_example; // {{String}} ID of the simulation
-var serviceName = serviceName_example; // {{String}} The cloud compute service name
-var vmName = vmName_example; // {{String}} The VM name
-
-var callback = function(error, data, response) {
-  if (error) {
-    console.error(error);
-  } else {
-    console.log('API called successfully. Returned data: ' + data);
-  }
-};
-api.isVMDown(simid, serviceName, vmName, callback);
-
-
- - -
-
using System;
-using System.Diagnostics;
-using IO.Swagger.Api;
-using IO.Swagger.Client;
-using IO.Swagger.Model;
-
-namespace Example
-{
-    public class isVMDownExample
-    {
-        public void main()
-        {
-
-            var apiInstance = new WRENCHApi();
-            var simid = simid_example;  // String | ID of the simulation
-            var serviceName = serviceName_example;  // String | The cloud compute service name
-            var vmName = vmName_example;  // String | The VM name
-
-            try
-            {
-                // Method to check whether a VM is currently down.
-                ServiceResponse result = apiInstance.isVMDown(simid, serviceName, vmName);
-                Debug.WriteLine(result);
-            }
-            catch (Exception e)
-            {
-                Debug.Print("Exception when calling WRENCHApi.isVMDown: " + e.Message );
-            }
-        }
-    }
-}
-
-
- -
-
<?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-$api_instance = new Swagger\Client\ApiWRENCHApi();
-$simid = simid_example; // String | ID of the simulation
-$serviceName = serviceName_example; // String | The cloud compute service name
-$vmName = vmName_example; // String | The VM name
-
-try {
-    $result = $api_instance->isVMDown($simid, $serviceName, $vmName);
-    print_r($result);
-} catch (Exception $e) {
-    echo 'Exception when calling WRENCHApi->isVMDown: ', $e->getMessage(), PHP_EOL;
-}
-?>
-
- -
-
use Data::Dumper;
-use WWW::SwaggerClient::Configuration;
-use WWW::SwaggerClient::WRENCHApi;
-
-my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
-my $simid = simid_example; # String | ID of the simulation
-my $serviceName = serviceName_example; # String | The cloud compute service name
-my $vmName = vmName_example; # String | The VM name
-
-eval { 
-    my $result = $api_instance->isVMDown(simid => $simid, serviceName => $serviceName, vmName => $vmName);
-    print Dumper($result);
-};
-if ($@) {
-    warn "Exception when calling WRENCHApi->isVMDown: $@\n";
-}
-
- -
-
from __future__ import print_statement
-import time
-import swagger_client
-from swagger_client.rest import ApiException
-from pprint import pprint
-
-# create an instance of the API class
-api_instance = swagger_client.WRENCHApi()
-simid = simid_example # String | ID of the simulation
-serviceName = serviceName_example # String | The cloud compute service name
-vmName = vmName_example # String | The VM name
-
-try: 
-    # Method to check whether a VM is currently down.
-    api_response = api_instance.is_vm_down(simid, serviceName, vmName)
-    pprint(api_response)
-except ApiException as e:
-    print("Exception when calling WRENCHApi->isVMDown: %s\n" % e)
-
-
- -

Parameters

- -
Path parameters
- - - - - - - - - - - - - - -
NameDescription
simid* - - -
-
-
- - String - - -
- ID of the simulation -
-
-
- Required -
-
-
-
service_name* - - -
-
-
- - String - - -
- The cloud compute service name -
-
-
- Required -
-
-
-
vm_name* - - -
-
-
- - String - - -
- The VM name -
-
-
- Required -
-
-
-
- - - - - -

Responses

-

Status: 200 - OK

- - - -
-
-
- -
- -
-
- -

Status: 405 - Invalid input

- - - -
-
- -
-
-
-
-
-
-

isVMRunning

-

Method to check whether a VM is currently running.

-
-
-
-

-

-

-
-
/simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/isVMRunning
-

-

Usage and SDK Samples

-

- - -
-
-
curl -X GET\
--H "Accept: application/json"\
-"https://wrench-project.org/v1/simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/isVMRunning"
-
-
-
import io.swagger.client.*;
-import io.swagger.client.auth.*;
-import io.swagger.client.model.*;
-import io.swagger.client.api.WRENCHApi;
-
-import java.io.File;
-import java.util.*;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String serviceName = serviceName_example; // String | Name of the cloud compute service
-        String vmName = vmName_example; // String | Name of the vm
-        try {
-            ServiceResponse result = apiInstance.isVMRunning(simid, serviceName, vmName);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#isVMRunning");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
import io.swagger.client.api.WRENCHApi;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String serviceName = serviceName_example; // String | Name of the cloud compute service
-        String vmName = vmName_example; // String | Name of the vm
-        try {
-            ServiceResponse result = apiInstance.isVMRunning(simid, serviceName, vmName);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#isVMRunning");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
String *simid = simid_example; // ID of the simulation
-String *serviceName = serviceName_example; // Name of the cloud compute service
-String *vmName = vmName_example; // Name of the vm
-
-WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
-
-// Method to check whether a VM is currently running.
-[apiInstance isVMRunningWith:simid
-    serviceName:serviceName
-    vmName:vmName
-              completionHandler: ^(ServiceResponse output, NSError* error) {
-                            if (output) {
-                                NSLog(@"%@", output);
-                            }
-                            if (error) {
-                                NSLog(@"Error: %@", error);
-                            }
-                        }];
-
-
- -
-
var WrenchRestApi = require('wrench_rest_api');
-
-var api = new WrenchRestApi.WRENCHApi()
-var simid = simid_example; // {{String}} ID of the simulation
-var serviceName = serviceName_example; // {{String}} Name of the cloud compute service
-var vmName = vmName_example; // {{String}} Name of the vm
-
-var callback = function(error, data, response) {
-  if (error) {
-    console.error(error);
-  } else {
-    console.log('API called successfully. Returned data: ' + data);
-  }
-};
-api.isVMRunning(simid, serviceName, vmName, callback);
-
-
- - -
-
using System;
-using System.Diagnostics;
-using IO.Swagger.Api;
-using IO.Swagger.Client;
-using IO.Swagger.Model;
-
-namespace Example
-{
-    public class isVMRunningExample
-    {
-        public void main()
-        {
-
-            var apiInstance = new WRENCHApi();
-            var simid = simid_example;  // String | ID of the simulation
-            var serviceName = serviceName_example;  // String | Name of the cloud compute service
-            var vmName = vmName_example;  // String | Name of the vm
-
-            try
-            {
-                // Method to check whether a VM is currently running.
-                ServiceResponse result = apiInstance.isVMRunning(simid, serviceName, vmName);
-                Debug.WriteLine(result);
-            }
-            catch (Exception e)
-            {
-                Debug.Print("Exception when calling WRENCHApi.isVMRunning: " + e.Message );
-            }
-        }
-    }
-}
-
-
- -
-
<?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-$api_instance = new Swagger\Client\ApiWRENCHApi();
-$simid = simid_example; // String | ID of the simulation
-$serviceName = serviceName_example; // String | Name of the cloud compute service
-$vmName = vmName_example; // String | Name of the vm
-
-try {
-    $result = $api_instance->isVMRunning($simid, $serviceName, $vmName);
-    print_r($result);
-} catch (Exception $e) {
-    echo 'Exception when calling WRENCHApi->isVMRunning: ', $e->getMessage(), PHP_EOL;
-}
-?>
-
- -
-
use Data::Dumper;
-use WWW::SwaggerClient::Configuration;
-use WWW::SwaggerClient::WRENCHApi;
-
-my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
-my $simid = simid_example; # String | ID of the simulation
-my $serviceName = serviceName_example; # String | Name of the cloud compute service
-my $vmName = vmName_example; # String | Name of the vm
-
-eval { 
-    my $result = $api_instance->isVMRunning(simid => $simid, serviceName => $serviceName, vmName => $vmName);
-    print Dumper($result);
-};
-if ($@) {
-    warn "Exception when calling WRENCHApi->isVMRunning: $@\n";
-}
-
- -
-
from __future__ import print_statement
-import time
-import swagger_client
-from swagger_client.rest import ApiException
-from pprint import pprint
-
-# create an instance of the API class
-api_instance = swagger_client.WRENCHApi()
-simid = simid_example # String | ID of the simulation
-serviceName = serviceName_example # String | Name of the cloud compute service
-vmName = vmName_example # String | Name of the vm
-
-try: 
-    # Method to check whether a VM is currently running.
-    api_response = api_instance.is_vm_running(simid, serviceName, vmName)
-    pprint(api_response)
-except ApiException as e:
-    print("Exception when calling WRENCHApi->isVMRunning: %s\n" % e)
-
-
- -

Parameters

- -
Path parameters
- - - - - - - - - - - - - - -
NameDescription
simid* - - -
-
-
- - String - - -
- ID of the simulation -
-
-
- Required -
-
-
-
service_name* - - -
-
-
- - String - - -
- Name of the cloud compute service -
-
-
- Required -
-
-
-
vm_name* - - -
-
-
- - String - - -
- Name of the vm -
-
-
- Required -
-
-
-
- - - - - -

Responses

-

Status: 200 - OK

- - - -
-
-
- -
- -
-
- -

Status: 405 - Invalid input

- - - -
-
- -
-
-
-
-
-
-

isVMSuspended

-

Method to check whether a VM is currently suspended.

-
-
-
-

-

-

-
-
/simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/isVMSuspended
-

-

Usage and SDK Samples

-

- - -
-
-
curl -X GET\
--H "Accept: application/json"\
-"https://wrench-project.org/v1/simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/isVMSuspended"
-
-
-
import io.swagger.client.*;
-import io.swagger.client.auth.*;
-import io.swagger.client.model.*;
-import io.swagger.client.api.WRENCHApi;
-
-import java.io.File;
-import java.util.*;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String serviceName = serviceName_example; // String | The cloud compute service name
-        String vmName = vmName_example; // String | The VM name
-        try {
-            ServiceResponse result = apiInstance.isVMSuspended(simid, serviceName, vmName);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#isVMSuspended");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
import io.swagger.client.api.WRENCHApi;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String serviceName = serviceName_example; // String | The cloud compute service name
-        String vmName = vmName_example; // String | The VM name
-        try {
-            ServiceResponse result = apiInstance.isVMSuspended(simid, serviceName, vmName);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#isVMSuspended");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
String *simid = simid_example; // ID of the simulation
-String *serviceName = serviceName_example; // The cloud compute service name
-String *vmName = vmName_example; // The VM name
-
-WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
-
-// Method to check whether a VM is currently suspended.
-[apiInstance isVMSuspendedWith:simid
-    serviceName:serviceName
-    vmName:vmName
-              completionHandler: ^(ServiceResponse output, NSError* error) {
-                            if (output) {
-                                NSLog(@"%@", output);
-                            }
-                            if (error) {
-                                NSLog(@"Error: %@", error);
-                            }
-                        }];
-
-
- -
-
var WrenchRestApi = require('wrench_rest_api');
-
-var api = new WrenchRestApi.WRENCHApi()
-var simid = simid_example; // {{String}} ID of the simulation
-var serviceName = serviceName_example; // {{String}} The cloud compute service name
-var vmName = vmName_example; // {{String}} The VM name
-
-var callback = function(error, data, response) {
-  if (error) {
-    console.error(error);
-  } else {
-    console.log('API called successfully. Returned data: ' + data);
-  }
-};
-api.isVMSuspended(simid, serviceName, vmName, callback);
-
-
- - -
-
using System;
-using System.Diagnostics;
-using IO.Swagger.Api;
-using IO.Swagger.Client;
-using IO.Swagger.Model;
-
-namespace Example
-{
-    public class isVMSuspendedExample
-    {
-        public void main()
-        {
-
-            var apiInstance = new WRENCHApi();
-            var simid = simid_example;  // String | ID of the simulation
-            var serviceName = serviceName_example;  // String | The cloud compute service name
-            var vmName = vmName_example;  // String | The VM name
-
-            try
-            {
-                // Method to check whether a VM is currently suspended.
-                ServiceResponse result = apiInstance.isVMSuspended(simid, serviceName, vmName);
-                Debug.WriteLine(result);
-            }
-            catch (Exception e)
-            {
-                Debug.Print("Exception when calling WRENCHApi.isVMSuspended: " + e.Message );
-            }
-        }
-    }
-}
-
-
- -
-
<?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-$api_instance = new Swagger\Client\ApiWRENCHApi();
-$simid = simid_example; // String | ID of the simulation
-$serviceName = serviceName_example; // String | The cloud compute service name
-$vmName = vmName_example; // String | The VM name
-
-try {
-    $result = $api_instance->isVMSuspended($simid, $serviceName, $vmName);
-    print_r($result);
-} catch (Exception $e) {
-    echo 'Exception when calling WRENCHApi->isVMSuspended: ', $e->getMessage(), PHP_EOL;
-}
-?>
-
- -
-
use Data::Dumper;
-use WWW::SwaggerClient::Configuration;
-use WWW::SwaggerClient::WRENCHApi;
-
-my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
-my $simid = simid_example; # String | ID of the simulation
-my $serviceName = serviceName_example; # String | The cloud compute service name
-my $vmName = vmName_example; # String | The VM name
-
-eval { 
-    my $result = $api_instance->isVMSuspended(simid => $simid, serviceName => $serviceName, vmName => $vmName);
-    print Dumper($result);
-};
-if ($@) {
-    warn "Exception when calling WRENCHApi->isVMSuspended: $@\n";
-}
-
- -
-
from __future__ import print_statement
-import time
-import swagger_client
-from swagger_client.rest import ApiException
-from pprint import pprint
-
-# create an instance of the API class
-api_instance = swagger_client.WRENCHApi()
-simid = simid_example # String | ID of the simulation
-serviceName = serviceName_example # String | The cloud compute service name
-vmName = vmName_example # String | The VM name
-
-try: 
-    # Method to check whether a VM is currently suspended.
-    api_response = api_instance.is_vm_suspended(simid, serviceName, vmName)
-    pprint(api_response)
-except ApiException as e:
-    print("Exception when calling WRENCHApi->isVMSuspended: %s\n" % e)
-
-
- -

Parameters

- -
Path parameters
- - - - - - - - - - - - - - -
NameDescription
simid* - - -
-
-
- - String - - -
- ID of the simulation -
-
-
- Required -
-
-
-
service_name* - - -
-
-
- - String - - -
- The cloud compute service name -
-
-
- Required -
-
-
-
vm_name* - - -
-
-
- - String - - -
- The VM name -
-
-
- Required -
-
-
-
- - - - - -

Responses

-

Status: 200 - OK

- - - -
-
-
- -
- -
-
- -

Status: 405 - Invalid input

- - - -
-
- -
-
-
-
-
-
-

lookupFileAtStorageService

-

Check if a copy of a file is stored at a storage service.

-
-
-
-

-

-

-
-
/simulation/{simid}/storage_services/{service_name}/lookupFile
-

-

Usage and SDK Samples

-

- - -
-
-
curl -X POST\
--H "Accept: application/json"\
--H "Content-Type: application/json"\
-"https://wrench-project.org/v1/simulation/{simid}/storage_services/{service_name}/lookupFile"
-
-
-
import io.swagger.client.*;
-import io.swagger.client.auth.*;
-import io.swagger.client.model.*;
-import io.swagger.client.api.WRENCHApi;
-
-import java.io.File;
-import java.util.*;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        
-        WRENCHApi apiInstance = new WRENCHApi();
-        Service_name_lookupFile_body body = ; // Service_name_lookupFile_body | Input to start a new service.
-        String simid = simid_example; // String | ID of the simulation
-        String serviceName = serviceName_example; // String | The storage service's head host
-        try {
-            BooleanResponse result = apiInstance.lookupFileAtStorageService(body, simid, serviceName);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#lookupFileAtStorageService");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
import io.swagger.client.api.WRENCHApi;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        WRENCHApi apiInstance = new WRENCHApi();
-        Service_name_lookupFile_body body = ; // Service_name_lookupFile_body | Input to start a new service.
-        String simid = simid_example; // String | ID of the simulation
-        String serviceName = serviceName_example; // String | The storage service's head host
-        try {
-            BooleanResponse result = apiInstance.lookupFileAtStorageService(body, simid, serviceName);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#lookupFileAtStorageService");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
Service_name_lookupFile_body *body = ; // Input to start a new service.
-String *simid = simid_example; // ID of the simulation
-String *serviceName = serviceName_example; // The storage service's head host
-
-WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
-
-// Check if a copy of a file is stored at a storage service.
-[apiInstance lookupFileAtStorageServiceWith:body
-    simid:simid
-    serviceName:serviceName
-              completionHandler: ^(BooleanResponse output, NSError* error) {
-                            if (output) {
-                                NSLog(@"%@", output);
-                            }
-                            if (error) {
-                                NSLog(@"Error: %@", error);
-                            }
-                        }];
-
-
- -
-
var WrenchRestApi = require('wrench_rest_api');
-
-var api = new WrenchRestApi.WRENCHApi()
-var body = ; // {{Service_name_lookupFile_body}} Input to start a new service.
-var simid = simid_example; // {{String}} ID of the simulation
-var serviceName = serviceName_example; // {{String}} The storage service's head host
-
-var callback = function(error, data, response) {
-  if (error) {
-    console.error(error);
-  } else {
-    console.log('API called successfully. Returned data: ' + data);
-  }
-};
-api.lookupFileAtStorageService(bodysimidserviceName, callback);
-
-
- - -
-
using System;
-using System.Diagnostics;
-using IO.Swagger.Api;
-using IO.Swagger.Client;
-using IO.Swagger.Model;
-
-namespace Example
-{
-    public class lookupFileAtStorageServiceExample
-    {
-        public void main()
-        {
-
-            var apiInstance = new WRENCHApi();
-            var body = new Service_name_lookupFile_body(); // Service_name_lookupFile_body | Input to start a new service.
-            var simid = simid_example;  // String | ID of the simulation
-            var serviceName = serviceName_example;  // String | The storage service's head host
-
-            try
-            {
-                // Check if a copy of a file is stored at a storage service.
-                BooleanResponse result = apiInstance.lookupFileAtStorageService(body, simid, serviceName);
-                Debug.WriteLine(result);
-            }
-            catch (Exception e)
-            {
-                Debug.Print("Exception when calling WRENCHApi.lookupFileAtStorageService: " + e.Message );
-            }
-        }
-    }
-}
-
-
- -
-
<?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-$api_instance = new Swagger\Client\ApiWRENCHApi();
-$body = ; // Service_name_lookupFile_body | Input to start a new service.
-$simid = simid_example; // String | ID of the simulation
-$serviceName = serviceName_example; // String | The storage service's head host
-
-try {
-    $result = $api_instance->lookupFileAtStorageService($body, $simid, $serviceName);
-    print_r($result);
-} catch (Exception $e) {
-    echo 'Exception when calling WRENCHApi->lookupFileAtStorageService: ', $e->getMessage(), PHP_EOL;
-}
-?>
-
- -
-
use Data::Dumper;
-use WWW::SwaggerClient::Configuration;
-use WWW::SwaggerClient::WRENCHApi;
-
-my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
-my $body = WWW::SwaggerClient::Object::Service_name_lookupFile_body->new(); # Service_name_lookupFile_body | Input to start a new service.
-my $simid = simid_example; # String | ID of the simulation
-my $serviceName = serviceName_example; # String | The storage service's head host
-
-eval { 
-    my $result = $api_instance->lookupFileAtStorageService(body => $body, simid => $simid, serviceName => $serviceName);
-    print Dumper($result);
-};
-if ($@) {
-    warn "Exception when calling WRENCHApi->lookupFileAtStorageService: $@\n";
-}
-
- -
-
from __future__ import print_statement
-import time
-import swagger_client
-from swagger_client.rest import ApiException
-from pprint import pprint
-
-# create an instance of the API class
-api_instance = swagger_client.WRENCHApi()
-body =  # Service_name_lookupFile_body | Input to start a new service.
-simid = simid_example # String | ID of the simulation
-serviceName = serviceName_example # String | The storage service's head host
-
-try: 
-    # Check if a copy of a file is stored at a storage service.
-    api_response = api_instance.lookup_file_at_storage_service(body, simid, serviceName)
-    pprint(api_response)
-except ApiException as e:
-    print("Exception when calling WRENCHApi->lookupFileAtStorageService: %s\n" % e)
-
-
- -

Parameters

- -
Path parameters
- - - - - - - - - - - -
NameDescription
simid* - - -
-
-
- - String - - -
- ID of the simulation -
-
-
- Required -
-
-
-
service_name* - - -
-
-
- - String - - -
- The storage service's head host -
-
-
- Required -
-
-
-
- - -
Body parameters
- - - - - - - - -
NameDescription
body * - - - -
-
- - - -

Responses

-

Status: 200 - OK

- - - -
-
-
- -
- -
-
- -

Status: 404 - Simulation or storage service not found

- - - -
-
- -

Status: 405 - Invalid input

- - - -
-
- -
-
-
-
-
-
-

resumeVM

-

Resume a suspended VM.

-
-
-
-

-

-

-
-
/simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/resumeVM
-

-

Usage and SDK Samples

-

- - -
-
-
curl -X POST\
--H "Accept: application/json"\
-"https://wrench-project.org/v1/simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/resumeVM"
-
-
-
import io.swagger.client.*;
-import io.swagger.client.auth.*;
-import io.swagger.client.model.*;
-import io.swagger.client.api.WRENCHApi;
-
-import java.io.File;
-import java.util.*;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String serviceName = serviceName_example; // String | The cloud compute service name
-        String vmName = vmName_example; // String | The VM name
-        try {
-            GenericResponse result = apiInstance.resumeVM(simid, serviceName, vmName);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#resumeVM");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
import io.swagger.client.api.WRENCHApi;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String serviceName = serviceName_example; // String | The cloud compute service name
-        String vmName = vmName_example; // String | The VM name
-        try {
-            GenericResponse result = apiInstance.resumeVM(simid, serviceName, vmName);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#resumeVM");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
String *simid = simid_example; // ID of the simulation
-String *serviceName = serviceName_example; // The cloud compute service name
-String *vmName = vmName_example; // The VM name
-
-WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
-
-// Resume a suspended VM.
-[apiInstance resumeVMWith:simid
-    serviceName:serviceName
-    vmName:vmName
-              completionHandler: ^(GenericResponse output, NSError* error) {
-                            if (output) {
-                                NSLog(@"%@", output);
-                            }
-                            if (error) {
-                                NSLog(@"Error: %@", error);
-                            }
-                        }];
-
-
- -
-
var WrenchRestApi = require('wrench_rest_api');
-
-var api = new WrenchRestApi.WRENCHApi()
-var simid = simid_example; // {{String}} ID of the simulation
-var serviceName = serviceName_example; // {{String}} The cloud compute service name
-var vmName = vmName_example; // {{String}} The VM name
-
-var callback = function(error, data, response) {
-  if (error) {
-    console.error(error);
-  } else {
-    console.log('API called successfully. Returned data: ' + data);
-  }
-};
-api.resumeVM(simid, serviceName, vmName, callback);
-
-
- - -
-
using System;
-using System.Diagnostics;
-using IO.Swagger.Api;
-using IO.Swagger.Client;
-using IO.Swagger.Model;
-
-namespace Example
-{
-    public class resumeVMExample
-    {
-        public void main()
-        {
-
-            var apiInstance = new WRENCHApi();
-            var simid = simid_example;  // String | ID of the simulation
-            var serviceName = serviceName_example;  // String | The cloud compute service name
-            var vmName = vmName_example;  // String | The VM name
-
-            try
-            {
-                // Resume a suspended VM.
-                GenericResponse result = apiInstance.resumeVM(simid, serviceName, vmName);
-                Debug.WriteLine(result);
-            }
-            catch (Exception e)
-            {
-                Debug.Print("Exception when calling WRENCHApi.resumeVM: " + e.Message );
-            }
-        }
-    }
-}
-
-
- -
-
<?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-$api_instance = new Swagger\Client\ApiWRENCHApi();
-$simid = simid_example; // String | ID of the simulation
-$serviceName = serviceName_example; // String | The cloud compute service name
-$vmName = vmName_example; // String | The VM name
-
-try {
-    $result = $api_instance->resumeVM($simid, $serviceName, $vmName);
-    print_r($result);
-} catch (Exception $e) {
-    echo 'Exception when calling WRENCHApi->resumeVM: ', $e->getMessage(), PHP_EOL;
-}
-?>
-
- -
-
use Data::Dumper;
-use WWW::SwaggerClient::Configuration;
-use WWW::SwaggerClient::WRENCHApi;
-
-my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
-my $simid = simid_example; # String | ID of the simulation
-my $serviceName = serviceName_example; # String | The cloud compute service name
-my $vmName = vmName_example; # String | The VM name
-
-eval { 
-    my $result = $api_instance->resumeVM(simid => $simid, serviceName => $serviceName, vmName => $vmName);
-    print Dumper($result);
-};
-if ($@) {
-    warn "Exception when calling WRENCHApi->resumeVM: $@\n";
-}
-
- -
-
from __future__ import print_statement
-import time
-import swagger_client
-from swagger_client.rest import ApiException
-from pprint import pprint
-
-# create an instance of the API class
-api_instance = swagger_client.WRENCHApi()
-simid = simid_example # String | ID of the simulation
-serviceName = serviceName_example # String | The cloud compute service name
-vmName = vmName_example # String | The VM name
-
-try: 
-    # Resume a suspended VM.
-    api_response = api_instance.resume_vm(simid, serviceName, vmName)
-    pprint(api_response)
-except ApiException as e:
-    print("Exception when calling WRENCHApi->resumeVM: %s\n" % e)
-
-
- -

Parameters

- -
Path parameters
- - - - - - - - - - - - - - -
NameDescription
simid* - - -
-
-
- - String - - -
- ID of the simulation -
-
-
- Required -
-
-
-
service_name* - - -
-
-
- - String - - -
- The cloud compute service name -
-
-
- Required -
-
-
-
vm_name* - - -
-
-
- - String - - -
- The VM name -
-
-
- Required -
-
-
-
- - - - - -

Responses

-

Status: 200 - OK

- - - -
-
-
- -
- -
-
- -

Status: 405 - Invalid input

- - - -
-
- -
-
-
-
-
-
-

shutdownVM

-

Shutdown a VM.

-
-
-
-

-

-

-
-
/simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/shutdownVM
-

-

Usage and SDK Samples

-

- - -
-
-
curl -X POST\
--H "Accept: application/json"\
-"https://wrench-project.org/v1/simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/shutdownVM"
-
-
-
import io.swagger.client.*;
-import io.swagger.client.auth.*;
-import io.swagger.client.model.*;
-import io.swagger.client.api.WRENCHApi;
-
-import java.io.File;
-import java.util.*;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String serviceName = serviceName_example; // String | The cloud compute service name
-        String vmName = vmName_example; // String | The VM name
-        try {
-            ServiceResponse result = apiInstance.shutdownVM(simid, serviceName, vmName);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#shutdownVM");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
import io.swagger.client.api.WRENCHApi;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String serviceName = serviceName_example; // String | The cloud compute service name
-        String vmName = vmName_example; // String | The VM name
-        try {
-            ServiceResponse result = apiInstance.shutdownVM(simid, serviceName, vmName);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#shutdownVM");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
String *simid = simid_example; // ID of the simulation
-String *serviceName = serviceName_example; // The cloud compute service name
-String *vmName = vmName_example; // The VM name
-
-WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
-
-// Shutdown a VM.
-[apiInstance shutdownVMWith:simid
-    serviceName:serviceName
-    vmName:vmName
-              completionHandler: ^(ServiceResponse output, NSError* error) {
-                            if (output) {
-                                NSLog(@"%@", output);
-                            }
-                            if (error) {
-                                NSLog(@"Error: %@", error);
-                            }
-                        }];
-
-
- -
-
var WrenchRestApi = require('wrench_rest_api');
-
-var api = new WrenchRestApi.WRENCHApi()
-var simid = simid_example; // {{String}} ID of the simulation
-var serviceName = serviceName_example; // {{String}} The cloud compute service name
-var vmName = vmName_example; // {{String}} The VM name
-
-var callback = function(error, data, response) {
-  if (error) {
-    console.error(error);
-  } else {
-    console.log('API called successfully. Returned data: ' + data);
-  }
-};
-api.shutdownVM(simid, serviceName, vmName, callback);
-
-
- - -
-
using System;
-using System.Diagnostics;
-using IO.Swagger.Api;
-using IO.Swagger.Client;
-using IO.Swagger.Model;
-
-namespace Example
-{
-    public class shutdownVMExample
-    {
-        public void main()
-        {
-
-            var apiInstance = new WRENCHApi();
-            var simid = simid_example;  // String | ID of the simulation
-            var serviceName = serviceName_example;  // String | The cloud compute service name
-            var vmName = vmName_example;  // String | The VM name
-
-            try
-            {
-                // Shutdown a VM.
-                ServiceResponse result = apiInstance.shutdownVM(simid, serviceName, vmName);
-                Debug.WriteLine(result);
-            }
-            catch (Exception e)
-            {
-                Debug.Print("Exception when calling WRENCHApi.shutdownVM: " + e.Message );
-            }
-        }
-    }
-}
-
-
- -
-
<?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-$api_instance = new Swagger\Client\ApiWRENCHApi();
-$simid = simid_example; // String | ID of the simulation
-$serviceName = serviceName_example; // String | The cloud compute service name
-$vmName = vmName_example; // String | The VM name
-
-try {
-    $result = $api_instance->shutdownVM($simid, $serviceName, $vmName);
-    print_r($result);
-} catch (Exception $e) {
-    echo 'Exception when calling WRENCHApi->shutdownVM: ', $e->getMessage(), PHP_EOL;
-}
-?>
-
- -
-
use Data::Dumper;
-use WWW::SwaggerClient::Configuration;
-use WWW::SwaggerClient::WRENCHApi;
-
-my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
-my $simid = simid_example; # String | ID of the simulation
-my $serviceName = serviceName_example; # String | The cloud compute service name
-my $vmName = vmName_example; # String | The VM name
-
-eval { 
-    my $result = $api_instance->shutdownVM(simid => $simid, serviceName => $serviceName, vmName => $vmName);
-    print Dumper($result);
-};
-if ($@) {
-    warn "Exception when calling WRENCHApi->shutdownVM: $@\n";
-}
-
- -
-
from __future__ import print_statement
-import time
-import swagger_client
-from swagger_client.rest import ApiException
-from pprint import pprint
-
-# create an instance of the API class
-api_instance = swagger_client.WRENCHApi()
-simid = simid_example # String | ID of the simulation
-serviceName = serviceName_example # String | The cloud compute service name
-vmName = vmName_example # String | The VM name
-
-try: 
-    # Shutdown a VM.
-    api_response = api_instance.shutdown_vm(simid, serviceName, vmName)
-    pprint(api_response)
-except ApiException as e:
-    print("Exception when calling WRENCHApi->shutdownVM: %s\n" % e)
-
-
- -

Parameters

- -
Path parameters
- - - - - - - - - - - - - - -
NameDescription
simid* - - -
-
-
- - String - - -
- ID of the simulation -
-
-
- Required -
-
-
-
service_name* - - -
-
-
- - String - - -
- The cloud compute service name -
-
-
- Required -
-
-
-
vm_name* - - -
-
-
- - String - - -
- The VM name -
-
-
- Required -
-
-
-
- - - - - -

Responses

-

Status: 200 - OK

- - - -
-
-
- -
- -
-
- -

Status: 405 - Invalid input

- - - -
-
- -
-
-
-
-
-
-

startSimulation

-

Start a new simulation

-
-
-
-

-

-

-
-
/simulation/startSimulation
-

-

Usage and SDK Samples

-

- - -
-
-
curl -X POST\
--H "Accept: application/json"\
--H "Content-Type: application/json"\
-"https://wrench-project.org/v1/simulation/startSimulation"
-
-
-
import io.swagger.client.*;
-import io.swagger.client.auth.*;
-import io.swagger.client.model.*;
-import io.swagger.client.api.WRENCHApi;
-
-import java.io.File;
-import java.util.*;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        
-        WRENCHApi apiInstance = new WRENCHApi();
-        SimulationInput body = ; // SimulationInput | Start a new simulation based on a platform file and a controller hostname.
-        try {
-            SimulationReturn result = apiInstance.startSimulation(body);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#startSimulation");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
import io.swagger.client.api.WRENCHApi;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        WRENCHApi apiInstance = new WRENCHApi();
-        SimulationInput body = ; // SimulationInput | Start a new simulation based on a platform file and a controller hostname.
-        try {
-            SimulationReturn result = apiInstance.startSimulation(body);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#startSimulation");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
SimulationInput *body = ; // Start a new simulation based on a platform file and a controller hostname.
-
-WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
-
-// Start a new simulation
-[apiInstance startSimulationWith:body
-              completionHandler: ^(SimulationReturn output, NSError* error) {
-                            if (output) {
-                                NSLog(@"%@", output);
-                            }
-                            if (error) {
-                                NSLog(@"Error: %@", error);
-                            }
-                        }];
-
-
- -
-
var WrenchRestApi = require('wrench_rest_api');
-
-var api = new WrenchRestApi.WRENCHApi()
-var body = ; // {{SimulationInput}} Start a new simulation based on a platform file and a controller hostname.
-
-var callback = function(error, data, response) {
-  if (error) {
-    console.error(error);
-  } else {
-    console.log('API called successfully. Returned data: ' + data);
-  }
-};
-api.startSimulation(body, callback);
-
-
- - -
-
using System;
-using System.Diagnostics;
-using IO.Swagger.Api;
-using IO.Swagger.Client;
-using IO.Swagger.Model;
-
-namespace Example
-{
-    public class startSimulationExample
-    {
-        public void main()
-        {
-
-            var apiInstance = new WRENCHApi();
-            var body = new SimulationInput(); // SimulationInput | Start a new simulation based on a platform file and a controller hostname.
-
-            try
-            {
-                // Start a new simulation
-                SimulationReturn result = apiInstance.startSimulation(body);
-                Debug.WriteLine(result);
-            }
-            catch (Exception e)
-            {
-                Debug.Print("Exception when calling WRENCHApi.startSimulation: " + e.Message );
-            }
-        }
-    }
-}
-
-
- -
-
<?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-$api_instance = new Swagger\Client\ApiWRENCHApi();
-$body = ; // SimulationInput | Start a new simulation based on a platform file and a controller hostname.
-
-try {
-    $result = $api_instance->startSimulation($body);
-    print_r($result);
-} catch (Exception $e) {
-    echo 'Exception when calling WRENCHApi->startSimulation: ', $e->getMessage(), PHP_EOL;
-}
-?>
-
- -
-
use Data::Dumper;
-use WWW::SwaggerClient::Configuration;
-use WWW::SwaggerClient::WRENCHApi;
-
-my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
-my $body = WWW::SwaggerClient::Object::SimulationInput->new(); # SimulationInput | Start a new simulation based on a platform file and a controller hostname.
-
-eval { 
-    my $result = $api_instance->startSimulation(body => $body);
-    print Dumper($result);
-};
-if ($@) {
-    warn "Exception when calling WRENCHApi->startSimulation: $@\n";
-}
-
- -
-
from __future__ import print_statement
-import time
-import swagger_client
-from swagger_client.rest import ApiException
-from pprint import pprint
-
-# create an instance of the API class
-api_instance = swagger_client.WRENCHApi()
-body =  # SimulationInput | Start a new simulation based on a platform file and a controller hostname.
-
-try: 
-    # Start a new simulation
-    api_response = api_instance.start_simulation(body)
-    pprint(api_response)
-except ApiException as e:
-    print("Exception when calling WRENCHApi->startSimulation: %s\n" % e)
-
-
- -

Parameters

- - - -
Body parameters
- - - - - - - - -
NameDescription
body * - - - -
-
- - - -

Responses

-

Status: 200 - OK

- - - -
-
-
- -
- -
-
- -

Status: 405 - Invalid input

- - - -
-
- -
-
-
-
-
-
-

startVM

-

Starts a VM and get its associated bare metal compute service.

-
-
-
-

-

-

-
-
/simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/startVM
-

-

Usage and SDK Samples

-

- - -
-
-
curl -X POST\
--H "Accept: application/json"\
-"https://wrench-project.org/v1/simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/startVM"
-
-
-
import io.swagger.client.*;
-import io.swagger.client.auth.*;
-import io.swagger.client.model.*;
-import io.swagger.client.api.WRENCHApi;
-
-import java.io.File;
-import java.util.*;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String serviceName = serviceName_example; // String | The cloud compute service name
-        String vmName = vmName_example; // String | The VM name
-        try {
-            ServiceResponse result = apiInstance.startVM(simid, serviceName, vmName);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#startVM");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
import io.swagger.client.api.WRENCHApi;
-
-public class WRENCHApiExample {
-
-    public static void main(String[] args) {
-        WRENCHApi apiInstance = new WRENCHApi();
-        String simid = simid_example; // String | ID of the simulation
-        String serviceName = serviceName_example; // String | The cloud compute service name
-        String vmName = vmName_example; // String | The VM name
-        try {
-            ServiceResponse result = apiInstance.startVM(simid, serviceName, vmName);
-            System.out.println(result);
-        } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#startVM");
-            e.printStackTrace();
-        }
-    }
-}
-
- -
-
String *simid = simid_example; // ID of the simulation
-String *serviceName = serviceName_example; // The cloud compute service name
-String *vmName = vmName_example; // The VM name
-
-WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
-
-// Starts a VM and get its associated bare metal compute service.
-[apiInstance startVMWith:simid
-    serviceName:serviceName
-    vmName:vmName
-              completionHandler: ^(ServiceResponse output, NSError* error) {
-                            if (output) {
-                                NSLog(@"%@", output);
-                            }
-                            if (error) {
-                                NSLog(@"Error: %@", error);
-                            }
-                        }];
-
-
- -
-
var WrenchRestApi = require('wrench_rest_api');
-
-var api = new WrenchRestApi.WRENCHApi()
-var simid = simid_example; // {{String}} ID of the simulation
-var serviceName = serviceName_example; // {{String}} The cloud compute service name
-var vmName = vmName_example; // {{String}} The VM name
-
-var callback = function(error, data, response) {
-  if (error) {
-    console.error(error);
-  } else {
-    console.log('API called successfully. Returned data: ' + data);
-  }
-};
-api.startVM(simid, serviceName, vmName, callback);
-
-
- - -
-
using System;
-using System.Diagnostics;
-using IO.Swagger.Api;
-using IO.Swagger.Client;
-using IO.Swagger.Model;
-
-namespace Example
-{
-    public class startVMExample
-    {
-        public void main()
-        {
-
-            var apiInstance = new WRENCHApi();
-            var simid = simid_example;  // String | ID of the simulation
-            var serviceName = serviceName_example;  // String | The cloud compute service name
-            var vmName = vmName_example;  // String | The VM name
-
-            try
-            {
-                // Starts a VM and get its associated bare metal compute service.
-                ServiceResponse result = apiInstance.startVM(simid, serviceName, vmName);
-                Debug.WriteLine(result);
-            }
-            catch (Exception e)
-            {
-                Debug.Print("Exception when calling WRENCHApi.startVM: " + e.Message );
-            }
-        }
-    }
-}
-
-
- -
-
<?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-$api_instance = new Swagger\Client\ApiWRENCHApi();
-$simid = simid_example; // String | ID of the simulation
-$serviceName = serviceName_example; // String | The cloud compute service name
-$vmName = vmName_example; // String | The VM name
-
-try {
-    $result = $api_instance->startVM($simid, $serviceName, $vmName);
-    print_r($result);
-} catch (Exception $e) {
-    echo 'Exception when calling WRENCHApi->startVM: ', $e->getMessage(), PHP_EOL;
-}
-?>
-
- -
-
use Data::Dumper;
-use WWW::SwaggerClient::Configuration;
-use WWW::SwaggerClient::WRENCHApi;
-
-my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
-my $simid = simid_example; # String | ID of the simulation
-my $serviceName = serviceName_example; # String | The cloud compute service name
-my $vmName = vmName_example; # String | The VM name
-
-eval { 
-    my $result = $api_instance->startVM(simid => $simid, serviceName => $serviceName, vmName => $vmName);
-    print Dumper($result);
-};
-if ($@) {
-    warn "Exception when calling WRENCHApi->startVM: $@\n";
-}
-
- -
-
from __future__ import print_statement
-import time
-import swagger_client
-from swagger_client.rest import ApiException
-from pprint import pprint
-
-# create an instance of the API class
-api_instance = swagger_client.WRENCHApi()
-simid = simid_example # String | ID of the simulation
-serviceName = serviceName_example # String | The cloud compute service name
-vmName = vmName_example # String | The VM name
-
-try: 
-    # Starts a VM and get its associated bare metal compute service.
-    api_response = api_instance.start_vm(simid, serviceName, vmName)
-    pprint(api_response)
-except ApiException as e:
-    print("Exception when calling WRENCHApi->startVM: %s\n" % e)
-
-
- -

Parameters

- -
Path parameters
- - - - - - - - - - - - - - -
NameDescription
simid* - - -
-
-
- - String - - -
- ID of the simulation -
-
-
- Required -
-
-
-
service_name* - - -
-
-
- - String - - -
- The cloud compute service name -
-
-
- Required -
-
-
-
vm_name* - - -
-
-
- - String - - -
- The VM name -
-
-
- Required -
-
-
-
+require_once(__DIR__ . '/vendor/autoload.php'); + +$api_instance = new Swagger\Client\ApiWRENCHApi(); +$body = ; // SimulationInput | Start a new simulation based on a platform file and a controller hostname. + +try { + $result = $api_instance->startSimulation($body); + print_r($result); +} catch (Exception $e) { + echo 'Exception when calling WRENCHApi->startSimulation: ', $e->getMessage(), PHP_EOL; +} +?>
+
+ +
+
use Data::Dumper;
+use WWW::SwaggerClient::Configuration;
+use WWW::SwaggerClient::WRENCHApi;
+
+my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
+my $body = WWW::SwaggerClient::Object::SimulationInput->new(); # SimulationInput | Start a new simulation based on a platform file and a controller hostname.
+
+eval { 
+    my $result = $api_instance->startSimulation(body => $body);
+    print Dumper($result);
+};
+if ($@) {
+    warn "Exception when calling WRENCHApi->startSimulation: $@\n";
+}
+
+ +
+
from __future__ import print_statement
+import time
+import swagger_client
+from swagger_client.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = swagger_client.WRENCHApi()
+body =  # SimulationInput | Start a new simulation based on a platform file and a controller hostname.
+
+try: 
+    # Start a new simulation
+    api_response = api_instance.start_simulation(body)
+    pprint(api_response)
+except ApiException as e:
+    print("Exception when calling WRENCHApi->startSimulation: %s\n" % e)
+
+
+ +

Parameters

+
Body parameters
+ + + + + + + + +
NameDescription
body * + + + +
+
+

Responses

@@ -34676,14 +16970,14 @@

Status: 200 - OK

-
-
+
+
- +
@@ -34731,11 +17025,11 @@

Status: 405 - Invalid input


-
-
+
+
-

submitCompoundJob

-

Submit a compound job.

+

startVM

+

Starts a VM and get its associated bare metal compute service.

@@ -34743,32 +17037,31 @@

submitCompoundJob


-
/simulation/{simid}/compoundJobs/{compound_job_name}/submit
+
/simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/startVM

Usage and SDK Samples

-
+
curl -X POST\
 -H "Accept: application/json"\
--H "Content-Type: application/json"\
-"https://wrench-project.org/v1/simulation/{simid}/compoundJobs/{compound_job_name}/submit"
+"https://wrench-project.org/v1/simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/startVM"
-
+
import io.swagger.client.*;
 import io.swagger.client.auth.*;
 import io.swagger.client.model.*;
@@ -34782,56 +17075,56 @@ 

Usage and SDK Samples

public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); - Compound_job_name_submit_body body = ; // Compound_job_name_submit_body | Job characteristics. String simid = simid_example; // String | ID of the simulation - String compoundJobName = compoundJobName_example; // String | Name of the compound job + String serviceName = serviceName_example; // String | The cloud compute service name + String vmName = vmName_example; // String | The VM name try { - GenericResponse result = apiInstance.submitCompoundJob(body, simid, compoundJobName); + ServiceResponse result = apiInstance.startVM(simid, serviceName, vmName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#submitCompoundJob"); + System.err.println("Exception when calling WRENCHApi#startVM"); e.printStackTrace(); } } }
-
+
import io.swagger.client.api.WRENCHApi;
 
 public class WRENCHApiExample {
 
     public static void main(String[] args) {
         WRENCHApi apiInstance = new WRENCHApi();
-        Compound_job_name_submit_body body = ; // Compound_job_name_submit_body | Job characteristics.
         String simid = simid_example; // String | ID of the simulation
-        String compoundJobName = compoundJobName_example; // String | Name of the compound job
+        String serviceName = serviceName_example; // String | The cloud compute service name
+        String vmName = vmName_example; // String | The VM name
         try {
-            GenericResponse result = apiInstance.submitCompoundJob(body, simid, compoundJobName);
+            ServiceResponse result = apiInstance.startVM(simid, serviceName, vmName);
             System.out.println(result);
         } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#submitCompoundJob");
+            System.err.println("Exception when calling WRENCHApi#startVM");
             e.printStackTrace();
         }
     }
 }
-
-
Compound_job_name_submit_body *body = ; // Job characteristics.
-String *simid = simid_example; // ID of the simulation
-String *compoundJobName = compoundJobName_example; // Name of the compound job
+                            
+
String *simid = simid_example; // ID of the simulation
+String *serviceName = serviceName_example; // The cloud compute service name
+String *vmName = vmName_example; // The VM name
 
 WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
 
-// Submit a compound job.
-[apiInstance submitCompoundJobWith:body
-    simid:simid
-    compoundJobName:compoundJobName
-              completionHandler: ^(GenericResponse output, NSError* error) {
+// Starts a VM and get its associated bare metal compute service.
+[apiInstance startVMWith:simid
+    serviceName:serviceName
+    vmName:vmName
+              completionHandler: ^(ServiceResponse output, NSError* error) {
                             if (output) {
                                 NSLog(@"%@", output);
                             }
@@ -34842,13 +17135,13 @@ 

Usage and SDK Samples

-
+
var WrenchRestApi = require('wrench_rest_api');
 
 var api = new WrenchRestApi.WRENCHApi()
-var body = ; // {{Compound_job_name_submit_body}} Job characteristics.
 var simid = simid_example; // {{String}} ID of the simulation
-var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
+var serviceName = serviceName_example; // {{String}} The cloud compute service name
+var vmName = vmName_example; // {{String}} The VM name
 
 var callback = function(error, data, response) {
   if (error) {
@@ -34857,14 +17150,14 @@ 

Usage and SDK Samples

console.log('API called successfully. Returned data: ' + data); } }; -api.submitCompoundJob(bodysimidcompoundJobName, callback); +api.startVM(simid, serviceName, vmName, callback);
- -
+
using System;
 using System.Diagnostics;
 using IO.Swagger.Api;
@@ -34873,25 +17166,25 @@ 

Usage and SDK Samples

namespace Example { - public class submitCompoundJobExample + public class startVMExample { public void main() { var apiInstance = new WRENCHApi(); - var body = new Compound_job_name_submit_body(); // Compound_job_name_submit_body | Job characteristics. var simid = simid_example; // String | ID of the simulation - var compoundJobName = compoundJobName_example; // String | Name of the compound job + var serviceName = serviceName_example; // String | The cloud compute service name + var vmName = vmName_example; // String | The VM name try { - // Submit a compound job. - GenericResponse result = apiInstance.submitCompoundJob(body, simid, compoundJobName); + // Starts a VM and get its associated bare metal compute service. + ServiceResponse result = apiInstance.startVM(simid, serviceName, vmName); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.submitCompoundJob: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.startVM: " + e.Message ); } } } @@ -34899,44 +17192,44 @@

Usage and SDK Samples

-
+
<?php
 require_once(__DIR__ . '/vendor/autoload.php');
 
 $api_instance = new Swagger\Client\ApiWRENCHApi();
-$body = ; // Compound_job_name_submit_body | Job characteristics.
 $simid = simid_example; // String | ID of the simulation
-$compoundJobName = compoundJobName_example; // String | Name of the compound job
+$serviceName = serviceName_example; // String | The cloud compute service name
+$vmName = vmName_example; // String | The VM name
 
 try {
-    $result = $api_instance->submitCompoundJob($body, $simid, $compoundJobName);
+    $result = $api_instance->startVM($simid, $serviceName, $vmName);
     print_r($result);
 } catch (Exception $e) {
-    echo 'Exception when calling WRENCHApi->submitCompoundJob: ', $e->getMessage(), PHP_EOL;
+    echo 'Exception when calling WRENCHApi->startVM: ', $e->getMessage(), PHP_EOL;
 }
 ?>
-
+
use Data::Dumper;
 use WWW::SwaggerClient::Configuration;
 use WWW::SwaggerClient::WRENCHApi;
 
 my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
-my $body = WWW::SwaggerClient::Object::Compound_job_name_submit_body->new(); # Compound_job_name_submit_body | Job characteristics.
 my $simid = simid_example; # String | ID of the simulation
-my $compoundJobName = compoundJobName_example; # String | Name of the compound job
+my $serviceName = serviceName_example; # String | The cloud compute service name
+my $vmName = vmName_example; # String | The VM name
 
 eval { 
-    my $result = $api_instance->submitCompoundJob(body => $body, simid => $simid, compoundJobName => $compoundJobName);
+    my $result = $api_instance->startVM(simid => $simid, serviceName => $serviceName, vmName => $vmName);
     print Dumper($result);
 };
 if ($@) {
-    warn "Exception when calling WRENCHApi->submitCompoundJob: $@\n";
+    warn "Exception when calling WRENCHApi->startVM: $@\n";
 }
-
+
from __future__ import print_statement
 import time
 import swagger_client
@@ -34945,16 +17238,16 @@ 

Usage and SDK Samples

# create an instance of the API class api_instance = swagger_client.WRENCHApi() -body = # Compound_job_name_submit_body | Job characteristics. simid = simid_example # String | ID of the simulation -compoundJobName = compoundJobName_example # String | Name of the compound job +serviceName = serviceName_example # String | The cloud compute service name +vmName = vmName_example # String | The VM name try: - # Submit a compound job. - api_response = api_instance.submit_compound_job(body, simid, compoundJobName) + # Starts a VM and get its associated bare metal compute service. + api_response = api_instance.start_vm(simid, serviceName, vmName) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->submitCompoundJob: %s\n" % e)
+ print("Exception when calling WRENCHApi->startVM: %s\n" % e)
@@ -34970,7 +17263,7 @@

Parameters

-
+
@@ -34988,11 +17281,33 @@

Parameters

- compound_job_name* + service_name* + + + +
+
+
+ + String + + +
+ The cloud compute service name +
+
+
+ Required +
+
+
+ + + vm_name* -
+
@@ -35000,7 +17315,7 @@

Parameters

- Name of the compound job + The VM name
@@ -35013,50 +17328,6 @@

Parameters

-
Body parameters
- - - - - - - - -
NameDescription
body * - - - -
-
@@ -35065,14 +17336,14 @@

Status: 200 - OK

-
-
+
+
- +
@@ -35132,7 +17403,7 @@

submitStandardJob


-
/simulation/{simid}/standardJobs/{job_name}/submit
+
/simulation/{simid}/jobs/{job_name}/submit

Usage and SDK Samples

@@ -35155,7 +17426,7 @@

Usage and SDK Samples

curl -X POST\
 -H "Accept: application/json"\
 -H "Content-Type: application/json"\
-"https://wrench-project.org/v1/simulation/{simid}/standardJobs/{job_name}/submit"
+"https://wrench-project.org/v1/simulation/{simid}/jobs/{job_name}/submit"
import io.swagger.client.*;
diff --git a/latest/.doctrees/api_developer/classwrench_1_1_compound_job.doctree b/latest/.doctrees/api_developer/classwrench_1_1_compound_job.doctree
index 9005fa936b..4b64a24712 100644
Binary files a/latest/.doctrees/api_developer/classwrench_1_1_compound_job.doctree and b/latest/.doctrees/api_developer/classwrench_1_1_compound_job.doctree differ
diff --git a/latest/.doctrees/api_internal/classwrench_1_1_compound_job.doctree b/latest/.doctrees/api_internal/classwrench_1_1_compound_job.doctree
index 4226b441a5..bdbe0005a1 100644
Binary files a/latest/.doctrees/api_internal/classwrench_1_1_compound_job.doctree and b/latest/.doctrees/api_internal/classwrench_1_1_compound_job.doctree differ
diff --git a/latest/.doctrees/environment.pickle b/latest/.doctrees/environment.pickle
index bffdf549a6..9d206d8c44 100644
Binary files a/latest/.doctrees/environment.pickle and b/latest/.doctrees/environment.pickle differ
diff --git a/latest/api_developer/classwrench_1_1_compound_job.html b/latest/api_developer/classwrench_1_1_compound_job.html
index f582dd2d1f..895db74db5 100644
--- a/latest/api_developer/classwrench_1_1_compound_job.html
+++ b/latest/api_developer/classwrench_1_1_compound_job.html
@@ -585,7 +585,7 @@
 
std::shared_ptr<FileRegistryDeleteEntryAction> addFileRegistryDeleteEntryAction(const std::string &name, const std::shared_ptr<FileRegistryService> &file_registry, const std::shared_ptr<FileLocation> &file_location)
-

Add a file registry delete entry action.

+

Add a file registry add entry action.

Parameters:
    diff --git a/latest/api_internal/classwrench_1_1_compound_job.html b/latest/api_internal/classwrench_1_1_compound_job.html index c8d0e9fcbc..e158731a05 100644 --- a/latest/api_internal/classwrench_1_1_compound_job.html +++ b/latest/api_internal/classwrench_1_1_compound_job.html @@ -757,7 +757,7 @@
    std::shared_ptr<FileRegistryDeleteEntryAction> addFileRegistryDeleteEntryAction(const std::string &name, const std::shared_ptr<FileRegistryService> &file_registry, const std::shared_ptr<FileLocation> &file_location)
    -

    Add a file registry delete entry action.

    +

    Add a file registry add entry action.

    Parameters:
      diff --git a/latest/restapi/index.html b/latest/restapi/index.html index d597488287..519c525b8e 100644 --- a/latest/restapi/index.html +++ b/latest/restapi/index.html @@ -689,31 +689,6 @@ -
      +
      @@ -3328,14 +2950,14 @@

      Status: 200 - OK

      -
      -
      +
      +
      - +
      -

      Status: 404 - Job not found

      +

      Status: 404 - Task not found

      @@ -3391,11 +3013,11 @@

      Status: 405 - Invalid input


-
-
+
+
-

addFile

-

Add a file to the simulation.

+

addFileRegistryService

+

Create and start a file registery service.

@@ -3403,32 +3025,32 @@

addFile


-
/simulation/{simid}/addFile
+
/simulation/{simid}/addFileRegistryService

Usage and SDK Samples

-
-
curl -X PUT\
+                          
+
curl -X POST\
 -H "Accept: application/json"\
 -H "Content-Type: application/json"\
-"https://wrench-project.org/v1/simulation/{simid}/addFile"
+"https://wrench-project.org/v1/simulation/{simid}/addFileRegistryService"
-
+
import io.swagger.client.*;
 import io.swagger.client.auth.*;
 import io.swagger.client.model.*;
@@ -3442,52 +3064,52 @@ 

Usage and SDK Samples

public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); - Simid_addFile_body body = ; // Simid_addFile_body | Input to add a new file. + Simid_addFileRegistryService_body body = ; // Simid_addFileRegistryService_body | Input to start a new service. String simid = simid_example; // String | ID of the simulation try { - GenericResponse result = apiInstance.addFile(body, simid); + ServiceResponse result = apiInstance.addFileRegistryService(body, simid); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#addFile"); + System.err.println("Exception when calling WRENCHApi#addFileRegistryService"); e.printStackTrace(); } } }
-
+
import io.swagger.client.api.WRENCHApi;
 
 public class WRENCHApiExample {
 
     public static void main(String[] args) {
         WRENCHApi apiInstance = new WRENCHApi();
-        Simid_addFile_body body = ; // Simid_addFile_body | Input to add a new file.
+        Simid_addFileRegistryService_body body = ; // Simid_addFileRegistryService_body | Input to start a new service.
         String simid = simid_example; // String | ID of the simulation
         try {
-            GenericResponse result = apiInstance.addFile(body, simid);
+            ServiceResponse result = apiInstance.addFileRegistryService(body, simid);
             System.out.println(result);
         } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#addFile");
+            System.err.println("Exception when calling WRENCHApi#addFileRegistryService");
             e.printStackTrace();
         }
     }
 }
-
-
Simid_addFile_body *body = ; // Input to add a new file.
+                            
+
Simid_addFileRegistryService_body *body = ; // Input to start a new service.
 String *simid = simid_example; // ID of the simulation
 
 WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
 
-// Add a file to the simulation.
-[apiInstance addFileWith:body
+// Create and start a file registery service.
+[apiInstance addFileRegistryServiceWith:body
     simid:simid
-              completionHandler: ^(GenericResponse output, NSError* error) {
+              completionHandler: ^(ServiceResponse output, NSError* error) {
                             if (output) {
                                 NSLog(@"%@", output);
                             }
@@ -3498,11 +3120,11 @@ 

Usage and SDK Samples

-
+
var WrenchRestApi = require('wrench_rest_api');
 
 var api = new WrenchRestApi.WRENCHApi()
-var body = ; // {{Simid_addFile_body}} Input to add a new file.
+var body = ; // {{Simid_addFileRegistryService_body}} Input to start a new service.
 var simid = simid_example; // {{String}} ID of the simulation
 
 var callback = function(error, data, response) {
@@ -3512,14 +3134,14 @@ 

Usage and SDK Samples

console.log('API called successfully. Returned data: ' + data); } }; -api.addFile(bodysimid, callback); +api.addFileRegistryService(bodysimid, callback);
- -
+
using System;
 using System.Diagnostics;
 using IO.Swagger.Api;
@@ -3528,24 +3150,24 @@ 

Usage and SDK Samples

namespace Example { - public class addFileExample + public class addFileRegistryServiceExample { public void main() { var apiInstance = new WRENCHApi(); - var body = new Simid_addFile_body(); // Simid_addFile_body | Input to add a new file. + var body = new Simid_addFileRegistryService_body(); // Simid_addFileRegistryService_body | Input to start a new service. var simid = simid_example; // String | ID of the simulation try { - // Add a file to the simulation. - GenericResponse result = apiInstance.addFile(body, simid); + // Create and start a file registery service. + ServiceResponse result = apiInstance.addFileRegistryService(body, simid); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.addFile: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.addFileRegistryService: " + e.Message ); } } } @@ -3553,42 +3175,42 @@

Usage and SDK Samples

-
+
<?php
 require_once(__DIR__ . '/vendor/autoload.php');
 
 $api_instance = new Swagger\Client\ApiWRENCHApi();
-$body = ; // Simid_addFile_body | Input to add a new file.
+$body = ; // Simid_addFileRegistryService_body | Input to start a new service.
 $simid = simid_example; // String | ID of the simulation
 
 try {
-    $result = $api_instance->addFile($body, $simid);
+    $result = $api_instance->addFileRegistryService($body, $simid);
     print_r($result);
 } catch (Exception $e) {
-    echo 'Exception when calling WRENCHApi->addFile: ', $e->getMessage(), PHP_EOL;
+    echo 'Exception when calling WRENCHApi->addFileRegistryService: ', $e->getMessage(), PHP_EOL;
 }
 ?>
-
+
use Data::Dumper;
 use WWW::SwaggerClient::Configuration;
 use WWW::SwaggerClient::WRENCHApi;
 
 my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
-my $body = WWW::SwaggerClient::Object::Simid_addFile_body->new(); # Simid_addFile_body | Input to add a new file.
+my $body = WWW::SwaggerClient::Object::Simid_addFileRegistryService_body->new(); # Simid_addFileRegistryService_body | Input to start a new service.
 my $simid = simid_example; # String | ID of the simulation
 
 eval { 
-    my $result = $api_instance->addFile(body => $body, simid => $simid);
+    my $result = $api_instance->addFileRegistryService(body => $body, simid => $simid);
     print Dumper($result);
 };
 if ($@) {
-    warn "Exception when calling WRENCHApi->addFile: $@\n";
+    warn "Exception when calling WRENCHApi->addFileRegistryService: $@\n";
 }
-
+
from __future__ import print_statement
 import time
 import swagger_client
@@ -3597,15 +3219,15 @@ 

Usage and SDK Samples

# create an instance of the API class api_instance = swagger_client.WRENCHApi() -body = # Simid_addFile_body | Input to add a new file. +body = # Simid_addFileRegistryService_body | Input to start a new service. simid = simid_example # String | ID of the simulation try: - # Add a file to the simulation. - api_response = api_instance.add_file(body, simid) + # Create and start a file registery service. + api_response = api_instance.add_file_registry_service(body, simid) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->addFile: %s\n" % e)
+ print("Exception when calling WRENCHApi->addFileRegistryService: %s\n" % e)
@@ -3621,7 +3243,7 @@

Parameters

-
+
@@ -3655,11 +3277,11 @@

Parameters

-
+
@@ -3694,14 +3316,14 @@

Status: 200 - OK

-
-
+
+
- +
-

Status: 404 - Task not found

- - - -
-
-

Status: 405 - Invalid input


-
-
+
+
-

addFileCopyAction

-

Add a file copy action to compound job

+

addInputFile

+

Add an input file to a task

@@ -3769,32 +3383,32 @@

addFileCopyAction


-
/simulation/{simid}/compoundJobs/{compound_job_name}/addFileCopyAction
+
/simulation/{simid}/workflows/{workflow_name}/tasks/{tid}/addInputFile

Usage and SDK Samples

-
-
curl -X POST\
+                          
+
curl -X PUT\
 -H "Accept: application/json"\
 -H "Content-Type: application/json"\
-"https://wrench-project.org/v1/simulation/{simid}/compoundJobs/{compound_job_name}/addFileCopyAction"
+"https://wrench-project.org/v1/simulation/{simid}/workflows/{workflow_name}/tasks/{tid}/addInputFile"
-
+
import io.swagger.client.*;
 import io.swagger.client.auth.*;
 import io.swagger.client.model.*;
@@ -3808,55 +3422,59 @@ 

Usage and SDK Samples

public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); - Compound_job_name_addFileCopyAction_body body = ; // Compound_job_name_addFileCopyAction_body | Input to add a file copy action. + Tid_addInputFile_body body = ; // Tid_addInputFile_body | Input file. String simid = simid_example; // String | ID of the simulation - String compoundJobName = compoundJobName_example; // String | Name of the compound job + String workflowName = workflowName_example; // String | + String tid = tid_example; // String | ID of the task try { - GenericResponse result = apiInstance.addFileCopyAction(body, simid, compoundJobName); + GenericResponse result = apiInstance.addInputFile(body, simid, workflowName, tid); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#addFileCopyAction"); + System.err.println("Exception when calling WRENCHApi#addInputFile"); e.printStackTrace(); } } }
-
+
import io.swagger.client.api.WRENCHApi;
 
 public class WRENCHApiExample {
 
     public static void main(String[] args) {
         WRENCHApi apiInstance = new WRENCHApi();
-        Compound_job_name_addFileCopyAction_body body = ; // Compound_job_name_addFileCopyAction_body | Input to add a file copy action.
+        Tid_addInputFile_body body = ; // Tid_addInputFile_body | Input file.
         String simid = simid_example; // String | ID of the simulation
-        String compoundJobName = compoundJobName_example; // String | Name of the compound job
+        String workflowName = workflowName_example; // String | 
+        String tid = tid_example; // String | ID of the task
         try {
-            GenericResponse result = apiInstance.addFileCopyAction(body, simid, compoundJobName);
+            GenericResponse result = apiInstance.addInputFile(body, simid, workflowName, tid);
             System.out.println(result);
         } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#addFileCopyAction");
+            System.err.println("Exception when calling WRENCHApi#addInputFile");
             e.printStackTrace();
         }
     }
 }
-
-
Compound_job_name_addFileCopyAction_body *body = ; // Input to add a file copy action.
+                            
+
Tid_addInputFile_body *body = ; // Input file.
 String *simid = simid_example; // ID of the simulation
-String *compoundJobName = compoundJobName_example; // Name of the compound job
+String *workflowName = workflowName_example; // 
+String *tid = tid_example; // ID of the task
 
 WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
 
-// Add a file copy action to compound job
-[apiInstance addFileCopyActionWith:body
+// Add an input file to a task
+[apiInstance addInputFileWith:body
     simid:simid
-    compoundJobName:compoundJobName
+    workflowName:workflowName
+    tid:tid
               completionHandler: ^(GenericResponse output, NSError* error) {
                             if (output) {
                                 NSLog(@"%@", output);
@@ -3868,13 +3486,14 @@ 

Usage and SDK Samples

-
+
var WrenchRestApi = require('wrench_rest_api');
 
 var api = new WrenchRestApi.WRENCHApi()
-var body = ; // {{Compound_job_name_addFileCopyAction_body}} Input to add a file copy action.
+var body = ; // {{Tid_addInputFile_body}} Input file.
 var simid = simid_example; // {{String}} ID of the simulation
-var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
+var workflowName = workflowName_example; // {{String}} 
+var tid = tid_example; // {{String}} ID of the task
 
 var callback = function(error, data, response) {
   if (error) {
@@ -3883,14 +3502,14 @@ 

Usage and SDK Samples

console.log('API called successfully. Returned data: ' + data); } }; -api.addFileCopyAction(bodysimidcompoundJobName, callback); +api.addInputFile(bodysimidworkflowNametid, callback);
- -
+
using System;
 using System.Diagnostics;
 using IO.Swagger.Api;
@@ -3899,25 +3518,26 @@ 

Usage and SDK Samples

namespace Example { - public class addFileCopyActionExample + public class addInputFileExample { public void main() { var apiInstance = new WRENCHApi(); - var body = new Compound_job_name_addFileCopyAction_body(); // Compound_job_name_addFileCopyAction_body | Input to add a file copy action. + var body = new Tid_addInputFile_body(); // Tid_addInputFile_body | Input file. var simid = simid_example; // String | ID of the simulation - var compoundJobName = compoundJobName_example; // String | Name of the compound job + var workflowName = workflowName_example; // String | + var tid = tid_example; // String | ID of the task try { - // Add a file copy action to compound job - GenericResponse result = apiInstance.addFileCopyAction(body, simid, compoundJobName); + // Add an input file to a task + GenericResponse result = apiInstance.addInputFile(body, simid, workflowName, tid); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.addFileCopyAction: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.addInputFile: " + e.Message ); } } } @@ -3925,44 +3545,46 @@

Usage and SDK Samples

-
+
<?php
 require_once(__DIR__ . '/vendor/autoload.php');
 
 $api_instance = new Swagger\Client\ApiWRENCHApi();
-$body = ; // Compound_job_name_addFileCopyAction_body | Input to add a file copy action.
+$body = ; // Tid_addInputFile_body | Input file.
 $simid = simid_example; // String | ID of the simulation
-$compoundJobName = compoundJobName_example; // String | Name of the compound job
+$workflowName = workflowName_example; // String | 
+$tid = tid_example; // String | ID of the task
 
 try {
-    $result = $api_instance->addFileCopyAction($body, $simid, $compoundJobName);
+    $result = $api_instance->addInputFile($body, $simid, $workflowName, $tid);
     print_r($result);
 } catch (Exception $e) {
-    echo 'Exception when calling WRENCHApi->addFileCopyAction: ', $e->getMessage(), PHP_EOL;
+    echo 'Exception when calling WRENCHApi->addInputFile: ', $e->getMessage(), PHP_EOL;
 }
 ?>
-
+
use Data::Dumper;
 use WWW::SwaggerClient::Configuration;
 use WWW::SwaggerClient::WRENCHApi;
 
 my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
-my $body = WWW::SwaggerClient::Object::Compound_job_name_addFileCopyAction_body->new(); # Compound_job_name_addFileCopyAction_body | Input to add a file copy action.
+my $body = WWW::SwaggerClient::Object::Tid_addInputFile_body->new(); # Tid_addInputFile_body | Input file.
 my $simid = simid_example; # String | ID of the simulation
-my $compoundJobName = compoundJobName_example; # String | Name of the compound job
+my $workflowName = workflowName_example; # String | 
+my $tid = tid_example; # String | ID of the task
 
 eval { 
-    my $result = $api_instance->addFileCopyAction(body => $body, simid => $simid, compoundJobName => $compoundJobName);
+    my $result = $api_instance->addInputFile(body => $body, simid => $simid, workflowName => $workflowName, tid => $tid);
     print Dumper($result);
 };
 if ($@) {
-    warn "Exception when calling WRENCHApi->addFileCopyAction: $@\n";
+    warn "Exception when calling WRENCHApi->addInputFile: $@\n";
 }
-
+
from __future__ import print_statement
 import time
 import swagger_client
@@ -3971,16 +3593,17 @@ 

Usage and SDK Samples

# create an instance of the API class api_instance = swagger_client.WRENCHApi() -body = # Compound_job_name_addFileCopyAction_body | Input to add a file copy action. +body = # Tid_addInputFile_body | Input file. simid = simid_example # String | ID of the simulation -compoundJobName = compoundJobName_example # String | Name of the compound job +workflowName = workflowName_example # String | +tid = tid_example # String | ID of the task try: - # Add a file copy action to compound job - api_response = api_instance.add_file_copy_action(body, simid, compoundJobName) + # Add an input file to a task + api_response = api_instance.add_input_file(body, simid, workflowName, tid) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->addFileCopyAction: %s\n" % e)
+ print("Exception when calling WRENCHApi->addInputFile: %s\n" % e)
@@ -3996,7 +3619,7 @@

Parameters

-
+
@@ -4014,11 +3637,30 @@

Parameters

- compound_job_name* + workflow_name* + + + +
+
+
+ + String + + +
+
+ Required +
+
+
+ + + tid* -
+
@@ -4026,7 +3668,7 @@

Parameters

- Name of the compound job + ID of the task
@@ -4052,11 +3694,11 @@

Parameters

-
+
@@ -4091,14 +3733,14 @@

Status: 200 - OK

-
-
+
+
- +
-

Status: 404 - Job not found

+

Status: 404 - Task not found

@@ -4154,11 +3796,11 @@

Status: 405 - Invalid input


-
-
+
+
-

addFileDeleteAction

-

Add a file delete action to compound job

+

addOutputFile

+

Add an output file to a task

@@ -4166,32 +3808,32 @@

addFileDeleteAction


-
/simulation/{simid}/compoundJobs/{compound_job_name}/addFileDeleteAction
+
/simulation/{simid}/workflows/{workflow_name}/tasks/{tid}/addOutputFile

Usage and SDK Samples

-
-
curl -X POST\
+                          
+
curl -X PUT\
 -H "Accept: application/json"\
 -H "Content-Type: application/json"\
-"https://wrench-project.org/v1/simulation/{simid}/compoundJobs/{compound_job_name}/addFileDeleteAction"
+"https://wrench-project.org/v1/simulation/{simid}/workflows/{workflow_name}/tasks/{tid}/addOutputFile"
-
+
import io.swagger.client.*;
 import io.swagger.client.auth.*;
 import io.swagger.client.model.*;
@@ -4205,55 +3847,59 @@ 

Usage and SDK Samples

public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); - Compound_job_name_addFileDeleteAction_body body = ; // Compound_job_name_addFileDeleteAction_body | Input to add a file delete action. + Tid_addOutputFile_body body = ; // Tid_addOutputFile_body | Job characteristics. String simid = simid_example; // String | ID of the simulation - String compoundJobName = compoundJobName_example; // String | Name of the compound job + String workflowName = workflowName_example; // String | + String tid = tid_example; // String | ID of the task try { - GenericResponse result = apiInstance.addFileDeleteAction(body, simid, compoundJobName); + GenericResponse result = apiInstance.addOutputFile(body, simid, workflowName, tid); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#addFileDeleteAction"); + System.err.println("Exception when calling WRENCHApi#addOutputFile"); e.printStackTrace(); } } }
-
+
import io.swagger.client.api.WRENCHApi;
 
 public class WRENCHApiExample {
 
     public static void main(String[] args) {
         WRENCHApi apiInstance = new WRENCHApi();
-        Compound_job_name_addFileDeleteAction_body body = ; // Compound_job_name_addFileDeleteAction_body | Input to add a file delete action.
+        Tid_addOutputFile_body body = ; // Tid_addOutputFile_body | Job characteristics.
         String simid = simid_example; // String | ID of the simulation
-        String compoundJobName = compoundJobName_example; // String | Name of the compound job
+        String workflowName = workflowName_example; // String | 
+        String tid = tid_example; // String | ID of the task
         try {
-            GenericResponse result = apiInstance.addFileDeleteAction(body, simid, compoundJobName);
+            GenericResponse result = apiInstance.addOutputFile(body, simid, workflowName, tid);
             System.out.println(result);
         } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#addFileDeleteAction");
+            System.err.println("Exception when calling WRENCHApi#addOutputFile");
             e.printStackTrace();
         }
     }
 }
-
-
Compound_job_name_addFileDeleteAction_body *body = ; // Input to add a file delete action.
+                            
+
Tid_addOutputFile_body *body = ; // Job characteristics.
 String *simid = simid_example; // ID of the simulation
-String *compoundJobName = compoundJobName_example; // Name of the compound job
+String *workflowName = workflowName_example; // 
+String *tid = tid_example; // ID of the task
 
 WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
 
-// Add a file delete action to compound job
-[apiInstance addFileDeleteActionWith:body
+// Add an output file to a task
+[apiInstance addOutputFileWith:body
     simid:simid
-    compoundJobName:compoundJobName
+    workflowName:workflowName
+    tid:tid
               completionHandler: ^(GenericResponse output, NSError* error) {
                             if (output) {
                                 NSLog(@"%@", output);
@@ -4265,13 +3911,14 @@ 

Usage and SDK Samples

-
+
var WrenchRestApi = require('wrench_rest_api');
 
 var api = new WrenchRestApi.WRENCHApi()
-var body = ; // {{Compound_job_name_addFileDeleteAction_body}} Input to add a file delete action.
+var body = ; // {{Tid_addOutputFile_body}} Job characteristics.
 var simid = simid_example; // {{String}} ID of the simulation
-var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
+var workflowName = workflowName_example; // {{String}} 
+var tid = tid_example; // {{String}} ID of the task
 
 var callback = function(error, data, response) {
   if (error) {
@@ -4280,14 +3927,14 @@ 

Usage and SDK Samples

console.log('API called successfully. Returned data: ' + data); } }; -api.addFileDeleteAction(bodysimidcompoundJobName, callback); +api.addOutputFile(bodysimidworkflowNametid, callback);
- -
+
using System;
 using System.Diagnostics;
 using IO.Swagger.Api;
@@ -4296,25 +3943,26 @@ 

Usage and SDK Samples

namespace Example { - public class addFileDeleteActionExample + public class addOutputFileExample { public void main() { var apiInstance = new WRENCHApi(); - var body = new Compound_job_name_addFileDeleteAction_body(); // Compound_job_name_addFileDeleteAction_body | Input to add a file delete action. + var body = new Tid_addOutputFile_body(); // Tid_addOutputFile_body | Job characteristics. var simid = simid_example; // String | ID of the simulation - var compoundJobName = compoundJobName_example; // String | Name of the compound job + var workflowName = workflowName_example; // String | + var tid = tid_example; // String | ID of the task try { - // Add a file delete action to compound job - GenericResponse result = apiInstance.addFileDeleteAction(body, simid, compoundJobName); + // Add an output file to a task + GenericResponse result = apiInstance.addOutputFile(body, simid, workflowName, tid); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.addFileDeleteAction: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.addOutputFile: " + e.Message ); } } } @@ -4322,44 +3970,46 @@

Usage and SDK Samples

-
+
<?php
 require_once(__DIR__ . '/vendor/autoload.php');
 
 $api_instance = new Swagger\Client\ApiWRENCHApi();
-$body = ; // Compound_job_name_addFileDeleteAction_body | Input to add a file delete action.
+$body = ; // Tid_addOutputFile_body | Job characteristics.
 $simid = simid_example; // String | ID of the simulation
-$compoundJobName = compoundJobName_example; // String | Name of the compound job
+$workflowName = workflowName_example; // String | 
+$tid = tid_example; // String | ID of the task
 
 try {
-    $result = $api_instance->addFileDeleteAction($body, $simid, $compoundJobName);
+    $result = $api_instance->addOutputFile($body, $simid, $workflowName, $tid);
     print_r($result);
 } catch (Exception $e) {
-    echo 'Exception when calling WRENCHApi->addFileDeleteAction: ', $e->getMessage(), PHP_EOL;
+    echo 'Exception when calling WRENCHApi->addOutputFile: ', $e->getMessage(), PHP_EOL;
 }
 ?>
-
+
use Data::Dumper;
 use WWW::SwaggerClient::Configuration;
 use WWW::SwaggerClient::WRENCHApi;
 
 my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
-my $body = WWW::SwaggerClient::Object::Compound_job_name_addFileDeleteAction_body->new(); # Compound_job_name_addFileDeleteAction_body | Input to add a file delete action.
+my $body = WWW::SwaggerClient::Object::Tid_addOutputFile_body->new(); # Tid_addOutputFile_body | Job characteristics.
 my $simid = simid_example; # String | ID of the simulation
-my $compoundJobName = compoundJobName_example; # String | Name of the compound job
+my $workflowName = workflowName_example; # String | 
+my $tid = tid_example; # String | ID of the task
 
 eval { 
-    my $result = $api_instance->addFileDeleteAction(body => $body, simid => $simid, compoundJobName => $compoundJobName);
+    my $result = $api_instance->addOutputFile(body => $body, simid => $simid, workflowName => $workflowName, tid => $tid);
     print Dumper($result);
 };
 if ($@) {
-    warn "Exception when calling WRENCHApi->addFileDeleteAction: $@\n";
+    warn "Exception when calling WRENCHApi->addOutputFile: $@\n";
 }
-
+
from __future__ import print_statement
 import time
 import swagger_client
@@ -4368,16 +4018,17 @@ 

Usage and SDK Samples

# create an instance of the API class api_instance = swagger_client.WRENCHApi() -body = # Compound_job_name_addFileDeleteAction_body | Input to add a file delete action. +body = # Tid_addOutputFile_body | Job characteristics. simid = simid_example # String | ID of the simulation -compoundJobName = compoundJobName_example # String | Name of the compound job +workflowName = workflowName_example # String | +tid = tid_example # String | ID of the task try: - # Add a file delete action to compound job - api_response = api_instance.add_file_delete_action(body, simid, compoundJobName) + # Add an output file to a task + api_response = api_instance.add_output_file(body, simid, workflowName, tid) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->addFileDeleteAction: %s\n" % e)
+ print("Exception when calling WRENCHApi->addOutputFile: %s\n" % e)
@@ -4393,7 +4044,7 @@

Parameters

-
+
@@ -4411,11 +4062,30 @@

Parameters

- compound_job_name* + workflow_name* + + + +
+
+
+ + String + + +
+
+ Required +
+
+
+ + + tid* -
+
@@ -4423,7 +4093,7 @@

Parameters

- Name of the compound job + ID of the task
@@ -4449,11 +4119,11 @@

Parameters

-
+
@@ -4488,14 +4158,14 @@

Status: 200 - OK

-
-
+
+
- +
-

Status: 404 - Job not found

+

Status: 404 - Task not found

@@ -4551,11 +4221,11 @@

Status: 405 - Invalid input


-
-
+
+
-

addFileReadAction

-

Add a file read action to compound job

+

addSimpleStorageService

+

Create and start a simple storage service.

@@ -4563,32 +4233,32 @@

addFileReadAction


-
/simulation/{simid}/compoundJobs/{compound_job_name}/addFileReadAction
+
/simulation/{simid}/addSimpleStorageService

Usage and SDK Samples

-
+
curl -X POST\
 -H "Accept: application/json"\
 -H "Content-Type: application/json"\
-"https://wrench-project.org/v1/simulation/{simid}/compoundJobs/{compound_job_name}/addFileReadAction"
+"https://wrench-project.org/v1/simulation/{simid}/addSimpleStorageService"
-
+
import io.swagger.client.*;
 import io.swagger.client.auth.*;
 import io.swagger.client.model.*;
@@ -4602,56 +4272,52 @@ 

Usage and SDK Samples

public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); - FileReadAction body = ; // FileReadAction | Input to add a file read action. + Simid_addSimpleStorageService_body body = ; // Simid_addSimpleStorageService_body | Input to start a new service. String simid = simid_example; // String | ID of the simulation - String compoundJobName = compoundJobName_example; // String | Name of the compound job try { - AddActionResponse result = apiInstance.addFileReadAction(body, simid, compoundJobName); + ServiceResponse result = apiInstance.addSimpleStorageService(body, simid); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#addFileReadAction"); + System.err.println("Exception when calling WRENCHApi#addSimpleStorageService"); e.printStackTrace(); } } }
-
+
import io.swagger.client.api.WRENCHApi;
 
 public class WRENCHApiExample {
 
     public static void main(String[] args) {
         WRENCHApi apiInstance = new WRENCHApi();
-        FileReadAction body = ; // FileReadAction | Input to add a file read action.
+        Simid_addSimpleStorageService_body body = ; // Simid_addSimpleStorageService_body | Input to start a new service.
         String simid = simid_example; // String | ID of the simulation
-        String compoundJobName = compoundJobName_example; // String | Name of the compound job
         try {
-            AddActionResponse result = apiInstance.addFileReadAction(body, simid, compoundJobName);
+            ServiceResponse result = apiInstance.addSimpleStorageService(body, simid);
             System.out.println(result);
         } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#addFileReadAction");
+            System.err.println("Exception when calling WRENCHApi#addSimpleStorageService");
             e.printStackTrace();
         }
     }
 }
-
-
FileReadAction *body = ; // Input to add a file read action.
+                            
+
Simid_addSimpleStorageService_body *body = ; // Input to start a new service.
 String *simid = simid_example; // ID of the simulation
-String *compoundJobName = compoundJobName_example; // Name of the compound job
 
 WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
 
-// Add a file read action to compound job
-[apiInstance addFileReadActionWith:body
+// Create and start a simple storage service.
+[apiInstance addSimpleStorageServiceWith:body
     simid:simid
-    compoundJobName:compoundJobName
-              completionHandler: ^(AddActionResponse output, NSError* error) {
+              completionHandler: ^(ServiceResponse output, NSError* error) {
                             if (output) {
                                 NSLog(@"%@", output);
                             }
@@ -4662,13 +4328,12 @@ 

Usage and SDK Samples

-
+
var WrenchRestApi = require('wrench_rest_api');
 
 var api = new WrenchRestApi.WRENCHApi()
-var body = ; // {{FileReadAction}} Input to add a file read action.
+var body = ; // {{Simid_addSimpleStorageService_body}} Input to start a new service.
 var simid = simid_example; // {{String}} ID of the simulation
-var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
 
 var callback = function(error, data, response) {
   if (error) {
@@ -4677,14 +4342,14 @@ 

Usage and SDK Samples

console.log('API called successfully. Returned data: ' + data); } }; -api.addFileReadAction(bodysimidcompoundJobName, callback); +api.addSimpleStorageService(bodysimid, callback);
- -
+
using System;
 using System.Diagnostics;
 using IO.Swagger.Api;
@@ -4693,25 +4358,24 @@ 

Usage and SDK Samples

namespace Example { - public class addFileReadActionExample + public class addSimpleStorageServiceExample { public void main() { var apiInstance = new WRENCHApi(); - var body = new FileReadAction(); // FileReadAction | Input to add a file read action. + var body = new Simid_addSimpleStorageService_body(); // Simid_addSimpleStorageService_body | Input to start a new service. var simid = simid_example; // String | ID of the simulation - var compoundJobName = compoundJobName_example; // String | Name of the compound job try { - // Add a file read action to compound job - AddActionResponse result = apiInstance.addFileReadAction(body, simid, compoundJobName); + // Create and start a simple storage service. + ServiceResponse result = apiInstance.addSimpleStorageService(body, simid); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.addFileReadAction: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.addSimpleStorageService: " + e.Message ); } } } @@ -4719,44 +4383,42 @@

Usage and SDK Samples

-
+
<?php
 require_once(__DIR__ . '/vendor/autoload.php');
 
 $api_instance = new Swagger\Client\ApiWRENCHApi();
-$body = ; // FileReadAction | Input to add a file read action.
+$body = ; // Simid_addSimpleStorageService_body | Input to start a new service.
 $simid = simid_example; // String | ID of the simulation
-$compoundJobName = compoundJobName_example; // String | Name of the compound job
 
 try {
-    $result = $api_instance->addFileReadAction($body, $simid, $compoundJobName);
+    $result = $api_instance->addSimpleStorageService($body, $simid);
     print_r($result);
 } catch (Exception $e) {
-    echo 'Exception when calling WRENCHApi->addFileReadAction: ', $e->getMessage(), PHP_EOL;
+    echo 'Exception when calling WRENCHApi->addSimpleStorageService: ', $e->getMessage(), PHP_EOL;
 }
 ?>
-
+
use Data::Dumper;
 use WWW::SwaggerClient::Configuration;
 use WWW::SwaggerClient::WRENCHApi;
 
 my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
-my $body = WWW::SwaggerClient::Object::FileReadAction->new(); # FileReadAction | Input to add a file read action.
+my $body = WWW::SwaggerClient::Object::Simid_addSimpleStorageService_body->new(); # Simid_addSimpleStorageService_body | Input to start a new service.
 my $simid = simid_example; # String | ID of the simulation
-my $compoundJobName = compoundJobName_example; # String | Name of the compound job
 
 eval { 
-    my $result = $api_instance->addFileReadAction(body => $body, simid => $simid, compoundJobName => $compoundJobName);
+    my $result = $api_instance->addSimpleStorageService(body => $body, simid => $simid);
     print Dumper($result);
 };
 if ($@) {
-    warn "Exception when calling WRENCHApi->addFileReadAction: $@\n";
+    warn "Exception when calling WRENCHApi->addSimpleStorageService: $@\n";
 }
-
+
from __future__ import print_statement
 import time
 import swagger_client
@@ -4765,16 +4427,15 @@ 

Usage and SDK Samples

# create an instance of the API class api_instance = swagger_client.WRENCHApi() -body = # FileReadAction | Input to add a file read action. +body = # Simid_addSimpleStorageService_body | Input to start a new service. simid = simid_example # String | ID of the simulation -compoundJobName = compoundJobName_example # String | Name of the compound job try: - # Add a file read action to compound job - api_response = api_instance.add_file_read_action(body, simid, compoundJobName) + # Create and start a simple storage service. + api_response = api_instance.add_simple_storage_service(body, simid) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->addFileReadAction: %s\n" % e)
+ print("Exception when calling WRENCHApi->addSimpleStorageService: %s\n" % e)
@@ -4790,7 +4451,7 @@

Parameters

-
+
@@ -4808,28 +4469,6 @@

Parameters

- compound_job_name* - - - -
-
-
- - String - - -
- Name of the compound job -
-
-
- Required -
-
-
- - @@ -4846,11 +4485,11 @@

Parameters

-
+
@@ -4885,14 +4524,14 @@

Status: 200 - OK

-
-
+
+
- +
-

Status: 404 - Compound job not found

- - - -
-
-

Status: 405 - Invalid input


-
-
+
+
-

addFileRegistryService

-

Create and start a file registry service.

+

advanceTime

+

Retrieve the current simulated time.

@@ -4960,32 +4591,32 @@

addFileRegistryService


-
/simulation/{simid}/addFileRegistryService
+
/simulation/{simid}/advanceTime

Usage and SDK Samples

-
-
curl -X POST\
+                          
+
curl -X PUT\
 -H "Accept: application/json"\
 -H "Content-Type: application/json"\
-"https://wrench-project.org/v1/simulation/{simid}/addFileRegistryService"
+"https://wrench-project.org/v1/simulation/{simid}/advanceTime"
-
+
import io.swagger.client.*;
 import io.swagger.client.auth.*;
 import io.swagger.client.model.*;
@@ -4999,52 +4630,52 @@ 

Usage and SDK Samples

public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); - Simid_addFileRegistryService_body body = ; // Simid_addFileRegistryService_body | Input to start a new service. + Simid_advanceTime_body body = ; // Simid_advanceTime_body | Input to start a new service. String simid = simid_example; // String | ID of the simulation try { - ServiceResponse result = apiInstance.addFileRegistryService(body, simid); + GenericResponse result = apiInstance.advanceTime(body, simid); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#addFileRegistryService"); + System.err.println("Exception when calling WRENCHApi#advanceTime"); e.printStackTrace(); } } }
-
+
import io.swagger.client.api.WRENCHApi;
 
 public class WRENCHApiExample {
 
     public static void main(String[] args) {
         WRENCHApi apiInstance = new WRENCHApi();
-        Simid_addFileRegistryService_body body = ; // Simid_addFileRegistryService_body | Input to start a new service.
+        Simid_advanceTime_body body = ; // Simid_advanceTime_body | Input to start a new service.
         String simid = simid_example; // String | ID of the simulation
         try {
-            ServiceResponse result = apiInstance.addFileRegistryService(body, simid);
+            GenericResponse result = apiInstance.advanceTime(body, simid);
             System.out.println(result);
         } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#addFileRegistryService");
+            System.err.println("Exception when calling WRENCHApi#advanceTime");
             e.printStackTrace();
         }
     }
 }
-
-
Simid_addFileRegistryService_body *body = ; // Input to start a new service.
+                            
+
Simid_advanceTime_body *body = ; // Input to start a new service.
 String *simid = simid_example; // ID of the simulation
 
 WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
 
-// Create and start a file registry service.
-[apiInstance addFileRegistryServiceWith:body
+// Retrieve the current simulated time.
+[apiInstance advanceTimeWith:body
     simid:simid
-              completionHandler: ^(ServiceResponse output, NSError* error) {
+              completionHandler: ^(GenericResponse output, NSError* error) {
                             if (output) {
                                 NSLog(@"%@", output);
                             }
@@ -5055,11 +4686,11 @@ 

Usage and SDK Samples

-
+
var WrenchRestApi = require('wrench_rest_api');
 
 var api = new WrenchRestApi.WRENCHApi()
-var body = ; // {{Simid_addFileRegistryService_body}} Input to start a new service.
+var body = ; // {{Simid_advanceTime_body}} Input to start a new service.
 var simid = simid_example; // {{String}} ID of the simulation
 
 var callback = function(error, data, response) {
@@ -5069,14 +4700,14 @@ 

Usage and SDK Samples

console.log('API called successfully. Returned data: ' + data); } }; -api.addFileRegistryService(bodysimid, callback); +api.advanceTime(bodysimid, callback);
- -
+
using System;
 using System.Diagnostics;
 using IO.Swagger.Api;
@@ -5085,24 +4716,24 @@ 

Usage and SDK Samples

namespace Example { - public class addFileRegistryServiceExample + public class advanceTimeExample { public void main() { var apiInstance = new WRENCHApi(); - var body = new Simid_addFileRegistryService_body(); // Simid_addFileRegistryService_body | Input to start a new service. + var body = new Simid_advanceTime_body(); // Simid_advanceTime_body | Input to start a new service. var simid = simid_example; // String | ID of the simulation try { - // Create and start a file registry service. - ServiceResponse result = apiInstance.addFileRegistryService(body, simid); + // Retrieve the current simulated time. + GenericResponse result = apiInstance.advanceTime(body, simid); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.addFileRegistryService: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.advanceTime: " + e.Message ); } } } @@ -5110,42 +4741,42 @@

Usage and SDK Samples

-
+
<?php
 require_once(__DIR__ . '/vendor/autoload.php');
 
 $api_instance = new Swagger\Client\ApiWRENCHApi();
-$body = ; // Simid_addFileRegistryService_body | Input to start a new service.
+$body = ; // Simid_advanceTime_body | Input to start a new service.
 $simid = simid_example; // String | ID of the simulation
 
 try {
-    $result = $api_instance->addFileRegistryService($body, $simid);
+    $result = $api_instance->advanceTime($body, $simid);
     print_r($result);
 } catch (Exception $e) {
-    echo 'Exception when calling WRENCHApi->addFileRegistryService: ', $e->getMessage(), PHP_EOL;
+    echo 'Exception when calling WRENCHApi->advanceTime: ', $e->getMessage(), PHP_EOL;
 }
 ?>
-
+
use Data::Dumper;
 use WWW::SwaggerClient::Configuration;
 use WWW::SwaggerClient::WRENCHApi;
 
 my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
-my $body = WWW::SwaggerClient::Object::Simid_addFileRegistryService_body->new(); # Simid_addFileRegistryService_body | Input to start a new service.
+my $body = WWW::SwaggerClient::Object::Simid_advanceTime_body->new(); # Simid_advanceTime_body | Input to start a new service.
 my $simid = simid_example; # String | ID of the simulation
 
 eval { 
-    my $result = $api_instance->addFileRegistryService(body => $body, simid => $simid);
+    my $result = $api_instance->advanceTime(body => $body, simid => $simid);
     print Dumper($result);
 };
 if ($@) {
-    warn "Exception when calling WRENCHApi->addFileRegistryService: $@\n";
+    warn "Exception when calling WRENCHApi->advanceTime: $@\n";
 }
-
+
from __future__ import print_statement
 import time
 import swagger_client
@@ -5154,15 +4785,15 @@ 

Usage and SDK Samples

# create an instance of the API class api_instance = swagger_client.WRENCHApi() -body = # Simid_addFileRegistryService_body | Input to start a new service. +body = # Simid_advanceTime_body | Input to start a new service. simid = simid_example # String | ID of the simulation try: - # Create and start a file registry service. - api_response = api_instance.add_file_registry_service(body, simid) + # Retrieve the current simulated time. + api_response = api_instance.advance_time(body, simid) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->addFileRegistryService: %s\n" % e)
+ print("Exception when calling WRENCHApi->advanceTime: %s\n" % e)
@@ -5178,7 +4809,7 @@

Parameters

-
+
@@ -5216,7 +4847,7 @@

Parameters

"content" : { "application/json" : { "schema" : { - "$ref" : "#/components/schemas/simid_addFileRegistryService_body" + "$ref" : "#/components/schemas/simid_advanceTime_body" } } }, @@ -5234,12 +4865,12 @@

Parameters

} var view = new JSONSchemaView(schema,2,{isBodyParam: true}); - var result = $('#d2e199_addFileRegistryService_body'); + var result = $('#d2e199_advanceTime_body'); result.empty(); result.append(view.render()); }); -
+
@@ -5251,14 +4882,14 @@

Status: 200 - OK

-
-
+
+
- +
@@ -5306,11 +4937,11 @@

Status: 405 - Invalid input


-
-
+
+
-

addFileWriteAction

-

Add a file write action to compound job.

+

createFileCopyAtStorageService

+

Create, ex nihilo, a copy of a file copy at a storage service.

@@ -5318,32 +4949,32 @@

addFileWriteAction


-
/simulation/{simid}/compoundJobs/{compound_job_name}/addFileWriteAction
+
/simulation/{simid}/storage_services/{service_name}/createFileCopy

Usage and SDK Samples

-
+
curl -X POST\
 -H "Accept: application/json"\
 -H "Content-Type: application/json"\
-"https://wrench-project.org/v1/simulation/{simid}/compoundJobs/{compound_job_name}/addFileWriteAction"
+"https://wrench-project.org/v1/simulation/{simid}/storage_services/{service_name}/createFileCopy"
-
+
import io.swagger.client.*;
 import io.swagger.client.auth.*;
 import io.swagger.client.model.*;
@@ -5357,55 +4988,55 @@ 

Usage and SDK Samples

public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); - Compound_job_name_addFileWriteAction_body body = ; // Compound_job_name_addFileWriteAction_body | Input to add a file write action. + Service_name_createFileCopy_body body = ; // Service_name_createFileCopy_body | Input to start a new service. String simid = simid_example; // String | ID of the simulation - String compoundJobName = compoundJobName_example; // String | Name of the compound job + String serviceName = serviceName_example; // String | The storage service name try { - GenericResponse result = apiInstance.addFileWriteAction(body, simid, compoundJobName); + GenericResponse result = apiInstance.createFileCopyAtStorageService(body, simid, serviceName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#addFileWriteAction"); + System.err.println("Exception when calling WRENCHApi#createFileCopyAtStorageService"); e.printStackTrace(); } } }
-
+
import io.swagger.client.api.WRENCHApi;
 
 public class WRENCHApiExample {
 
     public static void main(String[] args) {
         WRENCHApi apiInstance = new WRENCHApi();
-        Compound_job_name_addFileWriteAction_body body = ; // Compound_job_name_addFileWriteAction_body | Input to add a file write action.
+        Service_name_createFileCopy_body body = ; // Service_name_createFileCopy_body | Input to start a new service.
         String simid = simid_example; // String | ID of the simulation
-        String compoundJobName = compoundJobName_example; // String | Name of the compound job
+        String serviceName = serviceName_example; // String | The storage service name
         try {
-            GenericResponse result = apiInstance.addFileWriteAction(body, simid, compoundJobName);
+            GenericResponse result = apiInstance.createFileCopyAtStorageService(body, simid, serviceName);
             System.out.println(result);
         } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#addFileWriteAction");
+            System.err.println("Exception when calling WRENCHApi#createFileCopyAtStorageService");
             e.printStackTrace();
         }
     }
 }
-
-
Compound_job_name_addFileWriteAction_body *body = ; // Input to add a file write action.
+                            
+
Service_name_createFileCopy_body *body = ; // Input to start a new service.
 String *simid = simid_example; // ID of the simulation
-String *compoundJobName = compoundJobName_example; // Name of the compound job
+String *serviceName = serviceName_example; // The storage service name
 
 WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
 
-// Add a file write action to compound job.
-[apiInstance addFileWriteActionWith:body
+// Create, ex nihilo, a copy of a file copy at a storage service.
+[apiInstance createFileCopyAtStorageServiceWith:body
     simid:simid
-    compoundJobName:compoundJobName
+    serviceName:serviceName
               completionHandler: ^(GenericResponse output, NSError* error) {
                             if (output) {
                                 NSLog(@"%@", output);
@@ -5417,13 +5048,13 @@ 

Usage and SDK Samples

-
+
var WrenchRestApi = require('wrench_rest_api');
 
 var api = new WrenchRestApi.WRENCHApi()
-var body = ; // {{Compound_job_name_addFileWriteAction_body}} Input to add a file write action.
+var body = ; // {{Service_name_createFileCopy_body}} Input to start a new service.
 var simid = simid_example; // {{String}} ID of the simulation
-var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
+var serviceName = serviceName_example; // {{String}} The storage service name
 
 var callback = function(error, data, response) {
   if (error) {
@@ -5432,14 +5063,14 @@ 

Usage and SDK Samples

console.log('API called successfully. Returned data: ' + data); } }; -api.addFileWriteAction(bodysimidcompoundJobName, callback); +api.createFileCopyAtStorageService(bodysimidserviceName, callback);
- -
+
using System;
 using System.Diagnostics;
 using IO.Swagger.Api;
@@ -5448,25 +5079,25 @@ 

Usage and SDK Samples

namespace Example { - public class addFileWriteActionExample + public class createFileCopyAtStorageServiceExample { public void main() { var apiInstance = new WRENCHApi(); - var body = new Compound_job_name_addFileWriteAction_body(); // Compound_job_name_addFileWriteAction_body | Input to add a file write action. + var body = new Service_name_createFileCopy_body(); // Service_name_createFileCopy_body | Input to start a new service. var simid = simid_example; // String | ID of the simulation - var compoundJobName = compoundJobName_example; // String | Name of the compound job + var serviceName = serviceName_example; // String | The storage service name try { - // Add a file write action to compound job. - GenericResponse result = apiInstance.addFileWriteAction(body, simid, compoundJobName); + // Create, ex nihilo, a copy of a file copy at a storage service. + GenericResponse result = apiInstance.createFileCopyAtStorageService(body, simid, serviceName); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.addFileWriteAction: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.createFileCopyAtStorageService: " + e.Message ); } } } @@ -5474,44 +5105,44 @@

Usage and SDK Samples

-
+
<?php
 require_once(__DIR__ . '/vendor/autoload.php');
 
 $api_instance = new Swagger\Client\ApiWRENCHApi();
-$body = ; // Compound_job_name_addFileWriteAction_body | Input to add a file write action.
+$body = ; // Service_name_createFileCopy_body | Input to start a new service.
 $simid = simid_example; // String | ID of the simulation
-$compoundJobName = compoundJobName_example; // String | Name of the compound job
+$serviceName = serviceName_example; // String | The storage service name
 
 try {
-    $result = $api_instance->addFileWriteAction($body, $simid, $compoundJobName);
+    $result = $api_instance->createFileCopyAtStorageService($body, $simid, $serviceName);
     print_r($result);
 } catch (Exception $e) {
-    echo 'Exception when calling WRENCHApi->addFileWriteAction: ', $e->getMessage(), PHP_EOL;
+    echo 'Exception when calling WRENCHApi->createFileCopyAtStorageService: ', $e->getMessage(), PHP_EOL;
 }
 ?>
-
+
use Data::Dumper;
 use WWW::SwaggerClient::Configuration;
 use WWW::SwaggerClient::WRENCHApi;
 
 my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
-my $body = WWW::SwaggerClient::Object::Compound_job_name_addFileWriteAction_body->new(); # Compound_job_name_addFileWriteAction_body | Input to add a file write action.
+my $body = WWW::SwaggerClient::Object::Service_name_createFileCopy_body->new(); # Service_name_createFileCopy_body | Input to start a new service.
 my $simid = simid_example; # String | ID of the simulation
-my $compoundJobName = compoundJobName_example; # String | Name of the compound job
+my $serviceName = serviceName_example; # String | The storage service name
 
 eval { 
-    my $result = $api_instance->addFileWriteAction(body => $body, simid => $simid, compoundJobName => $compoundJobName);
+    my $result = $api_instance->createFileCopyAtStorageService(body => $body, simid => $simid, serviceName => $serviceName);
     print Dumper($result);
 };
 if ($@) {
-    warn "Exception when calling WRENCHApi->addFileWriteAction: $@\n";
+    warn "Exception when calling WRENCHApi->createFileCopyAtStorageService: $@\n";
 }
-
+
from __future__ import print_statement
 import time
 import swagger_client
@@ -5520,16 +5151,16 @@ 

Usage and SDK Samples

# create an instance of the API class api_instance = swagger_client.WRENCHApi() -body = # Compound_job_name_addFileWriteAction_body | Input to add a file write action. +body = # Service_name_createFileCopy_body | Input to start a new service. simid = simid_example # String | ID of the simulation -compoundJobName = compoundJobName_example # String | Name of the compound job +serviceName = serviceName_example # String | The storage service name try: - # Add a file write action to compound job. - api_response = api_instance.add_file_write_action(body, simid, compoundJobName) + # Create, ex nihilo, a copy of a file copy at a storage service. + api_response = api_instance.create_file_copy_at_storage_service(body, simid, serviceName) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->addFileWriteAction: %s\n" % e)
+ print("Exception when calling WRENCHApi->createFileCopyAtStorageService: %s\n" % e)
@@ -5545,7 +5176,7 @@

Parameters

-
+
@@ -5563,11 +5194,11 @@

Parameters

- compound_job_name* + service_name* -
+
@@ -5575,7 +5206,7 @@

Parameters

- Name of the compound job + The storage service name
@@ -5601,11 +5232,11 @@

Parameters

-
+
@@ -5640,14 +5271,14 @@

Status: 200 - OK

-
-
+
+
- +
-

Status: 404 - Job not found

+

Status: 404 - Simulation or storage service not found

@@ -5703,11 +5334,11 @@

Status: 405 - Invalid input


-
-
+
+
-

addInputFile

-

Add an input file to a task

+

createStandardJob

+

Create a new standard job.

@@ -5715,32 +5346,32 @@

addInputFile


-
/simulation/{simid}/workflows/{workflow_name}/tasks/{tid}/addInputFile
+
/simulation/{simid}/workflows/{workflow_name}/createStandardJob

Usage and SDK Samples

-
+
curl -X PUT\
 -H "Accept: application/json"\
 -H "Content-Type: application/json"\
-"https://wrench-project.org/v1/simulation/{simid}/workflows/{workflow_name}/tasks/{tid}/addInputFile"
+"https://wrench-project.org/v1/simulation/{simid}/workflows/{workflow_name}/createStandardJob"
-
+
import io.swagger.client.*;
 import io.swagger.client.auth.*;
 import io.swagger.client.model.*;
@@ -5754,60 +5385,56 @@ 

Usage and SDK Samples

public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); - Tid_addInputFile_body body = ; // Tid_addInputFile_body | Input file. + StandardJob body = ; // StandardJob | Job specification. String simid = simid_example; // String | ID of the simulation String workflowName = workflowName_example; // String | - String tid = tid_example; // String | ID of the task try { - GenericResponse result = apiInstance.addInputFile(body, simid, workflowName, tid); + JobResponse result = apiInstance.createStandardJob(body, simid, workflowName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#addInputFile"); + System.err.println("Exception when calling WRENCHApi#createStandardJob"); e.printStackTrace(); } } }
-
+
import io.swagger.client.api.WRENCHApi;
 
 public class WRENCHApiExample {
 
     public static void main(String[] args) {
         WRENCHApi apiInstance = new WRENCHApi();
-        Tid_addInputFile_body body = ; // Tid_addInputFile_body | Input file.
+        StandardJob body = ; // StandardJob | Job specification.
         String simid = simid_example; // String | ID of the simulation
         String workflowName = workflowName_example; // String | 
-        String tid = tid_example; // String | ID of the task
         try {
-            GenericResponse result = apiInstance.addInputFile(body, simid, workflowName, tid);
+            JobResponse result = apiInstance.createStandardJob(body, simid, workflowName);
             System.out.println(result);
         } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#addInputFile");
+            System.err.println("Exception when calling WRENCHApi#createStandardJob");
             e.printStackTrace();
         }
     }
 }
-
-
Tid_addInputFile_body *body = ; // Input file.
+                            
+
StandardJob *body = ; // Job specification.
 String *simid = simid_example; // ID of the simulation
 String *workflowName = workflowName_example; // 
-String *tid = tid_example; // ID of the task
 
 WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
 
-// Add an input file to a task
-[apiInstance addInputFileWith:body
+// Create a new standard job.
+[apiInstance createStandardJobWith:body
     simid:simid
     workflowName:workflowName
-    tid:tid
-              completionHandler: ^(GenericResponse output, NSError* error) {
+              completionHandler: ^(JobResponse output, NSError* error) {
                             if (output) {
                                 NSLog(@"%@", output);
                             }
@@ -5818,14 +5445,13 @@ 

Usage and SDK Samples

-
+
var WrenchRestApi = require('wrench_rest_api');
 
 var api = new WrenchRestApi.WRENCHApi()
-var body = ; // {{Tid_addInputFile_body}} Input file.
+var body = ; // {{StandardJob}} Job specification.
 var simid = simid_example; // {{String}} ID of the simulation
 var workflowName = workflowName_example; // {{String}} 
-var tid = tid_example; // {{String}} ID of the task
 
 var callback = function(error, data, response) {
   if (error) {
@@ -5834,14 +5460,14 @@ 

Usage and SDK Samples

console.log('API called successfully. Returned data: ' + data); } }; -api.addInputFile(bodysimidworkflowNametid, callback); +api.createStandardJob(bodysimidworkflowName, callback);
- -
+
using System;
 using System.Diagnostics;
 using IO.Swagger.Api;
@@ -5850,26 +5476,25 @@ 

Usage and SDK Samples

namespace Example { - public class addInputFileExample + public class createStandardJobExample { public void main() { var apiInstance = new WRENCHApi(); - var body = new Tid_addInputFile_body(); // Tid_addInputFile_body | Input file. + var body = new StandardJob(); // StandardJob | Job specification. var simid = simid_example; // String | ID of the simulation var workflowName = workflowName_example; // String | - var tid = tid_example; // String | ID of the task try { - // Add an input file to a task - GenericResponse result = apiInstance.addInputFile(body, simid, workflowName, tid); + // Create a new standard job. + JobResponse result = apiInstance.createStandardJob(body, simid, workflowName); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.addInputFile: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.createStandardJob: " + e.Message ); } } } @@ -5877,46 +5502,44 @@

Usage and SDK Samples

-
+
<?php
 require_once(__DIR__ . '/vendor/autoload.php');
 
 $api_instance = new Swagger\Client\ApiWRENCHApi();
-$body = ; // Tid_addInputFile_body | Input file.
+$body = ; // StandardJob | Job specification.
 $simid = simid_example; // String | ID of the simulation
 $workflowName = workflowName_example; // String | 
-$tid = tid_example; // String | ID of the task
 
 try {
-    $result = $api_instance->addInputFile($body, $simid, $workflowName, $tid);
+    $result = $api_instance->createStandardJob($body, $simid, $workflowName);
     print_r($result);
 } catch (Exception $e) {
-    echo 'Exception when calling WRENCHApi->addInputFile: ', $e->getMessage(), PHP_EOL;
+    echo 'Exception when calling WRENCHApi->createStandardJob: ', $e->getMessage(), PHP_EOL;
 }
 ?>
-
+
use Data::Dumper;
 use WWW::SwaggerClient::Configuration;
 use WWW::SwaggerClient::WRENCHApi;
 
 my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
-my $body = WWW::SwaggerClient::Object::Tid_addInputFile_body->new(); # Tid_addInputFile_body | Input file.
+my $body = WWW::SwaggerClient::Object::StandardJob->new(); # StandardJob | Job specification.
 my $simid = simid_example; # String | ID of the simulation
 my $workflowName = workflowName_example; # String | 
-my $tid = tid_example; # String | ID of the task
 
 eval { 
-    my $result = $api_instance->addInputFile(body => $body, simid => $simid, workflowName => $workflowName, tid => $tid);
+    my $result = $api_instance->createStandardJob(body => $body, simid => $simid, workflowName => $workflowName);
     print Dumper($result);
 };
 if ($@) {
-    warn "Exception when calling WRENCHApi->addInputFile: $@\n";
+    warn "Exception when calling WRENCHApi->createStandardJob: $@\n";
 }
-
+
from __future__ import print_statement
 import time
 import swagger_client
@@ -5925,17 +5548,16 @@ 

Usage and SDK Samples

# create an instance of the API class api_instance = swagger_client.WRENCHApi() -body = # Tid_addInputFile_body | Input file. +body = # StandardJob | Job specification. simid = simid_example # String | ID of the simulation workflowName = workflowName_example # String | -tid = tid_example # String | ID of the task try: - # Add an input file to a task - api_response = api_instance.add_input_file(body, simid, workflowName, tid) + # Create a new standard job. + api_response = api_instance.create_standard_job(body, simid, workflowName) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->addInputFile: %s\n" % e)
+ print("Exception when calling WRENCHApi->createStandardJob: %s\n" % e)
@@ -5951,7 +5573,7 @@

Parameters

-
+
@@ -5973,35 +5595,13 @@

Parameters

-
-
-
- - String - - -
-
- Required -
-
-
- - - tid* - - - -
+
String -
- ID of the task -
Required @@ -6026,11 +5626,11 @@

Parameters

-
+
@@ -6065,14 +5665,14 @@

Status: 200 - OK

-
-
+
+
- +
-

Status: 404 - Task not found

- - - -
-
-

Status: 405 - Invalid input


-
-
+
+
-

addOutputFile

-

Add an output file to a task

+

createTask

+

Create a new task.

@@ -6140,32 +5732,32 @@

addOutputFile


-
/simulation/{simid}/workflows/{workflow_name}/tasks/{tid}/addOutputFile
+
/simulation/{simid}/workflows/{workflow_name}/createTask

Usage and SDK Samples

-
+
curl -X PUT\
 -H "Accept: application/json"\
 -H "Content-Type: application/json"\
-"https://wrench-project.org/v1/simulation/{simid}/workflows/{workflow_name}/tasks/{tid}/addOutputFile"
+"https://wrench-project.org/v1/simulation/{simid}/workflows/{workflow_name}/createTask"
-
+
import io.swagger.client.*;
 import io.swagger.client.auth.*;
 import io.swagger.client.model.*;
@@ -6179,59 +5771,55 @@ 

Usage and SDK Samples

public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); - Tid_addOutputFile_body body = ; // Tid_addOutputFile_body | Job characteristics. + Task body = ; // Task | Task characteristics. String simid = simid_example; // String | ID of the simulation String workflowName = workflowName_example; // String | - String tid = tid_example; // String | ID of the task try { - GenericResponse result = apiInstance.addOutputFile(body, simid, workflowName, tid); + GenericResponse result = apiInstance.createTask(body, simid, workflowName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#addOutputFile"); + System.err.println("Exception when calling WRENCHApi#createTask"); e.printStackTrace(); } } }
-
+
import io.swagger.client.api.WRENCHApi;
 
 public class WRENCHApiExample {
 
     public static void main(String[] args) {
         WRENCHApi apiInstance = new WRENCHApi();
-        Tid_addOutputFile_body body = ; // Tid_addOutputFile_body | Job characteristics.
+        Task body = ; // Task | Task characteristics.
         String simid = simid_example; // String | ID of the simulation
         String workflowName = workflowName_example; // String | 
-        String tid = tid_example; // String | ID of the task
         try {
-            GenericResponse result = apiInstance.addOutputFile(body, simid, workflowName, tid);
+            GenericResponse result = apiInstance.createTask(body, simid, workflowName);
             System.out.println(result);
         } catch (ApiException e) {
-            System.err.println("Exception when calling WRENCHApi#addOutputFile");
+            System.err.println("Exception when calling WRENCHApi#createTask");
             e.printStackTrace();
         }
     }
 }
-
-
Tid_addOutputFile_body *body = ; // Job characteristics.
+                            
+
Task *body = ; // Task characteristics.
 String *simid = simid_example; // ID of the simulation
 String *workflowName = workflowName_example; // 
-String *tid = tid_example; // ID of the task
 
 WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
 
-// Add an output file to a task
-[apiInstance addOutputFileWith:body
+// Create a new task.
+[apiInstance createTaskWith:body
     simid:simid
     workflowName:workflowName
-    tid:tid
               completionHandler: ^(GenericResponse output, NSError* error) {
                             if (output) {
                                 NSLog(@"%@", output);
@@ -6243,14 +5831,13 @@ 

Usage and SDK Samples

-
+
var WrenchRestApi = require('wrench_rest_api');
 
 var api = new WrenchRestApi.WRENCHApi()
-var body = ; // {{Tid_addOutputFile_body}} Job characteristics.
+var body = ; // {{Task}} Task characteristics.
 var simid = simid_example; // {{String}} ID of the simulation
 var workflowName = workflowName_example; // {{String}} 
-var tid = tid_example; // {{String}} ID of the task
 
 var callback = function(error, data, response) {
   if (error) {
@@ -6259,14 +5846,14 @@ 

Usage and SDK Samples

console.log('API called successfully. Returned data: ' + data); } }; -api.addOutputFile(bodysimidworkflowNametid, callback); +api.createTask(bodysimidworkflowName, callback);
- -
+
using System;
 using System.Diagnostics;
 using IO.Swagger.Api;
@@ -6275,26 +5862,25 @@ 

Usage and SDK Samples

namespace Example { - public class addOutputFileExample + public class createTaskExample { public void main() { var apiInstance = new WRENCHApi(); - var body = new Tid_addOutputFile_body(); // Tid_addOutputFile_body | Job characteristics. + var body = new Task(); // Task | Task characteristics. var simid = simid_example; // String | ID of the simulation var workflowName = workflowName_example; // String | - var tid = tid_example; // String | ID of the task try { - // Add an output file to a task - GenericResponse result = apiInstance.addOutputFile(body, simid, workflowName, tid); + // Create a new task. + GenericResponse result = apiInstance.createTask(body, simid, workflowName); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.addOutputFile: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.createTask: " + e.Message ); } } } @@ -6302,46 +5888,44 @@

Usage and SDK Samples

-
+
<?php
 require_once(__DIR__ . '/vendor/autoload.php');
 
 $api_instance = new Swagger\Client\ApiWRENCHApi();
-$body = ; // Tid_addOutputFile_body | Job characteristics.
+$body = ; // Task | Task characteristics.
 $simid = simid_example; // String | ID of the simulation
 $workflowName = workflowName_example; // String | 
-$tid = tid_example; // String | ID of the task
 
 try {
-    $result = $api_instance->addOutputFile($body, $simid, $workflowName, $tid);
+    $result = $api_instance->createTask($body, $simid, $workflowName);
     print_r($result);
 } catch (Exception $e) {
-    echo 'Exception when calling WRENCHApi->addOutputFile: ', $e->getMessage(), PHP_EOL;
+    echo 'Exception when calling WRENCHApi->createTask: ', $e->getMessage(), PHP_EOL;
 }
 ?>
-
+
use Data::Dumper;
 use WWW::SwaggerClient::Configuration;
 use WWW::SwaggerClient::WRENCHApi;
 
 my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
-my $body = WWW::SwaggerClient::Object::Tid_addOutputFile_body->new(); # Tid_addOutputFile_body | Job characteristics.
+my $body = WWW::SwaggerClient::Object::Task->new(); # Task | Task characteristics.
 my $simid = simid_example; # String | ID of the simulation
 my $workflowName = workflowName_example; # String | 
-my $tid = tid_example; # String | ID of the task
 
 eval { 
-    my $result = $api_instance->addOutputFile(body => $body, simid => $simid, workflowName => $workflowName, tid => $tid);
+    my $result = $api_instance->createTask(body => $body, simid => $simid, workflowName => $workflowName);
     print Dumper($result);
 };
 if ($@) {
-    warn "Exception when calling WRENCHApi->addOutputFile: $@\n";
+    warn "Exception when calling WRENCHApi->createTask: $@\n";
 }
-
+
from __future__ import print_statement
 import time
 import swagger_client
@@ -6350,17 +5934,16 @@ 

Usage and SDK Samples

# create an instance of the API class api_instance = swagger_client.WRENCHApi() -body = # Tid_addOutputFile_body | Job characteristics. +body = # Task | Task characteristics. simid = simid_example # String | ID of the simulation workflowName = workflowName_example # String | -tid = tid_example # String | ID of the task try: - # Add an output file to a task - api_response = api_instance.add_output_file(body, simid, workflowName, tid) + # Create a new task. + api_response = api_instance.create_task(body, simid, workflowName) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->addOutputFile: %s\n" % e)
+ print("Exception when calling WRENCHApi->createTask: %s\n" % e)
@@ -6376,7 +5959,7 @@

Parameters

-
+
@@ -6398,35 +5981,13 @@

Parameters

-
-
-
- - String - - -
-
- Required -
-
-
- - - tid* - - - -
+
String -
- ID of the task -
Required @@ -6451,11 +6012,11 @@

Parameters

-
+
@@ -6490,14 +6051,14 @@

Status: 200 - OK

-
-
+
+
- +
-

Status: 404 - Task not found

- - - -
-
-

Status: 405 - Invalid input


-
-
+
+
-

addParentJob

-

Add parent compound job to compound job

+

createVM

+

Create a VM on a cloud compute service.

@@ -6565,32 +6118,32 @@

addParentJob


-
/simulation/{simid}/compoundJobs/{compound_job_name}/addParentJob
+
/simulation/{simid}/cloud_compute_services/{service_name}/createVM

Usage and SDK Samples

- -
-
-
curl -X POST\
+                          
  • Curl
  • +
  • Java
  • +
  • Android
  • + +
  • Obj-C
  • +
  • JavaScript
  • + +
  • C#
  • +
  • PHP
  • +
  • Perl
  • +
  • Python
  • + + +
    +
    +
    curl -X POST\
     -H "Accept: application/json"\
     -H "Content-Type: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/compoundJobs/{compound_job_name}/addParentJob"
    +"https://wrench-project.org/v1/simulation/{simid}/cloud_compute_services/{service_name}/createVM"
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    @@ -6604,56 +6157,56 @@ 

    Usage and SDK Samples

    public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); - Compound_job_name_addParentJob_body body = ; // Compound_job_name_addParentJob_body | Input to add a parent compound job. + Service_name_createVM_body body = ; // Service_name_createVM_body | Input to start create a VM. String simid = simid_example; // String | ID of the simulation - String compoundJobName = compoundJobName_example; // String | Name of the compound job + String serviceName = serviceName_example; // String | The cloud compute service name try { - GenericResponse result = apiInstance.addParentJob(body, simid, compoundJobName); + VMCreationResponse result = apiInstance.createVM(body, simid, serviceName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#addParentJob"); + System.err.println("Exception when calling WRENCHApi#createVM"); e.printStackTrace(); } } }
    -
    +
    import io.swagger.client.api.WRENCHApi;
     
     public class WRENCHApiExample {
     
         public static void main(String[] args) {
             WRENCHApi apiInstance = new WRENCHApi();
    -        Compound_job_name_addParentJob_body body = ; // Compound_job_name_addParentJob_body | Input to add a parent compound job.
    +        Service_name_createVM_body body = ; // Service_name_createVM_body | Input to start create a VM.
             String simid = simid_example; // String | ID of the simulation
    -        String compoundJobName = compoundJobName_example; // String | Name of the compound job
    +        String serviceName = serviceName_example; // String | The cloud compute service name
             try {
    -            GenericResponse result = apiInstance.addParentJob(body, simid, compoundJobName);
    +            VMCreationResponse result = apiInstance.createVM(body, simid, serviceName);
                 System.out.println(result);
             } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#addParentJob");
    +            System.err.println("Exception when calling WRENCHApi#createVM");
                 e.printStackTrace();
             }
         }
     }
    -
    -
    Compound_job_name_addParentJob_body *body = ; // Input to add a parent compound job.
    +                            
    +
    Service_name_createVM_body *body = ; // Input to start create a VM.
     String *simid = simid_example; // ID of the simulation
    -String *compoundJobName = compoundJobName_example; // Name of the compound job
    +String *serviceName = serviceName_example; // The cloud compute service name
     
     WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
     
    -// Add parent compound job to compound job
    -[apiInstance addParentJobWith:body
    +// Create a VM on a cloud compute service.
    +[apiInstance createVMWith:body
         simid:simid
    -    compoundJobName:compoundJobName
    -              completionHandler: ^(GenericResponse output, NSError* error) {
    +    serviceName:serviceName
    +              completionHandler: ^(VMCreationResponse output, NSError* error) {
                                 if (output) {
                                     NSLog(@"%@", output);
                                 }
    @@ -6664,13 +6217,13 @@ 

    Usage and SDK Samples

    -
    +
    var WrenchRestApi = require('wrench_rest_api');
     
     var api = new WrenchRestApi.WRENCHApi()
    -var body = ; // {{Compound_job_name_addParentJob_body}} Input to add a parent compound job.
    +var body = ; // {{Service_name_createVM_body}} Input to start create a VM.
     var simid = simid_example; // {{String}} ID of the simulation
    -var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
    +var serviceName = serviceName_example; // {{String}} The cloud compute service name
     
     var callback = function(error, data, response) {
       if (error) {
    @@ -6679,14 +6232,14 @@ 

    Usage and SDK Samples

    console.log('API called successfully. Returned data: ' + data); } }; -api.addParentJob(bodysimidcompoundJobName, callback); +api.createVM(bodysimidserviceName, callback);
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -6695,25 +6248,25 @@ 

    Usage and SDK Samples

    namespace Example { - public class addParentJobExample + public class createVMExample { public void main() { var apiInstance = new WRENCHApi(); - var body = new Compound_job_name_addParentJob_body(); // Compound_job_name_addParentJob_body | Input to add a parent compound job. + var body = new Service_name_createVM_body(); // Service_name_createVM_body | Input to start create a VM. var simid = simid_example; // String | ID of the simulation - var compoundJobName = compoundJobName_example; // String | Name of the compound job + var serviceName = serviceName_example; // String | The cloud compute service name try { - // Add parent compound job to compound job - GenericResponse result = apiInstance.addParentJob(body, simid, compoundJobName); + // Create a VM on a cloud compute service. + VMCreationResponse result = apiInstance.createVM(body, simid, serviceName); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.addParentJob: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.createVM: " + e.Message ); } } } @@ -6721,44 +6274,44 @@

    Usage and SDK Samples

    -
    +
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
     
     $api_instance = new Swagger\Client\ApiWRENCHApi();
    -$body = ; // Compound_job_name_addParentJob_body | Input to add a parent compound job.
    +$body = ; // Service_name_createVM_body | Input to start create a VM.
     $simid = simid_example; // String | ID of the simulation
    -$compoundJobName = compoundJobName_example; // String | Name of the compound job
    +$serviceName = serviceName_example; // String | The cloud compute service name
     
     try {
    -    $result = $api_instance->addParentJob($body, $simid, $compoundJobName);
    +    $result = $api_instance->createVM($body, $simid, $serviceName);
         print_r($result);
     } catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->addParentJob: ', $e->getMessage(), PHP_EOL;
    +    echo 'Exception when calling WRENCHApi->createVM: ', $e->getMessage(), PHP_EOL;
     }
     ?>
    -
    +
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
     use WWW::SwaggerClient::WRENCHApi;
     
     my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $body = WWW::SwaggerClient::Object::Compound_job_name_addParentJob_body->new(); # Compound_job_name_addParentJob_body | Input to add a parent compound job.
    +my $body = WWW::SwaggerClient::Object::Service_name_createVM_body->new(); # Service_name_createVM_body | Input to start create a VM.
     my $simid = simid_example; # String | ID of the simulation
    -my $compoundJobName = compoundJobName_example; # String | Name of the compound job
    +my $serviceName = serviceName_example; # String | The cloud compute service name
     
     eval { 
    -    my $result = $api_instance->addParentJob(body => $body, simid => $simid, compoundJobName => $compoundJobName);
    +    my $result = $api_instance->createVM(body => $body, simid => $simid, serviceName => $serviceName);
         print Dumper($result);
     };
     if ($@) {
    -    warn "Exception when calling WRENCHApi->addParentJob: $@\n";
    +    warn "Exception when calling WRENCHApi->createVM: $@\n";
     }
    -
    +
    from __future__ import print_statement
     import time
     import swagger_client
    @@ -6767,16 +6320,16 @@ 

    Usage and SDK Samples

    # create an instance of the API class api_instance = swagger_client.WRENCHApi() -body = # Compound_job_name_addParentJob_body | Input to add a parent compound job. +body = # Service_name_createVM_body | Input to start create a VM. simid = simid_example # String | ID of the simulation -compoundJobName = compoundJobName_example # String | Name of the compound job +serviceName = serviceName_example # String | The cloud compute service name try: - # Add parent compound job to compound job - api_response = api_instance.add_parent_job(body, simid, compoundJobName) + # Create a VM on a cloud compute service. + api_response = api_instance.create_vm(body, simid, serviceName) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->addParentJob: %s\n" % e)
    + print("Exception when calling WRENCHApi->createVM: %s\n" % e)
    @@ -6792,7 +6345,7 @@

    Parameters

    -
    +
    @@ -6810,11 +6363,11 @@

    Parameters

    - compound_job_name* + service_name* -
    +
    @@ -6822,7 +6375,7 @@

    Parameters

    - Name of the compound job + The cloud compute service name
    @@ -6848,11 +6401,11 @@

    Parameters

    -
    +
    @@ -6887,14 +6440,14 @@

    Status: 200 - OK

    -
    -
    +
    +
    - +
    -

    Status: 404 - Job not found

    - - - -
    -
    -

    Status: 405 - Invalid input


    -
    -
    +
    +
    -

    addSimpleStorageService

    -

    Create and start a simple storage service.

    +

    createWorkflow

    +

    Create a blank workflow.

    @@ -6962,32 +6507,31 @@

    addSimpleStorageService


    -
    /simulation/{simid}/addSimpleStorageService
    +
    /simulation/{simid}/createWorkflow

    Usage and SDK Samples

    -
    +
    curl -X POST\
     -H "Accept: application/json"\
    --H "Content-Type: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/addSimpleStorageService"
    +"https://wrench-project.org/v1/simulation/{simid}/createWorkflow"
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    @@ -7001,52 +6545,48 @@ 

    Usage and SDK Samples

    public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); - Simid_addSimpleStorageService_body body = ; // Simid_addSimpleStorageService_body | Input to start a new service. String simid = simid_example; // String | ID of the simulation try { - ServiceResponse result = apiInstance.addSimpleStorageService(body, simid); + WorkflowResponse result = apiInstance.createWorkflow(simid); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#addSimpleStorageService"); + System.err.println("Exception when calling WRENCHApi#createWorkflow"); e.printStackTrace(); } } }
    -
    +
    import io.swagger.client.api.WRENCHApi;
     
     public class WRENCHApiExample {
     
         public static void main(String[] args) {
             WRENCHApi apiInstance = new WRENCHApi();
    -        Simid_addSimpleStorageService_body body = ; // Simid_addSimpleStorageService_body | Input to start a new service.
             String simid = simid_example; // String | ID of the simulation
             try {
    -            ServiceResponse result = apiInstance.addSimpleStorageService(body, simid);
    +            WorkflowResponse result = apiInstance.createWorkflow(simid);
                 System.out.println(result);
             } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#addSimpleStorageService");
    +            System.err.println("Exception when calling WRENCHApi#createWorkflow");
                 e.printStackTrace();
             }
         }
     }
    -
    -
    Simid_addSimpleStorageService_body *body = ; // Input to start a new service.
    -String *simid = simid_example; // ID of the simulation
    +                            
    +
    String *simid = simid_example; // ID of the simulation
     
     WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
     
    -// Create and start a simple storage service.
    -[apiInstance addSimpleStorageServiceWith:body
    -    simid:simid
    -              completionHandler: ^(ServiceResponse output, NSError* error) {
    +// Create a blank workflow.
    +[apiInstance createWorkflowWith:simid
    +              completionHandler: ^(WorkflowResponse output, NSError* error) {
                                 if (output) {
                                     NSLog(@"%@", output);
                                 }
    @@ -7057,11 +6597,10 @@ 

    Usage and SDK Samples

    -
    +
    var WrenchRestApi = require('wrench_rest_api');
     
     var api = new WrenchRestApi.WRENCHApi()
    -var body = ; // {{Simid_addSimpleStorageService_body}} Input to start a new service.
     var simid = simid_example; // {{String}} ID of the simulation
     
     var callback = function(error, data, response) {
    @@ -7071,14 +6610,14 @@ 

    Usage and SDK Samples

    console.log('API called successfully. Returned data: ' + data); } }; -api.addSimpleStorageService(bodysimid, callback); +api.createWorkflow(simid, callback);
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -7087,24 +6626,23 @@ 

    Usage and SDK Samples

    namespace Example { - public class addSimpleStorageServiceExample + public class createWorkflowExample { public void main() { var apiInstance = new WRENCHApi(); - var body = new Simid_addSimpleStorageService_body(); // Simid_addSimpleStorageService_body | Input to start a new service. var simid = simid_example; // String | ID of the simulation try { - // Create and start a simple storage service. - ServiceResponse result = apiInstance.addSimpleStorageService(body, simid); + // Create a blank workflow. + WorkflowResponse result = apiInstance.createWorkflow(simid); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.addSimpleStorageService: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.createWorkflow: " + e.Message ); } } } @@ -7112,42 +6650,40 @@

    Usage and SDK Samples

    -
    +
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
     
     $api_instance = new Swagger\Client\ApiWRENCHApi();
    -$body = ; // Simid_addSimpleStorageService_body | Input to start a new service.
     $simid = simid_example; // String | ID of the simulation
     
     try {
    -    $result = $api_instance->addSimpleStorageService($body, $simid);
    +    $result = $api_instance->createWorkflow($simid);
         print_r($result);
     } catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->addSimpleStorageService: ', $e->getMessage(), PHP_EOL;
    +    echo 'Exception when calling WRENCHApi->createWorkflow: ', $e->getMessage(), PHP_EOL;
     }
     ?>
    -
    +
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
     use WWW::SwaggerClient::WRENCHApi;
     
     my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $body = WWW::SwaggerClient::Object::Simid_addSimpleStorageService_body->new(); # Simid_addSimpleStorageService_body | Input to start a new service.
     my $simid = simid_example; # String | ID of the simulation
     
     eval { 
    -    my $result = $api_instance->addSimpleStorageService(body => $body, simid => $simid);
    +    my $result = $api_instance->createWorkflow(simid => $simid);
         print Dumper($result);
     };
     if ($@) {
    -    warn "Exception when calling WRENCHApi->addSimpleStorageService: $@\n";
    +    warn "Exception when calling WRENCHApi->createWorkflow: $@\n";
     }
    -
    +
    from __future__ import print_statement
     import time
     import swagger_client
    @@ -7156,15 +6692,14 @@ 

    Usage and SDK Samples

    # create an instance of the API class api_instance = swagger_client.WRENCHApi() -body = # Simid_addSimpleStorageService_body | Input to start a new service. simid = simid_example # String | ID of the simulation try: - # Create and start a simple storage service. - api_response = api_instance.add_simple_storage_service(body, simid) + # Create a blank workflow. + api_response = api_instance.create_workflow(simid) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->addSimpleStorageService: %s\n" % e)
    + print("Exception when calling WRENCHApi->createWorkflow: %s\n" % e)
    @@ -7180,7 +6715,7 @@

    Parameters

    -
    +
    @@ -7201,50 +6736,6 @@

    Parameters

    -
    Body parameters
    - - - - - - - - -
    NameDescription
    body * - - - -
    -
    @@ -7253,14 +6744,14 @@

    Status: 200 - OK

    -
    -
    +
    +
    - +
    @@ -7308,11 +6799,11 @@

    Status: 405 - Invalid input


    -
    -
    +
    +
    -

    addSleepAction

    -

    Add a sleep action to compound job

    +

    createWorkflowFromJSON

    +

    Create a workflow from a WfCommons JSON object.

    @@ -7320,32 +6811,32 @@

    addSleepAction


    -
    /simulation/{simid}/compoundJobs/{compound_job_name}/addSleepAction
    +
    /simulation/{simid}/createWorkflowFromJSON

    Usage and SDK Samples

    -
    +
    curl -X POST\
     -H "Accept: application/json"\
     -H "Content-Type: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/compoundJobs/{compound_job_name}/addSleepAction"
    +"https://wrench-project.org/v1/simulation/{simid}/createWorkflowFromJSON"
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    @@ -7359,56 +6850,52 @@ 

    Usage and SDK Samples

    public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); - Compound_job_name_addSleepAction_body body = ; // Compound_job_name_addSleepAction_body | Input to add a sleep action. + Simid_createWorkflowFromJSON_body body = ; // Simid_createWorkflowFromJSON_body | Input to create workflow from JSON. String simid = simid_example; // String | ID of the simulation - String compoundJobName = compoundJobName_example; // String | Name of the compound job try { - GenericResponse result = apiInstance.addSleepAction(body, simid, compoundJobName); + WorkflowResponseWithTaskAndFileList result = apiInstance.createWorkflowFromJSON(body, simid); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#addSleepAction"); + System.err.println("Exception when calling WRENCHApi#createWorkflowFromJSON"); e.printStackTrace(); } } }
    -
    +
    import io.swagger.client.api.WRENCHApi;
     
     public class WRENCHApiExample {
     
         public static void main(String[] args) {
             WRENCHApi apiInstance = new WRENCHApi();
    -        Compound_job_name_addSleepAction_body body = ; // Compound_job_name_addSleepAction_body | Input to add a sleep action.
    +        Simid_createWorkflowFromJSON_body body = ; // Simid_createWorkflowFromJSON_body | Input to create workflow from JSON.
             String simid = simid_example; // String | ID of the simulation
    -        String compoundJobName = compoundJobName_example; // String | Name of the compound job
             try {
    -            GenericResponse result = apiInstance.addSleepAction(body, simid, compoundJobName);
    +            WorkflowResponseWithTaskAndFileList result = apiInstance.createWorkflowFromJSON(body, simid);
                 System.out.println(result);
             } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#addSleepAction");
    +            System.err.println("Exception when calling WRENCHApi#createWorkflowFromJSON");
                 e.printStackTrace();
             }
         }
     }
    -
    -
    Compound_job_name_addSleepAction_body *body = ; // Input to add a sleep action.
    +                            
    +
    Simid_createWorkflowFromJSON_body *body = ; // Input to create workflow from JSON.
     String *simid = simid_example; // ID of the simulation
    -String *compoundJobName = compoundJobName_example; // Name of the compound job
     
     WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
     
    -// Add a sleep action to compound job
    -[apiInstance addSleepActionWith:body
    +// Create a workflow from a WfCommons JSON object.
    +[apiInstance createWorkflowFromJSONWith:body
         simid:simid
    -    compoundJobName:compoundJobName
    -              completionHandler: ^(GenericResponse output, NSError* error) {
    +              completionHandler: ^(WorkflowResponseWithTaskAndFileList output, NSError* error) {
                                 if (output) {
                                     NSLog(@"%@", output);
                                 }
    @@ -7419,13 +6906,12 @@ 

    Usage and SDK Samples

    -
    +
    var WrenchRestApi = require('wrench_rest_api');
     
     var api = new WrenchRestApi.WRENCHApi()
    -var body = ; // {{Compound_job_name_addSleepAction_body}} Input to add a sleep action.
    +var body = ; // {{Simid_createWorkflowFromJSON_body}} Input to create workflow from JSON.
     var simid = simid_example; // {{String}} ID of the simulation
    -var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
     
     var callback = function(error, data, response) {
       if (error) {
    @@ -7434,14 +6920,14 @@ 

    Usage and SDK Samples

    console.log('API called successfully. Returned data: ' + data); } }; -api.addSleepAction(bodysimidcompoundJobName, callback); +api.createWorkflowFromJSON(bodysimid, callback);
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -7450,25 +6936,24 @@ 

    Usage and SDK Samples

    namespace Example { - public class addSleepActionExample + public class createWorkflowFromJSONExample { public void main() { var apiInstance = new WRENCHApi(); - var body = new Compound_job_name_addSleepAction_body(); // Compound_job_name_addSleepAction_body | Input to add a sleep action. + var body = new Simid_createWorkflowFromJSON_body(); // Simid_createWorkflowFromJSON_body | Input to create workflow from JSON. var simid = simid_example; // String | ID of the simulation - var compoundJobName = compoundJobName_example; // String | Name of the compound job try { - // Add a sleep action to compound job - GenericResponse result = apiInstance.addSleepAction(body, simid, compoundJobName); + // Create a workflow from a WfCommons JSON object. + WorkflowResponseWithTaskAndFileList result = apiInstance.createWorkflowFromJSON(body, simid); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.addSleepAction: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.createWorkflowFromJSON: " + e.Message ); } } } @@ -7476,44 +6961,42 @@

    Usage and SDK Samples

    -
    +
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
     
     $api_instance = new Swagger\Client\ApiWRENCHApi();
    -$body = ; // Compound_job_name_addSleepAction_body | Input to add a sleep action.
    +$body = ; // Simid_createWorkflowFromJSON_body | Input to create workflow from JSON.
     $simid = simid_example; // String | ID of the simulation
    -$compoundJobName = compoundJobName_example; // String | Name of the compound job
     
     try {
    -    $result = $api_instance->addSleepAction($body, $simid, $compoundJobName);
    +    $result = $api_instance->createWorkflowFromJSON($body, $simid);
         print_r($result);
     } catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->addSleepAction: ', $e->getMessage(), PHP_EOL;
    +    echo 'Exception when calling WRENCHApi->createWorkflowFromJSON: ', $e->getMessage(), PHP_EOL;
     }
     ?>
    -
    +
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
     use WWW::SwaggerClient::WRENCHApi;
     
     my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $body = WWW::SwaggerClient::Object::Compound_job_name_addSleepAction_body->new(); # Compound_job_name_addSleepAction_body | Input to add a sleep action.
    +my $body = WWW::SwaggerClient::Object::Simid_createWorkflowFromJSON_body->new(); # Simid_createWorkflowFromJSON_body | Input to create workflow from JSON.
     my $simid = simid_example; # String | ID of the simulation
    -my $compoundJobName = compoundJobName_example; # String | Name of the compound job
     
     eval { 
    -    my $result = $api_instance->addSleepAction(body => $body, simid => $simid, compoundJobName => $compoundJobName);
    +    my $result = $api_instance->createWorkflowFromJSON(body => $body, simid => $simid);
         print Dumper($result);
     };
     if ($@) {
    -    warn "Exception when calling WRENCHApi->addSleepAction: $@\n";
    +    warn "Exception when calling WRENCHApi->createWorkflowFromJSON: $@\n";
     }
    -
    +
    from __future__ import print_statement
     import time
     import swagger_client
    @@ -7522,16 +7005,15 @@ 

    Usage and SDK Samples

    # create an instance of the API class api_instance = swagger_client.WRENCHApi() -body = # Compound_job_name_addSleepAction_body | Input to add a sleep action. +body = # Simid_createWorkflowFromJSON_body | Input to create workflow from JSON. simid = simid_example # String | ID of the simulation -compoundJobName = compoundJobName_example # String | Name of the compound job try: - # Add a sleep action to compound job - api_response = api_instance.add_sleep_action(body, simid, compoundJobName) + # Create a workflow from a WfCommons JSON object. + api_response = api_instance.create_workflow_from_json(body, simid) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->addSleepAction: %s\n" % e)
    + print("Exception when calling WRENCHApi->createWorkflowFromJSON: %s\n" % e)
    @@ -7547,7 +7029,7 @@

    Parameters

    -
    +
    @@ -7565,28 +7047,6 @@

    Parameters

    - compound_job_name* - - - -
    -
    -
    - - String - - -
    - Name of the compound job -
    -
    -
    - Required -
    -
    -
    - - @@ -7603,11 +7063,11 @@

    Parameters

    -
    +
    @@ -7642,14 +7102,14 @@

    Status: 200 - OK

    -
    -
    +
    +
    - +
    -

    Status: 404 - Job not found

    - - - -
    -
    -

    Status: 405 - Invalid input


    -
    -
    +
    +
    -

    advanceTime

    -

    Retrieve the current simulated time.

    +

    destroyVM

    +

    Destroy a VM.

    @@ -7717,32 +7169,31 @@

    advanceTime


    -
    /simulation/{simid}/advanceTime
    +
    /simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/destroyVM

    Usage and SDK Samples

    -
    -
    curl -X PUT\
    +                          
    +
    curl -X POST\
     -H "Accept: application/json"\
    --H "Content-Type: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/advanceTime"
    +"https://wrench-project.org/v1/simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/destroyVM"
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    @@ -7756,51 +7207,55 @@ 

    Usage and SDK Samples

    public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); - Simid_advanceTime_body body = ; // Simid_advanceTime_body | Input to start a new service. String simid = simid_example; // String | ID of the simulation + String serviceName = serviceName_example; // String | The cloud compute service name + String vmName = vmName_example; // String | The VM name try { - GenericResponse result = apiInstance.advanceTime(body, simid); + GenericResponse result = apiInstance.destroyVM(simid, serviceName, vmName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#advanceTime"); + System.err.println("Exception when calling WRENCHApi#destroyVM"); e.printStackTrace(); } } }
    -
    +
    import io.swagger.client.api.WRENCHApi;
     
     public class WRENCHApiExample {
     
         public static void main(String[] args) {
             WRENCHApi apiInstance = new WRENCHApi();
    -        Simid_advanceTime_body body = ; // Simid_advanceTime_body | Input to start a new service.
             String simid = simid_example; // String | ID of the simulation
    +        String serviceName = serviceName_example; // String | The cloud compute service name
    +        String vmName = vmName_example; // String | The VM name
             try {
    -            GenericResponse result = apiInstance.advanceTime(body, simid);
    +            GenericResponse result = apiInstance.destroyVM(simid, serviceName, vmName);
                 System.out.println(result);
             } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#advanceTime");
    +            System.err.println("Exception when calling WRENCHApi#destroyVM");
                 e.printStackTrace();
             }
         }
     }
    -
    -
    Simid_advanceTime_body *body = ; // Input to start a new service.
    -String *simid = simid_example; // ID of the simulation
    +                            
    +
    String *simid = simid_example; // ID of the simulation
    +String *serviceName = serviceName_example; // The cloud compute service name
    +String *vmName = vmName_example; // The VM name
     
     WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
     
    -// Retrieve the current simulated time.
    -[apiInstance advanceTimeWith:body
    -    simid:simid
    +// Destroy a VM.
    +[apiInstance destroyVMWith:simid
    +    serviceName:serviceName
    +    vmName:vmName
                   completionHandler: ^(GenericResponse output, NSError* error) {
                                 if (output) {
                                     NSLog(@"%@", output);
    @@ -7812,12 +7267,13 @@ 

    Usage and SDK Samples

    -
    +
    var WrenchRestApi = require('wrench_rest_api');
     
     var api = new WrenchRestApi.WRENCHApi()
    -var body = ; // {{Simid_advanceTime_body}} Input to start a new service.
     var simid = simid_example; // {{String}} ID of the simulation
    +var serviceName = serviceName_example; // {{String}} The cloud compute service name
    +var vmName = vmName_example; // {{String}} The VM name
     
     var callback = function(error, data, response) {
       if (error) {
    @@ -7826,14 +7282,14 @@ 

    Usage and SDK Samples

    console.log('API called successfully. Returned data: ' + data); } }; -api.advanceTime(bodysimid, callback); +api.destroyVM(simid, serviceName, vmName, callback);
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -7842,24 +7298,25 @@ 

    Usage and SDK Samples

    namespace Example { - public class advanceTimeExample + public class destroyVMExample { public void main() { var apiInstance = new WRENCHApi(); - var body = new Simid_advanceTime_body(); // Simid_advanceTime_body | Input to start a new service. var simid = simid_example; // String | ID of the simulation + var serviceName = serviceName_example; // String | The cloud compute service name + var vmName = vmName_example; // String | The VM name try { - // Retrieve the current simulated time. - GenericResponse result = apiInstance.advanceTime(body, simid); + // Destroy a VM. + GenericResponse result = apiInstance.destroyVM(simid, serviceName, vmName); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.advanceTime: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.destroyVM: " + e.Message ); } } } @@ -7867,42 +7324,44 @@

    Usage and SDK Samples

    -
    +
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
     
     $api_instance = new Swagger\Client\ApiWRENCHApi();
    -$body = ; // Simid_advanceTime_body | Input to start a new service.
     $simid = simid_example; // String | ID of the simulation
    +$serviceName = serviceName_example; // String | The cloud compute service name
    +$vmName = vmName_example; // String | The VM name
     
     try {
    -    $result = $api_instance->advanceTime($body, $simid);
    +    $result = $api_instance->destroyVM($simid, $serviceName, $vmName);
         print_r($result);
     } catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->advanceTime: ', $e->getMessage(), PHP_EOL;
    +    echo 'Exception when calling WRENCHApi->destroyVM: ', $e->getMessage(), PHP_EOL;
     }
     ?>
    -
    +
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
     use WWW::SwaggerClient::WRENCHApi;
     
     my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $body = WWW::SwaggerClient::Object::Simid_advanceTime_body->new(); # Simid_advanceTime_body | Input to start a new service.
     my $simid = simid_example; # String | ID of the simulation
    +my $serviceName = serviceName_example; # String | The cloud compute service name
    +my $vmName = vmName_example; # String | The VM name
     
     eval { 
    -    my $result = $api_instance->advanceTime(body => $body, simid => $simid);
    +    my $result = $api_instance->destroyVM(simid => $simid, serviceName => $serviceName, vmName => $vmName);
         print Dumper($result);
     };
     if ($@) {
    -    warn "Exception when calling WRENCHApi->advanceTime: $@\n";
    +    warn "Exception when calling WRENCHApi->destroyVM: $@\n";
     }
    -
    +
    from __future__ import print_statement
     import time
     import swagger_client
    @@ -7911,15 +7370,16 @@ 

    Usage and SDK Samples

    # create an instance of the API class api_instance = swagger_client.WRENCHApi() -body = # Simid_advanceTime_body | Input to start a new service. simid = simid_example # String | ID of the simulation +serviceName = serviceName_example # String | The cloud compute service name +vmName = vmName_example # String | The VM name try: - # Retrieve the current simulated time. - api_response = api_instance.advance_time(body, simid) + # Destroy a VM. + api_response = api_instance.destroy_vm(simid, serviceName, vmName) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->advanceTime: %s\n" % e)
    + print("Exception when calling WRENCHApi->destroyVM: %s\n" % e)
    @@ -7935,7 +7395,7 @@

    Parameters

    -
    +
    @@ -7953,53 +7413,53 @@

    Parameters

    + service_name* + + + +
    +
    +
    + + String + + +
    + The cloud compute service name +
    +
    +
    + Required +
    +
    +
    + + + vm_name* + + + +
    +
    +
    + + String + + +
    + The VM name +
    +
    +
    + Required +
    +
    +
    + + - - -
    Body parameters
    - - - - - - - - -
    NameDescription
    body * - - - -
    -
    + + @@ -8008,14 +7468,14 @@

    Status: 200 - OK

    -
    -
    +
    +
    - +
    @@ -8063,11 +7523,11 @@

    Status: 405 - Invalid input


    -
    -
    +
    +
    -

    createCompoundJob

    -

    Create a new compound job.

    +

    getAllHostnames

    +

    Retrieve the names of all hosts in the simulated platform.

    @@ -8075,32 +7535,31 @@

    createCompoundJob


    -
    /simulation/{simid}/createCompoundJob
    +
    /simulation/{simid}/hostnames

    Usage and SDK Samples

    -
    -
    curl -X POST\
    +                          
    +
    curl -X GET\
     -H "Accept: application/json"\
    --H "Content-Type: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/createCompoundJob"
    +"https://wrench-project.org/v1/simulation/{simid}/hostnames"
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    @@ -8114,52 +7573,48 @@ 

    Usage and SDK Samples

    public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); - Simid_createCompoundJob_body body = ; // Simid_createCompoundJob_body | Input to create a new compound job - String simid = simid_example; // String | ID of the simulation + String simid = simid_example; // String | ID of simulation try { - GenericResponse result = apiInstance.createCompoundJob(body, simid); + HostnameList result = apiInstance.getAllHostnames(simid); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#createCompoundJob"); + System.err.println("Exception when calling WRENCHApi#getAllHostnames"); e.printStackTrace(); } } }
    -
    +
    import io.swagger.client.api.WRENCHApi;
     
     public class WRENCHApiExample {
     
         public static void main(String[] args) {
             WRENCHApi apiInstance = new WRENCHApi();
    -        Simid_createCompoundJob_body body = ; // Simid_createCompoundJob_body | Input to create a new compound job
    -        String simid = simid_example; // String | ID of the simulation
    +        String simid = simid_example; // String | ID of simulation
             try {
    -            GenericResponse result = apiInstance.createCompoundJob(body, simid);
    +            HostnameList result = apiInstance.getAllHostnames(simid);
                 System.out.println(result);
             } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#createCompoundJob");
    +            System.err.println("Exception when calling WRENCHApi#getAllHostnames");
                 e.printStackTrace();
             }
         }
     }
    -
    -
    Simid_createCompoundJob_body *body = ; // Input to create a new compound job
    -String *simid = simid_example; // ID of the simulation
    +                            
    +
    String *simid = simid_example; // ID of simulation
     
     WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
     
    -// Create a new compound job.
    -[apiInstance createCompoundJobWith:body
    -    simid:simid
    -              completionHandler: ^(GenericResponse output, NSError* error) {
    +// Retrieve the names of all hosts in the simulated platform.
    +[apiInstance getAllHostnamesWith:simid
    +              completionHandler: ^(HostnameList output, NSError* error) {
                                 if (output) {
                                     NSLog(@"%@", output);
                                 }
    @@ -8170,12 +7625,11 @@ 

    Usage and SDK Samples

    -
    +
    var WrenchRestApi = require('wrench_rest_api');
     
     var api = new WrenchRestApi.WRENCHApi()
    -var body = ; // {{Simid_createCompoundJob_body}} Input to create a new compound job
    -var simid = simid_example; // {{String}} ID of the simulation
    +var simid = simid_example; // {{String}} ID of simulation
     
     var callback = function(error, data, response) {
       if (error) {
    @@ -8184,14 +7638,14 @@ 

    Usage and SDK Samples

    console.log('API called successfully. Returned data: ' + data); } }; -api.createCompoundJob(bodysimid, callback); +api.getAllHostnames(simid, callback);
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -8200,24 +7654,23 @@ 

    Usage and SDK Samples

    namespace Example { - public class createCompoundJobExample + public class getAllHostnamesExample { public void main() { var apiInstance = new WRENCHApi(); - var body = new Simid_createCompoundJob_body(); // Simid_createCompoundJob_body | Input to create a new compound job - var simid = simid_example; // String | ID of the simulation + var simid = simid_example; // String | ID of simulation try { - // Create a new compound job. - GenericResponse result = apiInstance.createCompoundJob(body, simid); + // Retrieve the names of all hosts in the simulated platform. + HostnameList result = apiInstance.getAllHostnames(simid); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.createCompoundJob: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.getAllHostnames: " + e.Message ); } } } @@ -8225,42 +7678,40 @@

    Usage and SDK Samples

    -
    +
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
     
     $api_instance = new Swagger\Client\ApiWRENCHApi();
    -$body = ; // Simid_createCompoundJob_body | Input to create a new compound job
    -$simid = simid_example; // String | ID of the simulation
    +$simid = simid_example; // String | ID of simulation
     
     try {
    -    $result = $api_instance->createCompoundJob($body, $simid);
    +    $result = $api_instance->getAllHostnames($simid);
         print_r($result);
     } catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->createCompoundJob: ', $e->getMessage(), PHP_EOL;
    +    echo 'Exception when calling WRENCHApi->getAllHostnames: ', $e->getMessage(), PHP_EOL;
     }
     ?>
    -
    +
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
     use WWW::SwaggerClient::WRENCHApi;
     
     my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $body = WWW::SwaggerClient::Object::Simid_createCompoundJob_body->new(); # Simid_createCompoundJob_body | Input to create a new compound job
    -my $simid = simid_example; # String | ID of the simulation
    +my $simid = simid_example; # String | ID of simulation
     
     eval { 
    -    my $result = $api_instance->createCompoundJob(body => $body, simid => $simid);
    +    my $result = $api_instance->getAllHostnames(simid => $simid);
         print Dumper($result);
     };
     if ($@) {
    -    warn "Exception when calling WRENCHApi->createCompoundJob: $@\n";
    +    warn "Exception when calling WRENCHApi->getAllHostnames: $@\n";
     }
    -
    +
    from __future__ import print_statement
     import time
     import swagger_client
    @@ -8269,15 +7720,14 @@ 

    Usage and SDK Samples

    # create an instance of the API class api_instance = swagger_client.WRENCHApi() -body = # Simid_createCompoundJob_body | Input to create a new compound job -simid = simid_example # String | ID of the simulation +simid = simid_example # String | ID of simulation try: - # Create a new compound job. - api_response = api_instance.create_compound_job(body, simid) + # Retrieve the names of all hosts in the simulated platform. + api_response = api_instance.get_all_hostnames(simid) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->createCompoundJob: %s\n" % e)
    + print("Exception when calling WRENCHApi->getAllHostnames: %s\n" % e)
    @@ -8293,7 +7743,7 @@

    Parameters

    -
    +
    @@ -8301,7 +7751,7 @@

    Parameters

    - ID of the simulation + ID of simulation
    @@ -8314,50 +7764,6 @@

    Parameters

    -
    Body parameters
    - - - - - - - - -
    NameDescription
    body * - - - -
    -
    @@ -8366,14 +7772,14 @@

    Status: 200 - OK

    -
    -
    +
    +
    - +
    @@ -8421,11 +7827,11 @@

    Status: 405 - Invalid input


    -
    -
    +
    +
    -

    createFileCopyAtStorageService

    -

    Create, ex nihilo, a copy of a file copy at a storage service.

    +

    getCoreCounts

    +

    Returns the core counts for each host managed by the compute service.

    @@ -8433,32 +7839,31 @@

    createFileCopyAtStorageService


    -
    /simulation/{simid}/storage_services/{service_name}/createFileCopy
    +
    /simulation/{simid}/compute_services/{service_name}/coreCounts

    Usage and SDK Samples

    -
    -
    curl -X POST\
    +                          
    +
    curl -X GET\
     -H "Accept: application/json"\
    --H "Content-Type: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/storage_services/{service_name}/createFileCopy"
    +"https://wrench-project.org/v1/simulation/{simid}/compute_services/{service_name}/coreCounts"
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    @@ -8472,56 +7877,52 @@ 

    Usage and SDK Samples

    public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); - Service_name_createFileCopy_body body = ; // Service_name_createFileCopy_body | Input to start a new service. String simid = simid_example; // String | ID of the simulation - String serviceName = serviceName_example; // String | The storage service name + String serviceName = serviceName_example; // String | The compute service name try { - GenericResponse result = apiInstance.createFileCopyAtStorageService(body, simid, serviceName); + inline_response_200_1 result = apiInstance.getCoreCounts(simid, serviceName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#createFileCopyAtStorageService"); + System.err.println("Exception when calling WRENCHApi#getCoreCounts"); e.printStackTrace(); } } }
    -
    +
    import io.swagger.client.api.WRENCHApi;
     
     public class WRENCHApiExample {
     
         public static void main(String[] args) {
             WRENCHApi apiInstance = new WRENCHApi();
    -        Service_name_createFileCopy_body body = ; // Service_name_createFileCopy_body | Input to start a new service.
             String simid = simid_example; // String | ID of the simulation
    -        String serviceName = serviceName_example; // String | The storage service name
    +        String serviceName = serviceName_example; // String | The compute service name
             try {
    -            GenericResponse result = apiInstance.createFileCopyAtStorageService(body, simid, serviceName);
    +            inline_response_200_1 result = apiInstance.getCoreCounts(simid, serviceName);
                 System.out.println(result);
             } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#createFileCopyAtStorageService");
    +            System.err.println("Exception when calling WRENCHApi#getCoreCounts");
                 e.printStackTrace();
             }
         }
     }
    -
    -
    Service_name_createFileCopy_body *body = ; // Input to start a new service.
    -String *simid = simid_example; // ID of the simulation
    -String *serviceName = serviceName_example; // The storage service name
    +                            
    +
    String *simid = simid_example; // ID of the simulation
    +String *serviceName = serviceName_example; // The compute service name
     
     WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
     
    -// Create, ex nihilo, a copy of a file copy at a storage service.
    -[apiInstance createFileCopyAtStorageServiceWith:body
    -    simid:simid
    +// Returns the core counts for each host managed by the compute service.
    +[apiInstance getCoreCountsWith:simid
         serviceName:serviceName
    -              completionHandler: ^(GenericResponse output, NSError* error) {
    +              completionHandler: ^(inline_response_200_1 output, NSError* error) {
                                 if (output) {
                                     NSLog(@"%@", output);
                                 }
    @@ -8532,13 +7933,12 @@ 

    Usage and SDK Samples

    -
    +
    var WrenchRestApi = require('wrench_rest_api');
     
     var api = new WrenchRestApi.WRENCHApi()
    -var body = ; // {{Service_name_createFileCopy_body}} Input to start a new service.
     var simid = simid_example; // {{String}} ID of the simulation
    -var serviceName = serviceName_example; // {{String}} The storage service name
    +var serviceName = serviceName_example; // {{String}} The compute service name
     
     var callback = function(error, data, response) {
       if (error) {
    @@ -8547,14 +7947,14 @@ 

    Usage and SDK Samples

    console.log('API called successfully. Returned data: ' + data); } }; -api.createFileCopyAtStorageService(bodysimidserviceName, callback); +api.getCoreCounts(simid, serviceName, callback);
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -8563,25 +7963,24 @@ 

    Usage and SDK Samples

    namespace Example { - public class createFileCopyAtStorageServiceExample + public class getCoreCountsExample { public void main() { var apiInstance = new WRENCHApi(); - var body = new Service_name_createFileCopy_body(); // Service_name_createFileCopy_body | Input to start a new service. var simid = simid_example; // String | ID of the simulation - var serviceName = serviceName_example; // String | The storage service name + var serviceName = serviceName_example; // String | The compute service name try { - // Create, ex nihilo, a copy of a file copy at a storage service. - GenericResponse result = apiInstance.createFileCopyAtStorageService(body, simid, serviceName); + // Returns the core counts for each host managed by the compute service. + inline_response_200_1 result = apiInstance.getCoreCounts(simid, serviceName); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.createFileCopyAtStorageService: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.getCoreCounts: " + e.Message ); } } } @@ -8589,44 +7988,42 @@

    Usage and SDK Samples

    -
    +
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
     
     $api_instance = new Swagger\Client\ApiWRENCHApi();
    -$body = ; // Service_name_createFileCopy_body | Input to start a new service.
     $simid = simid_example; // String | ID of the simulation
    -$serviceName = serviceName_example; // String | The storage service name
    +$serviceName = serviceName_example; // String | The compute service name
     
     try {
    -    $result = $api_instance->createFileCopyAtStorageService($body, $simid, $serviceName);
    +    $result = $api_instance->getCoreCounts($simid, $serviceName);
         print_r($result);
     } catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->createFileCopyAtStorageService: ', $e->getMessage(), PHP_EOL;
    +    echo 'Exception when calling WRENCHApi->getCoreCounts: ', $e->getMessage(), PHP_EOL;
     }
     ?>
    -
    +
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
     use WWW::SwaggerClient::WRENCHApi;
     
     my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $body = WWW::SwaggerClient::Object::Service_name_createFileCopy_body->new(); # Service_name_createFileCopy_body | Input to start a new service.
     my $simid = simid_example; # String | ID of the simulation
    -my $serviceName = serviceName_example; # String | The storage service name
    +my $serviceName = serviceName_example; # String | The compute service name
     
     eval { 
    -    my $result = $api_instance->createFileCopyAtStorageService(body => $body, simid => $simid, serviceName => $serviceName);
    +    my $result = $api_instance->getCoreCounts(simid => $simid, serviceName => $serviceName);
         print Dumper($result);
     };
     if ($@) {
    -    warn "Exception when calling WRENCHApi->createFileCopyAtStorageService: $@\n";
    +    warn "Exception when calling WRENCHApi->getCoreCounts: $@\n";
     }
    -
    +
    from __future__ import print_statement
     import time
     import swagger_client
    @@ -8635,16 +8032,15 @@ 

    Usage and SDK Samples

    # create an instance of the API class api_instance = swagger_client.WRENCHApi() -body = # Service_name_createFileCopy_body | Input to start a new service. simid = simid_example # String | ID of the simulation -serviceName = serviceName_example # String | The storage service name +serviceName = serviceName_example # String | The compute service name try: - # Create, ex nihilo, a copy of a file copy at a storage service. - api_response = api_instance.create_file_copy_at_storage_service(body, simid, serviceName) + # Returns the core counts for each host managed by the compute service. + api_response = api_instance.get_core_counts(simid, serviceName) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->createFileCopyAtStorageService: %s\n" % e)
    + print("Exception when calling WRENCHApi->getCoreCounts: %s\n" % e)
    @@ -8660,7 +8056,7 @@

    Parameters

    -
    +
    @@ -8682,7 +8078,7 @@

    Parameters

    -
    +
    @@ -8690,7 +8086,7 @@

    Parameters

    - The storage service name + The compute service name
    @@ -8703,50 +8099,6 @@

    Parameters

    -
    Body parameters
    - - - - - - - - -
    NameDescription
    body * - - - -
    -
    @@ -8755,14 +8107,14 @@

    Status: 200 - OK

    -
    -
    +
    +
    - +
    -

    Status: 404 - Simulation or storage service not found

    - - - -
    -
    -

    Status: 405 - Invalid input


    -
    -
    +
    +
    -

    createStandardJob

    -

    Create a new standard job.

    +

    getCoreFlopRates

    +

    Returns the core flop rate for each host managed by the compute service.

    @@ -8830,32 +8174,31 @@

    createStandardJob


    -
    /simulation/{simid}/workflows/{workflow_name}/createStandardJob
    +
    /simulation/{simid}/compute_services/{service_name}/coreFlopRates

    Usage and SDK Samples

    -
    -
    curl -X PUT\
    +                          
    +
    curl -X GET\
     -H "Accept: application/json"\
    --H "Content-Type: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/workflows/{workflow_name}/createStandardJob"
    +"https://wrench-project.org/v1/simulation/{simid}/compute_services/{service_name}/coreFlopRates"
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    @@ -8869,56 +8212,52 @@ 

    Usage and SDK Samples

    public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); - StandardJob body = ; // StandardJob | Job specification. String simid = simid_example; // String | ID of the simulation - String workflowName = workflowName_example; // String | + String serviceName = serviceName_example; // String | The compute service name try { - JobResponse result = apiInstance.createStandardJob(body, simid, workflowName); + inline_response_200 result = apiInstance.getCoreFlopRates(simid, serviceName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#createStandardJob"); + System.err.println("Exception when calling WRENCHApi#getCoreFlopRates"); e.printStackTrace(); } } }
    -
    +
    import io.swagger.client.api.WRENCHApi;
     
     public class WRENCHApiExample {
     
         public static void main(String[] args) {
             WRENCHApi apiInstance = new WRENCHApi();
    -        StandardJob body = ; // StandardJob | Job specification.
             String simid = simid_example; // String | ID of the simulation
    -        String workflowName = workflowName_example; // String | 
    +        String serviceName = serviceName_example; // String | The compute service name
             try {
    -            JobResponse result = apiInstance.createStandardJob(body, simid, workflowName);
    +            inline_response_200 result = apiInstance.getCoreFlopRates(simid, serviceName);
                 System.out.println(result);
             } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#createStandardJob");
    +            System.err.println("Exception when calling WRENCHApi#getCoreFlopRates");
                 e.printStackTrace();
             }
         }
     }
    -
    -
    StandardJob *body = ; // Job specification.
    -String *simid = simid_example; // ID of the simulation
    -String *workflowName = workflowName_example; // 
    +                            
    +
    String *simid = simid_example; // ID of the simulation
    +String *serviceName = serviceName_example; // The compute service name
     
     WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
     
    -// Create a new standard job.
    -[apiInstance createStandardJobWith:body
    -    simid:simid
    -    workflowName:workflowName
    -              completionHandler: ^(JobResponse output, NSError* error) {
    +// Returns the core flop rate for each host managed by the compute service.
    +[apiInstance getCoreFlopRatesWith:simid
    +    serviceName:serviceName
    +              completionHandler: ^(inline_response_200 output, NSError* error) {
                                 if (output) {
                                     NSLog(@"%@", output);
                                 }
    @@ -8929,13 +8268,12 @@ 

    Usage and SDK Samples

    -
    +
    var WrenchRestApi = require('wrench_rest_api');
     
     var api = new WrenchRestApi.WRENCHApi()
    -var body = ; // {{StandardJob}} Job specification.
     var simid = simid_example; // {{String}} ID of the simulation
    -var workflowName = workflowName_example; // {{String}} 
    +var serviceName = serviceName_example; // {{String}} The compute service name
     
     var callback = function(error, data, response) {
       if (error) {
    @@ -8944,14 +8282,14 @@ 

    Usage and SDK Samples

    console.log('API called successfully. Returned data: ' + data); } }; -api.createStandardJob(bodysimidworkflowName, callback); +api.getCoreFlopRates(simid, serviceName, callback);
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -8960,25 +8298,24 @@ 

    Usage and SDK Samples

    namespace Example { - public class createStandardJobExample + public class getCoreFlopRatesExample { public void main() { var apiInstance = new WRENCHApi(); - var body = new StandardJob(); // StandardJob | Job specification. var simid = simid_example; // String | ID of the simulation - var workflowName = workflowName_example; // String | + var serviceName = serviceName_example; // String | The compute service name try { - // Create a new standard job. - JobResponse result = apiInstance.createStandardJob(body, simid, workflowName); + // Returns the core flop rate for each host managed by the compute service. + inline_response_200 result = apiInstance.getCoreFlopRates(simid, serviceName); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.createStandardJob: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.getCoreFlopRates: " + e.Message ); } } } @@ -8986,44 +8323,42 @@

    Usage and SDK Samples

    -
    +
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
     
     $api_instance = new Swagger\Client\ApiWRENCHApi();
    -$body = ; // StandardJob | Job specification.
     $simid = simid_example; // String | ID of the simulation
    -$workflowName = workflowName_example; // String | 
    +$serviceName = serviceName_example; // String | The compute service name
     
     try {
    -    $result = $api_instance->createStandardJob($body, $simid, $workflowName);
    +    $result = $api_instance->getCoreFlopRates($simid, $serviceName);
         print_r($result);
     } catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->createStandardJob: ', $e->getMessage(), PHP_EOL;
    +    echo 'Exception when calling WRENCHApi->getCoreFlopRates: ', $e->getMessage(), PHP_EOL;
     }
     ?>
    -
    +
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
     use WWW::SwaggerClient::WRENCHApi;
     
     my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $body = WWW::SwaggerClient::Object::StandardJob->new(); # StandardJob | Job specification.
     my $simid = simid_example; # String | ID of the simulation
    -my $workflowName = workflowName_example; # String | 
    +my $serviceName = serviceName_example; # String | The compute service name
     
     eval { 
    -    my $result = $api_instance->createStandardJob(body => $body, simid => $simid, workflowName => $workflowName);
    +    my $result = $api_instance->getCoreFlopRates(simid => $simid, serviceName => $serviceName);
         print Dumper($result);
     };
     if ($@) {
    -    warn "Exception when calling WRENCHApi->createStandardJob: $@\n";
    +    warn "Exception when calling WRENCHApi->getCoreFlopRates: $@\n";
     }
    -
    +
    from __future__ import print_statement
     import time
     import swagger_client
    @@ -9032,16 +8367,15 @@ 

    Usage and SDK Samples

    # create an instance of the API class api_instance = swagger_client.WRENCHApi() -body = # StandardJob | Job specification. simid = simid_example # String | ID of the simulation -workflowName = workflowName_example # String | +serviceName = serviceName_example # String | The compute service name try: - # Create a new standard job. - api_response = api_instance.create_standard_job(body, simid, workflowName) + # Returns the core flop rate for each host managed by the compute service. + api_response = api_instance.get_core_flop_rates(simid, serviceName) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->createStandardJob: %s\n" % e)
    + print("Exception when calling WRENCHApi->getCoreFlopRates: %s\n" % e)
    @@ -9057,7 +8391,7 @@

    Parameters

    -
    +
    @@ -9075,17 +8409,20 @@

    Parameters

    - workflow_name* + service_name* -
    +
    String +
    + The compute service name +
    Required @@ -9097,50 +8434,6 @@

    Parameters

    -
    Body parameters
    - - - - - - - - -
    NameDescription
    body * - - - -
    -
    @@ -9149,14 +8442,14 @@

    Status: 200 - OK

    -
    -
    +
    +
    - +
    @@ -9204,11 +8497,11 @@

    Status: 405 - Invalid input


    -
    -
    +
    +
    -

    createTask

    -

    Create a new task.

    +

    getExecutionHosts

    +

    Get the list of execution hosts available to run VMs.

    @@ -9216,32 +8509,31 @@

    createTask


    -
    /simulation/{simid}/workflows/{workflow_name}/createTask
    +
    /simulation/{simid}/getExecutionHosts

    Usage and SDK Samples

    -
    -
    curl -X PUT\
    +                          
    +
    curl -X GET\
     -H "Accept: application/json"\
    --H "Content-Type: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/workflows/{workflow_name}/createTask"
    +"https://wrench-project.org/v1/simulation/{simid}/getExecutionHosts"
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    @@ -9255,56 +8547,48 @@ 

    Usage and SDK Samples

    public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); - Task body = ; // Task | Task characteristics. - String simid = simid_example; // String | ID of the simulation - String workflowName = workflowName_example; // String | + String simid = simid_example; // String | ID of simulation try { - GenericResponse result = apiInstance.createTask(body, simid, workflowName); + HostnameList result = apiInstance.getExecutionHosts(simid); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#createTask"); + System.err.println("Exception when calling WRENCHApi#getExecutionHosts"); e.printStackTrace(); } } }
    -
    +
    import io.swagger.client.api.WRENCHApi;
     
     public class WRENCHApiExample {
     
         public static void main(String[] args) {
             WRENCHApi apiInstance = new WRENCHApi();
    -        Task body = ; // Task | Task characteristics.
    -        String simid = simid_example; // String | ID of the simulation
    -        String workflowName = workflowName_example; // String | 
    +        String simid = simid_example; // String | ID of simulation
             try {
    -            GenericResponse result = apiInstance.createTask(body, simid, workflowName);
    +            HostnameList result = apiInstance.getExecutionHosts(simid);
                 System.out.println(result);
             } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#createTask");
    +            System.err.println("Exception when calling WRENCHApi#getExecutionHosts");
                 e.printStackTrace();
             }
         }
     }
    -
    -
    Task *body = ; // Task characteristics.
    -String *simid = simid_example; // ID of the simulation
    -String *workflowName = workflowName_example; // 
    +                            
    +
    String *simid = simid_example; // ID of simulation
     
     WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
     
    -// Create a new task.
    -[apiInstance createTaskWith:body
    -    simid:simid
    -    workflowName:workflowName
    -              completionHandler: ^(GenericResponse output, NSError* error) {
    +// Get the list of execution hosts available to run VMs.
    +[apiInstance getExecutionHostsWith:simid
    +              completionHandler: ^(HostnameList output, NSError* error) {
                                 if (output) {
                                     NSLog(@"%@", output);
                                 }
    @@ -9315,13 +8599,11 @@ 

    Usage and SDK Samples

    -
    +
    var WrenchRestApi = require('wrench_rest_api');
     
     var api = new WrenchRestApi.WRENCHApi()
    -var body = ; // {{Task}} Task characteristics.
    -var simid = simid_example; // {{String}} ID of the simulation
    -var workflowName = workflowName_example; // {{String}} 
    +var simid = simid_example; // {{String}} ID of simulation
     
     var callback = function(error, data, response) {
       if (error) {
    @@ -9330,14 +8612,14 @@ 

    Usage and SDK Samples

    console.log('API called successfully. Returned data: ' + data); } }; -api.createTask(bodysimidworkflowName, callback); +api.getExecutionHosts(simid, callback);
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -9346,25 +8628,23 @@ 

    Usage and SDK Samples

    namespace Example { - public class createTaskExample + public class getExecutionHostsExample { public void main() { var apiInstance = new WRENCHApi(); - var body = new Task(); // Task | Task characteristics. - var simid = simid_example; // String | ID of the simulation - var workflowName = workflowName_example; // String | + var simid = simid_example; // String | ID of simulation try { - // Create a new task. - GenericResponse result = apiInstance.createTask(body, simid, workflowName); + // Get the list of execution hosts available to run VMs. + HostnameList result = apiInstance.getExecutionHosts(simid); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.createTask: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.getExecutionHosts: " + e.Message ); } } } @@ -9372,44 +8652,40 @@

    Usage and SDK Samples

    -
    +
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
     
     $api_instance = new Swagger\Client\ApiWRENCHApi();
    -$body = ; // Task | Task characteristics.
    -$simid = simid_example; // String | ID of the simulation
    -$workflowName = workflowName_example; // String | 
    +$simid = simid_example; // String | ID of simulation
     
     try {
    -    $result = $api_instance->createTask($body, $simid, $workflowName);
    +    $result = $api_instance->getExecutionHosts($simid);
         print_r($result);
     } catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->createTask: ', $e->getMessage(), PHP_EOL;
    +    echo 'Exception when calling WRENCHApi->getExecutionHosts: ', $e->getMessage(), PHP_EOL;
     }
     ?>
    -
    +
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
     use WWW::SwaggerClient::WRENCHApi;
     
     my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $body = WWW::SwaggerClient::Object::Task->new(); # Task | Task characteristics.
    -my $simid = simid_example; # String | ID of the simulation
    -my $workflowName = workflowName_example; # String | 
    +my $simid = simid_example; # String | ID of simulation
     
     eval { 
    -    my $result = $api_instance->createTask(body => $body, simid => $simid, workflowName => $workflowName);
    +    my $result = $api_instance->getExecutionHosts(simid => $simid);
         print Dumper($result);
     };
     if ($@) {
    -    warn "Exception when calling WRENCHApi->createTask: $@\n";
    +    warn "Exception when calling WRENCHApi->getExecutionHosts: $@\n";
     }
    -
    +
    from __future__ import print_statement
     import time
     import swagger_client
    @@ -9418,16 +8694,14 @@ 

    Usage and SDK Samples

    # create an instance of the API class api_instance = swagger_client.WRENCHApi() -body = # Task | Task characteristics. -simid = simid_example # String | ID of the simulation -workflowName = workflowName_example # String | +simid = simid_example # String | ID of simulation try: - # Create a new task. - api_response = api_instance.create_task(body, simid, workflowName) + # Get the list of execution hosts available to run VMs. + api_response = api_instance.get_execution_hosts(simid) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->createTask: %s\n" % e)
    + print("Exception when calling WRENCHApi->getExecutionHosts: %s\n" % e)
    @@ -9443,7 +8717,7 @@

    Parameters

    -
    +
    @@ -9451,7 +8725,7 @@

    Parameters

    - ID of the simulation + ID of simulation
    @@ -9461,96 +8735,33 @@

    Parameters

    - workflow_name* - - - -
    -
    -
    - - String - - -
    -
    - Required -
    -
    -
    - - -
    Body parameters
    - - - - - - - - -
    NameDescription
    body * - - - -
    -
    - - - -

    Responses

    -

    Status: 200 - OK

    - - - -
    -
    -
    -
    - +
    @@ -9590,11 +8801,11 @@

    Status: 405 - Invalid input


    -
    -
    +
    +
    -

    createVM

    -

    Create a VM on a cloud compute service.

    +

    getFileSize

    +

    Get a file size.

    @@ -9602,32 +8813,31 @@

    createVM


    -
    /simulation/{simid}/cloud_compute_services/{service_name}/createVM
    +
    /simulation/{simid}/files/{file_id}/size

    Usage and SDK Samples

    -
    -
    curl -X POST\
    +                          
    +
    curl -X GET\
     -H "Accept: application/json"\
    --H "Content-Type: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/cloud_compute_services/{service_name}/createVM"
    +"https://wrench-project.org/v1/simulation/{simid}/files/{file_id}/size"
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    @@ -9641,56 +8851,52 @@ 

    Usage and SDK Samples

    public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); - Service_name_createVM_body body = ; // Service_name_createVM_body | Input to start create a VM. String simid = simid_example; // String | ID of the simulation - String serviceName = serviceName_example; // String | The cloud compute service name + String fileId = fileId_example; // String | Name of the file try { - VMCreationResponse result = apiInstance.createVM(body, simid, serviceName); + FileSizeResponse result = apiInstance.getFileSize(simid, fileId); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#createVM"); + System.err.println("Exception when calling WRENCHApi#getFileSize"); e.printStackTrace(); } } }
    -
    +
    import io.swagger.client.api.WRENCHApi;
     
     public class WRENCHApiExample {
     
         public static void main(String[] args) {
             WRENCHApi apiInstance = new WRENCHApi();
    -        Service_name_createVM_body body = ; // Service_name_createVM_body | Input to start create a VM.
             String simid = simid_example; // String | ID of the simulation
    -        String serviceName = serviceName_example; // String | The cloud compute service name
    +        String fileId = fileId_example; // String | Name of the file
             try {
    -            VMCreationResponse result = apiInstance.createVM(body, simid, serviceName);
    +            FileSizeResponse result = apiInstance.getFileSize(simid, fileId);
                 System.out.println(result);
             } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#createVM");
    +            System.err.println("Exception when calling WRENCHApi#getFileSize");
                 e.printStackTrace();
             }
         }
     }
    -
    -
    Service_name_createVM_body *body = ; // Input to start create a VM.
    -String *simid = simid_example; // ID of the simulation
    -String *serviceName = serviceName_example; // The cloud compute service name
    +                            
    +
    String *simid = simid_example; // ID of the simulation
    +String *fileId = fileId_example; // Name of the file
     
     WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
     
    -// Create a VM on a cloud compute service.
    -[apiInstance createVMWith:body
    -    simid:simid
    -    serviceName:serviceName
    -              completionHandler: ^(VMCreationResponse output, NSError* error) {
    +// Get a file size.
    +[apiInstance getFileSizeWith:simid
    +    fileId:fileId
    +              completionHandler: ^(FileSizeResponse output, NSError* error) {
                                 if (output) {
                                     NSLog(@"%@", output);
                                 }
    @@ -9701,13 +8907,12 @@ 

    Usage and SDK Samples

    -
    +
    var WrenchRestApi = require('wrench_rest_api');
     
     var api = new WrenchRestApi.WRENCHApi()
    -var body = ; // {{Service_name_createVM_body}} Input to start create a VM.
     var simid = simid_example; // {{String}} ID of the simulation
    -var serviceName = serviceName_example; // {{String}} The cloud compute service name
    +var fileId = fileId_example; // {{String}} Name of the file
     
     var callback = function(error, data, response) {
       if (error) {
    @@ -9716,14 +8921,14 @@ 

    Usage and SDK Samples

    console.log('API called successfully. Returned data: ' + data); } }; -api.createVM(bodysimidserviceName, callback); +api.getFileSize(simid, fileId, callback);
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -9732,25 +8937,24 @@ 

    Usage and SDK Samples

    namespace Example { - public class createVMExample + public class getFileSizeExample { public void main() { var apiInstance = new WRENCHApi(); - var body = new Service_name_createVM_body(); // Service_name_createVM_body | Input to start create a VM. var simid = simid_example; // String | ID of the simulation - var serviceName = serviceName_example; // String | The cloud compute service name + var fileId = fileId_example; // String | Name of the file try { - // Create a VM on a cloud compute service. - VMCreationResponse result = apiInstance.createVM(body, simid, serviceName); + // Get a file size. + FileSizeResponse result = apiInstance.getFileSize(simid, fileId); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.createVM: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.getFileSize: " + e.Message ); } } } @@ -9758,44 +8962,42 @@

    Usage and SDK Samples

    -
    +
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
     
     $api_instance = new Swagger\Client\ApiWRENCHApi();
    -$body = ; // Service_name_createVM_body | Input to start create a VM.
     $simid = simid_example; // String | ID of the simulation
    -$serviceName = serviceName_example; // String | The cloud compute service name
    +$fileId = fileId_example; // String | Name of the file
     
     try {
    -    $result = $api_instance->createVM($body, $simid, $serviceName);
    +    $result = $api_instance->getFileSize($simid, $fileId);
         print_r($result);
     } catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->createVM: ', $e->getMessage(), PHP_EOL;
    +    echo 'Exception when calling WRENCHApi->getFileSize: ', $e->getMessage(), PHP_EOL;
     }
     ?>
    -
    +
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
     use WWW::SwaggerClient::WRENCHApi;
     
     my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $body = WWW::SwaggerClient::Object::Service_name_createVM_body->new(); # Service_name_createVM_body | Input to start create a VM.
     my $simid = simid_example; # String | ID of the simulation
    -my $serviceName = serviceName_example; # String | The cloud compute service name
    +my $fileId = fileId_example; # String | Name of the file
     
     eval { 
    -    my $result = $api_instance->createVM(body => $body, simid => $simid, serviceName => $serviceName);
    +    my $result = $api_instance->getFileSize(simid => $simid, fileId => $fileId);
         print Dumper($result);
     };
     if ($@) {
    -    warn "Exception when calling WRENCHApi->createVM: $@\n";
    +    warn "Exception when calling WRENCHApi->getFileSize: $@\n";
     }
    -
    +
    from __future__ import print_statement
     import time
     import swagger_client
    @@ -9804,16 +9006,15 @@ 

    Usage and SDK Samples

    # create an instance of the API class api_instance = swagger_client.WRENCHApi() -body = # Service_name_createVM_body | Input to start create a VM. simid = simid_example # String | ID of the simulation -serviceName = serviceName_example # String | The cloud compute service name +fileId = fileId_example # String | Name of the file try: - # Create a VM on a cloud compute service. - api_response = api_instance.create_vm(body, simid, serviceName) + # Get a file size. + api_response = api_instance.get_file_size(simid, fileId) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->createVM: %s\n" % e)
    + print("Exception when calling WRENCHApi->getFileSize: %s\n" % e)
    @@ -9829,7 +9030,7 @@

    Parameters

    -
    +
    @@ -9847,11 +9048,11 @@

    Parameters

    - service_name* + file_id* -
    +
    @@ -9859,7 +9060,7 @@

    Parameters

    - The cloud compute service name + Name of the file
    @@ -9872,50 +9073,6 @@

    Parameters

    -
    Body parameters
    - - - - - - - - -
    NameDescription
    body * - - - -
    -
    @@ -9924,14 +9081,14 @@

    Status: 200 - OK

    -
    -
    +
    +
    - +
    +

    Status: 404 - File not found

    + + + +
    +
    +

    Status: 405 - Invalid input


    -
    -
    +
    +
    -

    createWorkflow

    -

    Create a blank workflow.

    +

    getInputFiles

    +

    Return the list of input files of the workflow.

    @@ -9991,31 +9156,31 @@

    createWorkflow


    -
    /simulation/{simid}/createWorkflow
    +
    /simulation/{simid}/workflows/{workflow_name}/inputFiles

    Usage and SDK Samples

    -
    -
    curl -X POST\
    +                          
    +
    curl -X GET\
     -H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/createWorkflow"
    +"https://wrench-project.org/v1/simulation/{simid}/workflows/{workflow_name}/inputFiles"
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    @@ -10030,18 +9195,19 @@ 

    Usage and SDK Samples

    WRENCHApi apiInstance = new WRENCHApi(); String simid = simid_example; // String | ID of the simulation + String workflowName = workflowName_example; // String | try { - WorkflowResponse result = apiInstance.createWorkflow(simid); + FileList result = apiInstance.getInputFiles(simid, workflowName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#createWorkflow"); + System.err.println("Exception when calling WRENCHApi#getInputFiles"); e.printStackTrace(); } } }
    -
    +
    import io.swagger.client.api.WRENCHApi;
     
     public class WRENCHApiExample {
    @@ -10049,28 +9215,31 @@ 

    Usage and SDK Samples

    public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); String simid = simid_example; // String | ID of the simulation + String workflowName = workflowName_example; // String | try { - WorkflowResponse result = apiInstance.createWorkflow(simid); + FileList result = apiInstance.getInputFiles(simid, workflowName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#createWorkflow"); + System.err.println("Exception when calling WRENCHApi#getInputFiles"); e.printStackTrace(); } } }
    -
    +
    String *simid = simid_example; // ID of the simulation
    +String *workflowName = workflowName_example; // 
     
     WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
     
    -// Create a blank workflow.
    -[apiInstance createWorkflowWith:simid
    -              completionHandler: ^(WorkflowResponse output, NSError* error) {
    +// Return the list of input files of the workflow.
    +[apiInstance getInputFilesWith:simid
    +    workflowName:workflowName
    +              completionHandler: ^(FileList output, NSError* error) {
                                 if (output) {
                                     NSLog(@"%@", output);
                                 }
    @@ -10081,11 +9250,12 @@ 

    Usage and SDK Samples

    -
    +
    var WrenchRestApi = require('wrench_rest_api');
     
     var api = new WrenchRestApi.WRENCHApi()
     var simid = simid_example; // {{String}} ID of the simulation
    +var workflowName = workflowName_example; // {{String}} 
     
     var callback = function(error, data, response) {
       if (error) {
    @@ -10094,14 +9264,14 @@ 

    Usage and SDK Samples

    console.log('API called successfully. Returned data: ' + data); } }; -api.createWorkflow(simid, callback); +api.getInputFiles(simid, workflowName, callback);
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -10110,23 +9280,24 @@ 

    Usage and SDK Samples

    namespace Example { - public class createWorkflowExample + public class getInputFilesExample { public void main() { var apiInstance = new WRENCHApi(); var simid = simid_example; // String | ID of the simulation + var workflowName = workflowName_example; // String | try { - // Create a blank workflow. - WorkflowResponse result = apiInstance.createWorkflow(simid); + // Return the list of input files of the workflow. + FileList result = apiInstance.getInputFiles(simid, workflowName); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.createWorkflow: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.getInputFiles: " + e.Message ); } } } @@ -10134,40 +9305,42 @@

    Usage and SDK Samples

    -
    +
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
     
     $api_instance = new Swagger\Client\ApiWRENCHApi();
     $simid = simid_example; // String | ID of the simulation
    +$workflowName = workflowName_example; // String | 
     
     try {
    -    $result = $api_instance->createWorkflow($simid);
    +    $result = $api_instance->getInputFiles($simid, $workflowName);
         print_r($result);
     } catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->createWorkflow: ', $e->getMessage(), PHP_EOL;
    +    echo 'Exception when calling WRENCHApi->getInputFiles: ', $e->getMessage(), PHP_EOL;
     }
     ?>
    -
    +
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
     use WWW::SwaggerClient::WRENCHApi;
     
     my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
     my $simid = simid_example; # String | ID of the simulation
    +my $workflowName = workflowName_example; # String | 
     
     eval { 
    -    my $result = $api_instance->createWorkflow(simid => $simid);
    +    my $result = $api_instance->getInputFiles(simid => $simid, workflowName => $workflowName);
         print Dumper($result);
     };
     if ($@) {
    -    warn "Exception when calling WRENCHApi->createWorkflow: $@\n";
    +    warn "Exception when calling WRENCHApi->getInputFiles: $@\n";
     }
    -
    +
    from __future__ import print_statement
     import time
     import swagger_client
    @@ -10177,13 +9350,14 @@ 

    Usage and SDK Samples

    # create an instance of the API class api_instance = swagger_client.WRENCHApi() simid = simid_example # String | ID of the simulation +workflowName = workflowName_example # String | try: - # Create a blank workflow. - api_response = api_instance.create_workflow(simid) + # Return the list of input files of the workflow. + api_response = api_instance.get_input_files(simid, workflowName) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->createWorkflow: %s\n" % e)
    + print("Exception when calling WRENCHApi->getInputFiles: %s\n" % e)
    @@ -10199,7 +9373,7 @@

    Parameters

    -
    +
    @@ -10217,6 +9391,25 @@

    Parameters

    + workflow_name* + + + +
    +
    +
    + + String + + +
    +
    + Required +
    +
    +
    + + @@ -10228,14 +9421,14 @@

    Status: 200 - OK

    -
    -
    +
    +
    - +
    +

    Status: 404 - Task not found

    + + + +
    +
    +

    Status: 405 - Invalid input


    -
    -
    +
    +
    -

    createWorkflowFromJSON

    -

    Create a workflow from a WfCommons JSON object.

    +

    getReadyTasks

    +

    Return the list of ready tasks in the workflow.

    @@ -10295,32 +9496,31 @@

    createWorkflowFromJSON


    -
    /simulation/{simid}/createWorkflowFromJSON
    +
    /simulation/{simid}/workflows/{workflow_name}/readyTasks

    Usage and SDK Samples

    -
    -
    curl -X POST\
    +                          
    +
    curl -X GET\
     -H "Accept: application/json"\
    --H "Content-Type: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/createWorkflowFromJSON"
    +"https://wrench-project.org/v1/simulation/{simid}/workflows/{workflow_name}/readyTasks"
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    @@ -10334,52 +9534,52 @@ 

    Usage and SDK Samples

    public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); - Simid_createWorkflowFromJSON_body body = ; // Simid_createWorkflowFromJSON_body | Input to create workflow from JSON. String simid = simid_example; // String | ID of the simulation + String workflowName = workflowName_example; // String | try { - WorkflowResponseWithTaskAndFileList result = apiInstance.createWorkflowFromJSON(body, simid); + TaskList result = apiInstance.getReadyTasks(simid, workflowName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#createWorkflowFromJSON"); + System.err.println("Exception when calling WRENCHApi#getReadyTasks"); e.printStackTrace(); } } }
    -
    +
    import io.swagger.client.api.WRENCHApi;
     
     public class WRENCHApiExample {
     
         public static void main(String[] args) {
             WRENCHApi apiInstance = new WRENCHApi();
    -        Simid_createWorkflowFromJSON_body body = ; // Simid_createWorkflowFromJSON_body | Input to create workflow from JSON.
             String simid = simid_example; // String | ID of the simulation
    +        String workflowName = workflowName_example; // String | 
             try {
    -            WorkflowResponseWithTaskAndFileList result = apiInstance.createWorkflowFromJSON(body, simid);
    +            TaskList result = apiInstance.getReadyTasks(simid, workflowName);
                 System.out.println(result);
             } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#createWorkflowFromJSON");
    +            System.err.println("Exception when calling WRENCHApi#getReadyTasks");
                 e.printStackTrace();
             }
         }
     }
    -
    -
    Simid_createWorkflowFromJSON_body *body = ; // Input to create workflow from JSON.
    -String *simid = simid_example; // ID of the simulation
    +                            
    +
    String *simid = simid_example; // ID of the simulation
    +String *workflowName = workflowName_example; // 
     
     WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
     
    -// Create a workflow from a WfCommons JSON object.
    -[apiInstance createWorkflowFromJSONWith:body
    -    simid:simid
    -              completionHandler: ^(WorkflowResponseWithTaskAndFileList output, NSError* error) {
    +// Return the list of ready tasks in the workflow.
    +[apiInstance getReadyTasksWith:simid
    +    workflowName:workflowName
    +              completionHandler: ^(TaskList output, NSError* error) {
                                 if (output) {
                                     NSLog(@"%@", output);
                                 }
    @@ -10390,12 +9590,12 @@ 

    Usage and SDK Samples

    -
    +
    var WrenchRestApi = require('wrench_rest_api');
     
     var api = new WrenchRestApi.WRENCHApi()
    -var body = ; // {{Simid_createWorkflowFromJSON_body}} Input to create workflow from JSON.
     var simid = simid_example; // {{String}} ID of the simulation
    +var workflowName = workflowName_example; // {{String}} 
     
     var callback = function(error, data, response) {
       if (error) {
    @@ -10404,14 +9604,14 @@ 

    Usage and SDK Samples

    console.log('API called successfully. Returned data: ' + data); } }; -api.createWorkflowFromJSON(bodysimid, callback); +api.getReadyTasks(simid, workflowName, callback);
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -10420,24 +9620,24 @@ 

    Usage and SDK Samples

    namespace Example { - public class createWorkflowFromJSONExample + public class getReadyTasksExample { public void main() { var apiInstance = new WRENCHApi(); - var body = new Simid_createWorkflowFromJSON_body(); // Simid_createWorkflowFromJSON_body | Input to create workflow from JSON. var simid = simid_example; // String | ID of the simulation + var workflowName = workflowName_example; // String | try { - // Create a workflow from a WfCommons JSON object. - WorkflowResponseWithTaskAndFileList result = apiInstance.createWorkflowFromJSON(body, simid); + // Return the list of ready tasks in the workflow. + TaskList result = apiInstance.getReadyTasks(simid, workflowName); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.createWorkflowFromJSON: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.getReadyTasks: " + e.Message ); } } } @@ -10445,42 +9645,42 @@

    Usage and SDK Samples

    -
    +
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
     
     $api_instance = new Swagger\Client\ApiWRENCHApi();
    -$body = ; // Simid_createWorkflowFromJSON_body | Input to create workflow from JSON.
     $simid = simid_example; // String | ID of the simulation
    +$workflowName = workflowName_example; // String | 
     
     try {
    -    $result = $api_instance->createWorkflowFromJSON($body, $simid);
    +    $result = $api_instance->getReadyTasks($simid, $workflowName);
         print_r($result);
     } catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->createWorkflowFromJSON: ', $e->getMessage(), PHP_EOL;
    +    echo 'Exception when calling WRENCHApi->getReadyTasks: ', $e->getMessage(), PHP_EOL;
     }
     ?>
    -
    +
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
     use WWW::SwaggerClient::WRENCHApi;
     
     my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $body = WWW::SwaggerClient::Object::Simid_createWorkflowFromJSON_body->new(); # Simid_createWorkflowFromJSON_body | Input to create workflow from JSON.
     my $simid = simid_example; # String | ID of the simulation
    +my $workflowName = workflowName_example; # String | 
     
     eval { 
    -    my $result = $api_instance->createWorkflowFromJSON(body => $body, simid => $simid);
    +    my $result = $api_instance->getReadyTasks(simid => $simid, workflowName => $workflowName);
         print Dumper($result);
     };
     if ($@) {
    -    warn "Exception when calling WRENCHApi->createWorkflowFromJSON: $@\n";
    +    warn "Exception when calling WRENCHApi->getReadyTasks: $@\n";
     }
    -
    +
    from __future__ import print_statement
     import time
     import swagger_client
    @@ -10489,15 +9689,15 @@ 

    Usage and SDK Samples

    # create an instance of the API class api_instance = swagger_client.WRENCHApi() -body = # Simid_createWorkflowFromJSON_body | Input to create workflow from JSON. simid = simid_example # String | ID of the simulation +workflowName = workflowName_example # String | try: - # Create a workflow from a WfCommons JSON object. - api_response = api_instance.create_workflow_from_json(body, simid) + # Return the list of ready tasks in the workflow. + api_response = api_instance.get_ready_tasks(simid, workflowName) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->createWorkflowFromJSON: %s\n" % e)
    + print("Exception when calling WRENCHApi->getReadyTasks: %s\n" % e)
    @@ -10513,7 +9713,7 @@

    Parameters

    -
    +
    @@ -10531,53 +9731,28 @@

    Parameters

    + workflow_name* + + + +
    +
    +
    + + String + + +
    +
    + Required +
    +
    +
    + + -
    Body parameters
    - - - - - - - - -
    NameDescription
    body * - - - -
    -
    @@ -10586,14 +9761,14 @@

    Status: 200 - OK

    -
    -
    +
    +
    - +
    +

    Status: 404 - Task not found

    + + + +
    +
    +

    Status: 405 - Invalid input


    -
    -
    +
    +
    -

    destroyVM

    -

    Destroy a VM.

    +

    getSimulationEvents

    +

    Retrieve all simulation events since last time we checked.

    @@ -10653,31 +9836,31 @@

    destroyVM


    -
    /simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/destroyVM
    +
    /simulation/{simid}/simulationEvents

    Usage and SDK Samples

    -
    -
    curl -X POST\
    +                          
    +
    curl -X GET\
     -H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/destroyVM"
    +"https://wrench-project.org/v1/simulation/{simid}/simulationEvents"
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    @@ -10691,56 +9874,48 @@ 

    Usage and SDK Samples

    public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); - String simid = simid_example; // String | ID of the simulation - String serviceName = serviceName_example; // String | The cloud compute service name - String vmName = vmName_example; // String | The VM name + String simid = simid_example; // String | ID of simulation try { - GenericResponse result = apiInstance.destroyVM(simid, serviceName, vmName); + EventList result = apiInstance.getSimulationEvents(simid); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#destroyVM"); + System.err.println("Exception when calling WRENCHApi#getSimulationEvents"); e.printStackTrace(); } } }
    -
    +
    import io.swagger.client.api.WRENCHApi;
     
     public class WRENCHApiExample {
     
         public static void main(String[] args) {
             WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String serviceName = serviceName_example; // String | The cloud compute service name
    -        String vmName = vmName_example; // String | The VM name
    +        String simid = simid_example; // String | ID of simulation
             try {
    -            GenericResponse result = apiInstance.destroyVM(simid, serviceName, vmName);
    +            EventList result = apiInstance.getSimulationEvents(simid);
                 System.out.println(result);
             } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#destroyVM");
    +            System.err.println("Exception when calling WRENCHApi#getSimulationEvents");
                 e.printStackTrace();
             }
         }
     }
    -
    -
    String *simid = simid_example; // ID of the simulation
    -String *serviceName = serviceName_example; // The cloud compute service name
    -String *vmName = vmName_example; // The VM name
    +                            
    +
    String *simid = simid_example; // ID of simulation
     
     WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
     
    -// Destroy a VM.
    -[apiInstance destroyVMWith:simid
    -    serviceName:serviceName
    -    vmName:vmName
    -              completionHandler: ^(GenericResponse output, NSError* error) {
    +// Retrieve all simulation events since last time we checked.
    +[apiInstance getSimulationEventsWith:simid
    +              completionHandler: ^(EventList output, NSError* error) {
                                 if (output) {
                                     NSLog(@"%@", output);
                                 }
    @@ -10751,13 +9926,11 @@ 

    Usage and SDK Samples

    -
    +
    var WrenchRestApi = require('wrench_rest_api');
     
     var api = new WrenchRestApi.WRENCHApi()
    -var simid = simid_example; // {{String}} ID of the simulation
    -var serviceName = serviceName_example; // {{String}} The cloud compute service name
    -var vmName = vmName_example; // {{String}} The VM name
    +var simid = simid_example; // {{String}} ID of simulation
     
     var callback = function(error, data, response) {
       if (error) {
    @@ -10766,14 +9939,14 @@ 

    Usage and SDK Samples

    console.log('API called successfully. Returned data: ' + data); } }; -api.destroyVM(simid, serviceName, vmName, callback); +api.getSimulationEvents(simid, callback);
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -10782,25 +9955,23 @@ 

    Usage and SDK Samples

    namespace Example { - public class destroyVMExample + public class getSimulationEventsExample { public void main() { var apiInstance = new WRENCHApi(); - var simid = simid_example; // String | ID of the simulation - var serviceName = serviceName_example; // String | The cloud compute service name - var vmName = vmName_example; // String | The VM name + var simid = simid_example; // String | ID of simulation try { - // Destroy a VM. - GenericResponse result = apiInstance.destroyVM(simid, serviceName, vmName); + // Retrieve all simulation events since last time we checked. + EventList result = apiInstance.getSimulationEvents(simid); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.destroyVM: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.getSimulationEvents: " + e.Message ); } } } @@ -10808,44 +9979,40 @@

    Usage and SDK Samples

    -
    +
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
     
     $api_instance = new Swagger\Client\ApiWRENCHApi();
    -$simid = simid_example; // String | ID of the simulation
    -$serviceName = serviceName_example; // String | The cloud compute service name
    -$vmName = vmName_example; // String | The VM name
    +$simid = simid_example; // String | ID of simulation
     
     try {
    -    $result = $api_instance->destroyVM($simid, $serviceName, $vmName);
    +    $result = $api_instance->getSimulationEvents($simid);
         print_r($result);
     } catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->destroyVM: ', $e->getMessage(), PHP_EOL;
    +    echo 'Exception when calling WRENCHApi->getSimulationEvents: ', $e->getMessage(), PHP_EOL;
     }
     ?>
    -
    +
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
     use WWW::SwaggerClient::WRENCHApi;
     
     my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $simid = simid_example; # String | ID of the simulation
    -my $serviceName = serviceName_example; # String | The cloud compute service name
    -my $vmName = vmName_example; # String | The VM name
    +my $simid = simid_example; # String | ID of simulation
     
     eval { 
    -    my $result = $api_instance->destroyVM(simid => $simid, serviceName => $serviceName, vmName => $vmName);
    +    my $result = $api_instance->getSimulationEvents(simid => $simid);
         print Dumper($result);
     };
     if ($@) {
    -    warn "Exception when calling WRENCHApi->destroyVM: $@\n";
    +    warn "Exception when calling WRENCHApi->getSimulationEvents: $@\n";
     }
    -
    +
    from __future__ import print_statement
     import time
     import swagger_client
    @@ -10854,16 +10021,14 @@ 

    Usage and SDK Samples

    # create an instance of the API class api_instance = swagger_client.WRENCHApi() -simid = simid_example # String | ID of the simulation -serviceName = serviceName_example # String | The cloud compute service name -vmName = vmName_example # String | The VM name +simid = simid_example # String | ID of simulation try: - # Destroy a VM. - api_response = api_instance.destroy_vm(simid, serviceName, vmName) + # Retrieve all simulation events since last time we checked. + api_response = api_instance.get_simulation_events(simid) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->destroyVM: %s\n" % e)
    + print("Exception when calling WRENCHApi->getSimulationEvents: %s\n" % e)
    @@ -10879,29 +10044,7 @@

    Parameters

    -
    -
    -
    - - String - - -
    - ID of the simulation -
    -
    -
    - Required -
    -
    -
    - - - service_name* - - - -
    +
    @@ -10909,29 +10052,7 @@

    Parameters

    - The cloud compute service name -
    -
    -
    - Required -
    -
    -
    - - - vm_name* - - - -
    -
    -
    - - String - - -
    - The VM name + ID of simulation
    @@ -10952,14 +10073,14 @@

    Status: 200 - OK

    -
    -
    +
    +
    - +
    @@ -11007,11 +10128,11 @@

    Status: 405 - Invalid input


    -
    -
    +
    +
    -

    fileRegistryServiceAddEntry

    -

    Add an entry to a file registry service.

    +

    getSimulationTime

    +

    Retrieve the current simulated time.

    @@ -11019,32 +10140,31 @@

    fileRegistryServiceAddEntry


    -
    /simulation/{simid}/fileRegistryServices/{file_registry_service_name}/addEntry
    +
    /simulation/{simid}/getTime

    Usage and SDK Samples

    -
    -
    curl -X POST\
    +                          
    +
    curl -X GET\
     -H "Accept: application/json"\
    --H "Content-Type: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/fileRegistryServices/{file_registry_service_name}/addEntry"
    +"https://wrench-project.org/v1/simulation/{simid}/getTime"
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    @@ -11058,56 +10178,48 @@ 

    Usage and SDK Samples

    public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); - FileRegistryServiceEntry body = ; // FileRegistryServiceEntry | Entry to add. String simid = simid_example; // String | ID of the simulation - String fileRegistryServiceName = fileRegistryServiceName_example; // String | try { - GenericResponse result = apiInstance.fileRegistryServiceAddEntry(body, simid, fileRegistryServiceName); + TimeResponse result = apiInstance.getSimulationTime(simid); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#fileRegistryServiceAddEntry"); + System.err.println("Exception when calling WRENCHApi#getSimulationTime"); e.printStackTrace(); } } }
    -
    +
    import io.swagger.client.api.WRENCHApi;
     
     public class WRENCHApiExample {
     
         public static void main(String[] args) {
             WRENCHApi apiInstance = new WRENCHApi();
    -        FileRegistryServiceEntry body = ; // FileRegistryServiceEntry | Entry to add.
             String simid = simid_example; // String | ID of the simulation
    -        String fileRegistryServiceName = fileRegistryServiceName_example; // String | 
             try {
    -            GenericResponse result = apiInstance.fileRegistryServiceAddEntry(body, simid, fileRegistryServiceName);
    +            TimeResponse result = apiInstance.getSimulationTime(simid);
                 System.out.println(result);
             } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#fileRegistryServiceAddEntry");
    +            System.err.println("Exception when calling WRENCHApi#getSimulationTime");
                 e.printStackTrace();
             }
         }
     }
    -
    -
    FileRegistryServiceEntry *body = ; // Entry to add.
    -String *simid = simid_example; // ID of the simulation
    -String *fileRegistryServiceName = fileRegistryServiceName_example; // 
    +                            
    +
    String *simid = simid_example; // ID of the simulation
     
     WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
     
    -// Add an entry to a file registry service.
    -[apiInstance fileRegistryServiceAddEntryWith:body
    -    simid:simid
    -    fileRegistryServiceName:fileRegistryServiceName
    -              completionHandler: ^(GenericResponse output, NSError* error) {
    +// Retrieve the current simulated time.
    +[apiInstance getSimulationTimeWith:simid
    +              completionHandler: ^(TimeResponse output, NSError* error) {
                                 if (output) {
                                     NSLog(@"%@", output);
                                 }
    @@ -11118,13 +10230,11 @@ 

    Usage and SDK Samples

    -
    +
    var WrenchRestApi = require('wrench_rest_api');
     
     var api = new WrenchRestApi.WRENCHApi()
    -var body = ; // {{FileRegistryServiceEntry}} Entry to add.
     var simid = simid_example; // {{String}} ID of the simulation
    -var fileRegistryServiceName = fileRegistryServiceName_example; // {{String}} 
     
     var callback = function(error, data, response) {
       if (error) {
    @@ -11133,14 +10243,14 @@ 

    Usage and SDK Samples

    console.log('API called successfully. Returned data: ' + data); } }; -api.fileRegistryServiceAddEntry(bodysimidfileRegistryServiceName, callback); +api.getSimulationTime(simid, callback);
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -11149,25 +10259,23 @@ 

    Usage and SDK Samples

    namespace Example { - public class fileRegistryServiceAddEntryExample + public class getSimulationTimeExample { public void main() { var apiInstance = new WRENCHApi(); - var body = new FileRegistryServiceEntry(); // FileRegistryServiceEntry | Entry to add. var simid = simid_example; // String | ID of the simulation - var fileRegistryServiceName = fileRegistryServiceName_example; // String | try { - // Add an entry to a file registry service. - GenericResponse result = apiInstance.fileRegistryServiceAddEntry(body, simid, fileRegistryServiceName); + // Retrieve the current simulated time. + TimeResponse result = apiInstance.getSimulationTime(simid); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.fileRegistryServiceAddEntry: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.getSimulationTime: " + e.Message ); } } } @@ -11175,44 +10283,40 @@

    Usage and SDK Samples

    -
    +
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
     
     $api_instance = new Swagger\Client\ApiWRENCHApi();
    -$body = ; // FileRegistryServiceEntry | Entry to add.
     $simid = simid_example; // String | ID of the simulation
    -$fileRegistryServiceName = fileRegistryServiceName_example; // String | 
     
     try {
    -    $result = $api_instance->fileRegistryServiceAddEntry($body, $simid, $fileRegistryServiceName);
    +    $result = $api_instance->getSimulationTime($simid);
         print_r($result);
     } catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->fileRegistryServiceAddEntry: ', $e->getMessage(), PHP_EOL;
    +    echo 'Exception when calling WRENCHApi->getSimulationTime: ', $e->getMessage(), PHP_EOL;
     }
     ?>
    -
    +
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
     use WWW::SwaggerClient::WRENCHApi;
     
     my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $body = WWW::SwaggerClient::Object::FileRegistryServiceEntry->new(); # FileRegistryServiceEntry | Entry to add.
     my $simid = simid_example; # String | ID of the simulation
    -my $fileRegistryServiceName = fileRegistryServiceName_example; # String | 
     
     eval { 
    -    my $result = $api_instance->fileRegistryServiceAddEntry(body => $body, simid => $simid, fileRegistryServiceName => $fileRegistryServiceName);
    +    my $result = $api_instance->getSimulationTime(simid => $simid);
         print Dumper($result);
     };
     if ($@) {
    -    warn "Exception when calling WRENCHApi->fileRegistryServiceAddEntry: $@\n";
    +    warn "Exception when calling WRENCHApi->getSimulationTime: $@\n";
     }
    -
    +
    from __future__ import print_statement
     import time
     import swagger_client
    @@ -11221,16 +10325,14 @@ 

    Usage and SDK Samples

    # create an instance of the API class api_instance = swagger_client.WRENCHApi() -body = # FileRegistryServiceEntry | Entry to add. simid = simid_example # String | ID of the simulation -fileRegistryServiceName = fileRegistryServiceName_example # String | try: - # Add an entry to a file registry service. - api_response = api_instance.file_registry_service_add_entry(body, simid, fileRegistryServiceName) + # Retrieve the current simulated time. + api_response = api_instance.get_simulation_time(simid) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->fileRegistryServiceAddEntry: %s\n" % e)
    + print("Exception when calling WRENCHApi->getSimulationTime: %s\n" % e)
    @@ -11246,7 +10348,7 @@

    Parameters

    -
    +
    @@ -11264,72 +10366,9 @@

    Parameters

    - file_registry_service_name* - - - -
    -
    -
    - - String - - -
    -
    - Required -
    -
    -
    - - -
    Body parameters
    - - - - - - - - -
    NameDescription
    body * - - - -
    -
    @@ -11338,14 +10377,14 @@

    Status: 200 - OK

    -
    -
    +
    +
    - +
    @@ -11393,11 +10432,11 @@

    Status: 405 - Invalid input


    -
    -
    +
    +
    -

    fileRegistryServiceLookUpEntry

    -

    Look up the locations of file.

    +

    getStandardJobTasks

    +

    Retrieve job's tasks

    @@ -11405,32 +10444,31 @@

    fileRegistryServiceLookUpEntry


    -
    /simulation/{simid}/fileRegistryServices/{file_registry_service_name}/lookupEntry
    +
    /simulation/{simid}/jobs/{job_name}/tasks

    Usage and SDK Samples

    -
    -
    curl -X POST\
    +                          
    +
    curl -X GET\
     -H "Accept: application/json"\
    --H "Content-Type: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/fileRegistryServices/{file_registry_service_name}/lookupEntry"
    +"https://wrench-project.org/v1/simulation/{simid}/jobs/{job_name}/tasks"
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    @@ -11444,56 +10482,52 @@ 

    Usage and SDK Samples

    public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); - File_registry_service_name_lookupEntry_body body = ; // File_registry_service_name_lookupEntry_body | File to lookup. String simid = simid_example; // String | ID of the simulation - String fileRegistryServiceName = fileRegistryServiceName_example; // String | + String jobName = jobName_example; // String | ID of the job try { - StorageServiceList result = apiInstance.fileRegistryServiceLookUpEntry(body, simid, fileRegistryServiceName); + TaskList result = apiInstance.getStandardJobTasks(simid, jobName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#fileRegistryServiceLookUpEntry"); + System.err.println("Exception when calling WRENCHApi#getStandardJobTasks"); e.printStackTrace(); } } }
    -
    +
    import io.swagger.client.api.WRENCHApi;
     
     public class WRENCHApiExample {
     
         public static void main(String[] args) {
             WRENCHApi apiInstance = new WRENCHApi();
    -        File_registry_service_name_lookupEntry_body body = ; // File_registry_service_name_lookupEntry_body | File to lookup.
             String simid = simid_example; // String | ID of the simulation
    -        String fileRegistryServiceName = fileRegistryServiceName_example; // String | 
    +        String jobName = jobName_example; // String | ID of the job
             try {
    -            StorageServiceList result = apiInstance.fileRegistryServiceLookUpEntry(body, simid, fileRegistryServiceName);
    +            TaskList result = apiInstance.getStandardJobTasks(simid, jobName);
                 System.out.println(result);
             } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#fileRegistryServiceLookUpEntry");
    +            System.err.println("Exception when calling WRENCHApi#getStandardJobTasks");
                 e.printStackTrace();
             }
         }
     }
    -
    -
    File_registry_service_name_lookupEntry_body *body = ; // File to lookup.
    -String *simid = simid_example; // ID of the simulation
    -String *fileRegistryServiceName = fileRegistryServiceName_example; // 
    +                            
    +
    String *simid = simid_example; // ID of the simulation
    +String *jobName = jobName_example; // ID of the job
     
     WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
     
    -// Look up the locations of file.
    -[apiInstance fileRegistryServiceLookUpEntryWith:body
    -    simid:simid
    -    fileRegistryServiceName:fileRegistryServiceName
    -              completionHandler: ^(StorageServiceList output, NSError* error) {
    +// Retrieve job's tasks
    +[apiInstance getStandardJobTasksWith:simid
    +    jobName:jobName
    +              completionHandler: ^(TaskList output, NSError* error) {
                                 if (output) {
                                     NSLog(@"%@", output);
                                 }
    @@ -11504,13 +10538,12 @@ 

    Usage and SDK Samples

    -
    +
    var WrenchRestApi = require('wrench_rest_api');
     
     var api = new WrenchRestApi.WRENCHApi()
    -var body = ; // {{File_registry_service_name_lookupEntry_body}} File to lookup.
     var simid = simid_example; // {{String}} ID of the simulation
    -var fileRegistryServiceName = fileRegistryServiceName_example; // {{String}} 
    +var jobName = jobName_example; // {{String}} ID of the job
     
     var callback = function(error, data, response) {
       if (error) {
    @@ -11519,14 +10552,14 @@ 

    Usage and SDK Samples

    console.log('API called successfully. Returned data: ' + data); } }; -api.fileRegistryServiceLookUpEntry(bodysimidfileRegistryServiceName, callback); +api.getStandardJobTasks(simid, jobName, callback);
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -11535,25 +10568,24 @@ 

    Usage and SDK Samples

    namespace Example { - public class fileRegistryServiceLookUpEntryExample + public class getStandardJobTasksExample { public void main() { var apiInstance = new WRENCHApi(); - var body = new File_registry_service_name_lookupEntry_body(); // File_registry_service_name_lookupEntry_body | File to lookup. var simid = simid_example; // String | ID of the simulation - var fileRegistryServiceName = fileRegistryServiceName_example; // String | + var jobName = jobName_example; // String | ID of the job try { - // Look up the locations of file. - StorageServiceList result = apiInstance.fileRegistryServiceLookUpEntry(body, simid, fileRegistryServiceName); + // Retrieve job's tasks + TaskList result = apiInstance.getStandardJobTasks(simid, jobName); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.fileRegistryServiceLookUpEntry: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.getStandardJobTasks: " + e.Message ); } } } @@ -11561,44 +10593,42 @@

    Usage and SDK Samples

    -
    +
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
     
     $api_instance = new Swagger\Client\ApiWRENCHApi();
    -$body = ; // File_registry_service_name_lookupEntry_body | File to lookup.
     $simid = simid_example; // String | ID of the simulation
    -$fileRegistryServiceName = fileRegistryServiceName_example; // String | 
    +$jobName = jobName_example; // String | ID of the job
     
     try {
    -    $result = $api_instance->fileRegistryServiceLookUpEntry($body, $simid, $fileRegistryServiceName);
    +    $result = $api_instance->getStandardJobTasks($simid, $jobName);
         print_r($result);
     } catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->fileRegistryServiceLookUpEntry: ', $e->getMessage(), PHP_EOL;
    +    echo 'Exception when calling WRENCHApi->getStandardJobTasks: ', $e->getMessage(), PHP_EOL;
     }
     ?>
    -
    +
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
     use WWW::SwaggerClient::WRENCHApi;
     
     my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $body = WWW::SwaggerClient::Object::File_registry_service_name_lookupEntry_body->new(); # File_registry_service_name_lookupEntry_body | File to lookup.
     my $simid = simid_example; # String | ID of the simulation
    -my $fileRegistryServiceName = fileRegistryServiceName_example; # String | 
    +my $jobName = jobName_example; # String | ID of the job
     
     eval { 
    -    my $result = $api_instance->fileRegistryServiceLookUpEntry(body => $body, simid => $simid, fileRegistryServiceName => $fileRegistryServiceName);
    +    my $result = $api_instance->getStandardJobTasks(simid => $simid, jobName => $jobName);
         print Dumper($result);
     };
     if ($@) {
    -    warn "Exception when calling WRENCHApi->fileRegistryServiceLookUpEntry: $@\n";
    +    warn "Exception when calling WRENCHApi->getStandardJobTasks: $@\n";
     }
    -
    +
    from __future__ import print_statement
     import time
     import swagger_client
    @@ -11607,16 +10637,15 @@ 

    Usage and SDK Samples

    # create an instance of the API class api_instance = swagger_client.WRENCHApi() -body = # File_registry_service_name_lookupEntry_body | File to lookup. simid = simid_example # String | ID of the simulation -fileRegistryServiceName = fileRegistryServiceName_example # String | +jobName = jobName_example # String | ID of the job try: - # Look up the locations of file. - api_response = api_instance.file_registry_service_look_up_entry(body, simid, fileRegistryServiceName) + # Retrieve job's tasks + api_response = api_instance.get_standard_job_tasks(simid, jobName) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->fileRegistryServiceLookUpEntry: %s\n" % e)
    + print("Exception when calling WRENCHApi->getStandardJobTasks: %s\n" % e)
    @@ -11632,7 +10661,7 @@

    Parameters

    -
    +
    @@ -11650,17 +10679,20 @@

    Parameters

    - file_registry_service_name* + job_name* -
    +
    String +
    + ID of the job +
    Required @@ -11672,77 +10704,33 @@

    Parameters

    -
    Body parameters
    - - - - - - - - -
    NameDescription
    body * - - - -
    -
    - - - -

    Responses

    -

    Status: 200 - OK

    - - - -
    -
    -
    -
    - +
    -

    Status: 404 - Task not found

    +

    Status: 404 - Job not found

    @@ -11787,11 +10775,11 @@

    Status: 405 - Invalid input


    -
    -
    +
    +
    -

    fileRegistryServiceRemoveEntry

    -

    Remove an entry from a file registry service.

    +

    getTaskEndDate

    +

    Get a task's end date.

    @@ -11799,32 +10787,31 @@

    fileRegistryServiceRemoveEntry


    -
    /simulation/{simid}/fileRegistryServices/{file_registry_service_name}/removeEntry
    +
    /simulation/{simid}/workflows/{workflow_name}/tasks/{task_name}/taskGetEndDate

    Usage and SDK Samples

    -
    -
    curl -X POST\
    +                          
    +
    curl -X GET\
     -H "Accept: application/json"\
    --H "Content-Type: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/fileRegistryServices/{file_registry_service_name}/removeEntry"
    +"https://wrench-project.org/v1/simulation/{simid}/workflows/{workflow_name}/tasks/{task_name}/taskGetEndDate"
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    @@ -11838,56 +10825,56 @@ 

    Usage and SDK Samples

    public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); - FileRegistryServiceEntry body = ; // FileRegistryServiceEntry | Entry to remove. String simid = simid_example; // String | ID of the simulation - String fileRegistryServiceName = fileRegistryServiceName_example; // String | name of the file registry service + String workflowName = workflowName_example; // String | + String taskName = taskName_example; // String | Name of the task try { - GenericResponse result = apiInstance.fileRegistryServiceRemoveEntry(body, simid, fileRegistryServiceName); + TimeResponse result = apiInstance.getTaskEndDate(simid, workflowName, taskName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#fileRegistryServiceRemoveEntry"); + System.err.println("Exception when calling WRENCHApi#getTaskEndDate"); e.printStackTrace(); } } }
    -
    +
    import io.swagger.client.api.WRENCHApi;
     
     public class WRENCHApiExample {
     
         public static void main(String[] args) {
             WRENCHApi apiInstance = new WRENCHApi();
    -        FileRegistryServiceEntry body = ; // FileRegistryServiceEntry | Entry to remove.
             String simid = simid_example; // String | ID of the simulation
    -        String fileRegistryServiceName = fileRegistryServiceName_example; // String | name of the file registry service
    +        String workflowName = workflowName_example; // String | 
    +        String taskName = taskName_example; // String | Name of the task
             try {
    -            GenericResponse result = apiInstance.fileRegistryServiceRemoveEntry(body, simid, fileRegistryServiceName);
    +            TimeResponse result = apiInstance.getTaskEndDate(simid, workflowName, taskName);
                 System.out.println(result);
             } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#fileRegistryServiceRemoveEntry");
    +            System.err.println("Exception when calling WRENCHApi#getTaskEndDate");
                 e.printStackTrace();
             }
         }
     }
    -
    -
    FileRegistryServiceEntry *body = ; // Entry to remove.
    -String *simid = simid_example; // ID of the simulation
    -String *fileRegistryServiceName = fileRegistryServiceName_example; // name of the file registry service
    +                            
    +
    String *simid = simid_example; // ID of the simulation
    +String *workflowName = workflowName_example; // 
    +String *taskName = taskName_example; // Name of the task
     
     WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
     
    -// Remove an entry from a file registry service.
    -[apiInstance fileRegistryServiceRemoveEntryWith:body
    -    simid:simid
    -    fileRegistryServiceName:fileRegistryServiceName
    -              completionHandler: ^(GenericResponse output, NSError* error) {
    +// Get a task's end date.
    +[apiInstance getTaskEndDateWith:simid
    +    workflowName:workflowName
    +    taskName:taskName
    +              completionHandler: ^(TimeResponse output, NSError* error) {
                                 if (output) {
                                     NSLog(@"%@", output);
                                 }
    @@ -11898,13 +10885,13 @@ 

    Usage and SDK Samples

    -
    +
    var WrenchRestApi = require('wrench_rest_api');
     
     var api = new WrenchRestApi.WRENCHApi()
    -var body = ; // {{FileRegistryServiceEntry}} Entry to remove.
     var simid = simid_example; // {{String}} ID of the simulation
    -var fileRegistryServiceName = fileRegistryServiceName_example; // {{String}} name of the file registry service
    +var workflowName = workflowName_example; // {{String}} 
    +var taskName = taskName_example; // {{String}} Name of the task
     
     var callback = function(error, data, response) {
       if (error) {
    @@ -11913,14 +10900,14 @@ 

    Usage and SDK Samples

    console.log('API called successfully. Returned data: ' + data); } }; -api.fileRegistryServiceRemoveEntry(bodysimidfileRegistryServiceName, callback); +api.getTaskEndDate(simid, workflowName, taskName, callback);
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -11929,25 +10916,25 @@ 

    Usage and SDK Samples

    namespace Example { - public class fileRegistryServiceRemoveEntryExample + public class getTaskEndDateExample { public void main() { var apiInstance = new WRENCHApi(); - var body = new FileRegistryServiceEntry(); // FileRegistryServiceEntry | Entry to remove. var simid = simid_example; // String | ID of the simulation - var fileRegistryServiceName = fileRegistryServiceName_example; // String | name of the file registry service + var workflowName = workflowName_example; // String | + var taskName = taskName_example; // String | Name of the task try { - // Remove an entry from a file registry service. - GenericResponse result = apiInstance.fileRegistryServiceRemoveEntry(body, simid, fileRegistryServiceName); + // Get a task's end date. + TimeResponse result = apiInstance.getTaskEndDate(simid, workflowName, taskName); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.fileRegistryServiceRemoveEntry: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.getTaskEndDate: " + e.Message ); } } } @@ -11955,44 +10942,44 @@

    Usage and SDK Samples

    -
    +
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
     
     $api_instance = new Swagger\Client\ApiWRENCHApi();
    -$body = ; // FileRegistryServiceEntry | Entry to remove.
     $simid = simid_example; // String | ID of the simulation
    -$fileRegistryServiceName = fileRegistryServiceName_example; // String | name of the file registry service
    +$workflowName = workflowName_example; // String | 
    +$taskName = taskName_example; // String | Name of the task
     
     try {
    -    $result = $api_instance->fileRegistryServiceRemoveEntry($body, $simid, $fileRegistryServiceName);
    +    $result = $api_instance->getTaskEndDate($simid, $workflowName, $taskName);
         print_r($result);
     } catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->fileRegistryServiceRemoveEntry: ', $e->getMessage(), PHP_EOL;
    +    echo 'Exception when calling WRENCHApi->getTaskEndDate: ', $e->getMessage(), PHP_EOL;
     }
     ?>
    -
    +
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
     use WWW::SwaggerClient::WRENCHApi;
     
     my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $body = WWW::SwaggerClient::Object::FileRegistryServiceEntry->new(); # FileRegistryServiceEntry | Entry to remove.
     my $simid = simid_example; # String | ID of the simulation
    -my $fileRegistryServiceName = fileRegistryServiceName_example; # String | name of the file registry service
    +my $workflowName = workflowName_example; # String | 
    +my $taskName = taskName_example; # String | Name of the task
     
     eval { 
    -    my $result = $api_instance->fileRegistryServiceRemoveEntry(body => $body, simid => $simid, fileRegistryServiceName => $fileRegistryServiceName);
    +    my $result = $api_instance->getTaskEndDate(simid => $simid, workflowName => $workflowName, taskName => $taskName);
         print Dumper($result);
     };
     if ($@) {
    -    warn "Exception when calling WRENCHApi->fileRegistryServiceRemoveEntry: $@\n";
    +    warn "Exception when calling WRENCHApi->getTaskEndDate: $@\n";
     }
    -
    +
    from __future__ import print_statement
     import time
     import swagger_client
    @@ -12001,16 +10988,16 @@ 

    Usage and SDK Samples

    # create an instance of the API class api_instance = swagger_client.WRENCHApi() -body = # FileRegistryServiceEntry | Entry to remove. simid = simid_example # String | ID of the simulation -fileRegistryServiceName = fileRegistryServiceName_example # String | name of the file registry service +workflowName = workflowName_example # String | +taskName = taskName_example # String | Name of the task try: - # Remove an entry from a file registry service. - api_response = api_instance.file_registry_service_remove_entry(body, simid, fileRegistryServiceName) + # Get a task's end date. + api_response = api_instance.get_task_end_date(simid, workflowName, taskName) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->fileRegistryServiceRemoveEntry: %s\n" % e)
    + print("Exception when calling WRENCHApi->getTaskEndDate: %s\n" % e)
    @@ -12026,7 +11013,7 @@

    Parameters

    -
    +
    @@ -12044,11 +11031,30 @@

    Parameters

    - file_registry_service_name* + workflow_name* + + + +
    +
    +
    + + String + + +
    +
    + Required +
    +
    +
    + + + task_name* -
    +
    @@ -12056,7 +11062,7 @@

    Parameters

    - name of the file registry service + Name of the task
    @@ -12069,50 +11075,6 @@

    Parameters

    -
    Body parameters
    - - - - - - - - -
    NameDescription
    body * - - - -
    -
    @@ -12121,14 +11083,14 @@

    Status: 200 - OK

    -
    -
    +
    +
    - +
    +

    Status: 404 - Job not found

    + + + +
    +
    +

    Status: 405 - Invalid input


    -
    -
    +
    +
    -

    getAllHostnames

    -

    Retrieve the names of all hosts in the simulated platform.

    +

    getTaskFlops

    +

    Get a task's flops

    @@ -12188,31 +11158,31 @@

    getAllHostnames


    -
    /simulation/{simid}/hostnames
    +
    /simulation/{simid}/workflows/{workflow_name}/tasks/{task_name}/taskGetFlops

    Usage and SDK Samples

    -
    +
    curl -X GET\
     -H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/hostnames"
    +"https://wrench-project.org/v1/simulation/{simid}/workflows/{workflow_name}/tasks/{task_name}/taskGetFlops"
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    @@ -12226,48 +11196,56 @@ 

    Usage and SDK Samples

    public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); - String simid = simid_example; // String | ID of simulation + String simid = simid_example; // String | ID of the simulation + String workflowName = workflowName_example; // String | Name of the workflow + String taskName = taskName_example; // String | Name of the task try { - HostnameList result = apiInstance.getAllHostnames(simid); + TaskFlops result = apiInstance.getTaskFlops(simid, workflowName, taskName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#getAllHostnames"); + System.err.println("Exception when calling WRENCHApi#getTaskFlops"); e.printStackTrace(); } } }
    -
    +
    import io.swagger.client.api.WRENCHApi;
     
     public class WRENCHApiExample {
     
         public static void main(String[] args) {
             WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of simulation
    +        String simid = simid_example; // String | ID of the simulation
    +        String workflowName = workflowName_example; // String | Name of the workflow
    +        String taskName = taskName_example; // String | Name of the task
             try {
    -            HostnameList result = apiInstance.getAllHostnames(simid);
    +            TaskFlops result = apiInstance.getTaskFlops(simid, workflowName, taskName);
                 System.out.println(result);
             } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getAllHostnames");
    +            System.err.println("Exception when calling WRENCHApi#getTaskFlops");
                 e.printStackTrace();
             }
         }
     }
    -
    -
    String *simid = simid_example; // ID of simulation
    +                            
    +
    String *simid = simid_example; // ID of the simulation
    +String *workflowName = workflowName_example; // Name of the workflow
    +String *taskName = taskName_example; // Name of the task
     
     WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
     
    -// Retrieve the names of all hosts in the simulated platform.
    -[apiInstance getAllHostnamesWith:simid
    -              completionHandler: ^(HostnameList output, NSError* error) {
    +// Get a task's flops
    +[apiInstance getTaskFlopsWith:simid
    +    workflowName:workflowName
    +    taskName:taskName
    +              completionHandler: ^(TaskFlops output, NSError* error) {
                                 if (output) {
                                     NSLog(@"%@", output);
                                 }
    @@ -12278,11 +11256,13 @@ 

    Usage and SDK Samples

    -
    +
    var WrenchRestApi = require('wrench_rest_api');
     
     var api = new WrenchRestApi.WRENCHApi()
    -var simid = simid_example; // {{String}} ID of simulation
    +var simid = simid_example; // {{String}} ID of the simulation
    +var workflowName = workflowName_example; // {{String}} Name of the workflow
    +var taskName = taskName_example; // {{String}} Name of the task
     
     var callback = function(error, data, response) {
       if (error) {
    @@ -12291,14 +11271,14 @@ 

    Usage and SDK Samples

    console.log('API called successfully. Returned data: ' + data); } }; -api.getAllHostnames(simid, callback); +api.getTaskFlops(simid, workflowName, taskName, callback);
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -12307,23 +11287,25 @@ 

    Usage and SDK Samples

    namespace Example { - public class getAllHostnamesExample + public class getTaskFlopsExample { public void main() { var apiInstance = new WRENCHApi(); - var simid = simid_example; // String | ID of simulation + var simid = simid_example; // String | ID of the simulation + var workflowName = workflowName_example; // String | Name of the workflow + var taskName = taskName_example; // String | Name of the task try { - // Retrieve the names of all hosts in the simulated platform. - HostnameList result = apiInstance.getAllHostnames(simid); + // Get a task's flops + TaskFlops result = apiInstance.getTaskFlops(simid, workflowName, taskName); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.getAllHostnames: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.getTaskFlops: " + e.Message ); } } } @@ -12331,40 +11313,44 @@

    Usage and SDK Samples

    -
    +
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
     
     $api_instance = new Swagger\Client\ApiWRENCHApi();
    -$simid = simid_example; // String | ID of simulation
    +$simid = simid_example; // String | ID of the simulation
    +$workflowName = workflowName_example; // String | Name of the workflow
    +$taskName = taskName_example; // String | Name of the task
     
     try {
    -    $result = $api_instance->getAllHostnames($simid);
    +    $result = $api_instance->getTaskFlops($simid, $workflowName, $taskName);
         print_r($result);
     } catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->getAllHostnames: ', $e->getMessage(), PHP_EOL;
    +    echo 'Exception when calling WRENCHApi->getTaskFlops: ', $e->getMessage(), PHP_EOL;
     }
     ?>
    -
    +
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
     use WWW::SwaggerClient::WRENCHApi;
     
     my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $simid = simid_example; # String | ID of simulation
    +my $simid = simid_example; # String | ID of the simulation
    +my $workflowName = workflowName_example; # String | Name of the workflow
    +my $taskName = taskName_example; # String | Name of the task
     
     eval { 
    -    my $result = $api_instance->getAllHostnames(simid => $simid);
    +    my $result = $api_instance->getTaskFlops(simid => $simid, workflowName => $workflowName, taskName => $taskName);
         print Dumper($result);
     };
     if ($@) {
    -    warn "Exception when calling WRENCHApi->getAllHostnames: $@\n";
    +    warn "Exception when calling WRENCHApi->getTaskFlops: $@\n";
     }
    -
    +
    from __future__ import print_statement
     import time
     import swagger_client
    @@ -12373,14 +11359,16 @@ 

    Usage and SDK Samples

    # create an instance of the API class api_instance = swagger_client.WRENCHApi() -simid = simid_example # String | ID of simulation +simid = simid_example # String | ID of the simulation +workflowName = workflowName_example # String | Name of the workflow +taskName = taskName_example # String | Name of the task try: - # Retrieve the names of all hosts in the simulated platform. - api_response = api_instance.get_all_hostnames(simid) + # Get a task's flops + api_response = api_instance.get_task_flops(simid, workflowName, taskName) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->getAllHostnames: %s\n" % e)
    + print("Exception when calling WRENCHApi->getTaskFlops: %s\n" % e)
    @@ -12396,7 +11384,7 @@

    Parameters

    -
    +
    @@ -12404,7 +11392,51 @@

    Parameters

    - ID of simulation + ID of the simulation +
    +
    +
    + Required +
    +
    +
    + + + workflow_name* + + + +
    +
    +
    + + String + + +
    + Name of the workflow +
    +
    +
    + Required +
    +
    +
    + + + task_name* + + + +
    +
    +
    + + String + + +
    + Name of the task
    @@ -12425,14 +11457,14 @@

    Status: 200 - OK

    -
    -
    +
    +
    - +
    +

    Status: 404 - Job not found

    + + + +
    +
    +

    Status: 405 - Invalid input


    -
    -
    +
    +
    -

    getCoreCounts

    -

    Returns the core counts for each host managed by the compute service.

    +

    getTaskInputFiles

    +

    Retrieve task's input files

    @@ -12492,31 +11532,31 @@

    getCoreCounts


    -
    /simulation/{simid}/compute_services/{service_name}/coreCounts
    +
    /simulation/{simid}/workflows/{workflow_name}/tasks/{tid}/inputFiles

    Usage and SDK Samples

    -
    +
    curl -X GET\
     -H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/compute_services/{service_name}/coreCounts"
    +"https://wrench-project.org/v1/simulation/{simid}/workflows/{workflow_name}/tasks/{tid}/inputFiles"
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    @@ -12531,19 +11571,20 @@ 

    Usage and SDK Samples

    WRENCHApi apiInstance = new WRENCHApi(); String simid = simid_example; // String | ID of the simulation - String serviceName = serviceName_example; // String | The compute service name + String workflowName = workflowName_example; // String | + String tid = tid_example; // String | ID of the task try { - inline_response_200_1 result = apiInstance.getCoreCounts(simid, serviceName); + FileList result = apiInstance.getTaskInputFiles(simid, workflowName, tid); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#getCoreCounts"); + System.err.println("Exception when calling WRENCHApi#getTaskInputFiles"); e.printStackTrace(); } } }
    -
    +
    import io.swagger.client.api.WRENCHApi;
     
     public class WRENCHApiExample {
    @@ -12551,31 +11592,34 @@ 

    Usage and SDK Samples

    public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); String simid = simid_example; // String | ID of the simulation - String serviceName = serviceName_example; // String | The compute service name + String workflowName = workflowName_example; // String | + String tid = tid_example; // String | ID of the task try { - inline_response_200_1 result = apiInstance.getCoreCounts(simid, serviceName); + FileList result = apiInstance.getTaskInputFiles(simid, workflowName, tid); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#getCoreCounts"); + System.err.println("Exception when calling WRENCHApi#getTaskInputFiles"); e.printStackTrace(); } } }
    -
    +
    String *simid = simid_example; // ID of the simulation
    -String *serviceName = serviceName_example; // The compute service name
    +String *workflowName = workflowName_example; // 
    +String *tid = tid_example; // ID of the task
     
     WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
     
    -// Returns the core counts for each host managed by the compute service.
    -[apiInstance getCoreCountsWith:simid
    -    serviceName:serviceName
    -              completionHandler: ^(inline_response_200_1 output, NSError* error) {
    +// Retrieve task's input files
    +[apiInstance getTaskInputFilesWith:simid
    +    workflowName:workflowName
    +    tid:tid
    +              completionHandler: ^(FileList output, NSError* error) {
                                 if (output) {
                                     NSLog(@"%@", output);
                                 }
    @@ -12586,12 +11630,13 @@ 

    Usage and SDK Samples

    -
    +
    var WrenchRestApi = require('wrench_rest_api');
     
     var api = new WrenchRestApi.WRENCHApi()
     var simid = simid_example; // {{String}} ID of the simulation
    -var serviceName = serviceName_example; // {{String}} The compute service name
    +var workflowName = workflowName_example; // {{String}} 
    +var tid = tid_example; // {{String}} ID of the task
     
     var callback = function(error, data, response) {
       if (error) {
    @@ -12600,14 +11645,14 @@ 

    Usage and SDK Samples

    console.log('API called successfully. Returned data: ' + data); } }; -api.getCoreCounts(simid, serviceName, callback); +api.getTaskInputFiles(simid, workflowName, tid, callback);
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -12616,24 +11661,25 @@ 

    Usage and SDK Samples

    namespace Example { - public class getCoreCountsExample + public class getTaskInputFilesExample { public void main() { var apiInstance = new WRENCHApi(); var simid = simid_example; // String | ID of the simulation - var serviceName = serviceName_example; // String | The compute service name + var workflowName = workflowName_example; // String | + var tid = tid_example; // String | ID of the task try { - // Returns the core counts for each host managed by the compute service. - inline_response_200_1 result = apiInstance.getCoreCounts(simid, serviceName); + // Retrieve task's input files + FileList result = apiInstance.getTaskInputFiles(simid, workflowName, tid); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.getCoreCounts: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.getTaskInputFiles: " + e.Message ); } } } @@ -12641,42 +11687,44 @@

    Usage and SDK Samples

    -
    +
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
     
     $api_instance = new Swagger\Client\ApiWRENCHApi();
     $simid = simid_example; // String | ID of the simulation
    -$serviceName = serviceName_example; // String | The compute service name
    +$workflowName = workflowName_example; // String | 
    +$tid = tid_example; // String | ID of the task
     
     try {
    -    $result = $api_instance->getCoreCounts($simid, $serviceName);
    +    $result = $api_instance->getTaskInputFiles($simid, $workflowName, $tid);
         print_r($result);
     } catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->getCoreCounts: ', $e->getMessage(), PHP_EOL;
    +    echo 'Exception when calling WRENCHApi->getTaskInputFiles: ', $e->getMessage(), PHP_EOL;
     }
     ?>
    -
    +
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
     use WWW::SwaggerClient::WRENCHApi;
     
     my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
     my $simid = simid_example; # String | ID of the simulation
    -my $serviceName = serviceName_example; # String | The compute service name
    +my $workflowName = workflowName_example; # String | 
    +my $tid = tid_example; # String | ID of the task
     
     eval { 
    -    my $result = $api_instance->getCoreCounts(simid => $simid, serviceName => $serviceName);
    +    my $result = $api_instance->getTaskInputFiles(simid => $simid, workflowName => $workflowName, tid => $tid);
         print Dumper($result);
     };
     if ($@) {
    -    warn "Exception when calling WRENCHApi->getCoreCounts: $@\n";
    +    warn "Exception when calling WRENCHApi->getTaskInputFiles: $@\n";
     }
    -
    +
    from __future__ import print_statement
     import time
     import swagger_client
    @@ -12686,14 +11734,15 @@ 

    Usage and SDK Samples

    # create an instance of the API class api_instance = swagger_client.WRENCHApi() simid = simid_example # String | ID of the simulation -serviceName = serviceName_example # String | The compute service name +workflowName = workflowName_example # String | +tid = tid_example # String | ID of the task try: - # Returns the core counts for each host managed by the compute service. - api_response = api_instance.get_core_counts(simid, serviceName) + # Retrieve task's input files + api_response = api_instance.get_task_input_files(simid, workflowName, tid) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->getCoreCounts: %s\n" % e)
    + print("Exception when calling WRENCHApi->getTaskInputFiles: %s\n" % e)
    @@ -12709,7 +11758,7 @@

    Parameters

    -
    +
    @@ -12727,11 +11776,30 @@

    Parameters

    - service_name* + workflow_name* -
    +
    +
    +
    + + String + + +
    +
    + Required +
    +
    +
    + + + tid* + + + +
    @@ -12739,7 +11807,7 @@

    Parameters

    - The compute service name + ID of the task
    @@ -12760,14 +11828,14 @@

    Status: 200 - OK

    -
    -
    +
    +
    - +
    +

    Status: 404 - Task not found

    + + + +
    +
    +

    Status: 405 - Invalid input


    -
    -
    +
    +
    -

    getCoreFlopRates

    -

    Returns the core flop rate for each host managed by the compute service.

    +

    getTaskMaxNumCores

    +

    Get a task's maximum number of cores.

    @@ -12827,31 +11903,31 @@

    getCoreFlopRates


    -
    /simulation/{simid}/compute_services/{service_name}/coreFlopRates
    +
    /simulation/{simid}/workflows/{workflow_name}/tasks/{task_name}/taskGetMaxNumCores

    Usage and SDK Samples

    -
    +
    curl -X GET\
     -H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/compute_services/{service_name}/coreFlopRates"
    +"https://wrench-project.org/v1/simulation/{simid}/workflows/{workflow_name}/tasks/{task_name}/taskGetMaxNumCores"
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    @@ -12866,19 +11942,20 @@ 

    Usage and SDK Samples

    WRENCHApi apiInstance = new WRENCHApi(); String simid = simid_example; // String | ID of the simulation - String serviceName = serviceName_example; // String | The compute service name + String workflowName = workflowName_example; // String | + String taskName = taskName_example; // String | Name of the task try { - inline_response_200 result = apiInstance.getCoreFlopRates(simid, serviceName); + TaskCores result = apiInstance.getTaskMaxNumCores(simid, workflowName, taskName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#getCoreFlopRates"); + System.err.println("Exception when calling WRENCHApi#getTaskMaxNumCores"); e.printStackTrace(); } } }
    -
    +
    import io.swagger.client.api.WRENCHApi;
     
     public class WRENCHApiExample {
    @@ -12886,31 +11963,34 @@ 

    Usage and SDK Samples

    public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); String simid = simid_example; // String | ID of the simulation - String serviceName = serviceName_example; // String | The compute service name + String workflowName = workflowName_example; // String | + String taskName = taskName_example; // String | Name of the task try { - inline_response_200 result = apiInstance.getCoreFlopRates(simid, serviceName); + TaskCores result = apiInstance.getTaskMaxNumCores(simid, workflowName, taskName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#getCoreFlopRates"); + System.err.println("Exception when calling WRENCHApi#getTaskMaxNumCores"); e.printStackTrace(); } } }
    -
    +
    String *simid = simid_example; // ID of the simulation
    -String *serviceName = serviceName_example; // The compute service name
    +String *workflowName = workflowName_example; // 
    +String *taskName = taskName_example; // Name of the task
     
     WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
     
    -// Returns the core flop rate for each host managed by the compute service.
    -[apiInstance getCoreFlopRatesWith:simid
    -    serviceName:serviceName
    -              completionHandler: ^(inline_response_200 output, NSError* error) {
    +// Get a task's maximum number of cores.
    +[apiInstance getTaskMaxNumCoresWith:simid
    +    workflowName:workflowName
    +    taskName:taskName
    +              completionHandler: ^(TaskCores output, NSError* error) {
                                 if (output) {
                                     NSLog(@"%@", output);
                                 }
    @@ -12921,12 +12001,13 @@ 

    Usage and SDK Samples

    -
    +
    var WrenchRestApi = require('wrench_rest_api');
     
     var api = new WrenchRestApi.WRENCHApi()
     var simid = simid_example; // {{String}} ID of the simulation
    -var serviceName = serviceName_example; // {{String}} The compute service name
    +var workflowName = workflowName_example; // {{String}} 
    +var taskName = taskName_example; // {{String}} Name of the task
     
     var callback = function(error, data, response) {
       if (error) {
    @@ -12935,14 +12016,14 @@ 

    Usage and SDK Samples

    console.log('API called successfully. Returned data: ' + data); } }; -api.getCoreFlopRates(simid, serviceName, callback); +api.getTaskMaxNumCores(simid, workflowName, taskName, callback);
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -12951,24 +12032,25 @@ 

    Usage and SDK Samples

    namespace Example { - public class getCoreFlopRatesExample + public class getTaskMaxNumCoresExample { public void main() { var apiInstance = new WRENCHApi(); var simid = simid_example; // String | ID of the simulation - var serviceName = serviceName_example; // String | The compute service name + var workflowName = workflowName_example; // String | + var taskName = taskName_example; // String | Name of the task try { - // Returns the core flop rate for each host managed by the compute service. - inline_response_200 result = apiInstance.getCoreFlopRates(simid, serviceName); + // Get a task's maximum number of cores. + TaskCores result = apiInstance.getTaskMaxNumCores(simid, workflowName, taskName); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.getCoreFlopRates: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.getTaskMaxNumCores: " + e.Message ); } } } @@ -12976,42 +12058,44 @@

    Usage and SDK Samples

    -
    +
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
     
     $api_instance = new Swagger\Client\ApiWRENCHApi();
     $simid = simid_example; // String | ID of the simulation
    -$serviceName = serviceName_example; // String | The compute service name
    +$workflowName = workflowName_example; // String | 
    +$taskName = taskName_example; // String | Name of the task
     
     try {
    -    $result = $api_instance->getCoreFlopRates($simid, $serviceName);
    +    $result = $api_instance->getTaskMaxNumCores($simid, $workflowName, $taskName);
         print_r($result);
     } catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->getCoreFlopRates: ', $e->getMessage(), PHP_EOL;
    +    echo 'Exception when calling WRENCHApi->getTaskMaxNumCores: ', $e->getMessage(), PHP_EOL;
     }
     ?>
    -
    +
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
     use WWW::SwaggerClient::WRENCHApi;
     
     my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
     my $simid = simid_example; # String | ID of the simulation
    -my $serviceName = serviceName_example; # String | The compute service name
    +my $workflowName = workflowName_example; # String | 
    +my $taskName = taskName_example; # String | Name of the task
     
     eval { 
    -    my $result = $api_instance->getCoreFlopRates(simid => $simid, serviceName => $serviceName);
    +    my $result = $api_instance->getTaskMaxNumCores(simid => $simid, workflowName => $workflowName, taskName => $taskName);
         print Dumper($result);
     };
     if ($@) {
    -    warn "Exception when calling WRENCHApi->getCoreFlopRates: $@\n";
    +    warn "Exception when calling WRENCHApi->getTaskMaxNumCores: $@\n";
     }
    -
    +
    from __future__ import print_statement
     import time
     import swagger_client
    @@ -13021,14 +12105,15 @@ 

    Usage and SDK Samples

    # create an instance of the API class api_instance = swagger_client.WRENCHApi() simid = simid_example # String | ID of the simulation -serviceName = serviceName_example # String | The compute service name +workflowName = workflowName_example # String | +taskName = taskName_example # String | Name of the task try: - # Returns the core flop rate for each host managed by the compute service. - api_response = api_instance.get_core_flop_rates(simid, serviceName) + # Get a task's maximum number of cores. + api_response = api_instance.get_task_max_num_cores(simid, workflowName, taskName) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->getCoreFlopRates: %s\n" % e)
    + print("Exception when calling WRENCHApi->getTaskMaxNumCores: %s\n" % e)
    @@ -13044,7 +12129,7 @@

    Parameters

    -
    +
    @@ -13062,11 +12147,30 @@

    Parameters

    - service_name* + workflow_name* -
    +
    +
    +
    + + String + + +
    +
    + Required +
    +
    +
    + + + task_name* + + + +
    @@ -13074,7 +12178,7 @@

    Parameters

    - The compute service name + Name of the task
    @@ -13095,14 +12199,14 @@

    Status: 200 - OK

    -
    -
    +
    +
    - +
    +

    Status: 404 - Job not found

    + + + +
    +
    +

    Status: 405 - Invalid input


    -
    -
    +
    +
    -

    getExecutionHosts

    -

    Get the list of execution hosts available to run VMs.

    +

    getTaskMemory

    +

    Get a task's memory requirement.

    @@ -13162,31 +12274,31 @@

    getExecutionHosts


    -
    /simulation/{simid}/getExecutionHosts
    +
    /simulation/{simid}/workflows/{workflow_name}/tasks/{task_name}/taskGetMemory

    Usage and SDK Samples

    -
    +
    curl -X GET\
     -H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/getExecutionHosts"
    +"https://wrench-project.org/v1/simulation/{simid}/workflows/{workflow_name}/tasks/{task_name}/taskGetMemory"
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    @@ -13200,48 +12312,56 @@ 

    Usage and SDK Samples

    public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); - String simid = simid_example; // String | ID of simulation + String simid = simid_example; // String | ID of the simulation + String workflowName = workflowName_example; // String | + String taskName = taskName_example; // String | Name of the task try { - HostnameList result = apiInstance.getExecutionHosts(simid); + TaskMem result = apiInstance.getTaskMemory(simid, workflowName, taskName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#getExecutionHosts"); + System.err.println("Exception when calling WRENCHApi#getTaskMemory"); e.printStackTrace(); } } }
    -
    +
    import io.swagger.client.api.WRENCHApi;
     
     public class WRENCHApiExample {
     
         public static void main(String[] args) {
             WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of simulation
    +        String simid = simid_example; // String | ID of the simulation
    +        String workflowName = workflowName_example; // String | 
    +        String taskName = taskName_example; // String | Name of the task
             try {
    -            HostnameList result = apiInstance.getExecutionHosts(simid);
    +            TaskMem result = apiInstance.getTaskMemory(simid, workflowName, taskName);
                 System.out.println(result);
             } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getExecutionHosts");
    +            System.err.println("Exception when calling WRENCHApi#getTaskMemory");
                 e.printStackTrace();
             }
         }
     }
    -
    -
    String *simid = simid_example; // ID of simulation
    +                            
    +
    String *simid = simid_example; // ID of the simulation
    +String *workflowName = workflowName_example; // 
    +String *taskName = taskName_example; // Name of the task
     
     WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
     
    -// Get the list of execution hosts available to run VMs.
    -[apiInstance getExecutionHostsWith:simid
    -              completionHandler: ^(HostnameList output, NSError* error) {
    +// Get a task's memory requirement.
    +[apiInstance getTaskMemoryWith:simid
    +    workflowName:workflowName
    +    taskName:taskName
    +              completionHandler: ^(TaskMem output, NSError* error) {
                                 if (output) {
                                     NSLog(@"%@", output);
                                 }
    @@ -13252,11 +12372,13 @@ 

    Usage and SDK Samples

    -
    +
    var WrenchRestApi = require('wrench_rest_api');
     
     var api = new WrenchRestApi.WRENCHApi()
    -var simid = simid_example; // {{String}} ID of simulation
    +var simid = simid_example; // {{String}} ID of the simulation
    +var workflowName = workflowName_example; // {{String}} 
    +var taskName = taskName_example; // {{String}} Name of the task
     
     var callback = function(error, data, response) {
       if (error) {
    @@ -13265,14 +12387,14 @@ 

    Usage and SDK Samples

    console.log('API called successfully. Returned data: ' + data); } }; -api.getExecutionHosts(simid, callback); +api.getTaskMemory(simid, workflowName, taskName, callback);
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -13281,23 +12403,25 @@ 

    Usage and SDK Samples

    namespace Example { - public class getExecutionHostsExample + public class getTaskMemoryExample { public void main() { var apiInstance = new WRENCHApi(); - var simid = simid_example; // String | ID of simulation + var simid = simid_example; // String | ID of the simulation + var workflowName = workflowName_example; // String | + var taskName = taskName_example; // String | Name of the task try { - // Get the list of execution hosts available to run VMs. - HostnameList result = apiInstance.getExecutionHosts(simid); + // Get a task's memory requirement. + TaskMem result = apiInstance.getTaskMemory(simid, workflowName, taskName); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.getExecutionHosts: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.getTaskMemory: " + e.Message ); } } } @@ -13305,40 +12429,44 @@

    Usage and SDK Samples

    -
    +
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
     
     $api_instance = new Swagger\Client\ApiWRENCHApi();
    -$simid = simid_example; // String | ID of simulation
    +$simid = simid_example; // String | ID of the simulation
    +$workflowName = workflowName_example; // String | 
    +$taskName = taskName_example; // String | Name of the task
     
     try {
    -    $result = $api_instance->getExecutionHosts($simid);
    +    $result = $api_instance->getTaskMemory($simid, $workflowName, $taskName);
         print_r($result);
     } catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->getExecutionHosts: ', $e->getMessage(), PHP_EOL;
    +    echo 'Exception when calling WRENCHApi->getTaskMemory: ', $e->getMessage(), PHP_EOL;
     }
     ?>
    -
    +
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
     use WWW::SwaggerClient::WRENCHApi;
     
     my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $simid = simid_example; # String | ID of simulation
    +my $simid = simid_example; # String | ID of the simulation
    +my $workflowName = workflowName_example; # String | 
    +my $taskName = taskName_example; # String | Name of the task
     
     eval { 
    -    my $result = $api_instance->getExecutionHosts(simid => $simid);
    +    my $result = $api_instance->getTaskMemory(simid => $simid, workflowName => $workflowName, taskName => $taskName);
         print Dumper($result);
     };
     if ($@) {
    -    warn "Exception when calling WRENCHApi->getExecutionHosts: $@\n";
    +    warn "Exception when calling WRENCHApi->getTaskMemory: $@\n";
     }
    -
    +
    from __future__ import print_statement
     import time
     import swagger_client
    @@ -13347,14 +12475,16 @@ 

    Usage and SDK Samples

    # create an instance of the API class api_instance = swagger_client.WRENCHApi() -simid = simid_example # String | ID of simulation +simid = simid_example # String | ID of the simulation +workflowName = workflowName_example # String | +taskName = taskName_example # String | Name of the task try: - # Get the list of execution hosts available to run VMs. - api_response = api_instance.get_execution_hosts(simid) + # Get a task's memory requirement. + api_response = api_instance.get_task_memory(simid, workflowName, taskName) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->getExecutionHosts: %s\n" % e)
    + print("Exception when calling WRENCHApi->getTaskMemory: %s\n" % e)
    @@ -13370,7 +12500,7 @@

    Parameters

    -
    +
    @@ -13378,7 +12508,48 @@

    Parameters

    - ID of simulation + ID of the simulation +
    +
    +
    + Required +
    +
    +
    + + + workflow_name* + + + +
    +
    +
    + + String + + +
    +
    + Required +
    +
    +
    + + + task_name* + + + +
    +
    +
    + + String + + +
    + Name of the task
    @@ -13399,14 +12570,14 @@

    Status: 200 - OK

    -
    -
    +
    +
    - +
    +

    Status: 404 - Job not found

    + + + +
    +
    +

    Status: 405 - Invalid input


    -
    -
    +
    +
    -

    getFileSize

    -

    Get a file size.

    +

    getTaskMinNumCores

    +

    Get a task's minimum number of cores.

    @@ -13466,31 +12645,31 @@

    getFileSize


    -
    /simulation/{simid}/files/{file_id}/size
    +
    /simulation/{simid}/workflows/{workflow_name}/tasks/{task_name}/taskGetMinNumCores

    Usage and SDK Samples

    -
    +
    curl -X GET\
     -H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/files/{file_id}/size"
    +"https://wrench-project.org/v1/simulation/{simid}/workflows/{workflow_name}/tasks/{task_name}/taskGetMinNumCores"
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    @@ -13505,19 +12684,20 @@ 

    Usage and SDK Samples

    WRENCHApi apiInstance = new WRENCHApi(); String simid = simid_example; // String | ID of the simulation - String fileId = fileId_example; // String | Name of the file + String workflowName = workflowName_example; // String | + String taskName = taskName_example; // String | Name of the task try { - FileSizeResponse result = apiInstance.getFileSize(simid, fileId); + TaskCores result = apiInstance.getTaskMinNumCores(simid, workflowName, taskName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#getFileSize"); + System.err.println("Exception when calling WRENCHApi#getTaskMinNumCores"); e.printStackTrace(); } } }
    -
    +
    import io.swagger.client.api.WRENCHApi;
     
     public class WRENCHApiExample {
    @@ -13525,31 +12705,34 @@ 

    Usage and SDK Samples

    public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); String simid = simid_example; // String | ID of the simulation - String fileId = fileId_example; // String | Name of the file + String workflowName = workflowName_example; // String | + String taskName = taskName_example; // String | Name of the task try { - FileSizeResponse result = apiInstance.getFileSize(simid, fileId); + TaskCores result = apiInstance.getTaskMinNumCores(simid, workflowName, taskName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#getFileSize"); + System.err.println("Exception when calling WRENCHApi#getTaskMinNumCores"); e.printStackTrace(); } } }
    -
    +
    String *simid = simid_example; // ID of the simulation
    -String *fileId = fileId_example; // Name of the file
    +String *workflowName = workflowName_example; // 
    +String *taskName = taskName_example; // Name of the task
     
     WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
     
    -// Get a file size.
    -[apiInstance getFileSizeWith:simid
    -    fileId:fileId
    -              completionHandler: ^(FileSizeResponse output, NSError* error) {
    +// Get a task's minimum number of cores.
    +[apiInstance getTaskMinNumCoresWith:simid
    +    workflowName:workflowName
    +    taskName:taskName
    +              completionHandler: ^(TaskCores output, NSError* error) {
                                 if (output) {
                                     NSLog(@"%@", output);
                                 }
    @@ -13560,12 +12743,13 @@ 

    Usage and SDK Samples

    -
    +
    var WrenchRestApi = require('wrench_rest_api');
     
     var api = new WrenchRestApi.WRENCHApi()
     var simid = simid_example; // {{String}} ID of the simulation
    -var fileId = fileId_example; // {{String}} Name of the file
    +var workflowName = workflowName_example; // {{String}} 
    +var taskName = taskName_example; // {{String}} Name of the task
     
     var callback = function(error, data, response) {
       if (error) {
    @@ -13574,14 +12758,14 @@ 

    Usage and SDK Samples

    console.log('API called successfully. Returned data: ' + data); } }; -api.getFileSize(simid, fileId, callback); +api.getTaskMinNumCores(simid, workflowName, taskName, callback);
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -13590,24 +12774,25 @@ 

    Usage and SDK Samples

    namespace Example { - public class getFileSizeExample + public class getTaskMinNumCoresExample { public void main() { var apiInstance = new WRENCHApi(); var simid = simid_example; // String | ID of the simulation - var fileId = fileId_example; // String | Name of the file + var workflowName = workflowName_example; // String | + var taskName = taskName_example; // String | Name of the task try { - // Get a file size. - FileSizeResponse result = apiInstance.getFileSize(simid, fileId); + // Get a task's minimum number of cores. + TaskCores result = apiInstance.getTaskMinNumCores(simid, workflowName, taskName); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.getFileSize: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.getTaskMinNumCores: " + e.Message ); } } } @@ -13615,42 +12800,44 @@

    Usage and SDK Samples

    -
    +
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
     
     $api_instance = new Swagger\Client\ApiWRENCHApi();
     $simid = simid_example; // String | ID of the simulation
    -$fileId = fileId_example; // String | Name of the file
    +$workflowName = workflowName_example; // String | 
    +$taskName = taskName_example; // String | Name of the task
     
     try {
    -    $result = $api_instance->getFileSize($simid, $fileId);
    +    $result = $api_instance->getTaskMinNumCores($simid, $workflowName, $taskName);
         print_r($result);
     } catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->getFileSize: ', $e->getMessage(), PHP_EOL;
    +    echo 'Exception when calling WRENCHApi->getTaskMinNumCores: ', $e->getMessage(), PHP_EOL;
     }
     ?>
    -
    +
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
     use WWW::SwaggerClient::WRENCHApi;
     
     my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
     my $simid = simid_example; # String | ID of the simulation
    -my $fileId = fileId_example; # String | Name of the file
    +my $workflowName = workflowName_example; # String | 
    +my $taskName = taskName_example; # String | Name of the task
     
     eval { 
    -    my $result = $api_instance->getFileSize(simid => $simid, fileId => $fileId);
    +    my $result = $api_instance->getTaskMinNumCores(simid => $simid, workflowName => $workflowName, taskName => $taskName);
         print Dumper($result);
     };
     if ($@) {
    -    warn "Exception when calling WRENCHApi->getFileSize: $@\n";
    +    warn "Exception when calling WRENCHApi->getTaskMinNumCores: $@\n";
     }
    -
    +
    from __future__ import print_statement
     import time
     import swagger_client
    @@ -13660,14 +12847,15 @@ 

    Usage and SDK Samples

    # create an instance of the API class api_instance = swagger_client.WRENCHApi() simid = simid_example # String | ID of the simulation -fileId = fileId_example # String | Name of the file +workflowName = workflowName_example # String | +taskName = taskName_example # String | Name of the task try: - # Get a file size. - api_response = api_instance.get_file_size(simid, fileId) + # Get a task's minimum number of cores. + api_response = api_instance.get_task_min_num_cores(simid, workflowName, taskName) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->getFileSize: %s\n" % e)
    + print("Exception when calling WRENCHApi->getTaskMinNumCores: %s\n" % e)
    @@ -13683,7 +12871,7 @@

    Parameters

    -
    +
    @@ -13701,11 +12889,30 @@

    Parameters

    - file_id* + workflow_name* -
    +
    +
    +
    + + String + + +
    +
    + Required +
    +
    +
    + + + task_name* + + + +
    @@ -13713,7 +12920,7 @@

    Parameters

    - Name of the file + Name of the task
    @@ -13734,14 +12941,14 @@

    Status: 200 - OK

    -
    -
    +
    +
    - +
    -

    Status: 404 - File not found

    +

    Status: 404 - Job not found

    @@ -13797,11 +13004,11 @@

    Status: 405 - Invalid input


    -
    -
    +
    +
    -

    getInputFiles

    -

    Return the list of input files of the workflow.

    +

    getTaskOutputFiles

    +

    Retrieve task's output files

    @@ -13809,31 +13016,31 @@

    getInputFiles


    -
    /simulation/{simid}/workflows/{workflow_name}/inputFiles
    +
    /simulation/{simid}/workflows/{workflow_name}/tasks/{tid}/outputFiles

    Usage and SDK Samples

    -
    +
    curl -X GET\
     -H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/workflows/{workflow_name}/inputFiles"
    +"https://wrench-project.org/v1/simulation/{simid}/workflows/{workflow_name}/tasks/{tid}/outputFiles"
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    @@ -13849,18 +13056,19 @@ 

    Usage and SDK Samples

    WRENCHApi apiInstance = new WRENCHApi(); String simid = simid_example; // String | ID of the simulation String workflowName = workflowName_example; // String | + String tid = tid_example; // String | ID of the task try { - FileList result = apiInstance.getInputFiles(simid, workflowName); + FileList result = apiInstance.getTaskOutputFiles(simid, workflowName, tid); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#getInputFiles"); + System.err.println("Exception when calling WRENCHApi#getTaskOutputFiles"); e.printStackTrace(); } } }
    -
    +
    import io.swagger.client.api.WRENCHApi;
     
     public class WRENCHApiExample {
    @@ -13869,29 +13077,32 @@ 

    Usage and SDK Samples

    WRENCHApi apiInstance = new WRENCHApi(); String simid = simid_example; // String | ID of the simulation String workflowName = workflowName_example; // String | + String tid = tid_example; // String | ID of the task try { - FileList result = apiInstance.getInputFiles(simid, workflowName); + FileList result = apiInstance.getTaskOutputFiles(simid, workflowName, tid); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#getInputFiles"); + System.err.println("Exception when calling WRENCHApi#getTaskOutputFiles"); e.printStackTrace(); } } }
    -
    +
    String *simid = simid_example; // ID of the simulation
     String *workflowName = workflowName_example; // 
    +String *tid = tid_example; // ID of the task
     
     WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
     
    -// Return the list of input files of the workflow.
    -[apiInstance getInputFilesWith:simid
    +// Retrieve task's output files
    +[apiInstance getTaskOutputFilesWith:simid
         workflowName:workflowName
    +    tid:tid
                   completionHandler: ^(FileList output, NSError* error) {
                                 if (output) {
                                     NSLog(@"%@", output);
    @@ -13903,12 +13114,13 @@ 

    Usage and SDK Samples

    -
    +
    var WrenchRestApi = require('wrench_rest_api');
     
     var api = new WrenchRestApi.WRENCHApi()
     var simid = simid_example; // {{String}} ID of the simulation
     var workflowName = workflowName_example; // {{String}} 
    +var tid = tid_example; // {{String}} ID of the task
     
     var callback = function(error, data, response) {
       if (error) {
    @@ -13917,14 +13129,14 @@ 

    Usage and SDK Samples

    console.log('API called successfully. Returned data: ' + data); } }; -api.getInputFiles(simid, workflowName, callback); +api.getTaskOutputFiles(simid, workflowName, tid, callback);
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -13933,7 +13145,7 @@ 

    Usage and SDK Samples

    namespace Example { - public class getInputFilesExample + public class getTaskOutputFilesExample { public void main() { @@ -13941,16 +13153,17 @@

    Usage and SDK Samples

    var apiInstance = new WRENCHApi(); var simid = simid_example; // String | ID of the simulation var workflowName = workflowName_example; // String | + var tid = tid_example; // String | ID of the task try { - // Return the list of input files of the workflow. - FileList result = apiInstance.getInputFiles(simid, workflowName); + // Retrieve task's output files + FileList result = apiInstance.getTaskOutputFiles(simid, workflowName, tid); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.getInputFiles: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.getTaskOutputFiles: " + e.Message ); } } } @@ -13958,24 +13171,25 @@

    Usage and SDK Samples

    -
    +
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
     
     $api_instance = new Swagger\Client\ApiWRENCHApi();
     $simid = simid_example; // String | ID of the simulation
     $workflowName = workflowName_example; // String | 
    +$tid = tid_example; // String | ID of the task
     
     try {
    -    $result = $api_instance->getInputFiles($simid, $workflowName);
    +    $result = $api_instance->getTaskOutputFiles($simid, $workflowName, $tid);
         print_r($result);
     } catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->getInputFiles: ', $e->getMessage(), PHP_EOL;
    +    echo 'Exception when calling WRENCHApi->getTaskOutputFiles: ', $e->getMessage(), PHP_EOL;
     }
     ?>
    -
    +
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
     use WWW::SwaggerClient::WRENCHApi;
    @@ -13983,17 +13197,18 @@ 

    Usage and SDK Samples

    my $api_instance = WWW::SwaggerClient::WRENCHApi->new(); my $simid = simid_example; # String | ID of the simulation my $workflowName = workflowName_example; # String | +my $tid = tid_example; # String | ID of the task eval { - my $result = $api_instance->getInputFiles(simid => $simid, workflowName => $workflowName); + my $result = $api_instance->getTaskOutputFiles(simid => $simid, workflowName => $workflowName, tid => $tid); print Dumper($result); }; if ($@) { - warn "Exception when calling WRENCHApi->getInputFiles: $@\n"; + warn "Exception when calling WRENCHApi->getTaskOutputFiles: $@\n"; }
    -
    +
    from __future__ import print_statement
     import time
     import swagger_client
    @@ -14004,13 +13219,14 @@ 

    Usage and SDK Samples

    api_instance = swagger_client.WRENCHApi() simid = simid_example # String | ID of the simulation workflowName = workflowName_example # String | +tid = tid_example # String | ID of the task try: - # Return the list of input files of the workflow. - api_response = api_instance.get_input_files(simid, workflowName) + # Retrieve task's output files + api_response = api_instance.get_task_output_files(simid, workflowName, tid) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->getInputFiles: %s\n" % e)
    + print("Exception when calling WRENCHApi->getTaskOutputFiles: %s\n" % e)
    @@ -14026,7 +13242,7 @@

    Parameters

    -
    +
    @@ -14048,13 +13264,35 @@

    Parameters

    -
    +
    +
    +
    + + String + + +
    +
    + Required +
    +
    +
    + + + tid* + + + +
    String +
    + ID of the task +
    Required @@ -14074,14 +13312,14 @@

    Status: 200 - OK

    -
    -
    +
    +
    - +
    @@ -14137,11 +13375,11 @@

    Status: 405 - Invalid input


    -
    -
    +
    +
    -

    getReadyTasks

    -

    Return the list of ready tasks in the workflow.

    +

    getTaskStartDate

    +

    Get a task's start date.

    @@ -14149,31 +13387,31 @@

    getReadyTasks


    -
    /simulation/{simid}/workflows/{workflow_name}/readyTasks
    +
    /simulation/{simid}/workflows/{workflow_name}/tasks/{task_name}/taskGetStartDate

    Usage and SDK Samples

    -
    +
    curl -X GET\
     -H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/workflows/{workflow_name}/readyTasks"
    +"https://wrench-project.org/v1/simulation/{simid}/workflows/{workflow_name}/tasks/{task_name}/taskGetStartDate"
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    @@ -14189,18 +13427,19 @@ 

    Usage and SDK Samples

    WRENCHApi apiInstance = new WRENCHApi(); String simid = simid_example; // String | ID of the simulation String workflowName = workflowName_example; // String | + String taskName = taskName_example; // String | Name of the task try { - TaskList result = apiInstance.getReadyTasks(simid, workflowName); + TimeResponse result = apiInstance.getTaskStartDate(simid, workflowName, taskName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#getReadyTasks"); + System.err.println("Exception when calling WRENCHApi#getTaskStartDate"); e.printStackTrace(); } } }
    -
    +
    import io.swagger.client.api.WRENCHApi;
     
     public class WRENCHApiExample {
    @@ -14209,30 +13448,33 @@ 

    Usage and SDK Samples

    WRENCHApi apiInstance = new WRENCHApi(); String simid = simid_example; // String | ID of the simulation String workflowName = workflowName_example; // String | + String taskName = taskName_example; // String | Name of the task try { - TaskList result = apiInstance.getReadyTasks(simid, workflowName); + TimeResponse result = apiInstance.getTaskStartDate(simid, workflowName, taskName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#getReadyTasks"); + System.err.println("Exception when calling WRENCHApi#getTaskStartDate"); e.printStackTrace(); } } }
    -
    +
    String *simid = simid_example; // ID of the simulation
     String *workflowName = workflowName_example; // 
    +String *taskName = taskName_example; // Name of the task
     
     WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
     
    -// Return the list of ready tasks in the workflow.
    -[apiInstance getReadyTasksWith:simid
    +// Get a task's start date.
    +[apiInstance getTaskStartDateWith:simid
         workflowName:workflowName
    -              completionHandler: ^(TaskList output, NSError* error) {
    +    taskName:taskName
    +              completionHandler: ^(TimeResponse output, NSError* error) {
                                 if (output) {
                                     NSLog(@"%@", output);
                                 }
    @@ -14243,12 +13485,13 @@ 

    Usage and SDK Samples

    -
    +
    var WrenchRestApi = require('wrench_rest_api');
     
     var api = new WrenchRestApi.WRENCHApi()
     var simid = simid_example; // {{String}} ID of the simulation
     var workflowName = workflowName_example; // {{String}} 
    +var taskName = taskName_example; // {{String}} Name of the task
     
     var callback = function(error, data, response) {
       if (error) {
    @@ -14257,14 +13500,14 @@ 

    Usage and SDK Samples

    console.log('API called successfully. Returned data: ' + data); } }; -api.getReadyTasks(simid, workflowName, callback); +api.getTaskStartDate(simid, workflowName, taskName, callback);
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -14273,7 +13516,7 @@ 

    Usage and SDK Samples

    namespace Example { - public class getReadyTasksExample + public class getTaskStartDateExample { public void main() { @@ -14281,16 +13524,17 @@

    Usage and SDK Samples

    var apiInstance = new WRENCHApi(); var simid = simid_example; // String | ID of the simulation var workflowName = workflowName_example; // String | + var taskName = taskName_example; // String | Name of the task try { - // Return the list of ready tasks in the workflow. - TaskList result = apiInstance.getReadyTasks(simid, workflowName); + // Get a task's start date. + TimeResponse result = apiInstance.getTaskStartDate(simid, workflowName, taskName); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.getReadyTasks: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.getTaskStartDate: " + e.Message ); } } } @@ -14298,24 +13542,25 @@

    Usage and SDK Samples

    -
    +
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
     
     $api_instance = new Swagger\Client\ApiWRENCHApi();
     $simid = simid_example; // String | ID of the simulation
     $workflowName = workflowName_example; // String | 
    +$taskName = taskName_example; // String | Name of the task
     
     try {
    -    $result = $api_instance->getReadyTasks($simid, $workflowName);
    +    $result = $api_instance->getTaskStartDate($simid, $workflowName, $taskName);
         print_r($result);
     } catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->getReadyTasks: ', $e->getMessage(), PHP_EOL;
    +    echo 'Exception when calling WRENCHApi->getTaskStartDate: ', $e->getMessage(), PHP_EOL;
     }
     ?>
    -
    +
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
     use WWW::SwaggerClient::WRENCHApi;
    @@ -14323,17 +13568,18 @@ 

    Usage and SDK Samples

    my $api_instance = WWW::SwaggerClient::WRENCHApi->new(); my $simid = simid_example; # String | ID of the simulation my $workflowName = workflowName_example; # String | +my $taskName = taskName_example; # String | Name of the task eval { - my $result = $api_instance->getReadyTasks(simid => $simid, workflowName => $workflowName); + my $result = $api_instance->getTaskStartDate(simid => $simid, workflowName => $workflowName, taskName => $taskName); print Dumper($result); }; if ($@) { - warn "Exception when calling WRENCHApi->getReadyTasks: $@\n"; + warn "Exception when calling WRENCHApi->getTaskStartDate: $@\n"; }
    -
    +
    from __future__ import print_statement
     import time
     import swagger_client
    @@ -14344,13 +13590,14 @@ 

    Usage and SDK Samples

    api_instance = swagger_client.WRENCHApi() simid = simid_example # String | ID of the simulation workflowName = workflowName_example # String | +taskName = taskName_example # String | Name of the task try: - # Return the list of ready tasks in the workflow. - api_response = api_instance.get_ready_tasks(simid, workflowName) + # Get a task's start date. + api_response = api_instance.get_task_start_date(simid, workflowName, taskName) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->getReadyTasks: %s\n" % e)
    + print("Exception when calling WRENCHApi->getTaskStartDate: %s\n" % e)
    @@ -14366,7 +13613,7 @@

    Parameters

    -
    +
    @@ -14388,13 +13635,35 @@

    Parameters

    -
    +
    +
    +
    + + String + + +
    +
    + Required +
    +
    +
    + + + task_name* + + + +
    String +
    + Name of the task +
    Required @@ -14414,14 +13683,14 @@

    Status: 200 - OK

    -
    -
    +
    +
    - +
    -

    Status: 404 - Task not found

    +

    Status: 404 - Job not found

    @@ -14477,11 +13746,11 @@

    Status: 405 - Invalid input


    -
    -
    +
    +
    -

    getSimulationEvents

    -

    Retrieve all simulation events since last time we checked.

    +

    getVMComputeService

    +

    Get the compute service running on a VM, if any.

    @@ -14489,31 +13758,31 @@

    getSimulationEvents


    -
    /simulation/{simid}/simulationEvents
    +
    /simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/getVMComputeService

    Usage and SDK Samples

    -
    +
    curl -X GET\
     -H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/simulationEvents"
    +"https://wrench-project.org/v1/simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/getVMComputeService"
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    @@ -14527,48 +13796,56 @@ 

    Usage and SDK Samples

    public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); - String simid = simid_example; // String | ID of simulation + String simid = simid_example; // String | ID of the simulation + String serviceName = serviceName_example; // String | The cloud compute service name + String vmName = vmName_example; // String | The VM name try { - EventList result = apiInstance.getSimulationEvents(simid); + ServiceResponse result = apiInstance.getVMComputeService(simid, serviceName, vmName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#getSimulationEvents"); + System.err.println("Exception when calling WRENCHApi#getVMComputeService"); e.printStackTrace(); } } }
    -
    +
    import io.swagger.client.api.WRENCHApi;
     
     public class WRENCHApiExample {
     
         public static void main(String[] args) {
             WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of simulation
    +        String simid = simid_example; // String | ID of the simulation
    +        String serviceName = serviceName_example; // String | The cloud compute service name
    +        String vmName = vmName_example; // String | The VM name
             try {
    -            EventList result = apiInstance.getSimulationEvents(simid);
    +            ServiceResponse result = apiInstance.getVMComputeService(simid, serviceName, vmName);
                 System.out.println(result);
             } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getSimulationEvents");
    +            System.err.println("Exception when calling WRENCHApi#getVMComputeService");
                 e.printStackTrace();
             }
         }
     }
    -
    -
    String *simid = simid_example; // ID of simulation
    +                            
    +
    String *simid = simid_example; // ID of the simulation
    +String *serviceName = serviceName_example; // The cloud compute service name
    +String *vmName = vmName_example; // The VM name
     
     WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
     
    -// Retrieve all simulation events since last time we checked.
    -[apiInstance getSimulationEventsWith:simid
    -              completionHandler: ^(EventList output, NSError* error) {
    +// Get the compute service running on a VM, if any.
    +[apiInstance getVMComputeServiceWith:simid
    +    serviceName:serviceName
    +    vmName:vmName
    +              completionHandler: ^(ServiceResponse output, NSError* error) {
                                 if (output) {
                                     NSLog(@"%@", output);
                                 }
    @@ -14579,11 +13856,13 @@ 

    Usage and SDK Samples

    -
    +
    var WrenchRestApi = require('wrench_rest_api');
     
     var api = new WrenchRestApi.WRENCHApi()
    -var simid = simid_example; // {{String}} ID of simulation
    +var simid = simid_example; // {{String}} ID of the simulation
    +var serviceName = serviceName_example; // {{String}} The cloud compute service name
    +var vmName = vmName_example; // {{String}} The VM name
     
     var callback = function(error, data, response) {
       if (error) {
    @@ -14592,14 +13871,14 @@ 

    Usage and SDK Samples

    console.log('API called successfully. Returned data: ' + data); } }; -api.getSimulationEvents(simid, callback); +api.getVMComputeService(simid, serviceName, vmName, callback);
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -14608,23 +13887,25 @@ 

    Usage and SDK Samples

    namespace Example { - public class getSimulationEventsExample + public class getVMComputeServiceExample { public void main() { var apiInstance = new WRENCHApi(); - var simid = simid_example; // String | ID of simulation + var simid = simid_example; // String | ID of the simulation + var serviceName = serviceName_example; // String | The cloud compute service name + var vmName = vmName_example; // String | The VM name try { - // Retrieve all simulation events since last time we checked. - EventList result = apiInstance.getSimulationEvents(simid); + // Get the compute service running on a VM, if any. + ServiceResponse result = apiInstance.getVMComputeService(simid, serviceName, vmName); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.getSimulationEvents: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.getVMComputeService: " + e.Message ); } } } @@ -14632,40 +13913,44 @@

    Usage and SDK Samples

    -
    +
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
     
     $api_instance = new Swagger\Client\ApiWRENCHApi();
    -$simid = simid_example; // String | ID of simulation
    +$simid = simid_example; // String | ID of the simulation
    +$serviceName = serviceName_example; // String | The cloud compute service name
    +$vmName = vmName_example; // String | The VM name
     
     try {
    -    $result = $api_instance->getSimulationEvents($simid);
    +    $result = $api_instance->getVMComputeService($simid, $serviceName, $vmName);
         print_r($result);
     } catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->getSimulationEvents: ', $e->getMessage(), PHP_EOL;
    +    echo 'Exception when calling WRENCHApi->getVMComputeService: ', $e->getMessage(), PHP_EOL;
     }
     ?>
    -
    +
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
     use WWW::SwaggerClient::WRENCHApi;
     
     my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $simid = simid_example; # String | ID of simulation
    +my $simid = simid_example; # String | ID of the simulation
    +my $serviceName = serviceName_example; # String | The cloud compute service name
    +my $vmName = vmName_example; # String | The VM name
     
     eval { 
    -    my $result = $api_instance->getSimulationEvents(simid => $simid);
    +    my $result = $api_instance->getVMComputeService(simid => $simid, serviceName => $serviceName, vmName => $vmName);
         print Dumper($result);
     };
     if ($@) {
    -    warn "Exception when calling WRENCHApi->getSimulationEvents: $@\n";
    +    warn "Exception when calling WRENCHApi->getVMComputeService: $@\n";
     }
    -
    +
    from __future__ import print_statement
     import time
     import swagger_client
    @@ -14674,14 +13959,16 @@ 

    Usage and SDK Samples

    # create an instance of the API class api_instance = swagger_client.WRENCHApi() -simid = simid_example # String | ID of simulation +simid = simid_example # String | ID of the simulation +serviceName = serviceName_example # String | The cloud compute service name +vmName = vmName_example # String | The VM name try: - # Retrieve all simulation events since last time we checked. - api_response = api_instance.get_simulation_events(simid) + # Get the compute service running on a VM, if any. + api_response = api_instance.get_vm_compute_service(simid, serviceName, vmName) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->getSimulationEvents: %s\n" % e)
    + print("Exception when calling WRENCHApi->getVMComputeService: %s\n" % e)
    @@ -14697,7 +13984,7 @@

    Parameters

    -
    +
    @@ -14705,7 +13992,7 @@

    Parameters

    - ID of simulation + ID of the simulation
    @@ -14715,33 +14002,77 @@

    Parameters

    - - - - - - -

    Responses

    -

    Status: 200 - OK

    - - - -
    -
    -
    -
    - +
    @@ -14781,11 +14112,11 @@

    Status: 405 - Invalid input


    -
    -
    +
    +
    -

    getSimulationTime

    -

    Retrieve the current simulated time.

    +

    getVMPhysicalHostname

    +

    Get the name of the physical host on which a VM is running.

    @@ -14793,31 +14124,31 @@

    getSimulationTime


    -
    /simulation/{simid}/getTime
    +
    /simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/getVMPhysicalHostname

    Usage and SDK Samples

    -
    +
    curl -X GET\
     -H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/getTime"
    +"https://wrench-project.org/v1/simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/getVMPhysicalHostname"
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    @@ -14832,18 +14163,20 @@ 

    Usage and SDK Samples

    WRENCHApi apiInstance = new WRENCHApi(); String simid = simid_example; // String | ID of the simulation + String serviceName = serviceName_example; // String | The cloud compute service name + String vmName = vmName_example; // String | The VM name try { - TimeResponse result = apiInstance.getSimulationTime(simid); + ServiceResponse result = apiInstance.getVMPhysicalHostname(simid, serviceName, vmName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#getSimulationTime"); + System.err.println("Exception when calling WRENCHApi#getVMPhysicalHostname"); e.printStackTrace(); } } }
    -
    +
    import io.swagger.client.api.WRENCHApi;
     
     public class WRENCHApiExample {
    @@ -14851,28 +14184,34 @@ 

    Usage and SDK Samples

    public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); String simid = simid_example; // String | ID of the simulation + String serviceName = serviceName_example; // String | The cloud compute service name + String vmName = vmName_example; // String | The VM name try { - TimeResponse result = apiInstance.getSimulationTime(simid); + ServiceResponse result = apiInstance.getVMPhysicalHostname(simid, serviceName, vmName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#getSimulationTime"); + System.err.println("Exception when calling WRENCHApi#getVMPhysicalHostname"); e.printStackTrace(); } } }
    -
    +
    String *simid = simid_example; // ID of the simulation
    +String *serviceName = serviceName_example; // The cloud compute service name
    +String *vmName = vmName_example; // The VM name
     
     WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
     
    -// Retrieve the current simulated time.
    -[apiInstance getSimulationTimeWith:simid
    -              completionHandler: ^(TimeResponse output, NSError* error) {
    +// Get the name of the physical host on which a VM is running.
    +[apiInstance getVMPhysicalHostnameWith:simid
    +    serviceName:serviceName
    +    vmName:vmName
    +              completionHandler: ^(ServiceResponse output, NSError* error) {
                                 if (output) {
                                     NSLog(@"%@", output);
                                 }
    @@ -14883,11 +14222,13 @@ 

    Usage and SDK Samples

    -
    +
    var WrenchRestApi = require('wrench_rest_api');
     
     var api = new WrenchRestApi.WRENCHApi()
     var simid = simid_example; // {{String}} ID of the simulation
    +var serviceName = serviceName_example; // {{String}} The cloud compute service name
    +var vmName = vmName_example; // {{String}} The VM name
     
     var callback = function(error, data, response) {
       if (error) {
    @@ -14896,14 +14237,14 @@ 

    Usage and SDK Samples

    console.log('API called successfully. Returned data: ' + data); } }; -api.getSimulationTime(simid, callback); +api.getVMPhysicalHostname(simid, serviceName, vmName, callback);
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -14912,23 +14253,25 @@ 

    Usage and SDK Samples

    namespace Example { - public class getSimulationTimeExample + public class getVMPhysicalHostnameExample { public void main() { var apiInstance = new WRENCHApi(); var simid = simid_example; // String | ID of the simulation + var serviceName = serviceName_example; // String | The cloud compute service name + var vmName = vmName_example; // String | The VM name try { - // Retrieve the current simulated time. - TimeResponse result = apiInstance.getSimulationTime(simid); + // Get the name of the physical host on which a VM is running. + ServiceResponse result = apiInstance.getVMPhysicalHostname(simid, serviceName, vmName); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.getSimulationTime: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.getVMPhysicalHostname: " + e.Message ); } } } @@ -14936,40 +14279,44 @@

    Usage and SDK Samples

    -
    +
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
     
     $api_instance = new Swagger\Client\ApiWRENCHApi();
     $simid = simid_example; // String | ID of the simulation
    +$serviceName = serviceName_example; // String | The cloud compute service name
    +$vmName = vmName_example; // String | The VM name
     
     try {
    -    $result = $api_instance->getSimulationTime($simid);
    +    $result = $api_instance->getVMPhysicalHostname($simid, $serviceName, $vmName);
         print_r($result);
     } catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->getSimulationTime: ', $e->getMessage(), PHP_EOL;
    +    echo 'Exception when calling WRENCHApi->getVMPhysicalHostname: ', $e->getMessage(), PHP_EOL;
     }
     ?>
    -
    +
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
     use WWW::SwaggerClient::WRENCHApi;
     
     my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
     my $simid = simid_example; # String | ID of the simulation
    +my $serviceName = serviceName_example; # String | The cloud compute service name
    +my $vmName = vmName_example; # String | The VM name
     
     eval { 
    -    my $result = $api_instance->getSimulationTime(simid => $simid);
    +    my $result = $api_instance->getVMPhysicalHostname(simid => $simid, serviceName => $serviceName, vmName => $vmName);
         print Dumper($result);
     };
     if ($@) {
    -    warn "Exception when calling WRENCHApi->getSimulationTime: $@\n";
    +    warn "Exception when calling WRENCHApi->getVMPhysicalHostname: $@\n";
     }
    -
    +
    from __future__ import print_statement
     import time
     import swagger_client
    @@ -14979,13 +14326,15 @@ 

    Usage and SDK Samples

    # create an instance of the API class api_instance = swagger_client.WRENCHApi() simid = simid_example # String | ID of the simulation +serviceName = serviceName_example # String | The cloud compute service name +vmName = vmName_example # String | The VM name try: - # Retrieve the current simulated time. - api_response = api_instance.get_simulation_time(simid) + # Get the name of the physical host on which a VM is running. + api_response = api_instance.get_vm_physical_hostname(simid, serviceName, vmName) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->getSimulationTime: %s\n" % e)
    + print("Exception when calling WRENCHApi->getVMPhysicalHostname: %s\n" % e)
    @@ -15001,7 +14350,7 @@

    Parameters

    -
    +
    @@ -15019,6 +14368,50 @@

    Parameters

    + service_name* + + + +
    +
    +
    + + String + + +
    + The cloud compute service name +
    +
    +
    + Required +
    +
    +
    + + + vm_name* + + + +
    +
    +
    + + String + + +
    + The VM name +
    +
    +
    + Required +
    +
    +
    + + @@ -15030,14 +14423,14 @@

    Status: 200 - OK

    -
    -
    +
    +
    - +
    @@ -15085,43 +14478,43 @@

    Status: 405 - Invalid input


    -
    -
    +
    +
    -

    getStandardJobTasks

    -

    Retrieve job's tasks

    -
    +

    isVMDown

    +

    Method to check whether a VM is currently down.

    +


    -
    /simulation/{simid}/jobs/{job_name}/tasks
    +
    /simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/isVMDown

    Usage and SDK Samples

    -
    +
    curl -X GET\
     -H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/jobs/{job_name}/tasks"
    +"https://wrench-project.org/v1/simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/isVMDown"
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    @@ -15136,19 +14529,20 @@ 

    Usage and SDK Samples

    WRENCHApi apiInstance = new WRENCHApi(); String simid = simid_example; // String | ID of the simulation - String jobName = jobName_example; // String | ID of the job + String serviceName = serviceName_example; // String | The cloud compute service name + String vmName = vmName_example; // String | The VM name try { - TaskList result = apiInstance.getStandardJobTasks(simid, jobName); + ServiceResponse result = apiInstance.isVMDown(simid, serviceName, vmName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#getStandardJobTasks"); + System.err.println("Exception when calling WRENCHApi#isVMDown"); e.printStackTrace(); } } }
    -
    +
    import io.swagger.client.api.WRENCHApi;
     
     public class WRENCHApiExample {
    @@ -15156,31 +14550,34 @@ 

    Usage and SDK Samples

    public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); String simid = simid_example; // String | ID of the simulation - String jobName = jobName_example; // String | ID of the job + String serviceName = serviceName_example; // String | The cloud compute service name + String vmName = vmName_example; // String | The VM name try { - TaskList result = apiInstance.getStandardJobTasks(simid, jobName); + ServiceResponse result = apiInstance.isVMDown(simid, serviceName, vmName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#getStandardJobTasks"); + System.err.println("Exception when calling WRENCHApi#isVMDown"); e.printStackTrace(); } } }
    -
    +
    String *simid = simid_example; // ID of the simulation
    -String *jobName = jobName_example; // ID of the job
    +String *serviceName = serviceName_example; // The cloud compute service name
    +String *vmName = vmName_example; // The VM name
     
     WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
     
    -// Retrieve job's tasks
    -[apiInstance getStandardJobTasksWith:simid
    -    jobName:jobName
    -              completionHandler: ^(TaskList output, NSError* error) {
    +// Method to check whether a VM is currently down.
    +[apiInstance isVMDownWith:simid
    +    serviceName:serviceName
    +    vmName:vmName
    +              completionHandler: ^(ServiceResponse output, NSError* error) {
                                 if (output) {
                                     NSLog(@"%@", output);
                                 }
    @@ -15191,12 +14588,13 @@ 

    Usage and SDK Samples

    -
    +
    var WrenchRestApi = require('wrench_rest_api');
     
     var api = new WrenchRestApi.WRENCHApi()
     var simid = simid_example; // {{String}} ID of the simulation
    -var jobName = jobName_example; // {{String}} ID of the job
    +var serviceName = serviceName_example; // {{String}} The cloud compute service name
    +var vmName = vmName_example; // {{String}} The VM name
     
     var callback = function(error, data, response) {
       if (error) {
    @@ -15205,14 +14603,14 @@ 

    Usage and SDK Samples

    console.log('API called successfully. Returned data: ' + data); } }; -api.getStandardJobTasks(simid, jobName, callback); +api.isVMDown(simid, serviceName, vmName, callback);
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -15221,24 +14619,25 @@ 

    Usage and SDK Samples

    namespace Example { - public class getStandardJobTasksExample + public class isVMDownExample { public void main() { var apiInstance = new WRENCHApi(); var simid = simid_example; // String | ID of the simulation - var jobName = jobName_example; // String | ID of the job + var serviceName = serviceName_example; // String | The cloud compute service name + var vmName = vmName_example; // String | The VM name try { - // Retrieve job's tasks - TaskList result = apiInstance.getStandardJobTasks(simid, jobName); + // Method to check whether a VM is currently down. + ServiceResponse result = apiInstance.isVMDown(simid, serviceName, vmName); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.getStandardJobTasks: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.isVMDown: " + e.Message ); } } } @@ -15246,42 +14645,44 @@

    Usage and SDK Samples

    -
    +
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
     
     $api_instance = new Swagger\Client\ApiWRENCHApi();
     $simid = simid_example; // String | ID of the simulation
    -$jobName = jobName_example; // String | ID of the job
    +$serviceName = serviceName_example; // String | The cloud compute service name
    +$vmName = vmName_example; // String | The VM name
     
     try {
    -    $result = $api_instance->getStandardJobTasks($simid, $jobName);
    +    $result = $api_instance->isVMDown($simid, $serviceName, $vmName);
         print_r($result);
     } catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->getStandardJobTasks: ', $e->getMessage(), PHP_EOL;
    +    echo 'Exception when calling WRENCHApi->isVMDown: ', $e->getMessage(), PHP_EOL;
     }
     ?>
    -
    +
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
     use WWW::SwaggerClient::WRENCHApi;
     
     my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
     my $simid = simid_example; # String | ID of the simulation
    -my $jobName = jobName_example; # String | ID of the job
    +my $serviceName = serviceName_example; # String | The cloud compute service name
    +my $vmName = vmName_example; # String | The VM name
     
     eval { 
    -    my $result = $api_instance->getStandardJobTasks(simid => $simid, jobName => $jobName);
    +    my $result = $api_instance->isVMDown(simid => $simid, serviceName => $serviceName, vmName => $vmName);
         print Dumper($result);
     };
     if ($@) {
    -    warn "Exception when calling WRENCHApi->getStandardJobTasks: $@\n";
    +    warn "Exception when calling WRENCHApi->isVMDown: $@\n";
     }
    -
    +
    from __future__ import print_statement
     import time
     import swagger_client
    @@ -15291,14 +14692,15 @@ 

    Usage and SDK Samples

    # create an instance of the API class api_instance = swagger_client.WRENCHApi() simid = simid_example # String | ID of the simulation -jobName = jobName_example # String | ID of the job +serviceName = serviceName_example # String | The cloud compute service name +vmName = vmName_example # String | The VM name try: - # Retrieve job's tasks - api_response = api_instance.get_standard_job_tasks(simid, jobName) + # Method to check whether a VM is currently down. + api_response = api_instance.is_vm_down(simid, serviceName, vmName) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->getStandardJobTasks: %s\n" % e)
    + print("Exception when calling WRENCHApi->isVMDown: %s\n" % e)
    @@ -15314,7 +14716,7 @@

    Parameters

    -
    +
    @@ -15332,11 +14734,11 @@

    Parameters

    - job_name* + service_name* -
    +
    @@ -15344,7 +14746,29 @@

    Parameters

    - ID of the job + The cloud compute service name +
    +
    +
    + Required +
    +
    +
    + + + vm_name* + + + +
    +
    +
    + + String + + +
    + The VM name
    @@ -15365,14 +14789,14 @@

    Status: 200 - OK

    -
    -
    +
    +
    - +
    -

    Status: 404 - Job not found

    - - - -
    -
    -

    Status: 405 - Invalid input


    -
    -
    +
    +
    -

    getTaskEndDate

    -

    Get a task's end date.

    +

    isVMRunning

    +

    Method to check whether a VM is currently running.

    @@ -15440,31 +14856,31 @@

    getTaskEndDate


    -
    /simulation/{simid}/workflows/{workflow_name}/tasks/{task_name}/taskGetEndDate
    +
    /simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/isVMRunning

    Usage and SDK Samples

    -
    +
    curl -X GET\
     -H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/workflows/{workflow_name}/tasks/{task_name}/taskGetEndDate"
    +"https://wrench-project.org/v1/simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/isVMRunning"
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    @@ -15479,20 +14895,20 @@ 

    Usage and SDK Samples

    WRENCHApi apiInstance = new WRENCHApi(); String simid = simid_example; // String | ID of the simulation - String workflowName = workflowName_example; // String | - String taskName = taskName_example; // String | Name of the task + String serviceName = serviceName_example; // String | Name of the cloud compute service + String vmName = vmName_example; // String | Name of the vm try { - TimeResponse result = apiInstance.getTaskEndDate(simid, workflowName, taskName); + ServiceResponse result = apiInstance.isVMRunning(simid, serviceName, vmName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#getTaskEndDate"); + System.err.println("Exception when calling WRENCHApi#isVMRunning"); e.printStackTrace(); } } }
    -
    +
    import io.swagger.client.api.WRENCHApi;
     
     public class WRENCHApiExample {
    @@ -15500,34 +14916,34 @@ 

    Usage and SDK Samples

    public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); String simid = simid_example; // String | ID of the simulation - String workflowName = workflowName_example; // String | - String taskName = taskName_example; // String | Name of the task + String serviceName = serviceName_example; // String | Name of the cloud compute service + String vmName = vmName_example; // String | Name of the vm try { - TimeResponse result = apiInstance.getTaskEndDate(simid, workflowName, taskName); + ServiceResponse result = apiInstance.isVMRunning(simid, serviceName, vmName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#getTaskEndDate"); + System.err.println("Exception when calling WRENCHApi#isVMRunning"); e.printStackTrace(); } } }
    -
    +
    String *simid = simid_example; // ID of the simulation
    -String *workflowName = workflowName_example; // 
    -String *taskName = taskName_example; // Name of the task
    +String *serviceName = serviceName_example; // Name of the cloud compute service
    +String *vmName = vmName_example; // Name of the vm
     
     WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
     
    -// Get a task's end date.
    -[apiInstance getTaskEndDateWith:simid
    -    workflowName:workflowName
    -    taskName:taskName
    -              completionHandler: ^(TimeResponse output, NSError* error) {
    +// Method to check whether a VM is currently running.
    +[apiInstance isVMRunningWith:simid
    +    serviceName:serviceName
    +    vmName:vmName
    +              completionHandler: ^(ServiceResponse output, NSError* error) {
                                 if (output) {
                                     NSLog(@"%@", output);
                                 }
    @@ -15538,13 +14954,13 @@ 

    Usage and SDK Samples

    -
    +
    var WrenchRestApi = require('wrench_rest_api');
     
     var api = new WrenchRestApi.WRENCHApi()
     var simid = simid_example; // {{String}} ID of the simulation
    -var workflowName = workflowName_example; // {{String}} 
    -var taskName = taskName_example; // {{String}} Name of the task
    +var serviceName = serviceName_example; // {{String}} Name of the cloud compute service
    +var vmName = vmName_example; // {{String}} Name of the vm
     
     var callback = function(error, data, response) {
       if (error) {
    @@ -15553,14 +14969,14 @@ 

    Usage and SDK Samples

    console.log('API called successfully. Returned data: ' + data); } }; -api.getTaskEndDate(simid, workflowName, taskName, callback); +api.isVMRunning(simid, serviceName, vmName, callback);
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -15569,25 +14985,25 @@ 

    Usage and SDK Samples

    namespace Example { - public class getTaskEndDateExample + public class isVMRunningExample { public void main() { var apiInstance = new WRENCHApi(); var simid = simid_example; // String | ID of the simulation - var workflowName = workflowName_example; // String | - var taskName = taskName_example; // String | Name of the task + var serviceName = serviceName_example; // String | Name of the cloud compute service + var vmName = vmName_example; // String | Name of the vm try { - // Get a task's end date. - TimeResponse result = apiInstance.getTaskEndDate(simid, workflowName, taskName); + // Method to check whether a VM is currently running. + ServiceResponse result = apiInstance.isVMRunning(simid, serviceName, vmName); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.getTaskEndDate: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.isVMRunning: " + e.Message ); } } } @@ -15595,44 +15011,44 @@

    Usage and SDK Samples

    -
    +
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
     
     $api_instance = new Swagger\Client\ApiWRENCHApi();
     $simid = simid_example; // String | ID of the simulation
    -$workflowName = workflowName_example; // String | 
    -$taskName = taskName_example; // String | Name of the task
    +$serviceName = serviceName_example; // String | Name of the cloud compute service
    +$vmName = vmName_example; // String | Name of the vm
     
     try {
    -    $result = $api_instance->getTaskEndDate($simid, $workflowName, $taskName);
    +    $result = $api_instance->isVMRunning($simid, $serviceName, $vmName);
         print_r($result);
     } catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->getTaskEndDate: ', $e->getMessage(), PHP_EOL;
    +    echo 'Exception when calling WRENCHApi->isVMRunning: ', $e->getMessage(), PHP_EOL;
     }
     ?>
    -
    +
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
     use WWW::SwaggerClient::WRENCHApi;
     
     my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
     my $simid = simid_example; # String | ID of the simulation
    -my $workflowName = workflowName_example; # String | 
    -my $taskName = taskName_example; # String | Name of the task
    +my $serviceName = serviceName_example; # String | Name of the cloud compute service
    +my $vmName = vmName_example; # String | Name of the vm
     
     eval { 
    -    my $result = $api_instance->getTaskEndDate(simid => $simid, workflowName => $workflowName, taskName => $taskName);
    +    my $result = $api_instance->isVMRunning(simid => $simid, serviceName => $serviceName, vmName => $vmName);
         print Dumper($result);
     };
     if ($@) {
    -    warn "Exception when calling WRENCHApi->getTaskEndDate: $@\n";
    +    warn "Exception when calling WRENCHApi->isVMRunning: $@\n";
     }
    -
    +
    from __future__ import print_statement
     import time
     import swagger_client
    @@ -15642,15 +15058,15 @@ 

    Usage and SDK Samples

    # create an instance of the API class api_instance = swagger_client.WRENCHApi() simid = simid_example # String | ID of the simulation -workflowName = workflowName_example # String | -taskName = taskName_example # String | Name of the task +serviceName = serviceName_example # String | Name of the cloud compute service +vmName = vmName_example # String | Name of the vm try: - # Get a task's end date. - api_response = api_instance.get_task_end_date(simid, workflowName, taskName) + # Method to check whether a VM is currently running. + api_response = api_instance.is_vm_running(simid, serviceName, vmName) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->getTaskEndDate: %s\n" % e)
    + print("Exception when calling WRENCHApi->isVMRunning: %s\n" % e)
    @@ -15666,7 +15082,7 @@

    Parameters

    -
    +
    @@ -15684,17 +15100,20 @@

    Parameters

    - workflow_name* + service_name* -
    +
    String +
    + Name of the cloud compute service +
    Required @@ -15703,11 +15122,11 @@

    Parameters

    - task_name* + vm_name* -
    +
    @@ -15715,7 +15134,7 @@

    Parameters

    - Name of the task + Name of the vm
    @@ -15736,14 +15155,14 @@

    Status: 200 - OK

    -
    -
    +
    +
    - +
    -

    Status: 404 - Job not found

    - - - -
    -
    -

    Status: 405 - Invalid input


    -
    -
    +
    +
    -

    getTaskEndDate_1

    -

    Get an action's end date.

    +

    isVMSuspended

    +

    Method to check whether a VM is currently suspended.

    @@ -15811,31 +15222,31 @@

    getTaskEndDate_1


    -
    /simulation/{simid}/{compound_job_name}/actions/{name}/actionGetEndDate
    +
    /simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/isVMSuspended

    Usage and SDK Samples

    -
    +
    curl -X GET\
     -H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/{compound_job_name}/actions/{name}/actionGetEndDate"
    +"https://wrench-project.org/v1/simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/isVMSuspended"
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    @@ -15850,20 +15261,20 @@ 

    Usage and SDK Samples

    WRENCHApi apiInstance = new WRENCHApi(); String simid = simid_example; // String | ID of the simulation - String compoundJobName = compoundJobName_example; // String | Name of the compound job - String name = name_example; // String | Name of the action + String serviceName = serviceName_example; // String | The cloud compute service name + String vmName = vmName_example; // String | The VM name try { - TimeResponse result = apiInstance.getTaskEndDate_0(simid, compoundJobName, name); + ServiceResponse result = apiInstance.isVMSuspended(simid, serviceName, vmName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#getTaskEndDate_0"); + System.err.println("Exception when calling WRENCHApi#isVMSuspended"); e.printStackTrace(); } } }
    -
    +
    import io.swagger.client.api.WRENCHApi;
     
     public class WRENCHApiExample {
    @@ -15871,34 +15282,34 @@ 

    Usage and SDK Samples

    public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); String simid = simid_example; // String | ID of the simulation - String compoundJobName = compoundJobName_example; // String | Name of the compound job - String name = name_example; // String | Name of the action + String serviceName = serviceName_example; // String | The cloud compute service name + String vmName = vmName_example; // String | The VM name try { - TimeResponse result = apiInstance.getTaskEndDate_0(simid, compoundJobName, name); + ServiceResponse result = apiInstance.isVMSuspended(simid, serviceName, vmName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#getTaskEndDate_0"); + System.err.println("Exception when calling WRENCHApi#isVMSuspended"); e.printStackTrace(); } } }
    -
    +
    String *simid = simid_example; // ID of the simulation
    -String *compoundJobName = compoundJobName_example; // Name of the compound job
    -String *name = name_example; // Name of the action
    +String *serviceName = serviceName_example; // The cloud compute service name
    +String *vmName = vmName_example; // The VM name
     
     WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
     
    -// Get an action's end date.
    -[apiInstance getTaskEndDate_1With:simid
    -    compoundJobName:compoundJobName
    -    name:name
    -              completionHandler: ^(TimeResponse output, NSError* error) {
    +// Method to check whether a VM is currently suspended.
    +[apiInstance isVMSuspendedWith:simid
    +    serviceName:serviceName
    +    vmName:vmName
    +              completionHandler: ^(ServiceResponse output, NSError* error) {
                                 if (output) {
                                     NSLog(@"%@", output);
                                 }
    @@ -15909,13 +15320,13 @@ 

    Usage and SDK Samples

    -
    +
    var WrenchRestApi = require('wrench_rest_api');
     
     var api = new WrenchRestApi.WRENCHApi()
     var simid = simid_example; // {{String}} ID of the simulation
    -var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
    -var name = name_example; // {{String}} Name of the action
    +var serviceName = serviceName_example; // {{String}} The cloud compute service name
    +var vmName = vmName_example; // {{String}} The VM name
     
     var callback = function(error, data, response) {
       if (error) {
    @@ -15924,14 +15335,14 @@ 

    Usage and SDK Samples

    console.log('API called successfully. Returned data: ' + data); } }; -api.getTaskEndDate_0(simid, compoundJobName, name, callback); +api.isVMSuspended(simid, serviceName, vmName, callback);
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -15940,25 +15351,25 @@ 

    Usage and SDK Samples

    namespace Example { - public class getTaskEndDate_0Example + public class isVMSuspendedExample { public void main() { var apiInstance = new WRENCHApi(); var simid = simid_example; // String | ID of the simulation - var compoundJobName = compoundJobName_example; // String | Name of the compound job - var name = name_example; // String | Name of the action + var serviceName = serviceName_example; // String | The cloud compute service name + var vmName = vmName_example; // String | The VM name try { - // Get an action's end date. - TimeResponse result = apiInstance.getTaskEndDate_0(simid, compoundJobName, name); + // Method to check whether a VM is currently suspended. + ServiceResponse result = apiInstance.isVMSuspended(simid, serviceName, vmName); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.getTaskEndDate_0: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.isVMSuspended: " + e.Message ); } } } @@ -15966,44 +15377,44 @@

    Usage and SDK Samples

    -
    +
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
     
     $api_instance = new Swagger\Client\ApiWRENCHApi();
     $simid = simid_example; // String | ID of the simulation
    -$compoundJobName = compoundJobName_example; // String | Name of the compound job
    -$name = name_example; // String | Name of the action
    +$serviceName = serviceName_example; // String | The cloud compute service name
    +$vmName = vmName_example; // String | The VM name
     
     try {
    -    $result = $api_instance->getTaskEndDate_0($simid, $compoundJobName, $name);
    +    $result = $api_instance->isVMSuspended($simid, $serviceName, $vmName);
         print_r($result);
     } catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->getTaskEndDate_0: ', $e->getMessage(), PHP_EOL;
    +    echo 'Exception when calling WRENCHApi->isVMSuspended: ', $e->getMessage(), PHP_EOL;
     }
     ?>
    -
    +
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
     use WWW::SwaggerClient::WRENCHApi;
     
     my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
     my $simid = simid_example; # String | ID of the simulation
    -my $compoundJobName = compoundJobName_example; # String | Name of the compound job
    -my $name = name_example; # String | Name of the action
    +my $serviceName = serviceName_example; # String | The cloud compute service name
    +my $vmName = vmName_example; # String | The VM name
     
     eval { 
    -    my $result = $api_instance->getTaskEndDate_0(simid => $simid, compoundJobName => $compoundJobName, name => $name);
    +    my $result = $api_instance->isVMSuspended(simid => $simid, serviceName => $serviceName, vmName => $vmName);
         print Dumper($result);
     };
     if ($@) {
    -    warn "Exception when calling WRENCHApi->getTaskEndDate_0: $@\n";
    +    warn "Exception when calling WRENCHApi->isVMSuspended: $@\n";
     }
    -
    +
    from __future__ import print_statement
     import time
     import swagger_client
    @@ -16013,15 +15424,15 @@ 

    Usage and SDK Samples

    # create an instance of the API class api_instance = swagger_client.WRENCHApi() simid = simid_example # String | ID of the simulation -compoundJobName = compoundJobName_example # String | Name of the compound job -name = name_example # String | Name of the action +serviceName = serviceName_example # String | The cloud compute service name +vmName = vmName_example # String | The VM name try: - # Get an action's end date. - api_response = api_instance.get_task_end_date_0(simid, compoundJobName, name) + # Method to check whether a VM is currently suspended. + api_response = api_instance.is_vm_suspended(simid, serviceName, vmName) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->getTaskEndDate_0: %s\n" % e)
    + print("Exception when calling WRENCHApi->isVMSuspended: %s\n" % e)
    @@ -16037,7 +15448,7 @@

    Parameters

    -
    +
    @@ -16055,11 +15466,11 @@

    Parameters

    - compound_job_name* + service_name* -
    +
    @@ -16067,7 +15478,7 @@

    Parameters

    - Name of the compound job + The cloud compute service name
    @@ -16077,11 +15488,11 @@

    Parameters

    - name* + vm_name* -
    +
    @@ -16089,7 +15500,7 @@

    Parameters

    - Name of the action + The VM name
    @@ -16110,14 +15521,14 @@

    Status: 200 - OK

    -
    -
    +
    +
    - +
    -

    Status: 404 - Job not found

    - - - -
    -
    -

    Status: 405 - Invalid input


    -
    -
    +
    +
    -

    getTaskFlops

    -

    Get a task's flops

    +

    lookupFileAtStorageService

    +

    Check if a copy of a file is stored at a storage service.

    @@ -16185,31 +15588,32 @@

    getTaskFlops


    -
    /simulation/{simid}/workflows/{workflow_name}/tasks/{task_name}/taskGetFlops
    +
    /simulation/{simid}/storage_services/{service_name}/lookupFile

    Usage and SDK Samples

    -
    -
    curl -X GET\
    +                          
    +
    curl -X POST\
     -H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/workflows/{workflow_name}/tasks/{task_name}/taskGetFlops"
    +-H "Content-Type: application/json"\ +"https://wrench-project.org/v1/simulation/{simid}/storage_services/{service_name}/lookupFile"
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    @@ -16223,56 +15627,56 @@ 

    Usage and SDK Samples

    public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); + Service_name_lookupFile_body body = ; // Service_name_lookupFile_body | Input to start a new service. String simid = simid_example; // String | ID of the simulation - String workflowName = workflowName_example; // String | Name of the workflow - String taskName = taskName_example; // String | Name of the task + String serviceName = serviceName_example; // String | The storage service's head host try { - TaskFlops result = apiInstance.getTaskFlops(simid, workflowName, taskName); + BooleanResponse result = apiInstance.lookupFileAtStorageService(body, simid, serviceName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#getTaskFlops"); + System.err.println("Exception when calling WRENCHApi#lookupFileAtStorageService"); e.printStackTrace(); } } }
    -
    +
    import io.swagger.client.api.WRENCHApi;
     
     public class WRENCHApiExample {
     
         public static void main(String[] args) {
             WRENCHApi apiInstance = new WRENCHApi();
    +        Service_name_lookupFile_body body = ; // Service_name_lookupFile_body | Input to start a new service.
             String simid = simid_example; // String | ID of the simulation
    -        String workflowName = workflowName_example; // String | Name of the workflow
    -        String taskName = taskName_example; // String | Name of the task
    +        String serviceName = serviceName_example; // String | The storage service's head host
             try {
    -            TaskFlops result = apiInstance.getTaskFlops(simid, workflowName, taskName);
    +            BooleanResponse result = apiInstance.lookupFileAtStorageService(body, simid, serviceName);
                 System.out.println(result);
             } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getTaskFlops");
    +            System.err.println("Exception when calling WRENCHApi#lookupFileAtStorageService");
                 e.printStackTrace();
             }
         }
     }
    -
    -
    String *simid = simid_example; // ID of the simulation
    -String *workflowName = workflowName_example; // Name of the workflow
    -String *taskName = taskName_example; // Name of the task
    +                            
    +
    Service_name_lookupFile_body *body = ; // Input to start a new service.
    +String *simid = simid_example; // ID of the simulation
    +String *serviceName = serviceName_example; // The storage service's head host
     
     WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
     
    -// Get a task's flops
    -[apiInstance getTaskFlopsWith:simid
    -    workflowName:workflowName
    -    taskName:taskName
    -              completionHandler: ^(TaskFlops output, NSError* error) {
    +// Check if a copy of a file is stored at a storage service.
    +[apiInstance lookupFileAtStorageServiceWith:body
    +    simid:simid
    +    serviceName:serviceName
    +              completionHandler: ^(BooleanResponse output, NSError* error) {
                                 if (output) {
                                     NSLog(@"%@", output);
                                 }
    @@ -16283,13 +15687,13 @@ 

    Usage and SDK Samples

    -
    +
    var WrenchRestApi = require('wrench_rest_api');
     
     var api = new WrenchRestApi.WRENCHApi()
    +var body = ; // {{Service_name_lookupFile_body}} Input to start a new service.
     var simid = simid_example; // {{String}} ID of the simulation
    -var workflowName = workflowName_example; // {{String}} Name of the workflow
    -var taskName = taskName_example; // {{String}} Name of the task
    +var serviceName = serviceName_example; // {{String}} The storage service's head host
     
     var callback = function(error, data, response) {
       if (error) {
    @@ -16298,14 +15702,14 @@ 

    Usage and SDK Samples

    console.log('API called successfully. Returned data: ' + data); } }; -api.getTaskFlops(simid, workflowName, taskName, callback); +api.lookupFileAtStorageService(bodysimidserviceName, callback);
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -16314,25 +15718,25 @@ 

    Usage and SDK Samples

    namespace Example { - public class getTaskFlopsExample + public class lookupFileAtStorageServiceExample { public void main() { var apiInstance = new WRENCHApi(); + var body = new Service_name_lookupFile_body(); // Service_name_lookupFile_body | Input to start a new service. var simid = simid_example; // String | ID of the simulation - var workflowName = workflowName_example; // String | Name of the workflow - var taskName = taskName_example; // String | Name of the task + var serviceName = serviceName_example; // String | The storage service's head host try { - // Get a task's flops - TaskFlops result = apiInstance.getTaskFlops(simid, workflowName, taskName); + // Check if a copy of a file is stored at a storage service. + BooleanResponse result = apiInstance.lookupFileAtStorageService(body, simid, serviceName); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.getTaskFlops: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.lookupFileAtStorageService: " + e.Message ); } } } @@ -16340,44 +15744,44 @@

    Usage and SDK Samples

    -
    +
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
     
     $api_instance = new Swagger\Client\ApiWRENCHApi();
    +$body = ; // Service_name_lookupFile_body | Input to start a new service.
     $simid = simid_example; // String | ID of the simulation
    -$workflowName = workflowName_example; // String | Name of the workflow
    -$taskName = taskName_example; // String | Name of the task
    +$serviceName = serviceName_example; // String | The storage service's head host
     
     try {
    -    $result = $api_instance->getTaskFlops($simid, $workflowName, $taskName);
    +    $result = $api_instance->lookupFileAtStorageService($body, $simid, $serviceName);
         print_r($result);
     } catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->getTaskFlops: ', $e->getMessage(), PHP_EOL;
    +    echo 'Exception when calling WRENCHApi->lookupFileAtStorageService: ', $e->getMessage(), PHP_EOL;
     }
     ?>
    -
    +
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
     use WWW::SwaggerClient::WRENCHApi;
     
     my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    +my $body = WWW::SwaggerClient::Object::Service_name_lookupFile_body->new(); # Service_name_lookupFile_body | Input to start a new service.
     my $simid = simid_example; # String | ID of the simulation
    -my $workflowName = workflowName_example; # String | Name of the workflow
    -my $taskName = taskName_example; # String | Name of the task
    +my $serviceName = serviceName_example; # String | The storage service's head host
     
     eval { 
    -    my $result = $api_instance->getTaskFlops(simid => $simid, workflowName => $workflowName, taskName => $taskName);
    +    my $result = $api_instance->lookupFileAtStorageService(body => $body, simid => $simid, serviceName => $serviceName);
         print Dumper($result);
     };
     if ($@) {
    -    warn "Exception when calling WRENCHApi->getTaskFlops: $@\n";
    +    warn "Exception when calling WRENCHApi->lookupFileAtStorageService: $@\n";
     }
    -
    +
    from __future__ import print_statement
     import time
     import swagger_client
    @@ -16386,16 +15790,16 @@ 

    Usage and SDK Samples

    # create an instance of the API class api_instance = swagger_client.WRENCHApi() +body = # Service_name_lookupFile_body | Input to start a new service. simid = simid_example # String | ID of the simulation -workflowName = workflowName_example # String | Name of the workflow -taskName = taskName_example # String | Name of the task +serviceName = serviceName_example # String | The storage service's head host try: - # Get a task's flops - api_response = api_instance.get_task_flops(simid, workflowName, taskName) + # Check if a copy of a file is stored at a storage service. + api_response = api_instance.lookup_file_at_storage_service(body, simid, serviceName) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->getTaskFlops: %s\n" % e)
    + print("Exception when calling WRENCHApi->lookupFileAtStorageService: %s\n" % e)
    @@ -16411,7 +15815,7 @@

    Parameters

    -
    +
    @@ -16429,33 +15833,11 @@

    Parameters

    - workflow_name* - - - -
    -
    -
    - - String - - -
    - Name of the workflow -
    -
    -
    - Required -
    -
    -
    - - - task_name* + service_name* -
    +
    @@ -16463,7 +15845,7 @@

    Parameters

    - Name of the task + The storage service's head host
    @@ -16476,6 +15858,50 @@

    Parameters

    +
    Body parameters
    + + + + + + + + +
    NameDescription
    body * + + + +
    +
    @@ -16484,14 +15910,14 @@

    Status: 200 - OK

    -
    -
    +
    +
    - +
    -

    Status: 404 - Job not found

    +

    Status: 404 - Simulation or storage service not found

    @@ -16547,11 +15973,11 @@

    Status: 405 - Invalid input


    -
    -
    +
    +
    -

    getTaskFlops_2

    -

    Get an action's flops

    +

    resumeVM

    +

    Resume a suspended VM.

    @@ -16559,31 +15985,31 @@

    getTaskFlops_2


    -
    /simulation/{simid}/compoundJobs/{compound_job_name}/setPriority
    +
    /simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/resumeVM

    Usage and SDK Samples

    -
    -
    curl -X PUT\
    +                          
    +
    curl -X POST\
     -H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/compoundJobs/{compound_job_name}/setPriority"
    +"https://wrench-project.org/v1/simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/resumeVM"
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    @@ -16598,19 +16024,20 @@ 

    Usage and SDK Samples

    WRENCHApi apiInstance = new WRENCHApi(); String simid = simid_example; // String | ID of the simulation - String compoundJobName = compoundJobName_example; // String | Name of the compound job + String serviceName = serviceName_example; // String | The cloud compute service name + String vmName = vmName_example; // String | The VM name try { - TaskFlops result = apiInstance.getTaskFlops_0(simid, compoundJobName); + GenericResponse result = apiInstance.resumeVM(simid, serviceName, vmName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#getTaskFlops_0"); + System.err.println("Exception when calling WRENCHApi#resumeVM"); e.printStackTrace(); } } }
    -
    +
    import io.swagger.client.api.WRENCHApi;
     
     public class WRENCHApiExample {
    @@ -16618,31 +16045,34 @@ 

    Usage and SDK Samples

    public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); String simid = simid_example; // String | ID of the simulation - String compoundJobName = compoundJobName_example; // String | Name of the compound job + String serviceName = serviceName_example; // String | The cloud compute service name + String vmName = vmName_example; // String | The VM name try { - TaskFlops result = apiInstance.getTaskFlops_0(simid, compoundJobName); + GenericResponse result = apiInstance.resumeVM(simid, serviceName, vmName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#getTaskFlops_0"); + System.err.println("Exception when calling WRENCHApi#resumeVM"); e.printStackTrace(); } } }
    -
    +
    String *simid = simid_example; // ID of the simulation
    -String *compoundJobName = compoundJobName_example; // Name of the compound job
    +String *serviceName = serviceName_example; // The cloud compute service name
    +String *vmName = vmName_example; // The VM name
     
     WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
     
    -// Get an action's flops
    -[apiInstance getTaskFlops_2With:simid
    -    compoundJobName:compoundJobName
    -              completionHandler: ^(TaskFlops output, NSError* error) {
    +// Resume a suspended VM.
    +[apiInstance resumeVMWith:simid
    +    serviceName:serviceName
    +    vmName:vmName
    +              completionHandler: ^(GenericResponse output, NSError* error) {
                                 if (output) {
                                     NSLog(@"%@", output);
                                 }
    @@ -16653,12 +16083,13 @@ 

    Usage and SDK Samples

    -
    +
    var WrenchRestApi = require('wrench_rest_api');
     
     var api = new WrenchRestApi.WRENCHApi()
     var simid = simid_example; // {{String}} ID of the simulation
    -var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
    +var serviceName = serviceName_example; // {{String}} The cloud compute service name
    +var vmName = vmName_example; // {{String}} The VM name
     
     var callback = function(error, data, response) {
       if (error) {
    @@ -16667,14 +16098,14 @@ 

    Usage and SDK Samples

    console.log('API called successfully. Returned data: ' + data); } }; -api.getTaskFlops_0(simid, compoundJobName, callback); +api.resumeVM(simid, serviceName, vmName, callback);
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -16683,24 +16114,25 @@ 

    Usage and SDK Samples

    namespace Example { - public class getTaskFlops_0Example + public class resumeVMExample { public void main() { var apiInstance = new WRENCHApi(); var simid = simid_example; // String | ID of the simulation - var compoundJobName = compoundJobName_example; // String | Name of the compound job + var serviceName = serviceName_example; // String | The cloud compute service name + var vmName = vmName_example; // String | The VM name try { - // Get an action's flops - TaskFlops result = apiInstance.getTaskFlops_0(simid, compoundJobName); + // Resume a suspended VM. + GenericResponse result = apiInstance.resumeVM(simid, serviceName, vmName); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.getTaskFlops_0: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.resumeVM: " + e.Message ); } } } @@ -16708,42 +16140,44 @@

    Usage and SDK Samples

    -
    +
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
     
     $api_instance = new Swagger\Client\ApiWRENCHApi();
     $simid = simid_example; // String | ID of the simulation
    -$compoundJobName = compoundJobName_example; // String | Name of the compound job
    +$serviceName = serviceName_example; // String | The cloud compute service name
    +$vmName = vmName_example; // String | The VM name
     
     try {
    -    $result = $api_instance->getTaskFlops_0($simid, $compoundJobName);
    +    $result = $api_instance->resumeVM($simid, $serviceName, $vmName);
         print_r($result);
     } catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->getTaskFlops_0: ', $e->getMessage(), PHP_EOL;
    +    echo 'Exception when calling WRENCHApi->resumeVM: ', $e->getMessage(), PHP_EOL;
     }
     ?>
    -
    +
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
     use WWW::SwaggerClient::WRENCHApi;
     
     my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
     my $simid = simid_example; # String | ID of the simulation
    -my $compoundJobName = compoundJobName_example; # String | Name of the compound job
    +my $serviceName = serviceName_example; # String | The cloud compute service name
    +my $vmName = vmName_example; # String | The VM name
     
     eval { 
    -    my $result = $api_instance->getTaskFlops_0(simid => $simid, compoundJobName => $compoundJobName);
    +    my $result = $api_instance->resumeVM(simid => $simid, serviceName => $serviceName, vmName => $vmName);
         print Dumper($result);
     };
     if ($@) {
    -    warn "Exception when calling WRENCHApi->getTaskFlops_0: $@\n";
    +    warn "Exception when calling WRENCHApi->resumeVM: $@\n";
     }
    -
    +
    from __future__ import print_statement
     import time
     import swagger_client
    @@ -16753,14 +16187,15 @@ 

    Usage and SDK Samples

    # create an instance of the API class api_instance = swagger_client.WRENCHApi() simid = simid_example # String | ID of the simulation -compoundJobName = compoundJobName_example # String | Name of the compound job +serviceName = serviceName_example # String | The cloud compute service name +vmName = vmName_example # String | The VM name try: - # Get an action's flops - api_response = api_instance.get_task_flops_0(simid, compoundJobName) + # Resume a suspended VM. + api_response = api_instance.resume_vm(simid, serviceName, vmName) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->getTaskFlops_0: %s\n" % e)
    + print("Exception when calling WRENCHApi->resumeVM: %s\n" % e)
    @@ -16776,7 +16211,7 @@

    Parameters

    -
    +
    @@ -16794,11 +16229,33 @@

    Parameters

    - compound_job_name* + service_name* + + + +
    +
    +
    + + String + + +
    + The cloud compute service name +
    +
    +
    + Required +
    +
    +
    + + + vm_name* -
    +
    @@ -16806,7 +16263,7 @@

    Parameters

    - Name of the compound job + The VM name
    @@ -16827,14 +16284,14 @@

    Status: 200 - OK

    -
    -
    +
    +
    - +
    -

    Status: 404 - Job not found

    - - - -
    -
    -

    Status: 405 - Invalid input


    -
    -
    +
    +
    -

    getTaskFlops_3

    -

    Get an action's flops

    +

    shutdownVM

    +

    Shutdown a VM.

    @@ -16902,31 +16351,31 @@

    getTaskFlops_3


    -
    /simulation/{simid}/compoundJobs/{compound_job_name}/getParentJobs
    +
    /simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/shutdownVM

    Usage and SDK Samples

    - -
    -
    -
    curl -X GET\
    +                          
  • Curl
  • +
  • Java
  • +
  • Android
  • + +
  • Obj-C
  • +
  • JavaScript
  • + +
  • C#
  • +
  • PHP
  • +
  • Perl
  • +
  • Python
  • + + +
    +
    +
    curl -X POST\
     -H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/compoundJobs/{compound_job_name}/getParentJobs"
    +"https://wrench-project.org/v1/simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/shutdownVM"
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    @@ -16941,19 +16390,20 @@ 

    Usage and SDK Samples

    WRENCHApi apiInstance = new WRENCHApi(); String simid = simid_example; // String | ID of the simulation - String compoundJobName = compoundJobName_example; // String | Name of the compound job + String serviceName = serviceName_example; // String | The cloud compute service name + String vmName = vmName_example; // String | The VM name try { - TaskFlops result = apiInstance.getTaskFlops_1(simid, compoundJobName); + ServiceResponse result = apiInstance.shutdownVM(simid, serviceName, vmName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#getTaskFlops_1"); + System.err.println("Exception when calling WRENCHApi#shutdownVM"); e.printStackTrace(); } } }
    -
    +
    import io.swagger.client.api.WRENCHApi;
     
     public class WRENCHApiExample {
    @@ -16961,31 +16411,34 @@ 

    Usage and SDK Samples

    public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); String simid = simid_example; // String | ID of the simulation - String compoundJobName = compoundJobName_example; // String | Name of the compound job + String serviceName = serviceName_example; // String | The cloud compute service name + String vmName = vmName_example; // String | The VM name try { - TaskFlops result = apiInstance.getTaskFlops_1(simid, compoundJobName); + ServiceResponse result = apiInstance.shutdownVM(simid, serviceName, vmName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#getTaskFlops_1"); + System.err.println("Exception when calling WRENCHApi#shutdownVM"); e.printStackTrace(); } } }
    -
    +
    String *simid = simid_example; // ID of the simulation
    -String *compoundJobName = compoundJobName_example; // Name of the compound job
    +String *serviceName = serviceName_example; // The cloud compute service name
    +String *vmName = vmName_example; // The VM name
     
     WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
     
    -// Get an action's flops
    -[apiInstance getTaskFlops_3With:simid
    -    compoundJobName:compoundJobName
    -              completionHandler: ^(TaskFlops output, NSError* error) {
    +// Shutdown a VM.
    +[apiInstance shutdownVMWith:simid
    +    serviceName:serviceName
    +    vmName:vmName
    +              completionHandler: ^(ServiceResponse output, NSError* error) {
                                 if (output) {
                                     NSLog(@"%@", output);
                                 }
    @@ -16996,12 +16449,13 @@ 

    Usage and SDK Samples

    -
    +
    var WrenchRestApi = require('wrench_rest_api');
     
     var api = new WrenchRestApi.WRENCHApi()
     var simid = simid_example; // {{String}} ID of the simulation
    -var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
    +var serviceName = serviceName_example; // {{String}} The cloud compute service name
    +var vmName = vmName_example; // {{String}} The VM name
     
     var callback = function(error, data, response) {
       if (error) {
    @@ -17010,14 +16464,14 @@ 

    Usage and SDK Samples

    console.log('API called successfully. Returned data: ' + data); } }; -api.getTaskFlops_1(simid, compoundJobName, callback); +api.shutdownVM(simid, serviceName, vmName, callback);
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -17026,24 +16480,25 @@ 

    Usage and SDK Samples

    namespace Example { - public class getTaskFlops_1Example + public class shutdownVMExample { public void main() { var apiInstance = new WRENCHApi(); var simid = simid_example; // String | ID of the simulation - var compoundJobName = compoundJobName_example; // String | Name of the compound job + var serviceName = serviceName_example; // String | The cloud compute service name + var vmName = vmName_example; // String | The VM name try { - // Get an action's flops - TaskFlops result = apiInstance.getTaskFlops_1(simid, compoundJobName); + // Shutdown a VM. + ServiceResponse result = apiInstance.shutdownVM(simid, serviceName, vmName); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.getTaskFlops_1: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.shutdownVM: " + e.Message ); } } } @@ -17051,42 +16506,44 @@

    Usage and SDK Samples

    -
    +
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
     
     $api_instance = new Swagger\Client\ApiWRENCHApi();
     $simid = simid_example; // String | ID of the simulation
    -$compoundJobName = compoundJobName_example; // String | Name of the compound job
    +$serviceName = serviceName_example; // String | The cloud compute service name
    +$vmName = vmName_example; // String | The VM name
     
     try {
    -    $result = $api_instance->getTaskFlops_1($simid, $compoundJobName);
    +    $result = $api_instance->shutdownVM($simid, $serviceName, $vmName);
         print_r($result);
     } catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->getTaskFlops_1: ', $e->getMessage(), PHP_EOL;
    +    echo 'Exception when calling WRENCHApi->shutdownVM: ', $e->getMessage(), PHP_EOL;
     }
     ?>
    -
    +
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
     use WWW::SwaggerClient::WRENCHApi;
     
     my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
     my $simid = simid_example; # String | ID of the simulation
    -my $compoundJobName = compoundJobName_example; # String | Name of the compound job
    +my $serviceName = serviceName_example; # String | The cloud compute service name
    +my $vmName = vmName_example; # String | The VM name
     
     eval { 
    -    my $result = $api_instance->getTaskFlops_1(simid => $simid, compoundJobName => $compoundJobName);
    +    my $result = $api_instance->shutdownVM(simid => $simid, serviceName => $serviceName, vmName => $vmName);
         print Dumper($result);
     };
     if ($@) {
    -    warn "Exception when calling WRENCHApi->getTaskFlops_1: $@\n";
    +    warn "Exception when calling WRENCHApi->shutdownVM: $@\n";
     }
    -
    +
    from __future__ import print_statement
     import time
     import swagger_client
    @@ -17096,14 +16553,15 @@ 

    Usage and SDK Samples

    # create an instance of the API class api_instance = swagger_client.WRENCHApi() simid = simid_example # String | ID of the simulation -compoundJobName = compoundJobName_example # String | Name of the compound job +serviceName = serviceName_example # String | The cloud compute service name +vmName = vmName_example # String | The VM name try: - # Get an action's flops - api_response = api_instance.get_task_flops_1(simid, compoundJobName) + # Shutdown a VM. + api_response = api_instance.shutdown_vm(simid, serviceName, vmName) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->getTaskFlops_1: %s\n" % e)
    + print("Exception when calling WRENCHApi->shutdownVM: %s\n" % e)
    @@ -17119,7 +16577,7 @@

    Parameters

    -
    +
    @@ -17137,11 +16595,33 @@

    Parameters

    - compound_job_name* + service_name* + + + +
    +
    +
    + + String + + +
    + The cloud compute service name +
    +
    +
    + Required +
    +
    +
    + + + vm_name* -
    +
    @@ -17149,7 +16629,7 @@

    Parameters

    - Name of the compound job + The VM name
    @@ -17170,14 +16650,14 @@

    Status: 200 - OK

    -
    -
    +
    +
    - +
    -

    Status: 404 - Job not found

    - - - -
    -
    -

    Status: 405 - Invalid input


    -
    -
    +
    +
    -

    getTaskFlops_4

    -

    Get an action's flops

    +

    startSimulation

    +

    Start a new simulation

    @@ -17245,31 +16717,32 @@

    getTaskFlops_4


    -
    /simulation/{simid}/compoundJobs/{compound_job_name}/addFileRegistryAddEntryAction
    +
    /simulation/startSimulation

    Usage and SDK Samples

    -
    +
    curl -X POST\
     -H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/compoundJobs/{compound_job_name}/addFileRegistryAddEntryAction"
    +-H "Content-Type: application/json"\ +"https://wrench-project.org/v1/simulation/startSimulation"
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    @@ -17283,52 +16756,48 @@ 

    Usage and SDK Samples

    public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); - String simid = simid_example; // String | ID of the simulation - String compoundJobName = compoundJobName_example; // String | Name of the compound job + SimulationInput body = ; // SimulationInput | Start a new simulation based on a platform file and a controller hostname. try { - TaskFlops result = apiInstance.getTaskFlops_10(simid, compoundJobName); + SimulationReturn result = apiInstance.startSimulation(body); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#getTaskFlops_10"); + System.err.println("Exception when calling WRENCHApi#startSimulation"); e.printStackTrace(); } } }
    -
    +
    import io.swagger.client.api.WRENCHApi;
     
     public class WRENCHApiExample {
     
         public static void main(String[] args) {
             WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String compoundJobName = compoundJobName_example; // String | Name of the compound job
    +        SimulationInput body = ; // SimulationInput | Start a new simulation based on a platform file and a controller hostname.
             try {
    -            TaskFlops result = apiInstance.getTaskFlops_10(simid, compoundJobName);
    +            SimulationReturn result = apiInstance.startSimulation(body);
                 System.out.println(result);
             } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getTaskFlops_10");
    +            System.err.println("Exception when calling WRENCHApi#startSimulation");
                 e.printStackTrace();
             }
         }
     }
    -
    -
    String *simid = simid_example; // ID of the simulation
    -String *compoundJobName = compoundJobName_example; // Name of the compound job
    +                            
    +
    SimulationInput *body = ; // Start a new simulation based on a platform file and a controller hostname.
     
     WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
     
    -// Get an action's flops
    -[apiInstance getTaskFlops_4With:simid
    -    compoundJobName:compoundJobName
    -              completionHandler: ^(TaskFlops output, NSError* error) {
    +// Start a new simulation
    +[apiInstance startSimulationWith:body
    +              completionHandler: ^(SimulationReturn output, NSError* error) {
                                 if (output) {
                                     NSLog(@"%@", output);
                                 }
    @@ -17339,12 +16808,11 @@ 

    Usage and SDK Samples

    -
    +
    var WrenchRestApi = require('wrench_rest_api');
     
     var api = new WrenchRestApi.WRENCHApi()
    -var simid = simid_example; // {{String}} ID of the simulation
    -var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
    +var body = ; // {{SimulationInput}} Start a new simulation based on a platform file and a controller hostname.
     
     var callback = function(error, data, response) {
       if (error) {
    @@ -17353,14 +16821,14 @@ 

    Usage and SDK Samples

    console.log('API called successfully. Returned data: ' + data); } }; -api.getTaskFlops_10(simid, compoundJobName, callback); +api.startSimulation(body, callback);
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -17369,24 +16837,23 @@ 

    Usage and SDK Samples

    namespace Example { - public class getTaskFlops_10Example + public class startSimulationExample { public void main() { var apiInstance = new WRENCHApi(); - var simid = simid_example; // String | ID of the simulation - var compoundJobName = compoundJobName_example; // String | Name of the compound job + var body = new SimulationInput(); // SimulationInput | Start a new simulation based on a platform file and a controller hostname. try { - // Get an action's flops - TaskFlops result = apiInstance.getTaskFlops_10(simid, compoundJobName); + // Start a new simulation + SimulationReturn result = apiInstance.startSimulation(body); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.getTaskFlops_10: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.startSimulation: " + e.Message ); } } } @@ -17394,17281 +16861,108 @@

    Usage and SDK Samples

    -
    +
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -$api_instance = new Swagger\Client\ApiWRENCHApi();
    -$simid = simid_example; // String | ID of the simulation
    -$compoundJobName = compoundJobName_example; // String | Name of the compound job
    -
    -try {
    -    $result = $api_instance->getTaskFlops_10($simid, $compoundJobName);
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->getTaskFlops_10: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::WRENCHApi;
    -
    -my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $simid = simid_example; # String | ID of the simulation
    -my $compoundJobName = compoundJobName_example; # String | Name of the compound job
    -
    -eval { 
    -    my $result = $api_instance->getTaskFlops_10(simid => $simid, compoundJobName => $compoundJobName);
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling WRENCHApi->getTaskFlops_10: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -# create an instance of the API class
    -api_instance = swagger_client.WRENCHApi()
    -simid = simid_example # String | ID of the simulation
    -compoundJobName = compoundJobName_example # String | Name of the compound job
    -
    -try: 
    -    # Get an action's flops
    -    api_response = api_instance.get_task_flops_10(simid, compoundJobName)
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling WRENCHApi->getTaskFlops_10: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - - - - -
    NameDescription
    simid* - - -
    -
    -
    - - String - - -
    - ID of the simulation -
    -
    -
    - Required -
    -
    -
    -
    compound_job_name* - - -
    -
    -
    - - String - - -
    - Name of the compound job -
    -
    -
    - Required -
    -
    -
    -
    - - - - - -

    Responses

    -

    Status: 200 - OK

    - - - -
    -
    -
    - -
    - -
    -
    - -

    Status: 404 - Job not found

    - - - -
    -
    - -

    Status: 405 - Invalid input

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    getTaskFlops_5

    -

    Get an action's flops

    -
    -
    -
    -

    -

    -

    -
    -
    /simulation/{simid}/compoundJobs/{compound_job_name}/addFileRegistryDeleteEntryAction
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X POST\
    --H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/compoundJobs/{compound_job_name}/addFileRegistryDeleteEntryAction"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.WRENCHApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String compoundJobName = compoundJobName_example; // String | Name of the compound job
    -        try {
    -            TaskFlops result = apiInstance.getTaskFlops_11(simid, compoundJobName);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getTaskFlops_11");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.WRENCHApi;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String compoundJobName = compoundJobName_example; // String | Name of the compound job
    -        try {
    -            TaskFlops result = apiInstance.getTaskFlops_11(simid, compoundJobName);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getTaskFlops_11");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    String *simid = simid_example; // ID of the simulation
    -String *compoundJobName = compoundJobName_example; // Name of the compound job
    -
    -WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
    -
    -// Get an action's flops
    -[apiInstance getTaskFlops_5With:simid
    -    compoundJobName:compoundJobName
    -              completionHandler: ^(TaskFlops output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var WrenchRestApi = require('wrench_rest_api');
    -
    -var api = new WrenchRestApi.WRENCHApi()
    -var simid = simid_example; // {{String}} ID of the simulation
    -var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
    -
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.getTaskFlops_11(simid, compoundJobName, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class getTaskFlops_11Example
    -    {
    -        public void main()
    -        {
    -
    -            var apiInstance = new WRENCHApi();
    -            var simid = simid_example;  // String | ID of the simulation
    -            var compoundJobName = compoundJobName_example;  // String | Name of the compound job
    -
    -            try
    -            {
    -                // Get an action's flops
    -                TaskFlops result = apiInstance.getTaskFlops_11(simid, compoundJobName);
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling WRENCHApi.getTaskFlops_11: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -$api_instance = new Swagger\Client\ApiWRENCHApi();
    -$simid = simid_example; // String | ID of the simulation
    -$compoundJobName = compoundJobName_example; // String | Name of the compound job
    -
    -try {
    -    $result = $api_instance->getTaskFlops_11($simid, $compoundJobName);
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->getTaskFlops_11: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::WRENCHApi;
    -
    -my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $simid = simid_example; # String | ID of the simulation
    -my $compoundJobName = compoundJobName_example; # String | Name of the compound job
    -
    -eval { 
    -    my $result = $api_instance->getTaskFlops_11(simid => $simid, compoundJobName => $compoundJobName);
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling WRENCHApi->getTaskFlops_11: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -# create an instance of the API class
    -api_instance = swagger_client.WRENCHApi()
    -simid = simid_example # String | ID of the simulation
    -compoundJobName = compoundJobName_example # String | Name of the compound job
    -
    -try: 
    -    # Get an action's flops
    -    api_response = api_instance.get_task_flops_11(simid, compoundJobName)
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling WRENCHApi->getTaskFlops_11: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - - - - -
    NameDescription
    simid* - - -
    -
    -
    - - String - - -
    - ID of the simulation -
    -
    -
    - Required -
    -
    -
    -
    compound_job_name* - - -
    -
    -
    - - String - - -
    - Name of the compound job -
    -
    -
    - Required -
    -
    -
    -
    - - - - - -

    Responses

    -

    Status: 200 - OK

    - - - -
    -
    -
    - -
    - -
    -
    - -

    Status: 404 - Job not found

    - - - -
    -
    - -

    Status: 405 - Invalid input

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    getTaskFlops_6

    -

    Get an action's flops

    -
    -
    -
    -

    -

    -

    -
    -
    /simulation/{simid}/compoundJobs/{compound_job_name}/removeAction
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X POST\
    --H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/compoundJobs/{compound_job_name}/removeAction"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.WRENCHApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String compoundJobName = compoundJobName_example; // String | Name of the compound job
    -        try {
    -            TaskFlops result = apiInstance.getTaskFlops_12(simid, compoundJobName);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getTaskFlops_12");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.WRENCHApi;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String compoundJobName = compoundJobName_example; // String | Name of the compound job
    -        try {
    -            TaskFlops result = apiInstance.getTaskFlops_12(simid, compoundJobName);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getTaskFlops_12");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    String *simid = simid_example; // ID of the simulation
    -String *compoundJobName = compoundJobName_example; // Name of the compound job
    -
    -WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
    -
    -// Get an action's flops
    -[apiInstance getTaskFlops_6With:simid
    -    compoundJobName:compoundJobName
    -              completionHandler: ^(TaskFlops output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var WrenchRestApi = require('wrench_rest_api');
    -
    -var api = new WrenchRestApi.WRENCHApi()
    -var simid = simid_example; // {{String}} ID of the simulation
    -var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
    -
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.getTaskFlops_12(simid, compoundJobName, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class getTaskFlops_12Example
    -    {
    -        public void main()
    -        {
    -
    -            var apiInstance = new WRENCHApi();
    -            var simid = simid_example;  // String | ID of the simulation
    -            var compoundJobName = compoundJobName_example;  // String | Name of the compound job
    -
    -            try
    -            {
    -                // Get an action's flops
    -                TaskFlops result = apiInstance.getTaskFlops_12(simid, compoundJobName);
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling WRENCHApi.getTaskFlops_12: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -$api_instance = new Swagger\Client\ApiWRENCHApi();
    -$simid = simid_example; // String | ID of the simulation
    -$compoundJobName = compoundJobName_example; // String | Name of the compound job
    -
    -try {
    -    $result = $api_instance->getTaskFlops_12($simid, $compoundJobName);
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->getTaskFlops_12: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::WRENCHApi;
    -
    -my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $simid = simid_example; # String | ID of the simulation
    -my $compoundJobName = compoundJobName_example; # String | Name of the compound job
    -
    -eval { 
    -    my $result = $api_instance->getTaskFlops_12(simid => $simid, compoundJobName => $compoundJobName);
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling WRENCHApi->getTaskFlops_12: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -# create an instance of the API class
    -api_instance = swagger_client.WRENCHApi()
    -simid = simid_example # String | ID of the simulation
    -compoundJobName = compoundJobName_example # String | Name of the compound job
    -
    -try: 
    -    # Get an action's flops
    -    api_response = api_instance.get_task_flops_12(simid, compoundJobName)
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling WRENCHApi->getTaskFlops_12: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - - - - -
    NameDescription
    simid* - - -
    -
    -
    - - String - - -
    - ID of the simulation -
    -
    -
    - Required -
    -
    -
    -
    compound_job_name* - - -
    -
    -
    - - String - - -
    - Name of the compound job -
    -
    -
    - Required -
    -
    -
    -
    - - - - - -

    Responses

    -

    Status: 200 - OK

    - - - -
    -
    -
    - -
    - -
    -
    - -

    Status: 404 - Job not found

    - - - -
    -
    - -

    Status: 405 - Invalid input

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    getTaskFlops_7

    -

    Get an action's flops

    -
    -
    -
    -

    -

    -

    -
    -
    /simulation/{simid}/{compound_job_name}/actions/{name}/actionGetParents
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X GET\
    --H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/{compound_job_name}/actions/{name}/actionGetParents"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.WRENCHApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String compoundJobName = compoundJobName_example; // String | Name of the compound job
    -        String name = name_example; // String | Name of the action
    -        try {
    -            TaskFlops result = apiInstance.getTaskFlops_13(simid, compoundJobName, name);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getTaskFlops_13");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.WRENCHApi;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String compoundJobName = compoundJobName_example; // String | Name of the compound job
    -        String name = name_example; // String | Name of the action
    -        try {
    -            TaskFlops result = apiInstance.getTaskFlops_13(simid, compoundJobName, name);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getTaskFlops_13");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    String *simid = simid_example; // ID of the simulation
    -String *compoundJobName = compoundJobName_example; // Name of the compound job
    -String *name = name_example; // Name of the action
    -
    -WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
    -
    -// Get an action's flops
    -[apiInstance getTaskFlops_7With:simid
    -    compoundJobName:compoundJobName
    -    name:name
    -              completionHandler: ^(TaskFlops output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var WrenchRestApi = require('wrench_rest_api');
    -
    -var api = new WrenchRestApi.WRENCHApi()
    -var simid = simid_example; // {{String}} ID of the simulation
    -var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
    -var name = name_example; // {{String}} Name of the action
    -
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.getTaskFlops_13(simid, compoundJobName, name, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class getTaskFlops_13Example
    -    {
    -        public void main()
    -        {
    -
    -            var apiInstance = new WRENCHApi();
    -            var simid = simid_example;  // String | ID of the simulation
    -            var compoundJobName = compoundJobName_example;  // String | Name of the compound job
    -            var name = name_example;  // String | Name of the action
    -
    -            try
    -            {
    -                // Get an action's flops
    -                TaskFlops result = apiInstance.getTaskFlops_13(simid, compoundJobName, name);
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling WRENCHApi.getTaskFlops_13: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -$api_instance = new Swagger\Client\ApiWRENCHApi();
    -$simid = simid_example; // String | ID of the simulation
    -$compoundJobName = compoundJobName_example; // String | Name of the compound job
    -$name = name_example; // String | Name of the action
    -
    -try {
    -    $result = $api_instance->getTaskFlops_13($simid, $compoundJobName, $name);
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->getTaskFlops_13: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::WRENCHApi;
    -
    -my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $simid = simid_example; # String | ID of the simulation
    -my $compoundJobName = compoundJobName_example; # String | Name of the compound job
    -my $name = name_example; # String | Name of the action
    -
    -eval { 
    -    my $result = $api_instance->getTaskFlops_13(simid => $simid, compoundJobName => $compoundJobName, name => $name);
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling WRENCHApi->getTaskFlops_13: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -# create an instance of the API class
    -api_instance = swagger_client.WRENCHApi()
    -simid = simid_example # String | ID of the simulation
    -compoundJobName = compoundJobName_example # String | Name of the compound job
    -name = name_example # String | Name of the action
    -
    -try: 
    -    # Get an action's flops
    -    api_response = api_instance.get_task_flops_13(simid, compoundJobName, name)
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling WRENCHApi->getTaskFlops_13: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - - - - - - - -
    NameDescription
    simid* - - -
    -
    -
    - - String - - -
    - ID of the simulation -
    -
    -
    - Required -
    -
    -
    -
    compound_job_name* - - -
    -
    -
    - - String - - -
    - Name of the compound job -
    -
    -
    - Required -
    -
    -
    -
    name* - - -
    -
    -
    - - String - - -
    - Name of the action -
    -
    -
    - Required -
    -
    -
    -
    - - - - - -

    Responses

    -

    Status: 200 - OK

    - - - -
    -
    -
    - -
    - -
    -
    - -

    Status: 404 - Job not found

    - - - -
    -
    - -

    Status: 405 - Invalid input

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    getTaskFlops_8

    -

    Get an action's flops

    -
    -
    -
    -

    -

    -

    -
    -
    /simulation/{simid}/{compound_job_name}/actions/{name}/actionGetChildren
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X GET\
    --H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/{compound_job_name}/actions/{name}/actionGetChildren"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.WRENCHApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String compoundJobName = compoundJobName_example; // String | Name of the compound job
    -        String name = name_example; // String | Name of the action
    -        try {
    -            TaskFlops result = apiInstance.getTaskFlops_14(simid, compoundJobName, name);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getTaskFlops_14");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.WRENCHApi;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String compoundJobName = compoundJobName_example; // String | Name of the compound job
    -        String name = name_example; // String | Name of the action
    -        try {
    -            TaskFlops result = apiInstance.getTaskFlops_14(simid, compoundJobName, name);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getTaskFlops_14");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    String *simid = simid_example; // ID of the simulation
    -String *compoundJobName = compoundJobName_example; // Name of the compound job
    -String *name = name_example; // Name of the action
    -
    -WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
    -
    -// Get an action's flops
    -[apiInstance getTaskFlops_8With:simid
    -    compoundJobName:compoundJobName
    -    name:name
    -              completionHandler: ^(TaskFlops output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var WrenchRestApi = require('wrench_rest_api');
    -
    -var api = new WrenchRestApi.WRENCHApi()
    -var simid = simid_example; // {{String}} ID of the simulation
    -var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
    -var name = name_example; // {{String}} Name of the action
    -
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.getTaskFlops_14(simid, compoundJobName, name, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class getTaskFlops_14Example
    -    {
    -        public void main()
    -        {
    -
    -            var apiInstance = new WRENCHApi();
    -            var simid = simid_example;  // String | ID of the simulation
    -            var compoundJobName = compoundJobName_example;  // String | Name of the compound job
    -            var name = name_example;  // String | Name of the action
    -
    -            try
    -            {
    -                // Get an action's flops
    -                TaskFlops result = apiInstance.getTaskFlops_14(simid, compoundJobName, name);
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling WRENCHApi.getTaskFlops_14: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -$api_instance = new Swagger\Client\ApiWRENCHApi();
    -$simid = simid_example; // String | ID of the simulation
    -$compoundJobName = compoundJobName_example; // String | Name of the compound job
    -$name = name_example; // String | Name of the action
    -
    -try {
    -    $result = $api_instance->getTaskFlops_14($simid, $compoundJobName, $name);
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->getTaskFlops_14: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::WRENCHApi;
    -
    -my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $simid = simid_example; # String | ID of the simulation
    -my $compoundJobName = compoundJobName_example; # String | Name of the compound job
    -my $name = name_example; # String | Name of the action
    -
    -eval { 
    -    my $result = $api_instance->getTaskFlops_14(simid => $simid, compoundJobName => $compoundJobName, name => $name);
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling WRENCHApi->getTaskFlops_14: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -# create an instance of the API class
    -api_instance = swagger_client.WRENCHApi()
    -simid = simid_example # String | ID of the simulation
    -compoundJobName = compoundJobName_example # String | Name of the compound job
    -name = name_example # String | Name of the action
    -
    -try: 
    -    # Get an action's flops
    -    api_response = api_instance.get_task_flops_14(simid, compoundJobName, name)
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling WRENCHApi->getTaskFlops_14: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - - - - - - - -
    NameDescription
    simid* - - -
    -
    -
    - - String - - -
    - ID of the simulation -
    -
    -
    - Required -
    -
    -
    -
    compound_job_name* - - -
    -
    -
    - - String - - -
    - Name of the compound job -
    -
    -
    - Required -
    -
    -
    -
    name* - - -
    -
    -
    - - String - - -
    - Name of the action -
    -
    -
    - Required -
    -
    -
    -
    - - - - - -

    Responses

    -

    Status: 200 - OK

    - - - -
    -
    -
    - -
    - -
    -
    - -

    Status: 404 - Job not found

    - - - -
    -
    - -

    Status: 405 - Invalid input

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    getTaskFlops_9

    -

    Get an action's flops

    -
    -
    -
    -

    -

    -

    -
    -
    /simulation/{simid}/{compound_job_name}/actions/{name}/actionGetPriority
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X GET\
    --H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/{compound_job_name}/actions/{name}/actionGetPriority"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.WRENCHApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String compoundJobName = compoundJobName_example; // String | Name of the compound job
    -        String name = name_example; // String | Name of the action
    -        try {
    -            TaskFlops result = apiInstance.getTaskFlops_15(simid, compoundJobName, name);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getTaskFlops_15");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.WRENCHApi;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String compoundJobName = compoundJobName_example; // String | Name of the compound job
    -        String name = name_example; // String | Name of the action
    -        try {
    -            TaskFlops result = apiInstance.getTaskFlops_15(simid, compoundJobName, name);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getTaskFlops_15");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    String *simid = simid_example; // ID of the simulation
    -String *compoundJobName = compoundJobName_example; // Name of the compound job
    -String *name = name_example; // Name of the action
    -
    -WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
    -
    -// Get an action's flops
    -[apiInstance getTaskFlops_9With:simid
    -    compoundJobName:compoundJobName
    -    name:name
    -              completionHandler: ^(TaskFlops output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var WrenchRestApi = require('wrench_rest_api');
    -
    -var api = new WrenchRestApi.WRENCHApi()
    -var simid = simid_example; // {{String}} ID of the simulation
    -var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
    -var name = name_example; // {{String}} Name of the action
    -
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.getTaskFlops_15(simid, compoundJobName, name, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class getTaskFlops_15Example
    -    {
    -        public void main()
    -        {
    -
    -            var apiInstance = new WRENCHApi();
    -            var simid = simid_example;  // String | ID of the simulation
    -            var compoundJobName = compoundJobName_example;  // String | Name of the compound job
    -            var name = name_example;  // String | Name of the action
    -
    -            try
    -            {
    -                // Get an action's flops
    -                TaskFlops result = apiInstance.getTaskFlops_15(simid, compoundJobName, name);
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling WRENCHApi.getTaskFlops_15: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -$api_instance = new Swagger\Client\ApiWRENCHApi();
    -$simid = simid_example; // String | ID of the simulation
    -$compoundJobName = compoundJobName_example; // String | Name of the compound job
    -$name = name_example; // String | Name of the action
    -
    -try {
    -    $result = $api_instance->getTaskFlops_15($simid, $compoundJobName, $name);
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->getTaskFlops_15: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::WRENCHApi;
    -
    -my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $simid = simid_example; # String | ID of the simulation
    -my $compoundJobName = compoundJobName_example; # String | Name of the compound job
    -my $name = name_example; # String | Name of the action
    -
    -eval { 
    -    my $result = $api_instance->getTaskFlops_15(simid => $simid, compoundJobName => $compoundJobName, name => $name);
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling WRENCHApi->getTaskFlops_15: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -# create an instance of the API class
    -api_instance = swagger_client.WRENCHApi()
    -simid = simid_example # String | ID of the simulation
    -compoundJobName = compoundJobName_example # String | Name of the compound job
    -name = name_example # String | Name of the action
    -
    -try: 
    -    # Get an action's flops
    -    api_response = api_instance.get_task_flops_15(simid, compoundJobName, name)
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling WRENCHApi->getTaskFlops_15: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - - - - - - - -
    NameDescription
    simid* - - -
    -
    -
    - - String - - -
    - ID of the simulation -
    -
    -
    - Required -
    -
    -
    -
    compound_job_name* - - -
    -
    -
    - - String - - -
    - Name of the compound job -
    -
    -
    - Required -
    -
    -
    -
    name* - - -
    -
    -
    - - String - - -
    - Name of the action -
    -
    -
    - Required -
    -
    -
    -
    - - - - - -

    Responses

    -

    Status: 200 - OK

    - - - -
    -
    -
    - -
    - -
    -
    - -

    Status: 404 - Job not found

    - - - -
    -
    - -

    Status: 405 - Invalid input

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    getTaskFlops_10

    -

    Get an action's flops

    -
    -
    -
    -

    -

    -

    -
    -
    /simulation/{simid}/{compound_job_name}/actions/{name}/actionSetPriority
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X GET\
    --H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/{compound_job_name}/actions/{name}/actionSetPriority"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.WRENCHApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String compoundJobName = compoundJobName_example; // String | Name of the compound job
    -        String name = name_example; // String | Name of the action
    -        try {
    -            TaskFlops result = apiInstance.getTaskFlops_16(simid, compoundJobName, name);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getTaskFlops_16");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.WRENCHApi;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String compoundJobName = compoundJobName_example; // String | Name of the compound job
    -        String name = name_example; // String | Name of the action
    -        try {
    -            TaskFlops result = apiInstance.getTaskFlops_16(simid, compoundJobName, name);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getTaskFlops_16");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    String *simid = simid_example; // ID of the simulation
    -String *compoundJobName = compoundJobName_example; // Name of the compound job
    -String *name = name_example; // Name of the action
    -
    -WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
    -
    -// Get an action's flops
    -[apiInstance getTaskFlops_10With:simid
    -    compoundJobName:compoundJobName
    -    name:name
    -              completionHandler: ^(TaskFlops output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var WrenchRestApi = require('wrench_rest_api');
    -
    -var api = new WrenchRestApi.WRENCHApi()
    -var simid = simid_example; // {{String}} ID of the simulation
    -var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
    -var name = name_example; // {{String}} Name of the action
    -
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.getTaskFlops_16(simid, compoundJobName, name, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class getTaskFlops_16Example
    -    {
    -        public void main()
    -        {
    -
    -            var apiInstance = new WRENCHApi();
    -            var simid = simid_example;  // String | ID of the simulation
    -            var compoundJobName = compoundJobName_example;  // String | Name of the compound job
    -            var name = name_example;  // String | Name of the action
    -
    -            try
    -            {
    -                // Get an action's flops
    -                TaskFlops result = apiInstance.getTaskFlops_16(simid, compoundJobName, name);
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling WRENCHApi.getTaskFlops_16: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -$api_instance = new Swagger\Client\ApiWRENCHApi();
    -$simid = simid_example; // String | ID of the simulation
    -$compoundJobName = compoundJobName_example; // String | Name of the compound job
    -$name = name_example; // String | Name of the action
    -
    -try {
    -    $result = $api_instance->getTaskFlops_16($simid, $compoundJobName, $name);
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->getTaskFlops_16: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::WRENCHApi;
    -
    -my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $simid = simid_example; # String | ID of the simulation
    -my $compoundJobName = compoundJobName_example; # String | Name of the compound job
    -my $name = name_example; # String | Name of the action
    -
    -eval { 
    -    my $result = $api_instance->getTaskFlops_16(simid => $simid, compoundJobName => $compoundJobName, name => $name);
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling WRENCHApi->getTaskFlops_16: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -# create an instance of the API class
    -api_instance = swagger_client.WRENCHApi()
    -simid = simid_example # String | ID of the simulation
    -compoundJobName = compoundJobName_example # String | Name of the compound job
    -name = name_example # String | Name of the action
    -
    -try: 
    -    # Get an action's flops
    -    api_response = api_instance.get_task_flops_16(simid, compoundJobName, name)
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling WRENCHApi->getTaskFlops_16: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - - - - - - - -
    NameDescription
    simid* - - -
    -
    -
    - - String - - -
    - ID of the simulation -
    -
    -
    - Required -
    -
    -
    -
    compound_job_name* - - -
    -
    -
    - - String - - -
    - Name of the compound job -
    -
    -
    - Required -
    -
    -
    -
    name* - - -
    -
    -
    - - String - - -
    - Name of the action -
    -
    -
    - Required -
    -
    -
    -
    - - - - - -

    Responses

    -

    Status: 200 - OK

    - - - -
    -
    -
    - -
    - -
    -
    - -

    Status: 404 - Job not found

    - - - -
    -
    - -

    Status: 405 - Invalid input

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    getTaskFlops_11

    -

    Get an action's flops

    -
    -
    -
    -

    -

    -

    -
    -
    /simulation/{simid}/{compound_job_name}/actions/{name}/actionGetFlops
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X GET\
    --H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/{compound_job_name}/actions/{name}/actionGetFlops"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.WRENCHApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String compoundJobName = compoundJobName_example; // String | Name of the compound job
    -        String name = name_example; // String | Name of the action
    -        try {
    -            TaskFlops result = apiInstance.getTaskFlops_17(simid, compoundJobName, name);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getTaskFlops_17");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.WRENCHApi;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String compoundJobName = compoundJobName_example; // String | Name of the compound job
    -        String name = name_example; // String | Name of the action
    -        try {
    -            TaskFlops result = apiInstance.getTaskFlops_17(simid, compoundJobName, name);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getTaskFlops_17");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    String *simid = simid_example; // ID of the simulation
    -String *compoundJobName = compoundJobName_example; // Name of the compound job
    -String *name = name_example; // Name of the action
    -
    -WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
    -
    -// Get an action's flops
    -[apiInstance getTaskFlops_11With:simid
    -    compoundJobName:compoundJobName
    -    name:name
    -              completionHandler: ^(TaskFlops output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var WrenchRestApi = require('wrench_rest_api');
    -
    -var api = new WrenchRestApi.WRENCHApi()
    -var simid = simid_example; // {{String}} ID of the simulation
    -var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
    -var name = name_example; // {{String}} Name of the action
    -
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.getTaskFlops_17(simid, compoundJobName, name, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class getTaskFlops_17Example
    -    {
    -        public void main()
    -        {
    -
    -            var apiInstance = new WRENCHApi();
    -            var simid = simid_example;  // String | ID of the simulation
    -            var compoundJobName = compoundJobName_example;  // String | Name of the compound job
    -            var name = name_example;  // String | Name of the action
    -
    -            try
    -            {
    -                // Get an action's flops
    -                TaskFlops result = apiInstance.getTaskFlops_17(simid, compoundJobName, name);
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling WRENCHApi.getTaskFlops_17: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -$api_instance = new Swagger\Client\ApiWRENCHApi();
    -$simid = simid_example; // String | ID of the simulation
    -$compoundJobName = compoundJobName_example; // String | Name of the compound job
    -$name = name_example; // String | Name of the action
    -
    -try {
    -    $result = $api_instance->getTaskFlops_17($simid, $compoundJobName, $name);
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->getTaskFlops_17: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::WRENCHApi;
    -
    -my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $simid = simid_example; # String | ID of the simulation
    -my $compoundJobName = compoundJobName_example; # String | Name of the compound job
    -my $name = name_example; # String | Name of the action
    -
    -eval { 
    -    my $result = $api_instance->getTaskFlops_17(simid => $simid, compoundJobName => $compoundJobName, name => $name);
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling WRENCHApi->getTaskFlops_17: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -# create an instance of the API class
    -api_instance = swagger_client.WRENCHApi()
    -simid = simid_example # String | ID of the simulation
    -compoundJobName = compoundJobName_example # String | Name of the compound job
    -name = name_example # String | Name of the action
    -
    -try: 
    -    # Get an action's flops
    -    api_response = api_instance.get_task_flops_17(simid, compoundJobName, name)
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling WRENCHApi->getTaskFlops_17: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - - - - - - - -
    NameDescription
    simid* - - -
    -
    -
    - - String - - -
    - ID of the simulation -
    -
    -
    - Required -
    -
    -
    -
    compound_job_name* - - -
    -
    -
    - - String - - -
    - Name of the compound job -
    -
    -
    - Required -
    -
    -
    -
    name* - - -
    -
    -
    - - String - - -
    - Name of the action -
    -
    -
    - Required -
    -
    -
    -
    - - - - - -

    Responses

    -

    Status: 200 - OK

    - - - -
    -
    -
    - -
    - -
    -
    - -

    Status: 404 - Job not found

    - - - -
    -
    - -

    Status: 405 - Invalid input

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    getTaskFlops_12

    -

    Get an action's flops

    -
    -
    -
    -

    -

    -

    -
    -
    /simulation/{simid}/{compound_job_name}/actions/{name}/actionGetState
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X GET\
    --H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/{compound_job_name}/actions/{name}/actionGetState"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.WRENCHApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String compoundJobName = compoundJobName_example; // String | Name of the compound job
    -        String name = name_example; // String | Name of the action
    -        try {
    -            TaskFlops result = apiInstance.getTaskFlops_18(simid, compoundJobName, name);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getTaskFlops_18");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.WRENCHApi;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String compoundJobName = compoundJobName_example; // String | Name of the compound job
    -        String name = name_example; // String | Name of the action
    -        try {
    -            TaskFlops result = apiInstance.getTaskFlops_18(simid, compoundJobName, name);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getTaskFlops_18");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    String *simid = simid_example; // ID of the simulation
    -String *compoundJobName = compoundJobName_example; // Name of the compound job
    -String *name = name_example; // Name of the action
    -
    -WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
    -
    -// Get an action's flops
    -[apiInstance getTaskFlops_12With:simid
    -    compoundJobName:compoundJobName
    -    name:name
    -              completionHandler: ^(TaskFlops output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var WrenchRestApi = require('wrench_rest_api');
    -
    -var api = new WrenchRestApi.WRENCHApi()
    -var simid = simid_example; // {{String}} ID of the simulation
    -var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
    -var name = name_example; // {{String}} Name of the action
    -
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.getTaskFlops_18(simid, compoundJobName, name, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class getTaskFlops_18Example
    -    {
    -        public void main()
    -        {
    -
    -            var apiInstance = new WRENCHApi();
    -            var simid = simid_example;  // String | ID of the simulation
    -            var compoundJobName = compoundJobName_example;  // String | Name of the compound job
    -            var name = name_example;  // String | Name of the action
    -
    -            try
    -            {
    -                // Get an action's flops
    -                TaskFlops result = apiInstance.getTaskFlops_18(simid, compoundJobName, name);
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling WRENCHApi.getTaskFlops_18: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -$api_instance = new Swagger\Client\ApiWRENCHApi();
    -$simid = simid_example; // String | ID of the simulation
    -$compoundJobName = compoundJobName_example; // String | Name of the compound job
    -$name = name_example; // String | Name of the action
    -
    -try {
    -    $result = $api_instance->getTaskFlops_18($simid, $compoundJobName, $name);
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->getTaskFlops_18: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::WRENCHApi;
    -
    -my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $simid = simid_example; # String | ID of the simulation
    -my $compoundJobName = compoundJobName_example; # String | Name of the compound job
    -my $name = name_example; # String | Name of the action
    -
    -eval { 
    -    my $result = $api_instance->getTaskFlops_18(simid => $simid, compoundJobName => $compoundJobName, name => $name);
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling WRENCHApi->getTaskFlops_18: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -# create an instance of the API class
    -api_instance = swagger_client.WRENCHApi()
    -simid = simid_example # String | ID of the simulation
    -compoundJobName = compoundJobName_example # String | Name of the compound job
    -name = name_example # String | Name of the action
    -
    -try: 
    -    # Get an action's flops
    -    api_response = api_instance.get_task_flops_18(simid, compoundJobName, name)
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling WRENCHApi->getTaskFlops_18: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - - - - - - - -
    NameDescription
    simid* - - -
    -
    -
    - - String - - -
    - ID of the simulation -
    -
    -
    - Required -
    -
    -
    -
    compound_job_name* - - -
    -
    -
    - - String - - -
    - Name of the compound job -
    -
    -
    - Required -
    -
    -
    -
    name* - - -
    -
    -
    - - String - - -
    - Name of the action -
    -
    -
    - Required -
    -
    -
    -
    - - - - - -

    Responses

    -

    Status: 200 - OK

    - - - -
    -
    -
    - -
    - -
    -
    - -

    Status: 404 - Job not found

    - - - -
    -
    - -

    Status: 405 - Invalid input

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    getTaskFlops_13

    -

    Get an action's flops

    -
    -
    -
    -

    -

    -

    -
    -
    /simulation/{simid}/{compound_job_name}/actions/{name}/actionGetExecutionHistory
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X GET\
    --H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/{compound_job_name}/actions/{name}/actionGetExecutionHistory"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.WRENCHApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String compoundJobName = compoundJobName_example; // String | Name of the compound job
    -        String name = name_example; // String | Name of the action
    -        try {
    -            TaskFlops result = apiInstance.getTaskFlops_19(simid, compoundJobName, name);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getTaskFlops_19");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.WRENCHApi;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String compoundJobName = compoundJobName_example; // String | Name of the compound job
    -        String name = name_example; // String | Name of the action
    -        try {
    -            TaskFlops result = apiInstance.getTaskFlops_19(simid, compoundJobName, name);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getTaskFlops_19");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    String *simid = simid_example; // ID of the simulation
    -String *compoundJobName = compoundJobName_example; // Name of the compound job
    -String *name = name_example; // Name of the action
    -
    -WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
    -
    -// Get an action's flops
    -[apiInstance getTaskFlops_13With:simid
    -    compoundJobName:compoundJobName
    -    name:name
    -              completionHandler: ^(TaskFlops output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var WrenchRestApi = require('wrench_rest_api');
    -
    -var api = new WrenchRestApi.WRENCHApi()
    -var simid = simid_example; // {{String}} ID of the simulation
    -var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
    -var name = name_example; // {{String}} Name of the action
    -
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.getTaskFlops_19(simid, compoundJobName, name, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class getTaskFlops_19Example
    -    {
    -        public void main()
    -        {
    -
    -            var apiInstance = new WRENCHApi();
    -            var simid = simid_example;  // String | ID of the simulation
    -            var compoundJobName = compoundJobName_example;  // String | Name of the compound job
    -            var name = name_example;  // String | Name of the action
    -
    -            try
    -            {
    -                // Get an action's flops
    -                TaskFlops result = apiInstance.getTaskFlops_19(simid, compoundJobName, name);
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling WRENCHApi.getTaskFlops_19: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -$api_instance = new Swagger\Client\ApiWRENCHApi();
    -$simid = simid_example; // String | ID of the simulation
    -$compoundJobName = compoundJobName_example; // String | Name of the compound job
    -$name = name_example; // String | Name of the action
    -
    -try {
    -    $result = $api_instance->getTaskFlops_19($simid, $compoundJobName, $name);
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->getTaskFlops_19: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::WRENCHApi;
    -
    -my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $simid = simid_example; # String | ID of the simulation
    -my $compoundJobName = compoundJobName_example; # String | Name of the compound job
    -my $name = name_example; # String | Name of the action
    -
    -eval { 
    -    my $result = $api_instance->getTaskFlops_19(simid => $simid, compoundJobName => $compoundJobName, name => $name);
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling WRENCHApi->getTaskFlops_19: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -# create an instance of the API class
    -api_instance = swagger_client.WRENCHApi()
    -simid = simid_example # String | ID of the simulation
    -compoundJobName = compoundJobName_example # String | Name of the compound job
    -name = name_example # String | Name of the action
    -
    -try: 
    -    # Get an action's flops
    -    api_response = api_instance.get_task_flops_19(simid, compoundJobName, name)
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling WRENCHApi->getTaskFlops_19: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - - - - - - - -
    NameDescription
    simid* - - -
    -
    -
    - - String - - -
    - ID of the simulation -
    -
    -
    - Required -
    -
    -
    -
    compound_job_name* - - -
    -
    -
    - - String - - -
    - Name of the compound job -
    -
    -
    - Required -
    -
    -
    -
    name* - - -
    -
    -
    - - String - - -
    - Name of the action -
    -
    -
    - Required -
    -
    -
    -
    - - - - - -

    Responses

    -

    Status: 200 - OK

    - - - -
    -
    -
    - -
    - -
    -
    - -

    Status: 404 - Job not found

    - - - -
    -
    - -

    Status: 405 - Invalid input

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    getTaskFlops_14

    -

    Get an action's flops

    -
    -
    -
    -

    -

    -

    -
    -
    /simulation/{simid}/compoundJobs/{compound_job_name}/addChildJob
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X GET\
    --H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/compoundJobs/{compound_job_name}/addChildJob"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.WRENCHApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String compoundJobName = compoundJobName_example; // String | Name of the compound job
    -        try {
    -            TaskFlops result = apiInstance.getTaskFlops_2(simid, compoundJobName);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getTaskFlops_2");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.WRENCHApi;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String compoundJobName = compoundJobName_example; // String | Name of the compound job
    -        try {
    -            TaskFlops result = apiInstance.getTaskFlops_2(simid, compoundJobName);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getTaskFlops_2");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    String *simid = simid_example; // ID of the simulation
    -String *compoundJobName = compoundJobName_example; // Name of the compound job
    -
    -WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
    -
    -// Get an action's flops
    -[apiInstance getTaskFlops_14With:simid
    -    compoundJobName:compoundJobName
    -              completionHandler: ^(TaskFlops output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var WrenchRestApi = require('wrench_rest_api');
    -
    -var api = new WrenchRestApi.WRENCHApi()
    -var simid = simid_example; // {{String}} ID of the simulation
    -var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
    -
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.getTaskFlops_2(simid, compoundJobName, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class getTaskFlops_2Example
    -    {
    -        public void main()
    -        {
    -
    -            var apiInstance = new WRENCHApi();
    -            var simid = simid_example;  // String | ID of the simulation
    -            var compoundJobName = compoundJobName_example;  // String | Name of the compound job
    -
    -            try
    -            {
    -                // Get an action's flops
    -                TaskFlops result = apiInstance.getTaskFlops_2(simid, compoundJobName);
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling WRENCHApi.getTaskFlops_2: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -$api_instance = new Swagger\Client\ApiWRENCHApi();
    -$simid = simid_example; // String | ID of the simulation
    -$compoundJobName = compoundJobName_example; // String | Name of the compound job
    -
    -try {
    -    $result = $api_instance->getTaskFlops_2($simid, $compoundJobName);
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->getTaskFlops_2: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::WRENCHApi;
    -
    -my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $simid = simid_example; # String | ID of the simulation
    -my $compoundJobName = compoundJobName_example; # String | Name of the compound job
    -
    -eval { 
    -    my $result = $api_instance->getTaskFlops_2(simid => $simid, compoundJobName => $compoundJobName);
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling WRENCHApi->getTaskFlops_2: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -# create an instance of the API class
    -api_instance = swagger_client.WRENCHApi()
    -simid = simid_example # String | ID of the simulation
    -compoundJobName = compoundJobName_example # String | Name of the compound job
    -
    -try: 
    -    # Get an action's flops
    -    api_response = api_instance.get_task_flops_2(simid, compoundJobName)
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling WRENCHApi->getTaskFlops_2: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - - - - -
    NameDescription
    simid* - - -
    -
    -
    - - String - - -
    - ID of the simulation -
    -
    -
    - Required -
    -
    -
    -
    compound_job_name* - - -
    -
    -
    - - String - - -
    - Name of the compound job -
    -
    -
    - Required -
    -
    -
    -
    - - - - - -

    Responses

    -

    Status: 200 - OK

    - - - -
    -
    -
    - -
    - -
    -
    - -

    Status: 404 - Job not found

    - - - -
    -
    - -

    Status: 405 - Invalid input

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    getTaskFlops_15

    -

    Get an action's flops

    -
    -
    -
    -

    -

    -

    -
    -
    /simulation/{simid}/{compound_job_name}/actions/{name}/actionGetFailureCause
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X GET\
    --H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/{compound_job_name}/actions/{name}/actionGetFailureCause"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.WRENCHApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String compoundJobName = compoundJobName_example; // String | Name of the compound job
    -        String name = name_example; // String | Name of the action
    -        try {
    -            TaskFlops result = apiInstance.getTaskFlops_20(simid, compoundJobName, name);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getTaskFlops_20");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.WRENCHApi;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String compoundJobName = compoundJobName_example; // String | Name of the compound job
    -        String name = name_example; // String | Name of the action
    -        try {
    -            TaskFlops result = apiInstance.getTaskFlops_20(simid, compoundJobName, name);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getTaskFlops_20");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    String *simid = simid_example; // ID of the simulation
    -String *compoundJobName = compoundJobName_example; // Name of the compound job
    -String *name = name_example; // Name of the action
    -
    -WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
    -
    -// Get an action's flops
    -[apiInstance getTaskFlops_15With:simid
    -    compoundJobName:compoundJobName
    -    name:name
    -              completionHandler: ^(TaskFlops output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var WrenchRestApi = require('wrench_rest_api');
    -
    -var api = new WrenchRestApi.WRENCHApi()
    -var simid = simid_example; // {{String}} ID of the simulation
    -var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
    -var name = name_example; // {{String}} Name of the action
    -
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.getTaskFlops_20(simid, compoundJobName, name, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class getTaskFlops_20Example
    -    {
    -        public void main()
    -        {
    -
    -            var apiInstance = new WRENCHApi();
    -            var simid = simid_example;  // String | ID of the simulation
    -            var compoundJobName = compoundJobName_example;  // String | Name of the compound job
    -            var name = name_example;  // String | Name of the action
    -
    -            try
    -            {
    -                // Get an action's flops
    -                TaskFlops result = apiInstance.getTaskFlops_20(simid, compoundJobName, name);
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling WRENCHApi.getTaskFlops_20: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -$api_instance = new Swagger\Client\ApiWRENCHApi();
    -$simid = simid_example; // String | ID of the simulation
    -$compoundJobName = compoundJobName_example; // String | Name of the compound job
    -$name = name_example; // String | Name of the action
    -
    -try {
    -    $result = $api_instance->getTaskFlops_20($simid, $compoundJobName, $name);
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->getTaskFlops_20: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::WRENCHApi;
    -
    -my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $simid = simid_example; # String | ID of the simulation
    -my $compoundJobName = compoundJobName_example; # String | Name of the compound job
    -my $name = name_example; # String | Name of the action
    -
    -eval { 
    -    my $result = $api_instance->getTaskFlops_20(simid => $simid, compoundJobName => $compoundJobName, name => $name);
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling WRENCHApi->getTaskFlops_20: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -# create an instance of the API class
    -api_instance = swagger_client.WRENCHApi()
    -simid = simid_example # String | ID of the simulation
    -compoundJobName = compoundJobName_example # String | Name of the compound job
    -name = name_example # String | Name of the action
    -
    -try: 
    -    # Get an action's flops
    -    api_response = api_instance.get_task_flops_20(simid, compoundJobName, name)
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling WRENCHApi->getTaskFlops_20: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - - - - - - - -
    NameDescription
    simid* - - -
    -
    -
    - - String - - -
    - ID of the simulation -
    -
    -
    - Required -
    -
    -
    -
    compound_job_name* - - -
    -
    -
    - - String - - -
    - Name of the compound job -
    -
    -
    - Required -
    -
    -
    -
    name* - - -
    -
    -
    - - String - - -
    - Name of the action -
    -
    -
    - Required -
    -
    -
    -
    - - - - - -

    Responses

    -

    Status: 200 - OK

    - - - -
    -
    -
    - -
    - -
    -
    - -

    Status: 404 - Job not found

    - - - -
    -
    - -

    Status: 405 - Invalid input

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    getTaskFlops_16

    -

    Get an action's flops

    -
    -
    -
    -

    -

    -

    -
    -
    /simulation/{simid}/{compound_job_name}/actions/{name}/fileCopyAction/getDestinationFileLocation
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X GET\
    --H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/{compound_job_name}/actions/{name}/fileCopyAction/getDestinationFileLocation"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.WRENCHApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String compoundJobName = compoundJobName_example; // String | Name of the compound job
    -        String name = name_example; // String | Name of the action
    -        try {
    -            TaskFlops result = apiInstance.getTaskFlops_21(simid, compoundJobName, name);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getTaskFlops_21");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.WRENCHApi;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String compoundJobName = compoundJobName_example; // String | Name of the compound job
    -        String name = name_example; // String | Name of the action
    -        try {
    -            TaskFlops result = apiInstance.getTaskFlops_21(simid, compoundJobName, name);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getTaskFlops_21");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    String *simid = simid_example; // ID of the simulation
    -String *compoundJobName = compoundJobName_example; // Name of the compound job
    -String *name = name_example; // Name of the action
    -
    -WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
    -
    -// Get an action's flops
    -[apiInstance getTaskFlops_16With:simid
    -    compoundJobName:compoundJobName
    -    name:name
    -              completionHandler: ^(TaskFlops output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var WrenchRestApi = require('wrench_rest_api');
    -
    -var api = new WrenchRestApi.WRENCHApi()
    -var simid = simid_example; // {{String}} ID of the simulation
    -var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
    -var name = name_example; // {{String}} Name of the action
    -
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.getTaskFlops_21(simid, compoundJobName, name, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class getTaskFlops_21Example
    -    {
    -        public void main()
    -        {
    -
    -            var apiInstance = new WRENCHApi();
    -            var simid = simid_example;  // String | ID of the simulation
    -            var compoundJobName = compoundJobName_example;  // String | Name of the compound job
    -            var name = name_example;  // String | Name of the action
    -
    -            try
    -            {
    -                // Get an action's flops
    -                TaskFlops result = apiInstance.getTaskFlops_21(simid, compoundJobName, name);
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling WRENCHApi.getTaskFlops_21: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -$api_instance = new Swagger\Client\ApiWRENCHApi();
    -$simid = simid_example; // String | ID of the simulation
    -$compoundJobName = compoundJobName_example; // String | Name of the compound job
    -$name = name_example; // String | Name of the action
    -
    -try {
    -    $result = $api_instance->getTaskFlops_21($simid, $compoundJobName, $name);
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->getTaskFlops_21: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::WRENCHApi;
    -
    -my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $simid = simid_example; # String | ID of the simulation
    -my $compoundJobName = compoundJobName_example; # String | Name of the compound job
    -my $name = name_example; # String | Name of the action
    -
    -eval { 
    -    my $result = $api_instance->getTaskFlops_21(simid => $simid, compoundJobName => $compoundJobName, name => $name);
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling WRENCHApi->getTaskFlops_21: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -# create an instance of the API class
    -api_instance = swagger_client.WRENCHApi()
    -simid = simid_example # String | ID of the simulation
    -compoundJobName = compoundJobName_example # String | Name of the compound job
    -name = name_example # String | Name of the action
    -
    -try: 
    -    # Get an action's flops
    -    api_response = api_instance.get_task_flops_21(simid, compoundJobName, name)
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling WRENCHApi->getTaskFlops_21: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - - - - - - - -
    NameDescription
    simid* - - -
    -
    -
    - - String - - -
    - ID of the simulation -
    -
    -
    - Required -
    -
    -
    -
    compound_job_name* - - -
    -
    -
    - - String - - -
    - Name of the compound job -
    -
    -
    - Required -
    -
    -
    -
    name* - - -
    -
    -
    - - String - - -
    - Name of the action -
    -
    -
    - Required -
    -
    -
    -
    - - - - - -

    Responses

    -

    Status: 200 - OK

    - - - -
    -
    -
    - -
    - -
    -
    - -

    Status: 404 - Job not found

    - - - -
    -
    - -

    Status: 405 - Invalid input

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    getTaskFlops_17

    -

    Get an action's flops

    -
    -
    -
    -

    -

    -

    -
    -
    /simulation/{simid}/{compound_job_name}/actions/{name}/fileCopyAction/getFile
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X GET\
    --H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/{compound_job_name}/actions/{name}/fileCopyAction/getFile"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.WRENCHApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String compoundJobName = compoundJobName_example; // String | Name of the compound job
    -        String name = name_example; // String | Name of the action
    -        try {
    -            TaskFlops result = apiInstance.getTaskFlops_22(simid, compoundJobName, name);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getTaskFlops_22");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.WRENCHApi;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String compoundJobName = compoundJobName_example; // String | Name of the compound job
    -        String name = name_example; // String | Name of the action
    -        try {
    -            TaskFlops result = apiInstance.getTaskFlops_22(simid, compoundJobName, name);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getTaskFlops_22");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    String *simid = simid_example; // ID of the simulation
    -String *compoundJobName = compoundJobName_example; // Name of the compound job
    -String *name = name_example; // Name of the action
    -
    -WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
    -
    -// Get an action's flops
    -[apiInstance getTaskFlops_17With:simid
    -    compoundJobName:compoundJobName
    -    name:name
    -              completionHandler: ^(TaskFlops output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var WrenchRestApi = require('wrench_rest_api');
    -
    -var api = new WrenchRestApi.WRENCHApi()
    -var simid = simid_example; // {{String}} ID of the simulation
    -var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
    -var name = name_example; // {{String}} Name of the action
    -
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.getTaskFlops_22(simid, compoundJobName, name, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class getTaskFlops_22Example
    -    {
    -        public void main()
    -        {
    -
    -            var apiInstance = new WRENCHApi();
    -            var simid = simid_example;  // String | ID of the simulation
    -            var compoundJobName = compoundJobName_example;  // String | Name of the compound job
    -            var name = name_example;  // String | Name of the action
    -
    -            try
    -            {
    -                // Get an action's flops
    -                TaskFlops result = apiInstance.getTaskFlops_22(simid, compoundJobName, name);
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling WRENCHApi.getTaskFlops_22: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -$api_instance = new Swagger\Client\ApiWRENCHApi();
    -$simid = simid_example; // String | ID of the simulation
    -$compoundJobName = compoundJobName_example; // String | Name of the compound job
    -$name = name_example; // String | Name of the action
    -
    -try {
    -    $result = $api_instance->getTaskFlops_22($simid, $compoundJobName, $name);
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->getTaskFlops_22: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::WRENCHApi;
    -
    -my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $simid = simid_example; # String | ID of the simulation
    -my $compoundJobName = compoundJobName_example; # String | Name of the compound job
    -my $name = name_example; # String | Name of the action
    -
    -eval { 
    -    my $result = $api_instance->getTaskFlops_22(simid => $simid, compoundJobName => $compoundJobName, name => $name);
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling WRENCHApi->getTaskFlops_22: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -# create an instance of the API class
    -api_instance = swagger_client.WRENCHApi()
    -simid = simid_example # String | ID of the simulation
    -compoundJobName = compoundJobName_example # String | Name of the compound job
    -name = name_example # String | Name of the action
    -
    -try: 
    -    # Get an action's flops
    -    api_response = api_instance.get_task_flops_22(simid, compoundJobName, name)
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling WRENCHApi->getTaskFlops_22: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - - - - - - - -
    NameDescription
    simid* - - -
    -
    -
    - - String - - -
    - ID of the simulation -
    -
    -
    - Required -
    -
    -
    -
    compound_job_name* - - -
    -
    -
    - - String - - -
    - Name of the compound job -
    -
    -
    - Required -
    -
    -
    -
    name* - - -
    -
    -
    - - String - - -
    - Name of the action -
    -
    -
    - Required -
    -
    -
    -
    - - - - - -

    Responses

    -

    Status: 200 - OK

    - - - -
    -
    -
    - -
    - -
    -
    - -

    Status: 404 - Job not found

    - - - -
    -
    - -

    Status: 405 - Invalid input

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    getTaskFlops_18

    -

    Get an action's flops

    -
    -
    -
    -

    -

    -

    -
    -
    /simulation/{simid}/{compound_job_name}/actions/{name}/fileCopyAction/getSourceFileLocation
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X GET\
    --H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/{compound_job_name}/actions/{name}/fileCopyAction/getSourceFileLocation"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.WRENCHApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String compoundJobName = compoundJobName_example; // String | Name of the compound job
    -        String name = name_example; // String | Name of the action
    -        try {
    -            TaskFlops result = apiInstance.getTaskFlops_23(simid, compoundJobName, name);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getTaskFlops_23");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.WRENCHApi;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String compoundJobName = compoundJobName_example; // String | Name of the compound job
    -        String name = name_example; // String | Name of the action
    -        try {
    -            TaskFlops result = apiInstance.getTaskFlops_23(simid, compoundJobName, name);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getTaskFlops_23");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    String *simid = simid_example; // ID of the simulation
    -String *compoundJobName = compoundJobName_example; // Name of the compound job
    -String *name = name_example; // Name of the action
    -
    -WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
    -
    -// Get an action's flops
    -[apiInstance getTaskFlops_18With:simid
    -    compoundJobName:compoundJobName
    -    name:name
    -              completionHandler: ^(TaskFlops output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var WrenchRestApi = require('wrench_rest_api');
    -
    -var api = new WrenchRestApi.WRENCHApi()
    -var simid = simid_example; // {{String}} ID of the simulation
    -var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
    -var name = name_example; // {{String}} Name of the action
    -
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.getTaskFlops_23(simid, compoundJobName, name, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class getTaskFlops_23Example
    -    {
    -        public void main()
    -        {
    -
    -            var apiInstance = new WRENCHApi();
    -            var simid = simid_example;  // String | ID of the simulation
    -            var compoundJobName = compoundJobName_example;  // String | Name of the compound job
    -            var name = name_example;  // String | Name of the action
    -
    -            try
    -            {
    -                // Get an action's flops
    -                TaskFlops result = apiInstance.getTaskFlops_23(simid, compoundJobName, name);
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling WRENCHApi.getTaskFlops_23: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -$api_instance = new Swagger\Client\ApiWRENCHApi();
    -$simid = simid_example; // String | ID of the simulation
    -$compoundJobName = compoundJobName_example; // String | Name of the compound job
    -$name = name_example; // String | Name of the action
    -
    -try {
    -    $result = $api_instance->getTaskFlops_23($simid, $compoundJobName, $name);
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->getTaskFlops_23: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::WRENCHApi;
    -
    -my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $simid = simid_example; # String | ID of the simulation
    -my $compoundJobName = compoundJobName_example; # String | Name of the compound job
    -my $name = name_example; # String | Name of the action
    -
    -eval { 
    -    my $result = $api_instance->getTaskFlops_23(simid => $simid, compoundJobName => $compoundJobName, name => $name);
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling WRENCHApi->getTaskFlops_23: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -# create an instance of the API class
    -api_instance = swagger_client.WRENCHApi()
    -simid = simid_example # String | ID of the simulation
    -compoundJobName = compoundJobName_example # String | Name of the compound job
    -name = name_example # String | Name of the action
    -
    -try: 
    -    # Get an action's flops
    -    api_response = api_instance.get_task_flops_23(simid, compoundJobName, name)
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling WRENCHApi->getTaskFlops_23: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - - - - - - - -
    NameDescription
    simid* - - -
    -
    -
    - - String - - -
    - ID of the simulation -
    -
    -
    - Required -
    -
    -
    -
    compound_job_name* - - -
    -
    -
    - - String - - -
    - Name of the compound job -
    -
    -
    - Required -
    -
    -
    -
    name* - - -
    -
    -
    - - String - - -
    - Name of the action -
    -
    -
    - Required -
    -
    -
    -
    - - - - - -

    Responses

    -

    Status: 200 - OK

    - - - -
    -
    -
    - -
    - -
    -
    - -

    Status: 404 - Job not found

    - - - -
    -
    - -

    Status: 405 - Invalid input

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    getTaskFlops_19

    -

    Get an action's flops

    -
    -
    -
    -

    -

    -

    -
    -
    /simulation/{simid}/{compound_job_name}/actions/{name}/fileReadAction/getUsedFileLocation
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X GET\
    --H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/{compound_job_name}/actions/{name}/fileReadAction/getUsedFileLocation"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.WRENCHApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String compoundJobName = compoundJobName_example; // String | Name of the compound job
    -        String name = name_example; // String | Name of the action
    -        try {
    -            TaskFlops result = apiInstance.getTaskFlops_24(simid, compoundJobName, name);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getTaskFlops_24");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.WRENCHApi;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String compoundJobName = compoundJobName_example; // String | Name of the compound job
    -        String name = name_example; // String | Name of the action
    -        try {
    -            TaskFlops result = apiInstance.getTaskFlops_24(simid, compoundJobName, name);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getTaskFlops_24");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    String *simid = simid_example; // ID of the simulation
    -String *compoundJobName = compoundJobName_example; // Name of the compound job
    -String *name = name_example; // Name of the action
    -
    -WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
    -
    -// Get an action's flops
    -[apiInstance getTaskFlops_19With:simid
    -    compoundJobName:compoundJobName
    -    name:name
    -              completionHandler: ^(TaskFlops output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var WrenchRestApi = require('wrench_rest_api');
    -
    -var api = new WrenchRestApi.WRENCHApi()
    -var simid = simid_example; // {{String}} ID of the simulation
    -var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
    -var name = name_example; // {{String}} Name of the action
    -
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.getTaskFlops_24(simid, compoundJobName, name, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class getTaskFlops_24Example
    -    {
    -        public void main()
    -        {
    -
    -            var apiInstance = new WRENCHApi();
    -            var simid = simid_example;  // String | ID of the simulation
    -            var compoundJobName = compoundJobName_example;  // String | Name of the compound job
    -            var name = name_example;  // String | Name of the action
    -
    -            try
    -            {
    -                // Get an action's flops
    -                TaskFlops result = apiInstance.getTaskFlops_24(simid, compoundJobName, name);
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling WRENCHApi.getTaskFlops_24: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -$api_instance = new Swagger\Client\ApiWRENCHApi();
    -$simid = simid_example; // String | ID of the simulation
    -$compoundJobName = compoundJobName_example; // String | Name of the compound job
    -$name = name_example; // String | Name of the action
    -
    -try {
    -    $result = $api_instance->getTaskFlops_24($simid, $compoundJobName, $name);
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->getTaskFlops_24: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::WRENCHApi;
    -
    -my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $simid = simid_example; # String | ID of the simulation
    -my $compoundJobName = compoundJobName_example; # String | Name of the compound job
    -my $name = name_example; # String | Name of the action
    -
    -eval { 
    -    my $result = $api_instance->getTaskFlops_24(simid => $simid, compoundJobName => $compoundJobName, name => $name);
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling WRENCHApi->getTaskFlops_24: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -# create an instance of the API class
    -api_instance = swagger_client.WRENCHApi()
    -simid = simid_example # String | ID of the simulation
    -compoundJobName = compoundJobName_example # String | Name of the compound job
    -name = name_example # String | Name of the action
    -
    -try: 
    -    # Get an action's flops
    -    api_response = api_instance.get_task_flops_24(simid, compoundJobName, name)
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling WRENCHApi->getTaskFlops_24: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - - - - - - - -
    NameDescription
    simid* - - -
    -
    -
    - - String - - -
    - ID of the simulation -
    -
    -
    - Required -
    -
    -
    -
    compound_job_name* - - -
    -
    -
    - - String - - -
    - Name of the compound job -
    -
    -
    - Required -
    -
    -
    -
    name* - - -
    -
    -
    - - String - - -
    - Name of the action -
    -
    -
    - Required -
    -
    -
    -
    - - - - - -

    Responses

    -

    Status: 200 - OK

    - - - -
    -
    -
    - -
    - -
    -
    - -

    Status: 404 - Job not found

    - - - -
    -
    - -

    Status: 405 - Invalid input

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    getTaskFlops_20

    -

    Get an action's flops

    -
    -
    -
    -

    -

    -

    -
    -
    /simulation/{simid}/{compound_job_name}/actions/{name}/fileRegistryAction/getFile
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X GET\
    --H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/{compound_job_name}/actions/{name}/fileRegistryAction/getFile"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.WRENCHApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String compoundJobName = compoundJobName_example; // String | Name of the compound job
    -        String name = name_example; // String | Name of the action
    -        try {
    -            TaskFlops result = apiInstance.getTaskFlops_25(simid, compoundJobName, name);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getTaskFlops_25");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.WRENCHApi;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String compoundJobName = compoundJobName_example; // String | Name of the compound job
    -        String name = name_example; // String | Name of the action
    -        try {
    -            TaskFlops result = apiInstance.getTaskFlops_25(simid, compoundJobName, name);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getTaskFlops_25");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    String *simid = simid_example; // ID of the simulation
    -String *compoundJobName = compoundJobName_example; // Name of the compound job
    -String *name = name_example; // Name of the action
    -
    -WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
    -
    -// Get an action's flops
    -[apiInstance getTaskFlops_20With:simid
    -    compoundJobName:compoundJobName
    -    name:name
    -              completionHandler: ^(TaskFlops output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var WrenchRestApi = require('wrench_rest_api');
    -
    -var api = new WrenchRestApi.WRENCHApi()
    -var simid = simid_example; // {{String}} ID of the simulation
    -var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
    -var name = name_example; // {{String}} Name of the action
    -
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.getTaskFlops_25(simid, compoundJobName, name, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class getTaskFlops_25Example
    -    {
    -        public void main()
    -        {
    -
    -            var apiInstance = new WRENCHApi();
    -            var simid = simid_example;  // String | ID of the simulation
    -            var compoundJobName = compoundJobName_example;  // String | Name of the compound job
    -            var name = name_example;  // String | Name of the action
    -
    -            try
    -            {
    -                // Get an action's flops
    -                TaskFlops result = apiInstance.getTaskFlops_25(simid, compoundJobName, name);
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling WRENCHApi.getTaskFlops_25: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -$api_instance = new Swagger\Client\ApiWRENCHApi();
    -$simid = simid_example; // String | ID of the simulation
    -$compoundJobName = compoundJobName_example; // String | Name of the compound job
    -$name = name_example; // String | Name of the action
    -
    -try {
    -    $result = $api_instance->getTaskFlops_25($simid, $compoundJobName, $name);
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->getTaskFlops_25: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::WRENCHApi;
    -
    -my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $simid = simid_example; # String | ID of the simulation
    -my $compoundJobName = compoundJobName_example; # String | Name of the compound job
    -my $name = name_example; # String | Name of the action
    -
    -eval { 
    -    my $result = $api_instance->getTaskFlops_25(simid => $simid, compoundJobName => $compoundJobName, name => $name);
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling WRENCHApi->getTaskFlops_25: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -# create an instance of the API class
    -api_instance = swagger_client.WRENCHApi()
    -simid = simid_example # String | ID of the simulation
    -compoundJobName = compoundJobName_example # String | Name of the compound job
    -name = name_example # String | Name of the action
    -
    -try: 
    -    # Get an action's flops
    -    api_response = api_instance.get_task_flops_25(simid, compoundJobName, name)
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling WRENCHApi->getTaskFlops_25: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - - - - - - - -
    NameDescription
    simid* - - -
    -
    -
    - - String - - -
    - ID of the simulation -
    -
    -
    - Required -
    -
    -
    -
    compound_job_name* - - -
    -
    -
    - - String - - -
    - Name of the compound job -
    -
    -
    - Required -
    -
    -
    -
    name* - - -
    -
    -
    - - String - - -
    - Name of the action -
    -
    -
    - Required -
    -
    -
    -
    - - - - - -

    Responses

    -

    Status: 200 - OK

    - - - -
    -
    -
    - -
    - -
    -
    - -

    Status: 404 - Job not found

    - - - -
    -
    - -

    Status: 405 - Invalid input

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    getTaskFlops_21

    -

    Get an action's flops

    -
    -
    -
    -

    -

    -

    -
    -
    /simulation/{simid}/{compound_job_name}/actions/{name}/fileRegistryAction/getFileLocation
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X GET\
    --H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/{compound_job_name}/actions/{name}/fileRegistryAction/getFileLocation"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.WRENCHApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String compoundJobName = compoundJobName_example; // String | Name of the compound job
    -        String name = name_example; // String | Name of the action
    -        try {
    -            TaskFlops result = apiInstance.getTaskFlops_26(simid, compoundJobName, name);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getTaskFlops_26");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.WRENCHApi;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String compoundJobName = compoundJobName_example; // String | Name of the compound job
    -        String name = name_example; // String | Name of the action
    -        try {
    -            TaskFlops result = apiInstance.getTaskFlops_26(simid, compoundJobName, name);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getTaskFlops_26");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    String *simid = simid_example; // ID of the simulation
    -String *compoundJobName = compoundJobName_example; // Name of the compound job
    -String *name = name_example; // Name of the action
    -
    -WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
    -
    -// Get an action's flops
    -[apiInstance getTaskFlops_21With:simid
    -    compoundJobName:compoundJobName
    -    name:name
    -              completionHandler: ^(TaskFlops output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var WrenchRestApi = require('wrench_rest_api');
    -
    -var api = new WrenchRestApi.WRENCHApi()
    -var simid = simid_example; // {{String}} ID of the simulation
    -var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
    -var name = name_example; // {{String}} Name of the action
    -
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.getTaskFlops_26(simid, compoundJobName, name, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class getTaskFlops_26Example
    -    {
    -        public void main()
    -        {
    -
    -            var apiInstance = new WRENCHApi();
    -            var simid = simid_example;  // String | ID of the simulation
    -            var compoundJobName = compoundJobName_example;  // String | Name of the compound job
    -            var name = name_example;  // String | Name of the action
    -
    -            try
    -            {
    -                // Get an action's flops
    -                TaskFlops result = apiInstance.getTaskFlops_26(simid, compoundJobName, name);
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling WRENCHApi.getTaskFlops_26: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -$api_instance = new Swagger\Client\ApiWRENCHApi();
    -$simid = simid_example; // String | ID of the simulation
    -$compoundJobName = compoundJobName_example; // String | Name of the compound job
    -$name = name_example; // String | Name of the action
    -
    -try {
    -    $result = $api_instance->getTaskFlops_26($simid, $compoundJobName, $name);
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->getTaskFlops_26: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::WRENCHApi;
    -
    -my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $simid = simid_example; # String | ID of the simulation
    -my $compoundJobName = compoundJobName_example; # String | Name of the compound job
    -my $name = name_example; # String | Name of the action
    -
    -eval { 
    -    my $result = $api_instance->getTaskFlops_26(simid => $simid, compoundJobName => $compoundJobName, name => $name);
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling WRENCHApi->getTaskFlops_26: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -# create an instance of the API class
    -api_instance = swagger_client.WRENCHApi()
    -simid = simid_example # String | ID of the simulation
    -compoundJobName = compoundJobName_example # String | Name of the compound job
    -name = name_example # String | Name of the action
    -
    -try: 
    -    # Get an action's flops
    -    api_response = api_instance.get_task_flops_26(simid, compoundJobName, name)
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling WRENCHApi->getTaskFlops_26: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - - - - - - - -
    NameDescription
    simid* - - -
    -
    -
    - - String - - -
    - ID of the simulation -
    -
    -
    - Required -
    -
    -
    -
    compound_job_name* - - -
    -
    -
    - - String - - -
    - Name of the compound job -
    -
    -
    - Required -
    -
    -
    -
    name* - - -
    -
    -
    - - String - - -
    - Name of the action -
    -
    -
    - Required -
    -
    -
    -
    - - - - - -

    Responses

    -

    Status: 200 - OK

    - - - -
    -
    -
    - -
    - -
    -
    - -

    Status: 404 - Job not found

    - - - -
    -
    - -

    Status: 405 - Invalid input

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    getTaskFlops_22

    -

    Get an action's flops

    -
    -
    -
    -

    -

    -

    -
    -
    /simulation/{simid}/{compound_job_name}/actions/{name}/fileRegistryAction/getFileRegistryService
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X GET\
    --H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/{compound_job_name}/actions/{name}/fileRegistryAction/getFileRegistryService"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.WRENCHApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String compoundJobName = compoundJobName_example; // String | Name of the compound job
    -        String name = name_example; // String | Name of the action
    -        try {
    -            TaskFlops result = apiInstance.getTaskFlops_27(simid, compoundJobName, name);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getTaskFlops_27");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.WRENCHApi;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String compoundJobName = compoundJobName_example; // String | Name of the compound job
    -        String name = name_example; // String | Name of the action
    -        try {
    -            TaskFlops result = apiInstance.getTaskFlops_27(simid, compoundJobName, name);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getTaskFlops_27");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    String *simid = simid_example; // ID of the simulation
    -String *compoundJobName = compoundJobName_example; // Name of the compound job
    -String *name = name_example; // Name of the action
    -
    -WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
    -
    -// Get an action's flops
    -[apiInstance getTaskFlops_22With:simid
    -    compoundJobName:compoundJobName
    -    name:name
    -              completionHandler: ^(TaskFlops output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var WrenchRestApi = require('wrench_rest_api');
    -
    -var api = new WrenchRestApi.WRENCHApi()
    -var simid = simid_example; // {{String}} ID of the simulation
    -var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
    -var name = name_example; // {{String}} Name of the action
    -
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.getTaskFlops_27(simid, compoundJobName, name, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class getTaskFlops_27Example
    -    {
    -        public void main()
    -        {
    -
    -            var apiInstance = new WRENCHApi();
    -            var simid = simid_example;  // String | ID of the simulation
    -            var compoundJobName = compoundJobName_example;  // String | Name of the compound job
    -            var name = name_example;  // String | Name of the action
    -
    -            try
    -            {
    -                // Get an action's flops
    -                TaskFlops result = apiInstance.getTaskFlops_27(simid, compoundJobName, name);
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling WRENCHApi.getTaskFlops_27: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -$api_instance = new Swagger\Client\ApiWRENCHApi();
    -$simid = simid_example; // String | ID of the simulation
    -$compoundJobName = compoundJobName_example; // String | Name of the compound job
    -$name = name_example; // String | Name of the action
    -
    -try {
    -    $result = $api_instance->getTaskFlops_27($simid, $compoundJobName, $name);
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->getTaskFlops_27: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::WRENCHApi;
    -
    -my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $simid = simid_example; # String | ID of the simulation
    -my $compoundJobName = compoundJobName_example; # String | Name of the compound job
    -my $name = name_example; # String | Name of the action
    -
    -eval { 
    -    my $result = $api_instance->getTaskFlops_27(simid => $simid, compoundJobName => $compoundJobName, name => $name);
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling WRENCHApi->getTaskFlops_27: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -# create an instance of the API class
    -api_instance = swagger_client.WRENCHApi()
    -simid = simid_example # String | ID of the simulation
    -compoundJobName = compoundJobName_example # String | Name of the compound job
    -name = name_example # String | Name of the action
    -
    -try: 
    -    # Get an action's flops
    -    api_response = api_instance.get_task_flops_27(simid, compoundJobName, name)
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling WRENCHApi->getTaskFlops_27: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - - - - - - - -
    NameDescription
    simid* - - -
    -
    -
    - - String - - -
    - ID of the simulation -
    -
    -
    - Required -
    -
    -
    -
    compound_job_name* - - -
    -
    -
    - - String - - -
    - Name of the compound job -
    -
    -
    - Required -
    -
    -
    -
    name* - - -
    -
    -
    - - String - - -
    - Name of the action -
    -
    -
    - Required -
    -
    -
    -
    - - - - - -

    Responses

    -

    Status: 200 - OK

    - - - -
    -
    -
    - -
    - -
    -
    - -

    Status: 404 - Job not found

    - - - -
    -
    - -

    Status: 405 - Invalid input

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    getTaskFlops_23

    -

    Get an action's flops

    -
    -
    -
    -

    -

    -

    -
    -
    /simulation/{simid}/compoundJobs/{compound_job_name}/getChildrenJobs
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X GET\
    --H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/compoundJobs/{compound_job_name}/getChildrenJobs"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.WRENCHApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String compoundJobName = compoundJobName_example; // String | Name of the compound job
    -        try {
    -            TaskFlops result = apiInstance.getTaskFlops_3(simid, compoundJobName);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getTaskFlops_3");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.WRENCHApi;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String compoundJobName = compoundJobName_example; // String | Name of the compound job
    -        try {
    -            TaskFlops result = apiInstance.getTaskFlops_3(simid, compoundJobName);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getTaskFlops_3");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    String *simid = simid_example; // ID of the simulation
    -String *compoundJobName = compoundJobName_example; // Name of the compound job
    -
    -WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
    -
    -// Get an action's flops
    -[apiInstance getTaskFlops_23With:simid
    -    compoundJobName:compoundJobName
    -              completionHandler: ^(TaskFlops output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var WrenchRestApi = require('wrench_rest_api');
    -
    -var api = new WrenchRestApi.WRENCHApi()
    -var simid = simid_example; // {{String}} ID of the simulation
    -var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
    -
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.getTaskFlops_3(simid, compoundJobName, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class getTaskFlops_3Example
    -    {
    -        public void main()
    -        {
    -
    -            var apiInstance = new WRENCHApi();
    -            var simid = simid_example;  // String | ID of the simulation
    -            var compoundJobName = compoundJobName_example;  // String | Name of the compound job
    -
    -            try
    -            {
    -                // Get an action's flops
    -                TaskFlops result = apiInstance.getTaskFlops_3(simid, compoundJobName);
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling WRENCHApi.getTaskFlops_3: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -$api_instance = new Swagger\Client\ApiWRENCHApi();
    -$simid = simid_example; // String | ID of the simulation
    -$compoundJobName = compoundJobName_example; // String | Name of the compound job
    -
    -try {
    -    $result = $api_instance->getTaskFlops_3($simid, $compoundJobName);
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->getTaskFlops_3: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::WRENCHApi;
    -
    -my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $simid = simid_example; # String | ID of the simulation
    -my $compoundJobName = compoundJobName_example; # String | Name of the compound job
    -
    -eval { 
    -    my $result = $api_instance->getTaskFlops_3(simid => $simid, compoundJobName => $compoundJobName);
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling WRENCHApi->getTaskFlops_3: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -# create an instance of the API class
    -api_instance = swagger_client.WRENCHApi()
    -simid = simid_example # String | ID of the simulation
    -compoundJobName = compoundJobName_example # String | Name of the compound job
    -
    -try: 
    -    # Get an action's flops
    -    api_response = api_instance.get_task_flops_3(simid, compoundJobName)
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling WRENCHApi->getTaskFlops_3: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - - - - -
    NameDescription
    simid* - - -
    -
    -
    - - String - - -
    - ID of the simulation -
    -
    -
    - Required -
    -
    -
    -
    compound_job_name* - - -
    -
    -
    - - String - - -
    - Name of the compound job -
    -
    -
    - Required -
    -
    -
    -
    - - - - - -

    Responses

    -

    Status: 200 - OK

    - - - -
    -
    -
    - -
    - -
    -
    - -

    Status: 404 - Job not found

    - - - -
    -
    - -

    Status: 405 - Invalid input

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    getTaskFlops_24

    -

    Get an action's flops

    -
    -
    -
    -

    -

    -

    -
    -
    /simulation/{simid}/compoundJobs/{compound_job_name}/getMinimumRequiredMemory
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X GET\
    --H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/compoundJobs/{compound_job_name}/getMinimumRequiredMemory"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.WRENCHApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String compoundJobName = compoundJobName_example; // String | Name of the compound job
    -        try {
    -            TaskFlops result = apiInstance.getTaskFlops_4(simid, compoundJobName);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getTaskFlops_4");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.WRENCHApi;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String compoundJobName = compoundJobName_example; // String | Name of the compound job
    -        try {
    -            TaskFlops result = apiInstance.getTaskFlops_4(simid, compoundJobName);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getTaskFlops_4");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    String *simid = simid_example; // ID of the simulation
    -String *compoundJobName = compoundJobName_example; // Name of the compound job
    -
    -WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
    -
    -// Get an action's flops
    -[apiInstance getTaskFlops_24With:simid
    -    compoundJobName:compoundJobName
    -              completionHandler: ^(TaskFlops output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var WrenchRestApi = require('wrench_rest_api');
    -
    -var api = new WrenchRestApi.WRENCHApi()
    -var simid = simid_example; // {{String}} ID of the simulation
    -var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
    -
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.getTaskFlops_4(simid, compoundJobName, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class getTaskFlops_4Example
    -    {
    -        public void main()
    -        {
    -
    -            var apiInstance = new WRENCHApi();
    -            var simid = simid_example;  // String | ID of the simulation
    -            var compoundJobName = compoundJobName_example;  // String | Name of the compound job
    -
    -            try
    -            {
    -                // Get an action's flops
    -                TaskFlops result = apiInstance.getTaskFlops_4(simid, compoundJobName);
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling WRENCHApi.getTaskFlops_4: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -$api_instance = new Swagger\Client\ApiWRENCHApi();
    -$simid = simid_example; // String | ID of the simulation
    -$compoundJobName = compoundJobName_example; // String | Name of the compound job
    -
    -try {
    -    $result = $api_instance->getTaskFlops_4($simid, $compoundJobName);
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->getTaskFlops_4: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::WRENCHApi;
    -
    -my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $simid = simid_example; # String | ID of the simulation
    -my $compoundJobName = compoundJobName_example; # String | Name of the compound job
    -
    -eval { 
    -    my $result = $api_instance->getTaskFlops_4(simid => $simid, compoundJobName => $compoundJobName);
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling WRENCHApi->getTaskFlops_4: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -# create an instance of the API class
    -api_instance = swagger_client.WRENCHApi()
    -simid = simid_example # String | ID of the simulation
    -compoundJobName = compoundJobName_example # String | Name of the compound job
    -
    -try: 
    -    # Get an action's flops
    -    api_response = api_instance.get_task_flops_4(simid, compoundJobName)
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling WRENCHApi->getTaskFlops_4: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - - - - -
    NameDescription
    simid* - - -
    -
    -
    - - String - - -
    - ID of the simulation -
    -
    -
    - Required -
    -
    -
    -
    compound_job_name* - - -
    -
    -
    - - String - - -
    - Name of the compound job -
    -
    -
    - Required -
    -
    -
    -
    - - - - - -

    Responses

    -

    Status: 200 - OK

    - - - -
    -
    -
    - -
    - -
    -
    - -

    Status: 404 - Job not found

    - - - -
    -
    - -

    Status: 405 - Invalid input

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    getTaskFlops_25

    -

    Get an action's flops

    -
    -
    -
    -

    -

    -

    -
    -
    /simulation/{simid}/compoundJobs/{compound_job_name}/getMinimumRequiredNumCores
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X GET\
    --H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/compoundJobs/{compound_job_name}/getMinimumRequiredNumCores"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.WRENCHApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String compoundJobName = compoundJobName_example; // String | Name of the compound job
    -        try {
    -            TaskFlops result = apiInstance.getTaskFlops_5(simid, compoundJobName);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getTaskFlops_5");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.WRENCHApi;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String compoundJobName = compoundJobName_example; // String | Name of the compound job
    -        try {
    -            TaskFlops result = apiInstance.getTaskFlops_5(simid, compoundJobName);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getTaskFlops_5");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    String *simid = simid_example; // ID of the simulation
    -String *compoundJobName = compoundJobName_example; // Name of the compound job
    -
    -WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
    -
    -// Get an action's flops
    -[apiInstance getTaskFlops_25With:simid
    -    compoundJobName:compoundJobName
    -              completionHandler: ^(TaskFlops output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var WrenchRestApi = require('wrench_rest_api');
    -
    -var api = new WrenchRestApi.WRENCHApi()
    -var simid = simid_example; // {{String}} ID of the simulation
    -var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
    -
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.getTaskFlops_5(simid, compoundJobName, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class getTaskFlops_5Example
    -    {
    -        public void main()
    -        {
    -
    -            var apiInstance = new WRENCHApi();
    -            var simid = simid_example;  // String | ID of the simulation
    -            var compoundJobName = compoundJobName_example;  // String | Name of the compound job
    -
    -            try
    -            {
    -                // Get an action's flops
    -                TaskFlops result = apiInstance.getTaskFlops_5(simid, compoundJobName);
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling WRENCHApi.getTaskFlops_5: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -$api_instance = new Swagger\Client\ApiWRENCHApi();
    -$simid = simid_example; // String | ID of the simulation
    -$compoundJobName = compoundJobName_example; // String | Name of the compound job
    -
    -try {
    -    $result = $api_instance->getTaskFlops_5($simid, $compoundJobName);
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->getTaskFlops_5: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::WRENCHApi;
    -
    -my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $simid = simid_example; # String | ID of the simulation
    -my $compoundJobName = compoundJobName_example; # String | Name of the compound job
    -
    -eval { 
    -    my $result = $api_instance->getTaskFlops_5(simid => $simid, compoundJobName => $compoundJobName);
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling WRENCHApi->getTaskFlops_5: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -# create an instance of the API class
    -api_instance = swagger_client.WRENCHApi()
    -simid = simid_example # String | ID of the simulation
    -compoundJobName = compoundJobName_example # String | Name of the compound job
    -
    -try: 
    -    # Get an action's flops
    -    api_response = api_instance.get_task_flops_5(simid, compoundJobName)
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling WRENCHApi->getTaskFlops_5: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - - - - -
    NameDescription
    simid* - - -
    -
    -
    - - String - - -
    - ID of the simulation -
    -
    -
    - Required -
    -
    -
    -
    compound_job_name* - - -
    -
    -
    - - String - - -
    - Name of the compound job -
    -
    -
    - Required -
    -
    -
    -
    - - - - - -

    Responses

    -

    Status: 200 - OK

    - - - -
    -
    -
    - -
    - -
    -
    - -

    Status: 404 - Job not found

    - - - -
    -
    - -

    Status: 405 - Invalid input

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    getTaskFlops_26

    -

    Get an action's flops

    -
    -
    -
    -

    -

    -

    -
    -
    /simulation/{simid}/compoundJobs/{compound_job_name}/getState
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X GET\
    --H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/compoundJobs/{compound_job_name}/getState"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.WRENCHApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String compoundJobName = compoundJobName_example; // String | Name of the compound job
    -        try {
    -            TaskFlops result = apiInstance.getTaskFlops_6(simid, compoundJobName);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getTaskFlops_6");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.WRENCHApi;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String compoundJobName = compoundJobName_example; // String | Name of the compound job
    -        try {
    -            TaskFlops result = apiInstance.getTaskFlops_6(simid, compoundJobName);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getTaskFlops_6");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    String *simid = simid_example; // ID of the simulation
    -String *compoundJobName = compoundJobName_example; // Name of the compound job
    -
    -WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
    -
    -// Get an action's flops
    -[apiInstance getTaskFlops_26With:simid
    -    compoundJobName:compoundJobName
    -              completionHandler: ^(TaskFlops output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var WrenchRestApi = require('wrench_rest_api');
    -
    -var api = new WrenchRestApi.WRENCHApi()
    -var simid = simid_example; // {{String}} ID of the simulation
    -var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
    -
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.getTaskFlops_6(simid, compoundJobName, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class getTaskFlops_6Example
    -    {
    -        public void main()
    -        {
    -
    -            var apiInstance = new WRENCHApi();
    -            var simid = simid_example;  // String | ID of the simulation
    -            var compoundJobName = compoundJobName_example;  // String | Name of the compound job
    -
    -            try
    -            {
    -                // Get an action's flops
    -                TaskFlops result = apiInstance.getTaskFlops_6(simid, compoundJobName);
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling WRENCHApi.getTaskFlops_6: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -$api_instance = new Swagger\Client\ApiWRENCHApi();
    -$simid = simid_example; // String | ID of the simulation
    -$compoundJobName = compoundJobName_example; // String | Name of the compound job
    -
    -try {
    -    $result = $api_instance->getTaskFlops_6($simid, $compoundJobName);
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->getTaskFlops_6: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::WRENCHApi;
    -
    -my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $simid = simid_example; # String | ID of the simulation
    -my $compoundJobName = compoundJobName_example; # String | Name of the compound job
    -
    -eval { 
    -    my $result = $api_instance->getTaskFlops_6(simid => $simid, compoundJobName => $compoundJobName);
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling WRENCHApi->getTaskFlops_6: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -# create an instance of the API class
    -api_instance = swagger_client.WRENCHApi()
    -simid = simid_example # String | ID of the simulation
    -compoundJobName = compoundJobName_example # String | Name of the compound job
    -
    -try: 
    -    # Get an action's flops
    -    api_response = api_instance.get_task_flops_6(simid, compoundJobName)
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling WRENCHApi->getTaskFlops_6: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - - - - -
    NameDescription
    simid* - - -
    -
    -
    - - String - - -
    - ID of the simulation -
    -
    -
    - Required -
    -
    -
    -
    compound_job_name* - - -
    -
    -
    - - String - - -
    - Name of the compound job -
    -
    -
    - Required -
    -
    -
    -
    - - - - - -

    Responses

    -

    Status: 200 - OK

    - - - -
    -
    -
    - -
    - -
    -
    - -

    Status: 404 - Job not found

    - - - -
    -
    - -

    Status: 405 - Invalid input

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    getTaskFlops_27

    -

    Get an action's flops

    -
    -
    -
    -

    -

    -

    -
    -
    /simulation/{simid}/compoundJobs/{compound_job_name}/hasFailed
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X GET\
    --H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/compoundJobs/{compound_job_name}/hasFailed"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.WRENCHApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String compoundJobName = compoundJobName_example; // String | Name of the compound job
    -        try {
    -            TaskFlops result = apiInstance.getTaskFlops_7(simid, compoundJobName);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getTaskFlops_7");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.WRENCHApi;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String compoundJobName = compoundJobName_example; // String | Name of the compound job
    -        try {
    -            TaskFlops result = apiInstance.getTaskFlops_7(simid, compoundJobName);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getTaskFlops_7");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    String *simid = simid_example; // ID of the simulation
    -String *compoundJobName = compoundJobName_example; // Name of the compound job
    -
    -WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
    -
    -// Get an action's flops
    -[apiInstance getTaskFlops_27With:simid
    -    compoundJobName:compoundJobName
    -              completionHandler: ^(TaskFlops output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var WrenchRestApi = require('wrench_rest_api');
    -
    -var api = new WrenchRestApi.WRENCHApi()
    -var simid = simid_example; // {{String}} ID of the simulation
    -var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
    -
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.getTaskFlops_7(simid, compoundJobName, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class getTaskFlops_7Example
    -    {
    -        public void main()
    -        {
    -
    -            var apiInstance = new WRENCHApi();
    -            var simid = simid_example;  // String | ID of the simulation
    -            var compoundJobName = compoundJobName_example;  // String | Name of the compound job
    -
    -            try
    -            {
    -                // Get an action's flops
    -                TaskFlops result = apiInstance.getTaskFlops_7(simid, compoundJobName);
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling WRENCHApi.getTaskFlops_7: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -$api_instance = new Swagger\Client\ApiWRENCHApi();
    -$simid = simid_example; // String | ID of the simulation
    -$compoundJobName = compoundJobName_example; // String | Name of the compound job
    -
    -try {
    -    $result = $api_instance->getTaskFlops_7($simid, $compoundJobName);
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->getTaskFlops_7: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::WRENCHApi;
    -
    -my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $simid = simid_example; # String | ID of the simulation
    -my $compoundJobName = compoundJobName_example; # String | Name of the compound job
    -
    -eval { 
    -    my $result = $api_instance->getTaskFlops_7(simid => $simid, compoundJobName => $compoundJobName);
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling WRENCHApi->getTaskFlops_7: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -# create an instance of the API class
    -api_instance = swagger_client.WRENCHApi()
    -simid = simid_example # String | ID of the simulation
    -compoundJobName = compoundJobName_example # String | Name of the compound job
    -
    -try: 
    -    # Get an action's flops
    -    api_response = api_instance.get_task_flops_7(simid, compoundJobName)
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling WRENCHApi->getTaskFlops_7: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - - - - -
    NameDescription
    simid* - - -
    -
    -
    - - String - - -
    - ID of the simulation -
    -
    -
    - Required -
    -
    -
    -
    compound_job_name* - - -
    -
    -
    - - String - - -
    - Name of the compound job -
    -
    -
    - Required -
    -
    -
    -
    - - - - - -

    Responses

    -

    Status: 200 - OK

    - - - -
    -
    -
    - -
    - -
    -
    - -

    Status: 404 - Job not found

    - - - -
    -
    - -

    Status: 405 - Invalid input

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    getTaskFlops_28

    -

    Get an action's flops

    -
    -
    -
    -

    -

    -

    -
    -
    /simulation/{simid}/compoundJobs/{compound_job_name}/hasSuccessfullyCompleted
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X GET\
    --H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/compoundJobs/{compound_job_name}/hasSuccessfullyCompleted"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.WRENCHApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String compoundJobName = compoundJobName_example; // String | Name of the compound job
    -        try {
    -            TaskFlops result = apiInstance.getTaskFlops_8(simid, compoundJobName);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getTaskFlops_8");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.WRENCHApi;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String compoundJobName = compoundJobName_example; // String | Name of the compound job
    -        try {
    -            TaskFlops result = apiInstance.getTaskFlops_8(simid, compoundJobName);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getTaskFlops_8");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    String *simid = simid_example; // ID of the simulation
    -String *compoundJobName = compoundJobName_example; // Name of the compound job
    -
    -WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
    -
    -// Get an action's flops
    -[apiInstance getTaskFlops_28With:simid
    -    compoundJobName:compoundJobName
    -              completionHandler: ^(TaskFlops output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var WrenchRestApi = require('wrench_rest_api');
    -
    -var api = new WrenchRestApi.WRENCHApi()
    -var simid = simid_example; // {{String}} ID of the simulation
    -var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
    -
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.getTaskFlops_8(simid, compoundJobName, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class getTaskFlops_8Example
    -    {
    -        public void main()
    -        {
    -
    -            var apiInstance = new WRENCHApi();
    -            var simid = simid_example;  // String | ID of the simulation
    -            var compoundJobName = compoundJobName_example;  // String | Name of the compound job
    -
    -            try
    -            {
    -                // Get an action's flops
    -                TaskFlops result = apiInstance.getTaskFlops_8(simid, compoundJobName);
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling WRENCHApi.getTaskFlops_8: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -$api_instance = new Swagger\Client\ApiWRENCHApi();
    -$simid = simid_example; // String | ID of the simulation
    -$compoundJobName = compoundJobName_example; // String | Name of the compound job
    -
    -try {
    -    $result = $api_instance->getTaskFlops_8($simid, $compoundJobName);
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->getTaskFlops_8: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::WRENCHApi;
    -
    -my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $simid = simid_example; # String | ID of the simulation
    -my $compoundJobName = compoundJobName_example; # String | Name of the compound job
    -
    -eval { 
    -    my $result = $api_instance->getTaskFlops_8(simid => $simid, compoundJobName => $compoundJobName);
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling WRENCHApi->getTaskFlops_8: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -# create an instance of the API class
    -api_instance = swagger_client.WRENCHApi()
    -simid = simid_example # String | ID of the simulation
    -compoundJobName = compoundJobName_example # String | Name of the compound job
    -
    -try: 
    -    # Get an action's flops
    -    api_response = api_instance.get_task_flops_8(simid, compoundJobName)
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling WRENCHApi->getTaskFlops_8: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - - - - -
    NameDescription
    simid* - - -
    -
    -
    - - String - - -
    - ID of the simulation -
    -
    -
    - Required -
    -
    -
    -
    compound_job_name* - - -
    -
    -
    - - String - - -
    - Name of the compound job -
    -
    -
    - Required -
    -
    -
    -
    - - - - - -

    Responses

    -

    Status: 200 - OK

    - - - -
    -
    -
    - -
    - -
    -
    - -

    Status: 404 - Job not found

    - - - -
    -
    - -

    Status: 405 - Invalid input

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    getTaskFlops_29

    -

    Get an action's flops

    -
    -
    -
    -

    -

    -

    -
    -
    /simulation/{simid}/compoundJobs/{compound_job_name}/addActionDependency
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X GET\
    --H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/compoundJobs/{compound_job_name}/addActionDependency"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.WRENCHApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String compoundJobName = compoundJobName_example; // String | Name of the compound job
    -        try {
    -            TaskFlops result = apiInstance.getTaskFlops_9(simid, compoundJobName);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getTaskFlops_9");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.WRENCHApi;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String compoundJobName = compoundJobName_example; // String | Name of the compound job
    -        try {
    -            TaskFlops result = apiInstance.getTaskFlops_9(simid, compoundJobName);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getTaskFlops_9");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    String *simid = simid_example; // ID of the simulation
    -String *compoundJobName = compoundJobName_example; // Name of the compound job
    -
    -WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
    -
    -// Get an action's flops
    -[apiInstance getTaskFlops_29With:simid
    -    compoundJobName:compoundJobName
    -              completionHandler: ^(TaskFlops output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var WrenchRestApi = require('wrench_rest_api');
    -
    -var api = new WrenchRestApi.WRENCHApi()
    -var simid = simid_example; // {{String}} ID of the simulation
    -var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
    -
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.getTaskFlops_9(simid, compoundJobName, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class getTaskFlops_9Example
    -    {
    -        public void main()
    -        {
    -
    -            var apiInstance = new WRENCHApi();
    -            var simid = simid_example;  // String | ID of the simulation
    -            var compoundJobName = compoundJobName_example;  // String | Name of the compound job
    -
    -            try
    -            {
    -                // Get an action's flops
    -                TaskFlops result = apiInstance.getTaskFlops_9(simid, compoundJobName);
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling WRENCHApi.getTaskFlops_9: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -$api_instance = new Swagger\Client\ApiWRENCHApi();
    -$simid = simid_example; // String | ID of the simulation
    -$compoundJobName = compoundJobName_example; // String | Name of the compound job
    -
    -try {
    -    $result = $api_instance->getTaskFlops_9($simid, $compoundJobName);
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->getTaskFlops_9: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::WRENCHApi;
    -
    -my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $simid = simid_example; # String | ID of the simulation
    -my $compoundJobName = compoundJobName_example; # String | Name of the compound job
    -
    -eval { 
    -    my $result = $api_instance->getTaskFlops_9(simid => $simid, compoundJobName => $compoundJobName);
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling WRENCHApi->getTaskFlops_9: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -# create an instance of the API class
    -api_instance = swagger_client.WRENCHApi()
    -simid = simid_example # String | ID of the simulation
    -compoundJobName = compoundJobName_example # String | Name of the compound job
    -
    -try: 
    -    # Get an action's flops
    -    api_response = api_instance.get_task_flops_9(simid, compoundJobName)
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling WRENCHApi->getTaskFlops_9: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - - - - -
    NameDescription
    simid* - - -
    -
    -
    - - String - - -
    - ID of the simulation -
    -
    -
    - Required -
    -
    -
    -
    compound_job_name* - - -
    -
    -
    - - String - - -
    - Name of the compound job -
    -
    -
    - Required -
    -
    -
    -
    - - - - - -

    Responses

    -

    Status: 200 - OK

    - - - -
    -
    -
    - -
    - -
    -
    - -

    Status: 404 - Job not found

    - - - -
    -
    - -

    Status: 405 - Invalid input

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    getTaskInputFiles

    -

    Retrieve task's input files

    -
    -
    -
    -

    -

    -

    -
    -
    /simulation/{simid}/workflows/{workflow_name}/tasks/{tid}/inputFiles
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X GET\
    --H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/workflows/{workflow_name}/tasks/{tid}/inputFiles"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.WRENCHApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String workflowName = workflowName_example; // String | 
    -        String tid = tid_example; // String | ID of the task
    -        try {
    -            FileList result = apiInstance.getTaskInputFiles(simid, workflowName, tid);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getTaskInputFiles");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.WRENCHApi;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String workflowName = workflowName_example; // String | 
    -        String tid = tid_example; // String | ID of the task
    -        try {
    -            FileList result = apiInstance.getTaskInputFiles(simid, workflowName, tid);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getTaskInputFiles");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    String *simid = simid_example; // ID of the simulation
    -String *workflowName = workflowName_example; // 
    -String *tid = tid_example; // ID of the task
    -
    -WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
    -
    -// Retrieve task's input files
    -[apiInstance getTaskInputFilesWith:simid
    -    workflowName:workflowName
    -    tid:tid
    -              completionHandler: ^(FileList output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var WrenchRestApi = require('wrench_rest_api');
    -
    -var api = new WrenchRestApi.WRENCHApi()
    -var simid = simid_example; // {{String}} ID of the simulation
    -var workflowName = workflowName_example; // {{String}} 
    -var tid = tid_example; // {{String}} ID of the task
    -
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.getTaskInputFiles(simid, workflowName, tid, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class getTaskInputFilesExample
    -    {
    -        public void main()
    -        {
    -
    -            var apiInstance = new WRENCHApi();
    -            var simid = simid_example;  // String | ID of the simulation
    -            var workflowName = workflowName_example;  // String | 
    -            var tid = tid_example;  // String | ID of the task
    -
    -            try
    -            {
    -                // Retrieve task's input files
    -                FileList result = apiInstance.getTaskInputFiles(simid, workflowName, tid);
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling WRENCHApi.getTaskInputFiles: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -$api_instance = new Swagger\Client\ApiWRENCHApi();
    -$simid = simid_example; // String | ID of the simulation
    -$workflowName = workflowName_example; // String | 
    -$tid = tid_example; // String | ID of the task
    -
    -try {
    -    $result = $api_instance->getTaskInputFiles($simid, $workflowName, $tid);
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->getTaskInputFiles: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::WRENCHApi;
    -
    -my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $simid = simid_example; # String | ID of the simulation
    -my $workflowName = workflowName_example; # String | 
    -my $tid = tid_example; # String | ID of the task
    -
    -eval { 
    -    my $result = $api_instance->getTaskInputFiles(simid => $simid, workflowName => $workflowName, tid => $tid);
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling WRENCHApi->getTaskInputFiles: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -# create an instance of the API class
    -api_instance = swagger_client.WRENCHApi()
    -simid = simid_example # String | ID of the simulation
    -workflowName = workflowName_example # String | 
    -tid = tid_example # String | ID of the task
    -
    -try: 
    -    # Retrieve task's input files
    -    api_response = api_instance.get_task_input_files(simid, workflowName, tid)
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling WRENCHApi->getTaskInputFiles: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - - - - - - - -
    NameDescription
    simid* - - -
    -
    -
    - - String - - -
    - ID of the simulation -
    -
    -
    - Required -
    -
    -
    -
    workflow_name* - - -
    -
    -
    - - String - - -
    -
    - Required -
    -
    -
    -
    tid* - - -
    -
    -
    - - String - - -
    - ID of the task -
    -
    -
    - Required -
    -
    -
    -
    - - - - - -

    Responses

    -

    Status: 200 - OK

    - - - -
    -
    -
    - -
    - -
    -
    - -

    Status: 404 - Task not found

    - - - -
    -
    - -

    Status: 405 - Invalid input

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    getTaskMaxNumCores

    -

    Get a task's maximum number of cores.

    -
    -
    -
    -

    -

    -

    -
    -
    /simulation/{simid}/workflows/{workflow_name}/tasks/{task_name}/taskGetMaxNumCores
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X GET\
    --H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/workflows/{workflow_name}/tasks/{task_name}/taskGetMaxNumCores"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.WRENCHApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String workflowName = workflowName_example; // String | 
    -        String taskName = taskName_example; // String | Name of the task
    -        try {
    -            TaskCores result = apiInstance.getTaskMaxNumCores(simid, workflowName, taskName);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getTaskMaxNumCores");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.WRENCHApi;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String workflowName = workflowName_example; // String | 
    -        String taskName = taskName_example; // String | Name of the task
    -        try {
    -            TaskCores result = apiInstance.getTaskMaxNumCores(simid, workflowName, taskName);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getTaskMaxNumCores");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    String *simid = simid_example; // ID of the simulation
    -String *workflowName = workflowName_example; // 
    -String *taskName = taskName_example; // Name of the task
    -
    -WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
    -
    -// Get a task's maximum number of cores.
    -[apiInstance getTaskMaxNumCoresWith:simid
    -    workflowName:workflowName
    -    taskName:taskName
    -              completionHandler: ^(TaskCores output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var WrenchRestApi = require('wrench_rest_api');
    -
    -var api = new WrenchRestApi.WRENCHApi()
    -var simid = simid_example; // {{String}} ID of the simulation
    -var workflowName = workflowName_example; // {{String}} 
    -var taskName = taskName_example; // {{String}} Name of the task
    -
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.getTaskMaxNumCores(simid, workflowName, taskName, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class getTaskMaxNumCoresExample
    -    {
    -        public void main()
    -        {
    -
    -            var apiInstance = new WRENCHApi();
    -            var simid = simid_example;  // String | ID of the simulation
    -            var workflowName = workflowName_example;  // String | 
    -            var taskName = taskName_example;  // String | Name of the task
    -
    -            try
    -            {
    -                // Get a task's maximum number of cores.
    -                TaskCores result = apiInstance.getTaskMaxNumCores(simid, workflowName, taskName);
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling WRENCHApi.getTaskMaxNumCores: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -$api_instance = new Swagger\Client\ApiWRENCHApi();
    -$simid = simid_example; // String | ID of the simulation
    -$workflowName = workflowName_example; // String | 
    -$taskName = taskName_example; // String | Name of the task
    -
    -try {
    -    $result = $api_instance->getTaskMaxNumCores($simid, $workflowName, $taskName);
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->getTaskMaxNumCores: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::WRENCHApi;
    -
    -my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $simid = simid_example; # String | ID of the simulation
    -my $workflowName = workflowName_example; # String | 
    -my $taskName = taskName_example; # String | Name of the task
    -
    -eval { 
    -    my $result = $api_instance->getTaskMaxNumCores(simid => $simid, workflowName => $workflowName, taskName => $taskName);
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling WRENCHApi->getTaskMaxNumCores: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -# create an instance of the API class
    -api_instance = swagger_client.WRENCHApi()
    -simid = simid_example # String | ID of the simulation
    -workflowName = workflowName_example # String | 
    -taskName = taskName_example # String | Name of the task
    -
    -try: 
    -    # Get a task's maximum number of cores.
    -    api_response = api_instance.get_task_max_num_cores(simid, workflowName, taskName)
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling WRENCHApi->getTaskMaxNumCores: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - - - - - - - -
    NameDescription
    simid* - - -
    -
    -
    - - String - - -
    - ID of the simulation -
    -
    -
    - Required -
    -
    -
    -
    workflow_name* - - -
    -
    -
    - - String - - -
    -
    - Required -
    -
    -
    -
    task_name* - - -
    -
    -
    - - String - - -
    - Name of the task -
    -
    -
    - Required -
    -
    -
    -
    - - - - - -

    Responses

    -

    Status: 200 - OK

    - - - -
    -
    -
    - -
    - -
    -
    - -

    Status: 404 - Job not found

    - - - -
    -
    - -

    Status: 405 - Invalid input

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    getTaskMaxNumCores_30

    -

    Get an action's maximum number of cores.

    -
    -
    -
    -

    -

    -

    -
    -
    /simulation/{simid}/{compound_job_name}/actions/{name}/actionGetMaxNumCores
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X GET\
    --H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/{compound_job_name}/actions/{name}/actionGetMaxNumCores"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.WRENCHApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String compoundJobName = compoundJobName_example; // String | Name of the compound job
    -        String name = name_example; // String | Name of the action
    -        try {
    -            TaskCores result = apiInstance.getTaskMaxNumCores_0(simid, compoundJobName, name);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getTaskMaxNumCores_0");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.WRENCHApi;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String compoundJobName = compoundJobName_example; // String | Name of the compound job
    -        String name = name_example; // String | Name of the action
    -        try {
    -            TaskCores result = apiInstance.getTaskMaxNumCores_0(simid, compoundJobName, name);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getTaskMaxNumCores_0");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    String *simid = simid_example; // ID of the simulation
    -String *compoundJobName = compoundJobName_example; // Name of the compound job
    -String *name = name_example; // Name of the action
    -
    -WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
    -
    -// Get an action's maximum number of cores.
    -[apiInstance getTaskMaxNumCores_30With:simid
    -    compoundJobName:compoundJobName
    -    name:name
    -              completionHandler: ^(TaskCores output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var WrenchRestApi = require('wrench_rest_api');
    -
    -var api = new WrenchRestApi.WRENCHApi()
    -var simid = simid_example; // {{String}} ID of the simulation
    -var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
    -var name = name_example; // {{String}} Name of the action
    -
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.getTaskMaxNumCores_0(simid, compoundJobName, name, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class getTaskMaxNumCores_0Example
    -    {
    -        public void main()
    -        {
    -
    -            var apiInstance = new WRENCHApi();
    -            var simid = simid_example;  // String | ID of the simulation
    -            var compoundJobName = compoundJobName_example;  // String | Name of the compound job
    -            var name = name_example;  // String | Name of the action
    -
    -            try
    -            {
    -                // Get an action's maximum number of cores.
    -                TaskCores result = apiInstance.getTaskMaxNumCores_0(simid, compoundJobName, name);
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling WRENCHApi.getTaskMaxNumCores_0: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -$api_instance = new Swagger\Client\ApiWRENCHApi();
    -$simid = simid_example; // String | ID of the simulation
    -$compoundJobName = compoundJobName_example; // String | Name of the compound job
    -$name = name_example; // String | Name of the action
    -
    -try {
    -    $result = $api_instance->getTaskMaxNumCores_0($simid, $compoundJobName, $name);
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->getTaskMaxNumCores_0: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::WRENCHApi;
    -
    -my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $simid = simid_example; # String | ID of the simulation
    -my $compoundJobName = compoundJobName_example; # String | Name of the compound job
    -my $name = name_example; # String | Name of the action
    -
    -eval { 
    -    my $result = $api_instance->getTaskMaxNumCores_0(simid => $simid, compoundJobName => $compoundJobName, name => $name);
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling WRENCHApi->getTaskMaxNumCores_0: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -# create an instance of the API class
    -api_instance = swagger_client.WRENCHApi()
    -simid = simid_example # String | ID of the simulation
    -compoundJobName = compoundJobName_example # String | Name of the compound job
    -name = name_example # String | Name of the action
    -
    -try: 
    -    # Get an action's maximum number of cores.
    -    api_response = api_instance.get_task_max_num_cores_0(simid, compoundJobName, name)
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling WRENCHApi->getTaskMaxNumCores_0: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - - - - - - - -
    NameDescription
    simid* - - -
    -
    -
    - - String - - -
    - ID of the simulation -
    -
    -
    - Required -
    -
    -
    -
    compound_job_name* - - -
    -
    -
    - - String - - -
    - Name of the compound job -
    -
    -
    - Required -
    -
    -
    -
    name* - - -
    -
    -
    - - String - - -
    - Name of the action -
    -
    -
    - Required -
    -
    -
    -
    - - - - - -

    Responses

    -

    Status: 200 - OK

    - - - -
    -
    -
    - -
    - -
    -
    - -

    Status: 404 - Job not found

    - - - -
    -
    - -

    Status: 405 - Invalid input

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    getTaskMemory

    -

    Get a task's memory requirement.

    -
    -
    -
    -

    -

    -

    -
    -
    /simulation/{simid}/workflows/{workflow_name}/tasks/{task_name}/taskGetMemory
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X GET\
    --H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/workflows/{workflow_name}/tasks/{task_name}/taskGetMemory"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.WRENCHApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String workflowName = workflowName_example; // String | 
    -        String taskName = taskName_example; // String | Name of the task
    -        try {
    -            TaskMem result = apiInstance.getTaskMemory(simid, workflowName, taskName);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getTaskMemory");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.WRENCHApi;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String workflowName = workflowName_example; // String | 
    -        String taskName = taskName_example; // String | Name of the task
    -        try {
    -            TaskMem result = apiInstance.getTaskMemory(simid, workflowName, taskName);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getTaskMemory");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    String *simid = simid_example; // ID of the simulation
    -String *workflowName = workflowName_example; // 
    -String *taskName = taskName_example; // Name of the task
    -
    -WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
    -
    -// Get a task's memory requirement.
    -[apiInstance getTaskMemoryWith:simid
    -    workflowName:workflowName
    -    taskName:taskName
    -              completionHandler: ^(TaskMem output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var WrenchRestApi = require('wrench_rest_api');
    -
    -var api = new WrenchRestApi.WRENCHApi()
    -var simid = simid_example; // {{String}} ID of the simulation
    -var workflowName = workflowName_example; // {{String}} 
    -var taskName = taskName_example; // {{String}} Name of the task
    -
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.getTaskMemory(simid, workflowName, taskName, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class getTaskMemoryExample
    -    {
    -        public void main()
    -        {
    -
    -            var apiInstance = new WRENCHApi();
    -            var simid = simid_example;  // String | ID of the simulation
    -            var workflowName = workflowName_example;  // String | 
    -            var taskName = taskName_example;  // String | Name of the task
    -
    -            try
    -            {
    -                // Get a task's memory requirement.
    -                TaskMem result = apiInstance.getTaskMemory(simid, workflowName, taskName);
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling WRENCHApi.getTaskMemory: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -$api_instance = new Swagger\Client\ApiWRENCHApi();
    -$simid = simid_example; // String | ID of the simulation
    -$workflowName = workflowName_example; // String | 
    -$taskName = taskName_example; // String | Name of the task
    -
    -try {
    -    $result = $api_instance->getTaskMemory($simid, $workflowName, $taskName);
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->getTaskMemory: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::WRENCHApi;
    -
    -my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $simid = simid_example; # String | ID of the simulation
    -my $workflowName = workflowName_example; # String | 
    -my $taskName = taskName_example; # String | Name of the task
    -
    -eval { 
    -    my $result = $api_instance->getTaskMemory(simid => $simid, workflowName => $workflowName, taskName => $taskName);
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling WRENCHApi->getTaskMemory: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -# create an instance of the API class
    -api_instance = swagger_client.WRENCHApi()
    -simid = simid_example # String | ID of the simulation
    -workflowName = workflowName_example # String | 
    -taskName = taskName_example # String | Name of the task
    -
    -try: 
    -    # Get a task's memory requirement.
    -    api_response = api_instance.get_task_memory(simid, workflowName, taskName)
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling WRENCHApi->getTaskMemory: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - - - - - - - -
    NameDescription
    simid* - - -
    -
    -
    - - String - - -
    - ID of the simulation -
    -
    -
    - Required -
    -
    -
    -
    workflow_name* - - -
    -
    -
    - - String - - -
    -
    - Required -
    -
    -
    -
    task_name* - - -
    -
    -
    - - String - - -
    - Name of the task -
    -
    -
    - Required -
    -
    -
    -
    - - - - - -

    Responses

    -

    Status: 200 - OK

    - - - -
    -
    -
    - -
    - -
    -
    - -

    Status: 404 - Job not found

    - - - -
    -
    - -

    Status: 405 - Invalid input

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    getTaskMemory_31

    -

    Get an action's memory requirement.

    -
    -
    -
    -

    -

    -

    -
    -
    /simulation/{simid}/{compound_job_name}/actions/{name}/actionGetMemory
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X GET\
    --H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/{compound_job_name}/actions/{name}/actionGetMemory"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.WRENCHApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String compoundJobName = compoundJobName_example; // String | Name of the compound job
    -        String name = name_example; // String | Name of the action
    -        try {
    -            TaskMem result = apiInstance.getTaskMemory_0(simid, compoundJobName, name);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getTaskMemory_0");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.WRENCHApi;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String compoundJobName = compoundJobName_example; // String | Name of the compound job
    -        String name = name_example; // String | Name of the action
    -        try {
    -            TaskMem result = apiInstance.getTaskMemory_0(simid, compoundJobName, name);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getTaskMemory_0");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    String *simid = simid_example; // ID of the simulation
    -String *compoundJobName = compoundJobName_example; // Name of the compound job
    -String *name = name_example; // Name of the action
    -
    -WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
    -
    -// Get an action's memory requirement.
    -[apiInstance getTaskMemory_31With:simid
    -    compoundJobName:compoundJobName
    -    name:name
    -              completionHandler: ^(TaskMem output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var WrenchRestApi = require('wrench_rest_api');
    -
    -var api = new WrenchRestApi.WRENCHApi()
    -var simid = simid_example; // {{String}} ID of the simulation
    -var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
    -var name = name_example; // {{String}} Name of the action
    -
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.getTaskMemory_0(simid, compoundJobName, name, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class getTaskMemory_0Example
    -    {
    -        public void main()
    -        {
    -
    -            var apiInstance = new WRENCHApi();
    -            var simid = simid_example;  // String | ID of the simulation
    -            var compoundJobName = compoundJobName_example;  // String | Name of the compound job
    -            var name = name_example;  // String | Name of the action
    -
    -            try
    -            {
    -                // Get an action's memory requirement.
    -                TaskMem result = apiInstance.getTaskMemory_0(simid, compoundJobName, name);
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling WRENCHApi.getTaskMemory_0: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -$api_instance = new Swagger\Client\ApiWRENCHApi();
    -$simid = simid_example; // String | ID of the simulation
    -$compoundJobName = compoundJobName_example; // String | Name of the compound job
    -$name = name_example; // String | Name of the action
    -
    -try {
    -    $result = $api_instance->getTaskMemory_0($simid, $compoundJobName, $name);
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->getTaskMemory_0: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::WRENCHApi;
    -
    -my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $simid = simid_example; # String | ID of the simulation
    -my $compoundJobName = compoundJobName_example; # String | Name of the compound job
    -my $name = name_example; # String | Name of the action
    -
    -eval { 
    -    my $result = $api_instance->getTaskMemory_0(simid => $simid, compoundJobName => $compoundJobName, name => $name);
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling WRENCHApi->getTaskMemory_0: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -# create an instance of the API class
    -api_instance = swagger_client.WRENCHApi()
    -simid = simid_example # String | ID of the simulation
    -compoundJobName = compoundJobName_example # String | Name of the compound job
    -name = name_example # String | Name of the action
    -
    -try: 
    -    # Get an action's memory requirement.
    -    api_response = api_instance.get_task_memory_0(simid, compoundJobName, name)
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling WRENCHApi->getTaskMemory_0: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - - - - - - - -
    NameDescription
    simid* - - -
    -
    -
    - - String - - -
    - ID of the simulation -
    -
    -
    - Required -
    -
    -
    -
    compound_job_name* - - -
    -
    -
    - - String - - -
    - Name of the compound job -
    -
    -
    - Required -
    -
    -
    -
    name* - - -
    -
    -
    - - String - - -
    - Name of the action -
    -
    -
    - Required -
    -
    -
    -
    - - - - - -

    Responses

    -

    Status: 200 - OK

    - - - -
    -
    -
    - -
    - -
    -
    - -

    Status: 404 - Job not found

    - - - -
    -
    - -

    Status: 405 - Invalid input

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    getTaskMemory_32

    -

    Get an action's memory requirement.

    -
    -
    -
    -

    -

    -

    -
    -
    /simulation/{simid}/{compound_job_name}/actions/{name}/actionUsesScratch
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X GET\
    --H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/{compound_job_name}/actions/{name}/actionUsesScratch"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.WRENCHApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String compoundJobName = compoundJobName_example; // String | Name of the compound job
    -        String name = name_example; // String | Name of the action
    -        try {
    -            TaskMem result = apiInstance.getTaskMemory_1(simid, compoundJobName, name);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getTaskMemory_1");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.WRENCHApi;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String compoundJobName = compoundJobName_example; // String | Name of the compound job
    -        String name = name_example; // String | Name of the action
    -        try {
    -            TaskMem result = apiInstance.getTaskMemory_1(simid, compoundJobName, name);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getTaskMemory_1");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    String *simid = simid_example; // ID of the simulation
    -String *compoundJobName = compoundJobName_example; // Name of the compound job
    -String *name = name_example; // Name of the action
    -
    -WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
    -
    -// Get an action's memory requirement.
    -[apiInstance getTaskMemory_32With:simid
    -    compoundJobName:compoundJobName
    -    name:name
    -              completionHandler: ^(TaskMem output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var WrenchRestApi = require('wrench_rest_api');
    -
    -var api = new WrenchRestApi.WRENCHApi()
    -var simid = simid_example; // {{String}} ID of the simulation
    -var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
    -var name = name_example; // {{String}} Name of the action
    -
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.getTaskMemory_1(simid, compoundJobName, name, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class getTaskMemory_1Example
    -    {
    -        public void main()
    -        {
    -
    -            var apiInstance = new WRENCHApi();
    -            var simid = simid_example;  // String | ID of the simulation
    -            var compoundJobName = compoundJobName_example;  // String | Name of the compound job
    -            var name = name_example;  // String | Name of the action
    -
    -            try
    -            {
    -                // Get an action's memory requirement.
    -                TaskMem result = apiInstance.getTaskMemory_1(simid, compoundJobName, name);
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling WRENCHApi.getTaskMemory_1: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -$api_instance = new Swagger\Client\ApiWRENCHApi();
    -$simid = simid_example; // String | ID of the simulation
    -$compoundJobName = compoundJobName_example; // String | Name of the compound job
    -$name = name_example; // String | Name of the action
    -
    -try {
    -    $result = $api_instance->getTaskMemory_1($simid, $compoundJobName, $name);
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->getTaskMemory_1: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::WRENCHApi;
    -
    -my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $simid = simid_example; # String | ID of the simulation
    -my $compoundJobName = compoundJobName_example; # String | Name of the compound job
    -my $name = name_example; # String | Name of the action
    -
    -eval { 
    -    my $result = $api_instance->getTaskMemory_1(simid => $simid, compoundJobName => $compoundJobName, name => $name);
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling WRENCHApi->getTaskMemory_1: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -# create an instance of the API class
    -api_instance = swagger_client.WRENCHApi()
    -simid = simid_example # String | ID of the simulation
    -compoundJobName = compoundJobName_example # String | Name of the compound job
    -name = name_example # String | Name of the action
    -
    -try: 
    -    # Get an action's memory requirement.
    -    api_response = api_instance.get_task_memory_1(simid, compoundJobName, name)
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling WRENCHApi->getTaskMemory_1: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - - - - - - - -
    NameDescription
    simid* - - -
    -
    -
    - - String - - -
    - ID of the simulation -
    -
    -
    - Required -
    -
    -
    -
    compound_job_name* - - -
    -
    -
    - - String - - -
    - Name of the compound job -
    -
    -
    - Required -
    -
    -
    -
    name* - - -
    -
    -
    - - String - - -
    - Name of the action -
    -
    -
    - Required -
    -
    -
    -
    - - - - - -

    Responses

    -

    Status: 200 - OK

    - - - -
    -
    -
    - -
    - -
    -
    - -

    Status: 404 - Job not found

    - - - -
    -
    - -

    Status: 405 - Invalid input

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    getTaskMinNumCores

    -

    Get a task's minimum number of cores.

    -
    -
    -
    -

    -

    -

    -
    -
    /simulation/{simid}/workflows/{workflow_name}/tasks/{task_name}/taskGetMinNumCores
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X GET\
    --H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/workflows/{workflow_name}/tasks/{task_name}/taskGetMinNumCores"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.WRENCHApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String workflowName = workflowName_example; // String | 
    -        String taskName = taskName_example; // String | Name of the task
    -        try {
    -            TaskCores result = apiInstance.getTaskMinNumCores(simid, workflowName, taskName);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getTaskMinNumCores");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.WRENCHApi;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String workflowName = workflowName_example; // String | 
    -        String taskName = taskName_example; // String | Name of the task
    -        try {
    -            TaskCores result = apiInstance.getTaskMinNumCores(simid, workflowName, taskName);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getTaskMinNumCores");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    String *simid = simid_example; // ID of the simulation
    -String *workflowName = workflowName_example; // 
    -String *taskName = taskName_example; // Name of the task
    -
    -WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
    -
    -// Get a task's minimum number of cores.
    -[apiInstance getTaskMinNumCoresWith:simid
    -    workflowName:workflowName
    -    taskName:taskName
    -              completionHandler: ^(TaskCores output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var WrenchRestApi = require('wrench_rest_api');
    -
    -var api = new WrenchRestApi.WRENCHApi()
    -var simid = simid_example; // {{String}} ID of the simulation
    -var workflowName = workflowName_example; // {{String}} 
    -var taskName = taskName_example; // {{String}} Name of the task
    -
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.getTaskMinNumCores(simid, workflowName, taskName, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class getTaskMinNumCoresExample
    -    {
    -        public void main()
    -        {
    -
    -            var apiInstance = new WRENCHApi();
    -            var simid = simid_example;  // String | ID of the simulation
    -            var workflowName = workflowName_example;  // String | 
    -            var taskName = taskName_example;  // String | Name of the task
    -
    -            try
    -            {
    -                // Get a task's minimum number of cores.
    -                TaskCores result = apiInstance.getTaskMinNumCores(simid, workflowName, taskName);
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling WRENCHApi.getTaskMinNumCores: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -$api_instance = new Swagger\Client\ApiWRENCHApi();
    -$simid = simid_example; // String | ID of the simulation
    -$workflowName = workflowName_example; // String | 
    -$taskName = taskName_example; // String | Name of the task
    -
    -try {
    -    $result = $api_instance->getTaskMinNumCores($simid, $workflowName, $taskName);
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->getTaskMinNumCores: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::WRENCHApi;
    -
    -my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $simid = simid_example; # String | ID of the simulation
    -my $workflowName = workflowName_example; # String | 
    -my $taskName = taskName_example; # String | Name of the task
    -
    -eval { 
    -    my $result = $api_instance->getTaskMinNumCores(simid => $simid, workflowName => $workflowName, taskName => $taskName);
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling WRENCHApi->getTaskMinNumCores: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -# create an instance of the API class
    -api_instance = swagger_client.WRENCHApi()
    -simid = simid_example # String | ID of the simulation
    -workflowName = workflowName_example # String | 
    -taskName = taskName_example # String | Name of the task
    -
    -try: 
    -    # Get a task's minimum number of cores.
    -    api_response = api_instance.get_task_min_num_cores(simid, workflowName, taskName)
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling WRENCHApi->getTaskMinNumCores: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - - - - - - - -
    NameDescription
    simid* - - -
    -
    -
    - - String - - -
    - ID of the simulation -
    -
    -
    - Required -
    -
    -
    -
    workflow_name* - - -
    -
    -
    - - String - - -
    -
    - Required -
    -
    -
    -
    task_name* - - -
    -
    -
    - - String - - -
    - Name of the task -
    -
    -
    - Required -
    -
    -
    -
    - - - - - -

    Responses

    -

    Status: 200 - OK

    - - - -
    -
    -
    - -
    - -
    -
    - -

    Status: 404 - Job not found

    - - - -
    -
    - -

    Status: 405 - Invalid input

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    getTaskMinNumCores_33

    -

    Get an action's minimum number of cores.

    -
    -
    -
    -

    -

    -

    -
    -
    /simulation/{simid}/{compound_job_name}/actions/{name}/actionGetMinNumCores
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X GET\
    --H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/{compound_job_name}/actions/{name}/actionGetMinNumCores"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.WRENCHApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String compoundJobName = compoundJobName_example; // String | Name of the compound job
    -        String name = name_example; // String | Name of the action
    -        try {
    -            TaskCores result = apiInstance.getTaskMinNumCores_0(simid, compoundJobName, name);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getTaskMinNumCores_0");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.WRENCHApi;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String compoundJobName = compoundJobName_example; // String | Name of the compound job
    -        String name = name_example; // String | Name of the action
    -        try {
    -            TaskCores result = apiInstance.getTaskMinNumCores_0(simid, compoundJobName, name);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getTaskMinNumCores_0");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    String *simid = simid_example; // ID of the simulation
    -String *compoundJobName = compoundJobName_example; // Name of the compound job
    -String *name = name_example; // Name of the action
    -
    -WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
    -
    -// Get an action's minimum number of cores.
    -[apiInstance getTaskMinNumCores_33With:simid
    -    compoundJobName:compoundJobName
    -    name:name
    -              completionHandler: ^(TaskCores output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var WrenchRestApi = require('wrench_rest_api');
    -
    -var api = new WrenchRestApi.WRENCHApi()
    -var simid = simid_example; // {{String}} ID of the simulation
    -var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
    -var name = name_example; // {{String}} Name of the action
    -
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.getTaskMinNumCores_0(simid, compoundJobName, name, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class getTaskMinNumCores_0Example
    -    {
    -        public void main()
    -        {
    -
    -            var apiInstance = new WRENCHApi();
    -            var simid = simid_example;  // String | ID of the simulation
    -            var compoundJobName = compoundJobName_example;  // String | Name of the compound job
    -            var name = name_example;  // String | Name of the action
    -
    -            try
    -            {
    -                // Get an action's minimum number of cores.
    -                TaskCores result = apiInstance.getTaskMinNumCores_0(simid, compoundJobName, name);
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling WRENCHApi.getTaskMinNumCores_0: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -$api_instance = new Swagger\Client\ApiWRENCHApi();
    -$simid = simid_example; // String | ID of the simulation
    -$compoundJobName = compoundJobName_example; // String | Name of the compound job
    -$name = name_example; // String | Name of the action
    -
    -try {
    -    $result = $api_instance->getTaskMinNumCores_0($simid, $compoundJobName, $name);
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->getTaskMinNumCores_0: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::WRENCHApi;
    -
    -my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $simid = simid_example; # String | ID of the simulation
    -my $compoundJobName = compoundJobName_example; # String | Name of the compound job
    -my $name = name_example; # String | Name of the action
    -
    -eval { 
    -    my $result = $api_instance->getTaskMinNumCores_0(simid => $simid, compoundJobName => $compoundJobName, name => $name);
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling WRENCHApi->getTaskMinNumCores_0: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -# create an instance of the API class
    -api_instance = swagger_client.WRENCHApi()
    -simid = simid_example # String | ID of the simulation
    -compoundJobName = compoundJobName_example # String | Name of the compound job
    -name = name_example # String | Name of the action
    -
    -try: 
    -    # Get an action's minimum number of cores.
    -    api_response = api_instance.get_task_min_num_cores_0(simid, compoundJobName, name)
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling WRENCHApi->getTaskMinNumCores_0: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - - - - - - - -
    NameDescription
    simid* - - -
    -
    -
    - - String - - -
    - ID of the simulation -
    -
    -
    - Required -
    -
    -
    -
    compound_job_name* - - -
    -
    -
    - - String - - -
    - Name of the compound job -
    -
    -
    - Required -
    -
    -
    -
    name* - - -
    -
    -
    - - String - - -
    - Name of the action -
    -
    -
    - Required -
    -
    -
    -
    - - - - - -

    Responses

    -

    Status: 200 - OK

    - - - -
    -
    -
    - -
    - -
    -
    - -

    Status: 404 - Job not found

    - - - -
    -
    - -

    Status: 405 - Invalid input

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    getTaskMinNumCores_34

    -

    Get an action's minimum number of cores.

    -
    -
    -
    -

    -

    -

    -
    -
    /simulation/{simid}/{compound_job_name}/actions/{name}/actionGetMinRAMFootprint
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X GET\
    --H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/{compound_job_name}/actions/{name}/actionGetMinRAMFootprint"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.WRENCHApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String compoundJobName = compoundJobName_example; // String | Name of the compound job
    -        String name = name_example; // String | Name of the action
    -        try {
    -            TaskCores result = apiInstance.getTaskMinNumCores_1(simid, compoundJobName, name);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getTaskMinNumCores_1");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.WRENCHApi;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String compoundJobName = compoundJobName_example; // String | Name of the compound job
    -        String name = name_example; // String | Name of the action
    -        try {
    -            TaskCores result = apiInstance.getTaskMinNumCores_1(simid, compoundJobName, name);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getTaskMinNumCores_1");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    String *simid = simid_example; // ID of the simulation
    -String *compoundJobName = compoundJobName_example; // Name of the compound job
    -String *name = name_example; // Name of the action
    -
    -WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
    -
    -// Get an action's minimum number of cores.
    -[apiInstance getTaskMinNumCores_34With:simid
    -    compoundJobName:compoundJobName
    -    name:name
    -              completionHandler: ^(TaskCores output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var WrenchRestApi = require('wrench_rest_api');
    -
    -var api = new WrenchRestApi.WRENCHApi()
    -var simid = simid_example; // {{String}} ID of the simulation
    -var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
    -var name = name_example; // {{String}} Name of the action
    -
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.getTaskMinNumCores_1(simid, compoundJobName, name, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class getTaskMinNumCores_1Example
    -    {
    -        public void main()
    -        {
    -
    -            var apiInstance = new WRENCHApi();
    -            var simid = simid_example;  // String | ID of the simulation
    -            var compoundJobName = compoundJobName_example;  // String | Name of the compound job
    -            var name = name_example;  // String | Name of the action
    -
    -            try
    -            {
    -                // Get an action's minimum number of cores.
    -                TaskCores result = apiInstance.getTaskMinNumCores_1(simid, compoundJobName, name);
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling WRENCHApi.getTaskMinNumCores_1: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -$api_instance = new Swagger\Client\ApiWRENCHApi();
    -$simid = simid_example; // String | ID of the simulation
    -$compoundJobName = compoundJobName_example; // String | Name of the compound job
    -$name = name_example; // String | Name of the action
    -
    -try {
    -    $result = $api_instance->getTaskMinNumCores_1($simid, $compoundJobName, $name);
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->getTaskMinNumCores_1: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::WRENCHApi;
    -
    -my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $simid = simid_example; # String | ID of the simulation
    -my $compoundJobName = compoundJobName_example; # String | Name of the compound job
    -my $name = name_example; # String | Name of the action
    -
    -eval { 
    -    my $result = $api_instance->getTaskMinNumCores_1(simid => $simid, compoundJobName => $compoundJobName, name => $name);
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling WRENCHApi->getTaskMinNumCores_1: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -# create an instance of the API class
    -api_instance = swagger_client.WRENCHApi()
    -simid = simid_example # String | ID of the simulation
    -compoundJobName = compoundJobName_example # String | Name of the compound job
    -name = name_example # String | Name of the action
    -
    -try: 
    -    # Get an action's minimum number of cores.
    -    api_response = api_instance.get_task_min_num_cores_1(simid, compoundJobName, name)
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling WRENCHApi->getTaskMinNumCores_1: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - - - - - - - -
    NameDescription
    simid* - - -
    -
    -
    - - String - - -
    - ID of the simulation -
    -
    -
    - Required -
    -
    -
    -
    compound_job_name* - - -
    -
    -
    - - String - - -
    - Name of the compound job -
    -
    -
    - Required -
    -
    -
    -
    name* - - -
    -
    -
    - - String - - -
    - Name of the action -
    -
    -
    - Required -
    -
    -
    -
    - - - - - -

    Responses

    -

    Status: 200 - OK

    - - - -
    -
    -
    - -
    - -
    -
    - -

    Status: 404 - Job not found

    - - - -
    -
    - -

    Status: 405 - Invalid input

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    getTaskOutputFiles

    -

    Retrieve task's output files

    -
    -
    -
    -

    -

    -

    -
    -
    /simulation/{simid}/workflows/{workflow_name}/tasks/{tid}/outputFiles
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X GET\
    --H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/workflows/{workflow_name}/tasks/{tid}/outputFiles"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.WRENCHApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String workflowName = workflowName_example; // String | 
    -        String tid = tid_example; // String | ID of the task
    -        try {
    -            FileList result = apiInstance.getTaskOutputFiles(simid, workflowName, tid);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getTaskOutputFiles");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.WRENCHApi;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String workflowName = workflowName_example; // String | 
    -        String tid = tid_example; // String | ID of the task
    -        try {
    -            FileList result = apiInstance.getTaskOutputFiles(simid, workflowName, tid);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getTaskOutputFiles");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    String *simid = simid_example; // ID of the simulation
    -String *workflowName = workflowName_example; // 
    -String *tid = tid_example; // ID of the task
    -
    -WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
    -
    -// Retrieve task's output files
    -[apiInstance getTaskOutputFilesWith:simid
    -    workflowName:workflowName
    -    tid:tid
    -              completionHandler: ^(FileList output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var WrenchRestApi = require('wrench_rest_api');
    -
    -var api = new WrenchRestApi.WRENCHApi()
    -var simid = simid_example; // {{String}} ID of the simulation
    -var workflowName = workflowName_example; // {{String}} 
    -var tid = tid_example; // {{String}} ID of the task
    -
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.getTaskOutputFiles(simid, workflowName, tid, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class getTaskOutputFilesExample
    -    {
    -        public void main()
    -        {
    -
    -            var apiInstance = new WRENCHApi();
    -            var simid = simid_example;  // String | ID of the simulation
    -            var workflowName = workflowName_example;  // String | 
    -            var tid = tid_example;  // String | ID of the task
    -
    -            try
    -            {
    -                // Retrieve task's output files
    -                FileList result = apiInstance.getTaskOutputFiles(simid, workflowName, tid);
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling WRENCHApi.getTaskOutputFiles: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -$api_instance = new Swagger\Client\ApiWRENCHApi();
    -$simid = simid_example; // String | ID of the simulation
    -$workflowName = workflowName_example; // String | 
    -$tid = tid_example; // String | ID of the task
    -
    -try {
    -    $result = $api_instance->getTaskOutputFiles($simid, $workflowName, $tid);
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->getTaskOutputFiles: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::WRENCHApi;
    -
    -my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $simid = simid_example; # String | ID of the simulation
    -my $workflowName = workflowName_example; # String | 
    -my $tid = tid_example; # String | ID of the task
    -
    -eval { 
    -    my $result = $api_instance->getTaskOutputFiles(simid => $simid, workflowName => $workflowName, tid => $tid);
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling WRENCHApi->getTaskOutputFiles: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -# create an instance of the API class
    -api_instance = swagger_client.WRENCHApi()
    -simid = simid_example # String | ID of the simulation
    -workflowName = workflowName_example # String | 
    -tid = tid_example # String | ID of the task
    -
    -try: 
    -    # Retrieve task's output files
    -    api_response = api_instance.get_task_output_files(simid, workflowName, tid)
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling WRENCHApi->getTaskOutputFiles: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - - - - - - - -
    NameDescription
    simid* - - -
    -
    -
    - - String - - -
    - ID of the simulation -
    -
    -
    - Required -
    -
    -
    -
    workflow_name* - - -
    -
    -
    - - String - - -
    -
    - Required -
    -
    -
    -
    tid* - - -
    -
    -
    - - String - - -
    - ID of the task -
    -
    -
    - Required -
    -
    -
    -
    - - - - - -

    Responses

    -

    Status: 200 - OK

    - - - -
    -
    -
    - -
    - -
    -
    - -

    Status: 404 - Task not found

    - - - -
    -
    - -

    Status: 405 - Invalid input

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    getTaskStartDate

    -

    Get a task's start date.

    -
    -
    -
    -

    -

    -

    -
    -
    /simulation/{simid}/workflows/{workflow_name}/tasks/{task_name}/taskGetStartDate
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X GET\
    --H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/workflows/{workflow_name}/tasks/{task_name}/taskGetStartDate"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.WRENCHApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String workflowName = workflowName_example; // String | 
    -        String taskName = taskName_example; // String | Name of the task
    -        try {
    -            TimeResponse result = apiInstance.getTaskStartDate(simid, workflowName, taskName);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getTaskStartDate");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.WRENCHApi;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String workflowName = workflowName_example; // String | 
    -        String taskName = taskName_example; // String | Name of the task
    -        try {
    -            TimeResponse result = apiInstance.getTaskStartDate(simid, workflowName, taskName);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getTaskStartDate");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    String *simid = simid_example; // ID of the simulation
    -String *workflowName = workflowName_example; // 
    -String *taskName = taskName_example; // Name of the task
    -
    -WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
    -
    -// Get a task's start date.
    -[apiInstance getTaskStartDateWith:simid
    -    workflowName:workflowName
    -    taskName:taskName
    -              completionHandler: ^(TimeResponse output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var WrenchRestApi = require('wrench_rest_api');
    -
    -var api = new WrenchRestApi.WRENCHApi()
    -var simid = simid_example; // {{String}} ID of the simulation
    -var workflowName = workflowName_example; // {{String}} 
    -var taskName = taskName_example; // {{String}} Name of the task
    -
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.getTaskStartDate(simid, workflowName, taskName, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class getTaskStartDateExample
    -    {
    -        public void main()
    -        {
    -
    -            var apiInstance = new WRENCHApi();
    -            var simid = simid_example;  // String | ID of the simulation
    -            var workflowName = workflowName_example;  // String | 
    -            var taskName = taskName_example;  // String | Name of the task
    -
    -            try
    -            {
    -                // Get a task's start date.
    -                TimeResponse result = apiInstance.getTaskStartDate(simid, workflowName, taskName);
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling WRENCHApi.getTaskStartDate: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -$api_instance = new Swagger\Client\ApiWRENCHApi();
    -$simid = simid_example; // String | ID of the simulation
    -$workflowName = workflowName_example; // String | 
    -$taskName = taskName_example; // String | Name of the task
    -
    -try {
    -    $result = $api_instance->getTaskStartDate($simid, $workflowName, $taskName);
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->getTaskStartDate: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::WRENCHApi;
    -
    -my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $simid = simid_example; # String | ID of the simulation
    -my $workflowName = workflowName_example; # String | 
    -my $taskName = taskName_example; # String | Name of the task
    -
    -eval { 
    -    my $result = $api_instance->getTaskStartDate(simid => $simid, workflowName => $workflowName, taskName => $taskName);
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling WRENCHApi->getTaskStartDate: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -# create an instance of the API class
    -api_instance = swagger_client.WRENCHApi()
    -simid = simid_example # String | ID of the simulation
    -workflowName = workflowName_example # String | 
    -taskName = taskName_example # String | Name of the task
    -
    -try: 
    -    # Get a task's start date.
    -    api_response = api_instance.get_task_start_date(simid, workflowName, taskName)
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling WRENCHApi->getTaskStartDate: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - - - - - - - -
    NameDescription
    simid* - - -
    -
    -
    - - String - - -
    - ID of the simulation -
    -
    -
    - Required -
    -
    -
    -
    workflow_name* - - -
    -
    -
    - - String - - -
    -
    - Required -
    -
    -
    -
    task_name* - - -
    -
    -
    - - String - - -
    - Name of the task -
    -
    -
    - Required -
    -
    -
    -
    - - - - - -

    Responses

    -

    Status: 200 - OK

    - - - -
    -
    -
    - -
    - -
    -
    - -

    Status: 404 - Job not found

    - - - -
    -
    - -

    Status: 405 - Invalid input

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    getTaskStartDate_35

    -

    Get an action's start date.

    -
    -
    -
    -

    -

    -

    -
    -
    /simulation/{simid}/{compound_job_name}/actions/{name}/actionGetStartDate
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X GET\
    --H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/{compound_job_name}/actions/{name}/actionGetStartDate"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.WRENCHApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String compoundJobName = compoundJobName_example; // String | Name of the compound job
    -        String name = name_example; // String | Name of the action
    -        try {
    -            TimeResponse result = apiInstance.getTaskStartDate_0(simid, compoundJobName, name);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getTaskStartDate_0");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.WRENCHApi;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String compoundJobName = compoundJobName_example; // String | Name of the compound job
    -        String name = name_example; // String | Name of the action
    -        try {
    -            TimeResponse result = apiInstance.getTaskStartDate_0(simid, compoundJobName, name);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getTaskStartDate_0");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    String *simid = simid_example; // ID of the simulation
    -String *compoundJobName = compoundJobName_example; // Name of the compound job
    -String *name = name_example; // Name of the action
    -
    -WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
    -
    -// Get an action's start date.
    -[apiInstance getTaskStartDate_35With:simid
    -    compoundJobName:compoundJobName
    -    name:name
    -              completionHandler: ^(TimeResponse output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var WrenchRestApi = require('wrench_rest_api');
    -
    -var api = new WrenchRestApi.WRENCHApi()
    -var simid = simid_example; // {{String}} ID of the simulation
    -var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
    -var name = name_example; // {{String}} Name of the action
    -
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.getTaskStartDate_0(simid, compoundJobName, name, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class getTaskStartDate_0Example
    -    {
    -        public void main()
    -        {
    -
    -            var apiInstance = new WRENCHApi();
    -            var simid = simid_example;  // String | ID of the simulation
    -            var compoundJobName = compoundJobName_example;  // String | Name of the compound job
    -            var name = name_example;  // String | Name of the action
    -
    -            try
    -            {
    -                // Get an action's start date.
    -                TimeResponse result = apiInstance.getTaskStartDate_0(simid, compoundJobName, name);
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling WRENCHApi.getTaskStartDate_0: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -$api_instance = new Swagger\Client\ApiWRENCHApi();
    -$simid = simid_example; // String | ID of the simulation
    -$compoundJobName = compoundJobName_example; // String | Name of the compound job
    -$name = name_example; // String | Name of the action
    -
    -try {
    -    $result = $api_instance->getTaskStartDate_0($simid, $compoundJobName, $name);
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->getTaskStartDate_0: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::WRENCHApi;
    -
    -my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $simid = simid_example; # String | ID of the simulation
    -my $compoundJobName = compoundJobName_example; # String | Name of the compound job
    -my $name = name_example; # String | Name of the action
    -
    -eval { 
    -    my $result = $api_instance->getTaskStartDate_0(simid => $simid, compoundJobName => $compoundJobName, name => $name);
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling WRENCHApi->getTaskStartDate_0: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -# create an instance of the API class
    -api_instance = swagger_client.WRENCHApi()
    -simid = simid_example # String | ID of the simulation
    -compoundJobName = compoundJobName_example # String | Name of the compound job
    -name = name_example # String | Name of the action
    -
    -try: 
    -    # Get an action's start date.
    -    api_response = api_instance.get_task_start_date_0(simid, compoundJobName, name)
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling WRENCHApi->getTaskStartDate_0: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - - - - - - - -
    NameDescription
    simid* - - -
    -
    -
    - - String - - -
    - ID of the simulation -
    -
    -
    - Required -
    -
    -
    -
    compound_job_name* - - -
    -
    -
    - - String - - -
    - Name of the compound job -
    -
    -
    - Required -
    -
    -
    -
    name* - - -
    -
    -
    - - String - - -
    - Name of the action -
    -
    -
    - Required -
    -
    -
    -
    - - - - - -

    Responses

    -

    Status: 200 - OK

    - - - -
    -
    -
    - -
    - -
    -
    - -

    Status: 404 - Job not found

    - - - -
    -
    - -

    Status: 405 - Invalid input

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    getVMComputeService

    -

    Get the compute service running on a VM, if any.

    -
    -
    -
    -

    -

    -

    -
    -
    /simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/getVMComputeService
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X GET\
    --H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/getVMComputeService"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.WRENCHApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String serviceName = serviceName_example; // String | The cloud compute service name
    -        String vmName = vmName_example; // String | The VM name
    -        try {
    -            ServiceResponse result = apiInstance.getVMComputeService(simid, serviceName, vmName);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getVMComputeService");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.WRENCHApi;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String serviceName = serviceName_example; // String | The cloud compute service name
    -        String vmName = vmName_example; // String | The VM name
    -        try {
    -            ServiceResponse result = apiInstance.getVMComputeService(simid, serviceName, vmName);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getVMComputeService");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    String *simid = simid_example; // ID of the simulation
    -String *serviceName = serviceName_example; // The cloud compute service name
    -String *vmName = vmName_example; // The VM name
    -
    -WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
    -
    -// Get the compute service running on a VM, if any.
    -[apiInstance getVMComputeServiceWith:simid
    -    serviceName:serviceName
    -    vmName:vmName
    -              completionHandler: ^(ServiceResponse output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var WrenchRestApi = require('wrench_rest_api');
    -
    -var api = new WrenchRestApi.WRENCHApi()
    -var simid = simid_example; // {{String}} ID of the simulation
    -var serviceName = serviceName_example; // {{String}} The cloud compute service name
    -var vmName = vmName_example; // {{String}} The VM name
    -
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.getVMComputeService(simid, serviceName, vmName, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class getVMComputeServiceExample
    -    {
    -        public void main()
    -        {
    -
    -            var apiInstance = new WRENCHApi();
    -            var simid = simid_example;  // String | ID of the simulation
    -            var serviceName = serviceName_example;  // String | The cloud compute service name
    -            var vmName = vmName_example;  // String | The VM name
    -
    -            try
    -            {
    -                // Get the compute service running on a VM, if any.
    -                ServiceResponse result = apiInstance.getVMComputeService(simid, serviceName, vmName);
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling WRENCHApi.getVMComputeService: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -$api_instance = new Swagger\Client\ApiWRENCHApi();
    -$simid = simid_example; // String | ID of the simulation
    -$serviceName = serviceName_example; // String | The cloud compute service name
    -$vmName = vmName_example; // String | The VM name
    -
    -try {
    -    $result = $api_instance->getVMComputeService($simid, $serviceName, $vmName);
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->getVMComputeService: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::WRENCHApi;
    -
    -my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $simid = simid_example; # String | ID of the simulation
    -my $serviceName = serviceName_example; # String | The cloud compute service name
    -my $vmName = vmName_example; # String | The VM name
    -
    -eval { 
    -    my $result = $api_instance->getVMComputeService(simid => $simid, serviceName => $serviceName, vmName => $vmName);
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling WRENCHApi->getVMComputeService: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -# create an instance of the API class
    -api_instance = swagger_client.WRENCHApi()
    -simid = simid_example # String | ID of the simulation
    -serviceName = serviceName_example # String | The cloud compute service name
    -vmName = vmName_example # String | The VM name
    -
    -try: 
    -    # Get the compute service running on a VM, if any.
    -    api_response = api_instance.get_vm_compute_service(simid, serviceName, vmName)
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling WRENCHApi->getVMComputeService: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - - - - - - - -
    NameDescription
    simid* - - -
    -
    -
    - - String - - -
    - ID of the simulation -
    -
    -
    - Required -
    -
    -
    -
    service_name* - - -
    -
    -
    - - String - - -
    - The cloud compute service name -
    -
    -
    - Required -
    -
    -
    -
    vm_name* - - -
    -
    -
    - - String - - -
    - The VM name -
    -
    -
    - Required -
    -
    -
    -
    - - - - - -

    Responses

    -

    Status: 200 - OK

    - - - -
    -
    -
    - -
    - -
    -
    - -

    Status: 405 - Invalid input

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    getVMPhysicalHostname

    -

    Get the name of the physical host on which a VM is running.

    -
    -
    -
    -

    -

    -

    -
    -
    /simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/getVMPhysicalHostname
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X GET\
    --H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/getVMPhysicalHostname"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.WRENCHApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String serviceName = serviceName_example; // String | The cloud compute service name
    -        String vmName = vmName_example; // String | The VM name
    -        try {
    -            ServiceResponse result = apiInstance.getVMPhysicalHostname(simid, serviceName, vmName);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getVMPhysicalHostname");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.WRENCHApi;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String serviceName = serviceName_example; // String | The cloud compute service name
    -        String vmName = vmName_example; // String | The VM name
    -        try {
    -            ServiceResponse result = apiInstance.getVMPhysicalHostname(simid, serviceName, vmName);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#getVMPhysicalHostname");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    String *simid = simid_example; // ID of the simulation
    -String *serviceName = serviceName_example; // The cloud compute service name
    -String *vmName = vmName_example; // The VM name
    -
    -WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
    -
    -// Get the name of the physical host on which a VM is running.
    -[apiInstance getVMPhysicalHostnameWith:simid
    -    serviceName:serviceName
    -    vmName:vmName
    -              completionHandler: ^(ServiceResponse output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var WrenchRestApi = require('wrench_rest_api');
    -
    -var api = new WrenchRestApi.WRENCHApi()
    -var simid = simid_example; // {{String}} ID of the simulation
    -var serviceName = serviceName_example; // {{String}} The cloud compute service name
    -var vmName = vmName_example; // {{String}} The VM name
    -
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.getVMPhysicalHostname(simid, serviceName, vmName, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class getVMPhysicalHostnameExample
    -    {
    -        public void main()
    -        {
    -
    -            var apiInstance = new WRENCHApi();
    -            var simid = simid_example;  // String | ID of the simulation
    -            var serviceName = serviceName_example;  // String | The cloud compute service name
    -            var vmName = vmName_example;  // String | The VM name
    -
    -            try
    -            {
    -                // Get the name of the physical host on which a VM is running.
    -                ServiceResponse result = apiInstance.getVMPhysicalHostname(simid, serviceName, vmName);
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling WRENCHApi.getVMPhysicalHostname: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -$api_instance = new Swagger\Client\ApiWRENCHApi();
    -$simid = simid_example; // String | ID of the simulation
    -$serviceName = serviceName_example; // String | The cloud compute service name
    -$vmName = vmName_example; // String | The VM name
    -
    -try {
    -    $result = $api_instance->getVMPhysicalHostname($simid, $serviceName, $vmName);
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->getVMPhysicalHostname: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::WRENCHApi;
    -
    -my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $simid = simid_example; # String | ID of the simulation
    -my $serviceName = serviceName_example; # String | The cloud compute service name
    -my $vmName = vmName_example; # String | The VM name
    -
    -eval { 
    -    my $result = $api_instance->getVMPhysicalHostname(simid => $simid, serviceName => $serviceName, vmName => $vmName);
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling WRENCHApi->getVMPhysicalHostname: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -# create an instance of the API class
    -api_instance = swagger_client.WRENCHApi()
    -simid = simid_example # String | ID of the simulation
    -serviceName = serviceName_example # String | The cloud compute service name
    -vmName = vmName_example # String | The VM name
    -
    -try: 
    -    # Get the name of the physical host on which a VM is running.
    -    api_response = api_instance.get_vm_physical_hostname(simid, serviceName, vmName)
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling WRENCHApi->getVMPhysicalHostname: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - - - - - - - -
    NameDescription
    simid* - - -
    -
    -
    - - String - - -
    - ID of the simulation -
    -
    -
    - Required -
    -
    -
    -
    service_name* - - -
    -
    -
    - - String - - -
    - The cloud compute service name -
    -
    -
    - Required -
    -
    -
    -
    vm_name* - - -
    -
    -
    - - String - - -
    - The VM name -
    -
    -
    - Required -
    -
    -
    -
    - - - - - -

    Responses

    -

    Status: 200 - OK

    - - - -
    -
    -
    - -
    - -
    -
    - -

    Status: 405 - Invalid input

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    isVMDown

    -

    Method to check whether a VM is currently down.

    -
    -
    -
    -

    -

    -

    -
    -
    /simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/isVMDown
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X GET\
    --H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/isVMDown"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.WRENCHApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String serviceName = serviceName_example; // String | The cloud compute service name
    -        String vmName = vmName_example; // String | The VM name
    -        try {
    -            ServiceResponse result = apiInstance.isVMDown(simid, serviceName, vmName);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#isVMDown");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.WRENCHApi;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String serviceName = serviceName_example; // String | The cloud compute service name
    -        String vmName = vmName_example; // String | The VM name
    -        try {
    -            ServiceResponse result = apiInstance.isVMDown(simid, serviceName, vmName);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#isVMDown");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    String *simid = simid_example; // ID of the simulation
    -String *serviceName = serviceName_example; // The cloud compute service name
    -String *vmName = vmName_example; // The VM name
    -
    -WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
    -
    -// Method to check whether a VM is currently down.
    -[apiInstance isVMDownWith:simid
    -    serviceName:serviceName
    -    vmName:vmName
    -              completionHandler: ^(ServiceResponse output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var WrenchRestApi = require('wrench_rest_api');
    -
    -var api = new WrenchRestApi.WRENCHApi()
    -var simid = simid_example; // {{String}} ID of the simulation
    -var serviceName = serviceName_example; // {{String}} The cloud compute service name
    -var vmName = vmName_example; // {{String}} The VM name
    -
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.isVMDown(simid, serviceName, vmName, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class isVMDownExample
    -    {
    -        public void main()
    -        {
    -
    -            var apiInstance = new WRENCHApi();
    -            var simid = simid_example;  // String | ID of the simulation
    -            var serviceName = serviceName_example;  // String | The cloud compute service name
    -            var vmName = vmName_example;  // String | The VM name
    -
    -            try
    -            {
    -                // Method to check whether a VM is currently down.
    -                ServiceResponse result = apiInstance.isVMDown(simid, serviceName, vmName);
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling WRENCHApi.isVMDown: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -$api_instance = new Swagger\Client\ApiWRENCHApi();
    -$simid = simid_example; // String | ID of the simulation
    -$serviceName = serviceName_example; // String | The cloud compute service name
    -$vmName = vmName_example; // String | The VM name
    -
    -try {
    -    $result = $api_instance->isVMDown($simid, $serviceName, $vmName);
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->isVMDown: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::WRENCHApi;
    -
    -my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $simid = simid_example; # String | ID of the simulation
    -my $serviceName = serviceName_example; # String | The cloud compute service name
    -my $vmName = vmName_example; # String | The VM name
    -
    -eval { 
    -    my $result = $api_instance->isVMDown(simid => $simid, serviceName => $serviceName, vmName => $vmName);
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling WRENCHApi->isVMDown: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -# create an instance of the API class
    -api_instance = swagger_client.WRENCHApi()
    -simid = simid_example # String | ID of the simulation
    -serviceName = serviceName_example # String | The cloud compute service name
    -vmName = vmName_example # String | The VM name
    -
    -try: 
    -    # Method to check whether a VM is currently down.
    -    api_response = api_instance.is_vm_down(simid, serviceName, vmName)
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling WRENCHApi->isVMDown: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - - - - - - - -
    NameDescription
    simid* - - -
    -
    -
    - - String - - -
    - ID of the simulation -
    -
    -
    - Required -
    -
    -
    -
    service_name* - - -
    -
    -
    - - String - - -
    - The cloud compute service name -
    -
    -
    - Required -
    -
    -
    -
    vm_name* - - -
    -
    -
    - - String - - -
    - The VM name -
    -
    -
    - Required -
    -
    -
    -
    - - - - - -

    Responses

    -

    Status: 200 - OK

    - - - -
    -
    -
    - -
    - -
    -
    - -

    Status: 405 - Invalid input

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    isVMRunning

    -

    Method to check whether a VM is currently running.

    -
    -
    -
    -

    -

    -

    -
    -
    /simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/isVMRunning
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X GET\
    --H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/isVMRunning"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.WRENCHApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String serviceName = serviceName_example; // String | Name of the cloud compute service
    -        String vmName = vmName_example; // String | Name of the vm
    -        try {
    -            ServiceResponse result = apiInstance.isVMRunning(simid, serviceName, vmName);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#isVMRunning");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.WRENCHApi;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String serviceName = serviceName_example; // String | Name of the cloud compute service
    -        String vmName = vmName_example; // String | Name of the vm
    -        try {
    -            ServiceResponse result = apiInstance.isVMRunning(simid, serviceName, vmName);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#isVMRunning");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    String *simid = simid_example; // ID of the simulation
    -String *serviceName = serviceName_example; // Name of the cloud compute service
    -String *vmName = vmName_example; // Name of the vm
    -
    -WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
    -
    -// Method to check whether a VM is currently running.
    -[apiInstance isVMRunningWith:simid
    -    serviceName:serviceName
    -    vmName:vmName
    -              completionHandler: ^(ServiceResponse output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var WrenchRestApi = require('wrench_rest_api');
    -
    -var api = new WrenchRestApi.WRENCHApi()
    -var simid = simid_example; // {{String}} ID of the simulation
    -var serviceName = serviceName_example; // {{String}} Name of the cloud compute service
    -var vmName = vmName_example; // {{String}} Name of the vm
    -
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.isVMRunning(simid, serviceName, vmName, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class isVMRunningExample
    -    {
    -        public void main()
    -        {
    -
    -            var apiInstance = new WRENCHApi();
    -            var simid = simid_example;  // String | ID of the simulation
    -            var serviceName = serviceName_example;  // String | Name of the cloud compute service
    -            var vmName = vmName_example;  // String | Name of the vm
    -
    -            try
    -            {
    -                // Method to check whether a VM is currently running.
    -                ServiceResponse result = apiInstance.isVMRunning(simid, serviceName, vmName);
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling WRENCHApi.isVMRunning: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -$api_instance = new Swagger\Client\ApiWRENCHApi();
    -$simid = simid_example; // String | ID of the simulation
    -$serviceName = serviceName_example; // String | Name of the cloud compute service
    -$vmName = vmName_example; // String | Name of the vm
    -
    -try {
    -    $result = $api_instance->isVMRunning($simid, $serviceName, $vmName);
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->isVMRunning: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::WRENCHApi;
    -
    -my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $simid = simid_example; # String | ID of the simulation
    -my $serviceName = serviceName_example; # String | Name of the cloud compute service
    -my $vmName = vmName_example; # String | Name of the vm
    -
    -eval { 
    -    my $result = $api_instance->isVMRunning(simid => $simid, serviceName => $serviceName, vmName => $vmName);
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling WRENCHApi->isVMRunning: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -# create an instance of the API class
    -api_instance = swagger_client.WRENCHApi()
    -simid = simid_example # String | ID of the simulation
    -serviceName = serviceName_example # String | Name of the cloud compute service
    -vmName = vmName_example # String | Name of the vm
    -
    -try: 
    -    # Method to check whether a VM is currently running.
    -    api_response = api_instance.is_vm_running(simid, serviceName, vmName)
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling WRENCHApi->isVMRunning: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - - - - - - - -
    NameDescription
    simid* - - -
    -
    -
    - - String - - -
    - ID of the simulation -
    -
    -
    - Required -
    -
    -
    -
    service_name* - - -
    -
    -
    - - String - - -
    - Name of the cloud compute service -
    -
    -
    - Required -
    -
    -
    -
    vm_name* - - -
    -
    -
    - - String - - -
    - Name of the vm -
    -
    -
    - Required -
    -
    -
    -
    - - - - - -

    Responses

    -

    Status: 200 - OK

    - - - -
    -
    -
    - -
    - -
    -
    - -

    Status: 405 - Invalid input

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    isVMSuspended

    -

    Method to check whether a VM is currently suspended.

    -
    -
    -
    -

    -

    -

    -
    -
    /simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/isVMSuspended
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X GET\
    --H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/isVMSuspended"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.WRENCHApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String serviceName = serviceName_example; // String | The cloud compute service name
    -        String vmName = vmName_example; // String | The VM name
    -        try {
    -            ServiceResponse result = apiInstance.isVMSuspended(simid, serviceName, vmName);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#isVMSuspended");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.WRENCHApi;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String serviceName = serviceName_example; // String | The cloud compute service name
    -        String vmName = vmName_example; // String | The VM name
    -        try {
    -            ServiceResponse result = apiInstance.isVMSuspended(simid, serviceName, vmName);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#isVMSuspended");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    String *simid = simid_example; // ID of the simulation
    -String *serviceName = serviceName_example; // The cloud compute service name
    -String *vmName = vmName_example; // The VM name
    -
    -WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
    -
    -// Method to check whether a VM is currently suspended.
    -[apiInstance isVMSuspendedWith:simid
    -    serviceName:serviceName
    -    vmName:vmName
    -              completionHandler: ^(ServiceResponse output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var WrenchRestApi = require('wrench_rest_api');
    -
    -var api = new WrenchRestApi.WRENCHApi()
    -var simid = simid_example; // {{String}} ID of the simulation
    -var serviceName = serviceName_example; // {{String}} The cloud compute service name
    -var vmName = vmName_example; // {{String}} The VM name
    -
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.isVMSuspended(simid, serviceName, vmName, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class isVMSuspendedExample
    -    {
    -        public void main()
    -        {
    -
    -            var apiInstance = new WRENCHApi();
    -            var simid = simid_example;  // String | ID of the simulation
    -            var serviceName = serviceName_example;  // String | The cloud compute service name
    -            var vmName = vmName_example;  // String | The VM name
    -
    -            try
    -            {
    -                // Method to check whether a VM is currently suspended.
    -                ServiceResponse result = apiInstance.isVMSuspended(simid, serviceName, vmName);
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling WRENCHApi.isVMSuspended: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -$api_instance = new Swagger\Client\ApiWRENCHApi();
    -$simid = simid_example; // String | ID of the simulation
    -$serviceName = serviceName_example; // String | The cloud compute service name
    -$vmName = vmName_example; // String | The VM name
    -
    -try {
    -    $result = $api_instance->isVMSuspended($simid, $serviceName, $vmName);
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->isVMSuspended: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::WRENCHApi;
    -
    -my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $simid = simid_example; # String | ID of the simulation
    -my $serviceName = serviceName_example; # String | The cloud compute service name
    -my $vmName = vmName_example; # String | The VM name
    -
    -eval { 
    -    my $result = $api_instance->isVMSuspended(simid => $simid, serviceName => $serviceName, vmName => $vmName);
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling WRENCHApi->isVMSuspended: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -# create an instance of the API class
    -api_instance = swagger_client.WRENCHApi()
    -simid = simid_example # String | ID of the simulation
    -serviceName = serviceName_example # String | The cloud compute service name
    -vmName = vmName_example # String | The VM name
    -
    -try: 
    -    # Method to check whether a VM is currently suspended.
    -    api_response = api_instance.is_vm_suspended(simid, serviceName, vmName)
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling WRENCHApi->isVMSuspended: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - - - - - - - -
    NameDescription
    simid* - - -
    -
    -
    - - String - - -
    - ID of the simulation -
    -
    -
    - Required -
    -
    -
    -
    service_name* - - -
    -
    -
    - - String - - -
    - The cloud compute service name -
    -
    -
    - Required -
    -
    -
    -
    vm_name* - - -
    -
    -
    - - String - - -
    - The VM name -
    -
    -
    - Required -
    -
    -
    -
    - - - - - -

    Responses

    -

    Status: 200 - OK

    - - - -
    -
    -
    - -
    - -
    -
    - -

    Status: 405 - Invalid input

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    lookupFileAtStorageService

    -

    Check if a copy of a file is stored at a storage service.

    -
    -
    -
    -

    -

    -

    -
    -
    /simulation/{simid}/storage_services/{service_name}/lookupFile
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X POST\
    --H "Accept: application/json"\
    --H "Content-Type: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/storage_services/{service_name}/lookupFile"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.WRENCHApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        Service_name_lookupFile_body body = ; // Service_name_lookupFile_body | Input to start a new service.
    -        String simid = simid_example; // String | ID of the simulation
    -        String serviceName = serviceName_example; // String | The storage service's head host
    -        try {
    -            BooleanResponse result = apiInstance.lookupFileAtStorageService(body, simid, serviceName);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#lookupFileAtStorageService");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.WRENCHApi;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        Service_name_lookupFile_body body = ; // Service_name_lookupFile_body | Input to start a new service.
    -        String simid = simid_example; // String | ID of the simulation
    -        String serviceName = serviceName_example; // String | The storage service's head host
    -        try {
    -            BooleanResponse result = apiInstance.lookupFileAtStorageService(body, simid, serviceName);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#lookupFileAtStorageService");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    Service_name_lookupFile_body *body = ; // Input to start a new service.
    -String *simid = simid_example; // ID of the simulation
    -String *serviceName = serviceName_example; // The storage service's head host
    -
    -WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
    -
    -// Check if a copy of a file is stored at a storage service.
    -[apiInstance lookupFileAtStorageServiceWith:body
    -    simid:simid
    -    serviceName:serviceName
    -              completionHandler: ^(BooleanResponse output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var WrenchRestApi = require('wrench_rest_api');
    -
    -var api = new WrenchRestApi.WRENCHApi()
    -var body = ; // {{Service_name_lookupFile_body}} Input to start a new service.
    -var simid = simid_example; // {{String}} ID of the simulation
    -var serviceName = serviceName_example; // {{String}} The storage service's head host
    -
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.lookupFileAtStorageService(bodysimidserviceName, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class lookupFileAtStorageServiceExample
    -    {
    -        public void main()
    -        {
    -
    -            var apiInstance = new WRENCHApi();
    -            var body = new Service_name_lookupFile_body(); // Service_name_lookupFile_body | Input to start a new service.
    -            var simid = simid_example;  // String | ID of the simulation
    -            var serviceName = serviceName_example;  // String | The storage service's head host
    -
    -            try
    -            {
    -                // Check if a copy of a file is stored at a storage service.
    -                BooleanResponse result = apiInstance.lookupFileAtStorageService(body, simid, serviceName);
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling WRENCHApi.lookupFileAtStorageService: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -$api_instance = new Swagger\Client\ApiWRENCHApi();
    -$body = ; // Service_name_lookupFile_body | Input to start a new service.
    -$simid = simid_example; // String | ID of the simulation
    -$serviceName = serviceName_example; // String | The storage service's head host
    -
    -try {
    -    $result = $api_instance->lookupFileAtStorageService($body, $simid, $serviceName);
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->lookupFileAtStorageService: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::WRENCHApi;
    -
    -my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $body = WWW::SwaggerClient::Object::Service_name_lookupFile_body->new(); # Service_name_lookupFile_body | Input to start a new service.
    -my $simid = simid_example; # String | ID of the simulation
    -my $serviceName = serviceName_example; # String | The storage service's head host
    -
    -eval { 
    -    my $result = $api_instance->lookupFileAtStorageService(body => $body, simid => $simid, serviceName => $serviceName);
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling WRENCHApi->lookupFileAtStorageService: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -# create an instance of the API class
    -api_instance = swagger_client.WRENCHApi()
    -body =  # Service_name_lookupFile_body | Input to start a new service.
    -simid = simid_example # String | ID of the simulation
    -serviceName = serviceName_example # String | The storage service's head host
    -
    -try: 
    -    # Check if a copy of a file is stored at a storage service.
    -    api_response = api_instance.lookup_file_at_storage_service(body, simid, serviceName)
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling WRENCHApi->lookupFileAtStorageService: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - - - - -
    NameDescription
    simid* - - -
    -
    -
    - - String - - -
    - ID of the simulation -
    -
    -
    - Required -
    -
    -
    -
    service_name* - - -
    -
    -
    - - String - - -
    - The storage service's head host -
    -
    -
    - Required -
    -
    -
    -
    - - -
    Body parameters
    - - - - - - - - -
    NameDescription
    body * - - - -
    -
    - - - -

    Responses

    -

    Status: 200 - OK

    - - - -
    -
    -
    - -
    - -
    -
    - -

    Status: 404 - Simulation or storage service not found

    - - - -
    -
    - -

    Status: 405 - Invalid input

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    resumeVM

    -

    Resume a suspended VM.

    -
    -
    -
    -

    -

    -

    -
    -
    /simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/resumeVM
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X POST\
    --H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/resumeVM"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.WRENCHApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String serviceName = serviceName_example; // String | The cloud compute service name
    -        String vmName = vmName_example; // String | The VM name
    -        try {
    -            GenericResponse result = apiInstance.resumeVM(simid, serviceName, vmName);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#resumeVM");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.WRENCHApi;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String serviceName = serviceName_example; // String | The cloud compute service name
    -        String vmName = vmName_example; // String | The VM name
    -        try {
    -            GenericResponse result = apiInstance.resumeVM(simid, serviceName, vmName);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#resumeVM");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    String *simid = simid_example; // ID of the simulation
    -String *serviceName = serviceName_example; // The cloud compute service name
    -String *vmName = vmName_example; // The VM name
    -
    -WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
    -
    -// Resume a suspended VM.
    -[apiInstance resumeVMWith:simid
    -    serviceName:serviceName
    -    vmName:vmName
    -              completionHandler: ^(GenericResponse output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var WrenchRestApi = require('wrench_rest_api');
    -
    -var api = new WrenchRestApi.WRENCHApi()
    -var simid = simid_example; // {{String}} ID of the simulation
    -var serviceName = serviceName_example; // {{String}} The cloud compute service name
    -var vmName = vmName_example; // {{String}} The VM name
    -
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.resumeVM(simid, serviceName, vmName, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class resumeVMExample
    -    {
    -        public void main()
    -        {
    -
    -            var apiInstance = new WRENCHApi();
    -            var simid = simid_example;  // String | ID of the simulation
    -            var serviceName = serviceName_example;  // String | The cloud compute service name
    -            var vmName = vmName_example;  // String | The VM name
    -
    -            try
    -            {
    -                // Resume a suspended VM.
    -                GenericResponse result = apiInstance.resumeVM(simid, serviceName, vmName);
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling WRENCHApi.resumeVM: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -$api_instance = new Swagger\Client\ApiWRENCHApi();
    -$simid = simid_example; // String | ID of the simulation
    -$serviceName = serviceName_example; // String | The cloud compute service name
    -$vmName = vmName_example; // String | The VM name
    -
    -try {
    -    $result = $api_instance->resumeVM($simid, $serviceName, $vmName);
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->resumeVM: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::WRENCHApi;
    -
    -my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $simid = simid_example; # String | ID of the simulation
    -my $serviceName = serviceName_example; # String | The cloud compute service name
    -my $vmName = vmName_example; # String | The VM name
    -
    -eval { 
    -    my $result = $api_instance->resumeVM(simid => $simid, serviceName => $serviceName, vmName => $vmName);
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling WRENCHApi->resumeVM: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -# create an instance of the API class
    -api_instance = swagger_client.WRENCHApi()
    -simid = simid_example # String | ID of the simulation
    -serviceName = serviceName_example # String | The cloud compute service name
    -vmName = vmName_example # String | The VM name
    -
    -try: 
    -    # Resume a suspended VM.
    -    api_response = api_instance.resume_vm(simid, serviceName, vmName)
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling WRENCHApi->resumeVM: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - - - - - - - -
    NameDescription
    simid* - - -
    -
    -
    - - String - - -
    - ID of the simulation -
    -
    -
    - Required -
    -
    -
    -
    service_name* - - -
    -
    -
    - - String - - -
    - The cloud compute service name -
    -
    -
    - Required -
    -
    -
    -
    vm_name* - - -
    -
    -
    - - String - - -
    - The VM name -
    -
    -
    - Required -
    -
    -
    -
    - - - - - -

    Responses

    -

    Status: 200 - OK

    - - - -
    -
    -
    - -
    - -
    -
    - -

    Status: 405 - Invalid input

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    shutdownVM

    -

    Shutdown a VM.

    -
    -
    -
    -

    -

    -

    -
    -
    /simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/shutdownVM
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X POST\
    --H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/shutdownVM"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.WRENCHApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String serviceName = serviceName_example; // String | The cloud compute service name
    -        String vmName = vmName_example; // String | The VM name
    -        try {
    -            ServiceResponse result = apiInstance.shutdownVM(simid, serviceName, vmName);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#shutdownVM");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.WRENCHApi;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String serviceName = serviceName_example; // String | The cloud compute service name
    -        String vmName = vmName_example; // String | The VM name
    -        try {
    -            ServiceResponse result = apiInstance.shutdownVM(simid, serviceName, vmName);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#shutdownVM");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    String *simid = simid_example; // ID of the simulation
    -String *serviceName = serviceName_example; // The cloud compute service name
    -String *vmName = vmName_example; // The VM name
    -
    -WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
    -
    -// Shutdown a VM.
    -[apiInstance shutdownVMWith:simid
    -    serviceName:serviceName
    -    vmName:vmName
    -              completionHandler: ^(ServiceResponse output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var WrenchRestApi = require('wrench_rest_api');
    -
    -var api = new WrenchRestApi.WRENCHApi()
    -var simid = simid_example; // {{String}} ID of the simulation
    -var serviceName = serviceName_example; // {{String}} The cloud compute service name
    -var vmName = vmName_example; // {{String}} The VM name
    -
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.shutdownVM(simid, serviceName, vmName, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class shutdownVMExample
    -    {
    -        public void main()
    -        {
    -
    -            var apiInstance = new WRENCHApi();
    -            var simid = simid_example;  // String | ID of the simulation
    -            var serviceName = serviceName_example;  // String | The cloud compute service name
    -            var vmName = vmName_example;  // String | The VM name
    -
    -            try
    -            {
    -                // Shutdown a VM.
    -                ServiceResponse result = apiInstance.shutdownVM(simid, serviceName, vmName);
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling WRENCHApi.shutdownVM: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -$api_instance = new Swagger\Client\ApiWRENCHApi();
    -$simid = simid_example; // String | ID of the simulation
    -$serviceName = serviceName_example; // String | The cloud compute service name
    -$vmName = vmName_example; // String | The VM name
    -
    -try {
    -    $result = $api_instance->shutdownVM($simid, $serviceName, $vmName);
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->shutdownVM: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::WRENCHApi;
    -
    -my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $simid = simid_example; # String | ID of the simulation
    -my $serviceName = serviceName_example; # String | The cloud compute service name
    -my $vmName = vmName_example; # String | The VM name
    -
    -eval { 
    -    my $result = $api_instance->shutdownVM(simid => $simid, serviceName => $serviceName, vmName => $vmName);
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling WRENCHApi->shutdownVM: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -# create an instance of the API class
    -api_instance = swagger_client.WRENCHApi()
    -simid = simid_example # String | ID of the simulation
    -serviceName = serviceName_example # String | The cloud compute service name
    -vmName = vmName_example # String | The VM name
    -
    -try: 
    -    # Shutdown a VM.
    -    api_response = api_instance.shutdown_vm(simid, serviceName, vmName)
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling WRENCHApi->shutdownVM: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - - - - - - - -
    NameDescription
    simid* - - -
    -
    -
    - - String - - -
    - ID of the simulation -
    -
    -
    - Required -
    -
    -
    -
    service_name* - - -
    -
    -
    - - String - - -
    - The cloud compute service name -
    -
    -
    - Required -
    -
    -
    -
    vm_name* - - -
    -
    -
    - - String - - -
    - The VM name -
    -
    -
    - Required -
    -
    -
    -
    - - - - - -

    Responses

    -

    Status: 200 - OK

    - - - -
    -
    -
    - -
    - -
    -
    - -

    Status: 405 - Invalid input

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    startSimulation

    -

    Start a new simulation

    -
    -
    -
    -

    -

    -

    -
    -
    /simulation/startSimulation
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X POST\
    --H "Accept: application/json"\
    --H "Content-Type: application/json"\
    -"https://wrench-project.org/v1/simulation/startSimulation"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.WRENCHApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        SimulationInput body = ; // SimulationInput | Start a new simulation based on a platform file and a controller hostname.
    -        try {
    -            SimulationReturn result = apiInstance.startSimulation(body);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#startSimulation");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.WRENCHApi;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        SimulationInput body = ; // SimulationInput | Start a new simulation based on a platform file and a controller hostname.
    -        try {
    -            SimulationReturn result = apiInstance.startSimulation(body);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#startSimulation");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    SimulationInput *body = ; // Start a new simulation based on a platform file and a controller hostname.
    -
    -WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
    -
    -// Start a new simulation
    -[apiInstance startSimulationWith:body
    -              completionHandler: ^(SimulationReturn output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var WrenchRestApi = require('wrench_rest_api');
    -
    -var api = new WrenchRestApi.WRENCHApi()
    -var body = ; // {{SimulationInput}} Start a new simulation based on a platform file and a controller hostname.
    -
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.startSimulation(body, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class startSimulationExample
    -    {
    -        public void main()
    -        {
    -
    -            var apiInstance = new WRENCHApi();
    -            var body = new SimulationInput(); // SimulationInput | Start a new simulation based on a platform file and a controller hostname.
    -
    -            try
    -            {
    -                // Start a new simulation
    -                SimulationReturn result = apiInstance.startSimulation(body);
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling WRENCHApi.startSimulation: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -$api_instance = new Swagger\Client\ApiWRENCHApi();
    -$body = ; // SimulationInput | Start a new simulation based on a platform file and a controller hostname.
    -
    -try {
    -    $result = $api_instance->startSimulation($body);
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->startSimulation: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::WRENCHApi;
    -
    -my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $body = WWW::SwaggerClient::Object::SimulationInput->new(); # SimulationInput | Start a new simulation based on a platform file and a controller hostname.
    -
    -eval { 
    -    my $result = $api_instance->startSimulation(body => $body);
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling WRENCHApi->startSimulation: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -# create an instance of the API class
    -api_instance = swagger_client.WRENCHApi()
    -body =  # SimulationInput | Start a new simulation based on a platform file and a controller hostname.
    -
    -try: 
    -    # Start a new simulation
    -    api_response = api_instance.start_simulation(body)
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling WRENCHApi->startSimulation: %s\n" % e)
    -
    -
    - -

    Parameters

    - - - -
    Body parameters
    - - - - - - - - -
    NameDescription
    body * - - - -
    -
    - - - -

    Responses

    -

    Status: 200 - OK

    - - - -
    -
    -
    - -
    - -
    -
    - -

    Status: 405 - Invalid input

    - - - -
    -
    - -
    -
    -
    -
    -
    -
    -

    startVM

    -

    Starts a VM and get its associated bare metal compute service.

    -
    -
    -
    -

    -

    -

    -
    -
    /simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/startVM
    -

    -

    Usage and SDK Samples

    -

    - - -
    -
    -
    curl -X POST\
    --H "Accept: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/startVM"
    -
    -
    -
    import io.swagger.client.*;
    -import io.swagger.client.auth.*;
    -import io.swagger.client.model.*;
    -import io.swagger.client.api.WRENCHApi;
    -
    -import java.io.File;
    -import java.util.*;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String serviceName = serviceName_example; // String | The cloud compute service name
    -        String vmName = vmName_example; // String | The VM name
    -        try {
    -            ServiceResponse result = apiInstance.startVM(simid, serviceName, vmName);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#startVM");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    import io.swagger.client.api.WRENCHApi;
    -
    -public class WRENCHApiExample {
    -
    -    public static void main(String[] args) {
    -        WRENCHApi apiInstance = new WRENCHApi();
    -        String simid = simid_example; // String | ID of the simulation
    -        String serviceName = serviceName_example; // String | The cloud compute service name
    -        String vmName = vmName_example; // String | The VM name
    -        try {
    -            ServiceResponse result = apiInstance.startVM(simid, serviceName, vmName);
    -            System.out.println(result);
    -        } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#startVM");
    -            e.printStackTrace();
    -        }
    -    }
    -}
    -
    - -
    -
    String *simid = simid_example; // ID of the simulation
    -String *serviceName = serviceName_example; // The cloud compute service name
    -String *vmName = vmName_example; // The VM name
    -
    -WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
    -
    -// Starts a VM and get its associated bare metal compute service.
    -[apiInstance startVMWith:simid
    -    serviceName:serviceName
    -    vmName:vmName
    -              completionHandler: ^(ServiceResponse output, NSError* error) {
    -                            if (output) {
    -                                NSLog(@"%@", output);
    -                            }
    -                            if (error) {
    -                                NSLog(@"Error: %@", error);
    -                            }
    -                        }];
    -
    -
    - -
    -
    var WrenchRestApi = require('wrench_rest_api');
    -
    -var api = new WrenchRestApi.WRENCHApi()
    -var simid = simid_example; // {{String}} ID of the simulation
    -var serviceName = serviceName_example; // {{String}} The cloud compute service name
    -var vmName = vmName_example; // {{String}} The VM name
    -
    -var callback = function(error, data, response) {
    -  if (error) {
    -    console.error(error);
    -  } else {
    -    console.log('API called successfully. Returned data: ' + data);
    -  }
    -};
    -api.startVM(simid, serviceName, vmName, callback);
    -
    -
    - - -
    -
    using System;
    -using System.Diagnostics;
    -using IO.Swagger.Api;
    -using IO.Swagger.Client;
    -using IO.Swagger.Model;
    -
    -namespace Example
    -{
    -    public class startVMExample
    -    {
    -        public void main()
    -        {
    -
    -            var apiInstance = new WRENCHApi();
    -            var simid = simid_example;  // String | ID of the simulation
    -            var serviceName = serviceName_example;  // String | The cloud compute service name
    -            var vmName = vmName_example;  // String | The VM name
    -
    -            try
    -            {
    -                // Starts a VM and get its associated bare metal compute service.
    -                ServiceResponse result = apiInstance.startVM(simid, serviceName, vmName);
    -                Debug.WriteLine(result);
    -            }
    -            catch (Exception e)
    -            {
    -                Debug.Print("Exception when calling WRENCHApi.startVM: " + e.Message );
    -            }
    -        }
    -    }
    -}
    -
    -
    - -
    -
    <?php
    -require_once(__DIR__ . '/vendor/autoload.php');
    -
    -$api_instance = new Swagger\Client\ApiWRENCHApi();
    -$simid = simid_example; // String | ID of the simulation
    -$serviceName = serviceName_example; // String | The cloud compute service name
    -$vmName = vmName_example; // String | The VM name
    -
    -try {
    -    $result = $api_instance->startVM($simid, $serviceName, $vmName);
    -    print_r($result);
    -} catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->startVM: ', $e->getMessage(), PHP_EOL;
    -}
    -?>
    -
    - -
    -
    use Data::Dumper;
    -use WWW::SwaggerClient::Configuration;
    -use WWW::SwaggerClient::WRENCHApi;
    -
    -my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $simid = simid_example; # String | ID of the simulation
    -my $serviceName = serviceName_example; # String | The cloud compute service name
    -my $vmName = vmName_example; # String | The VM name
    -
    -eval { 
    -    my $result = $api_instance->startVM(simid => $simid, serviceName => $serviceName, vmName => $vmName);
    -    print Dumper($result);
    -};
    -if ($@) {
    -    warn "Exception when calling WRENCHApi->startVM: $@\n";
    -}
    -
    - -
    -
    from __future__ import print_statement
    -import time
    -import swagger_client
    -from swagger_client.rest import ApiException
    -from pprint import pprint
    -
    -# create an instance of the API class
    -api_instance = swagger_client.WRENCHApi()
    -simid = simid_example # String | ID of the simulation
    -serviceName = serviceName_example # String | The cloud compute service name
    -vmName = vmName_example # String | The VM name
    -
    -try: 
    -    # Starts a VM and get its associated bare metal compute service.
    -    api_response = api_instance.start_vm(simid, serviceName, vmName)
    -    pprint(api_response)
    -except ApiException as e:
    -    print("Exception when calling WRENCHApi->startVM: %s\n" % e)
    -
    -
    - -

    Parameters

    - -
    Path parameters
    - - - - - - - - - - - - - - -
    NameDescription
    simid* - - -
    -
    -
    - - String - - -
    - ID of the simulation -
    -
    -
    - Required -
    -
    -
    -
    service_name* - - -
    -
    -
    - - String - - -
    - The cloud compute service name -
    -
    -
    - Required -
    -
    -
    -
    vm_name* - - -
    -
    -
    - - String - - -
    - The VM name -
    -
    -
    - Required -
    -
    -
    -
    +require_once(__DIR__ . '/vendor/autoload.php'); + +$api_instance = new Swagger\Client\ApiWRENCHApi(); +$body = ; // SimulationInput | Start a new simulation based on a platform file and a controller hostname. + +try { + $result = $api_instance->startSimulation($body); + print_r($result); +} catch (Exception $e) { + echo 'Exception when calling WRENCHApi->startSimulation: ', $e->getMessage(), PHP_EOL; +} +?>
    +
    + +
    +
    use Data::Dumper;
    +use WWW::SwaggerClient::Configuration;
    +use WWW::SwaggerClient::WRENCHApi;
    +
    +my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    +my $body = WWW::SwaggerClient::Object::SimulationInput->new(); # SimulationInput | Start a new simulation based on a platform file and a controller hostname.
    +
    +eval { 
    +    my $result = $api_instance->startSimulation(body => $body);
    +    print Dumper($result);
    +};
    +if ($@) {
    +    warn "Exception when calling WRENCHApi->startSimulation: $@\n";
    +}
    +
    + +
    +
    from __future__ import print_statement
    +import time
    +import swagger_client
    +from swagger_client.rest import ApiException
    +from pprint import pprint
    +
    +# create an instance of the API class
    +api_instance = swagger_client.WRENCHApi()
    +body =  # SimulationInput | Start a new simulation based on a platform file and a controller hostname.
    +
    +try: 
    +    # Start a new simulation
    +    api_response = api_instance.start_simulation(body)
    +    pprint(api_response)
    +except ApiException as e:
    +    print("Exception when calling WRENCHApi->startSimulation: %s\n" % e)
    +
    +
    + +

    Parameters

    +
    Body parameters
    + + + + + + + + +
    NameDescription
    body * + + + +
    +
    +

    Responses

    @@ -34676,14 +16970,14 @@

    Status: 200 - OK

    -
    -
    +
    +
    - +
    @@ -34731,11 +17025,11 @@

    Status: 405 - Invalid input


    -
    -
    +
    +
    -

    submitCompoundJob

    -

    Submit a compound job.

    +

    startVM

    +

    Starts a VM and get its associated bare metal compute service.

    @@ -34743,32 +17037,31 @@

    submitCompoundJob


    -
    /simulation/{simid}/compoundJobs/{compound_job_name}/submit
    +
    /simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/startVM

    Usage and SDK Samples

    -
    +
    curl -X POST\
     -H "Accept: application/json"\
    --H "Content-Type: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/compoundJobs/{compound_job_name}/submit"
    +"https://wrench-project.org/v1/simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/startVM"
    -
    +
    import io.swagger.client.*;
     import io.swagger.client.auth.*;
     import io.swagger.client.model.*;
    @@ -34782,56 +17075,56 @@ 

    Usage and SDK Samples

    public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); - Compound_job_name_submit_body body = ; // Compound_job_name_submit_body | Job characteristics. String simid = simid_example; // String | ID of the simulation - String compoundJobName = compoundJobName_example; // String | Name of the compound job + String serviceName = serviceName_example; // String | The cloud compute service name + String vmName = vmName_example; // String | The VM name try { - GenericResponse result = apiInstance.submitCompoundJob(body, simid, compoundJobName); + ServiceResponse result = apiInstance.startVM(simid, serviceName, vmName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling WRENCHApi#submitCompoundJob"); + System.err.println("Exception when calling WRENCHApi#startVM"); e.printStackTrace(); } } }
    -
    +
    import io.swagger.client.api.WRENCHApi;
     
     public class WRENCHApiExample {
     
         public static void main(String[] args) {
             WRENCHApi apiInstance = new WRENCHApi();
    -        Compound_job_name_submit_body body = ; // Compound_job_name_submit_body | Job characteristics.
             String simid = simid_example; // String | ID of the simulation
    -        String compoundJobName = compoundJobName_example; // String | Name of the compound job
    +        String serviceName = serviceName_example; // String | The cloud compute service name
    +        String vmName = vmName_example; // String | The VM name
             try {
    -            GenericResponse result = apiInstance.submitCompoundJob(body, simid, compoundJobName);
    +            ServiceResponse result = apiInstance.startVM(simid, serviceName, vmName);
                 System.out.println(result);
             } catch (ApiException e) {
    -            System.err.println("Exception when calling WRENCHApi#submitCompoundJob");
    +            System.err.println("Exception when calling WRENCHApi#startVM");
                 e.printStackTrace();
             }
         }
     }
    -
    -
    Compound_job_name_submit_body *body = ; // Job characteristics.
    -String *simid = simid_example; // ID of the simulation
    -String *compoundJobName = compoundJobName_example; // Name of the compound job
    +                            
    +
    String *simid = simid_example; // ID of the simulation
    +String *serviceName = serviceName_example; // The cloud compute service name
    +String *vmName = vmName_example; // The VM name
     
     WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
     
    -// Submit a compound job.
    -[apiInstance submitCompoundJobWith:body
    -    simid:simid
    -    compoundJobName:compoundJobName
    -              completionHandler: ^(GenericResponse output, NSError* error) {
    +// Starts a VM and get its associated bare metal compute service.
    +[apiInstance startVMWith:simid
    +    serviceName:serviceName
    +    vmName:vmName
    +              completionHandler: ^(ServiceResponse output, NSError* error) {
                                 if (output) {
                                     NSLog(@"%@", output);
                                 }
    @@ -34842,13 +17135,13 @@ 

    Usage and SDK Samples

    -
    +
    var WrenchRestApi = require('wrench_rest_api');
     
     var api = new WrenchRestApi.WRENCHApi()
    -var body = ; // {{Compound_job_name_submit_body}} Job characteristics.
     var simid = simid_example; // {{String}} ID of the simulation
    -var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
    +var serviceName = serviceName_example; // {{String}} The cloud compute service name
    +var vmName = vmName_example; // {{String}} The VM name
     
     var callback = function(error, data, response) {
       if (error) {
    @@ -34857,14 +17150,14 @@ 

    Usage and SDK Samples

    console.log('API called successfully. Returned data: ' + data); } }; -api.submitCompoundJob(bodysimidcompoundJobName, callback); +api.startVM(simid, serviceName, vmName, callback);
    - -
    +
    using System;
     using System.Diagnostics;
     using IO.Swagger.Api;
    @@ -34873,25 +17166,25 @@ 

    Usage and SDK Samples

    namespace Example { - public class submitCompoundJobExample + public class startVMExample { public void main() { var apiInstance = new WRENCHApi(); - var body = new Compound_job_name_submit_body(); // Compound_job_name_submit_body | Job characteristics. var simid = simid_example; // String | ID of the simulation - var compoundJobName = compoundJobName_example; // String | Name of the compound job + var serviceName = serviceName_example; // String | The cloud compute service name + var vmName = vmName_example; // String | The VM name try { - // Submit a compound job. - GenericResponse result = apiInstance.submitCompoundJob(body, simid, compoundJobName); + // Starts a VM and get its associated bare metal compute service. + ServiceResponse result = apiInstance.startVM(simid, serviceName, vmName); Debug.WriteLine(result); } catch (Exception e) { - Debug.Print("Exception when calling WRENCHApi.submitCompoundJob: " + e.Message ); + Debug.Print("Exception when calling WRENCHApi.startVM: " + e.Message ); } } } @@ -34899,44 +17192,44 @@

    Usage and SDK Samples

    -
    +
    <?php
     require_once(__DIR__ . '/vendor/autoload.php');
     
     $api_instance = new Swagger\Client\ApiWRENCHApi();
    -$body = ; // Compound_job_name_submit_body | Job characteristics.
     $simid = simid_example; // String | ID of the simulation
    -$compoundJobName = compoundJobName_example; // String | Name of the compound job
    +$serviceName = serviceName_example; // String | The cloud compute service name
    +$vmName = vmName_example; // String | The VM name
     
     try {
    -    $result = $api_instance->submitCompoundJob($body, $simid, $compoundJobName);
    +    $result = $api_instance->startVM($simid, $serviceName, $vmName);
         print_r($result);
     } catch (Exception $e) {
    -    echo 'Exception when calling WRENCHApi->submitCompoundJob: ', $e->getMessage(), PHP_EOL;
    +    echo 'Exception when calling WRENCHApi->startVM: ', $e->getMessage(), PHP_EOL;
     }
     ?>
    -
    +
    use Data::Dumper;
     use WWW::SwaggerClient::Configuration;
     use WWW::SwaggerClient::WRENCHApi;
     
     my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
    -my $body = WWW::SwaggerClient::Object::Compound_job_name_submit_body->new(); # Compound_job_name_submit_body | Job characteristics.
     my $simid = simid_example; # String | ID of the simulation
    -my $compoundJobName = compoundJobName_example; # String | Name of the compound job
    +my $serviceName = serviceName_example; # String | The cloud compute service name
    +my $vmName = vmName_example; # String | The VM name
     
     eval { 
    -    my $result = $api_instance->submitCompoundJob(body => $body, simid => $simid, compoundJobName => $compoundJobName);
    +    my $result = $api_instance->startVM(simid => $simid, serviceName => $serviceName, vmName => $vmName);
         print Dumper($result);
     };
     if ($@) {
    -    warn "Exception when calling WRENCHApi->submitCompoundJob: $@\n";
    +    warn "Exception when calling WRENCHApi->startVM: $@\n";
     }
    -
    +
    from __future__ import print_statement
     import time
     import swagger_client
    @@ -34945,16 +17238,16 @@ 

    Usage and SDK Samples

    # create an instance of the API class api_instance = swagger_client.WRENCHApi() -body = # Compound_job_name_submit_body | Job characteristics. simid = simid_example # String | ID of the simulation -compoundJobName = compoundJobName_example # String | Name of the compound job +serviceName = serviceName_example # String | The cloud compute service name +vmName = vmName_example # String | The VM name try: - # Submit a compound job. - api_response = api_instance.submit_compound_job(body, simid, compoundJobName) + # Starts a VM and get its associated bare metal compute service. + api_response = api_instance.start_vm(simid, serviceName, vmName) pprint(api_response) except ApiException as e: - print("Exception when calling WRENCHApi->submitCompoundJob: %s\n" % e)
    + print("Exception when calling WRENCHApi->startVM: %s\n" % e)
    @@ -34970,7 +17263,7 @@

    Parameters

    -
    +
    @@ -34988,11 +17281,33 @@

    Parameters

    - compound_job_name* + service_name* + + + +
    +
    +
    + + String + + +
    + The cloud compute service name +
    +
    +
    + Required +
    +
    +
    + + + vm_name* -
    +
    @@ -35000,7 +17315,7 @@

    Parameters

    - Name of the compound job + The VM name
    @@ -35013,50 +17328,6 @@

    Parameters

    -
    Body parameters
    - - - - - - - - -
    NameDescription
    body * - - - -
    -
    @@ -35065,14 +17336,14 @@

    Status: 200 - OK

    -
    -
    +
    +
    - +
    @@ -35132,7 +17403,7 @@

    submitStandardJob


    -
    /simulation/{simid}/standardJobs/{job_name}/submit
    +
    /simulation/{simid}/jobs/{job_name}/submit

    Usage and SDK Samples

    @@ -35155,7 +17426,7 @@

    Usage and SDK Samples

    curl -X POST\
     -H "Accept: application/json"\
     -H "Content-Type: application/json"\
    -"https://wrench-project.org/v1/simulation/{simid}/standardJobs/{job_name}/submit"
    +"https://wrench-project.org/v1/simulation/{simid}/jobs/{job_name}/submit"
    import io.swagger.client.*;