addBatchComputeService
-Create and start a batch compute service.
+addBareMetalComputeService
+Create and start a bare-metal compute service.
addBatchComputeService
-
/simulation/{simid}/addBatchComputeService
+ /simulation/{simid}/addBareMetalComputeService
Usage and SDK Samples
+ +curl -X POST\
+-H "Accept: application/json"\
+-H "Content-Type: application/json"\
+"https://wrench-project.org/v1/simulation/{simid}/addBareMetalComputeService"
+ 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();
+ Simid_addBareMetalComputeService_body body = ; // Simid_addBareMetalComputeService_body | Input to start a new service.
+ String simid = simid_example; // String | ID of the simulation
+ try {
+ ServiceResponse result = apiInstance.addBareMetalComputeService(body, simid);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling WRENCHApi#addBareMetalComputeService");
+ e.printStackTrace();
+ }
+ }
+}
+ import io.swagger.client.api.WRENCHApi;
+
+public class WRENCHApiExample {
+
+ public static void main(String[] args) {
+ WRENCHApi apiInstance = new WRENCHApi();
+ Simid_addBareMetalComputeService_body body = ; // Simid_addBareMetalComputeService_body | Input to start a new service.
+ String simid = simid_example; // String | ID of the simulation
+ try {
+ ServiceResponse result = apiInstance.addBareMetalComputeService(body, simid);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling WRENCHApi#addBareMetalComputeService");
+ e.printStackTrace();
+ }
+ }
+}
+ Simid_addBareMetalComputeService_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 bare-metal compute service.
+[apiInstance addBareMetalComputeServiceWith:body
+ simid:simid
+ 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 body = ; // {{Simid_addBareMetalComputeService_body}} Input to start a new service.
+var simid = simid_example; // {{String}} ID of the simulation
+
+var callback = function(error, data, response) {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+};
+api.addBareMetalComputeService(bodysimid, callback);
+
+ using System;
+using System.Diagnostics;
+using IO.Swagger.Api;
+using IO.Swagger.Client;
+using IO.Swagger.Model;
+
+namespace Example
+{
+ public class addBareMetalComputeServiceExample
+ {
+ public void main()
+ {
+
+ var apiInstance = new WRENCHApi();
+ var body = new Simid_addBareMetalComputeService_body(); // Simid_addBareMetalComputeService_body | Input to start a new service.
+ var simid = simid_example; // String | ID of the simulation
+
+ try
+ {
+ // Create and start a bare-metal compute service.
+ ServiceResponse result = apiInstance.addBareMetalComputeService(body, simid);
+ Debug.WriteLine(result);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling WRENCHApi.addBareMetalComputeService: " + e.Message );
+ }
+ }
+ }
+}
+
+ <?php
+require_once(__DIR__ . '/vendor/autoload.php');
+
+$api_instance = new Swagger\Client\ApiWRENCHApi();
+$body = ; // Simid_addBareMetalComputeService_body | Input to start a new service.
+$simid = simid_example; // String | ID of the simulation
+
+try {
+ $result = $api_instance->addBareMetalComputeService($body, $simid);
+ print_r($result);
+} catch (Exception $e) {
+ echo 'Exception when calling WRENCHApi->addBareMetalComputeService: ', $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_addBareMetalComputeService_body->new(); # Simid_addBareMetalComputeService_body | Input to start a new service.
+my $simid = simid_example; # String | ID of the simulation
+
+eval {
+ my $result = $api_instance->addBareMetalComputeService(body => $body, simid => $simid);
+ print Dumper($result);
+};
+if ($@) {
+ warn "Exception when calling WRENCHApi->addBareMetalComputeService: $@\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 = # Simid_addBareMetalComputeService_body | Input to start a new service.
+simid = simid_example # String | ID of the simulation
+
+try:
+ # Create and start a bare-metal compute service.
+ api_response = api_instance.add_bare_metal_compute_service(body, simid)
+ pprint(api_response)
+except ApiException as e:
+ print("Exception when calling WRENCHApi->addBareMetalComputeService: %s\n" % e)
+ Parameters
+ +Name | +Description | +
---|---|
simid* | +
+
+
+
+
+
+
+
+
+ String
+
+
+
+
+ ID of the simulation
+
+
+ Required
+
+ |
+
Name | +Description | +
---|---|
body * | ++ + + + + | +
Responses
+Status: 200 - OK
+ + + +Status: 405 - Invalid input
+ + + ++
addBatchComputeService
+Create and start a batch compute service.
++
/simulation/{simid}/addBatchComputeService
+ +
Usage and SDK Samples
+ + + +curl -X POST\
+-H "Accept: application/json"\
+-H "Content-Type: application/json"\
+"https://wrench-project.org/v1/simulation/{simid}/addBatchComputeService"
+ 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();
+ Simid_addBatchComputeService_body body = ; // Simid_addBatchComputeService_body | Input to start a new service.
+ String simid = simid_example; // String | ID of the simulation
+ try {
+ ServiceResponse result = apiInstance.addBatchComputeService(body, simid);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling WRENCHApi#addBatchComputeService");
+ e.printStackTrace();
+ }
+ }
+}
+ import io.swagger.client.api.WRENCHApi;
+
+public class WRENCHApiExample {
+
+ public static void main(String[] args) {
+ WRENCHApi apiInstance = new WRENCHApi();
+ Simid_addBatchComputeService_body body = ; // Simid_addBatchComputeService_body | Input to start a new service.
+ String simid = simid_example; // String | ID of the simulation
+ try {
+ ServiceResponse result = apiInstance.addBatchComputeService(body, simid);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling WRENCHApi#addBatchComputeService");
+ e.printStackTrace();
+ }
+ }
+}
+ Simid_addBatchComputeService_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 batch compute service.
+[apiInstance addBatchComputeServiceWith:body
+ simid:simid
+ 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 body = ; // {{Simid_addBatchComputeService_body}} Input to start a new service.
+var simid = simid_example; // {{String}} ID of the simulation
+
+var callback = function(error, data, response) {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+};
+api.addBatchComputeService(bodysimid, callback);
+
+ using System;
+using System.Diagnostics;
+using IO.Swagger.Api;
+using IO.Swagger.Client;
+using IO.Swagger.Model;
+
+namespace Example
+{
+ public class addBatchComputeServiceExample
+ {
+ public void main()
+ {
+
+ var apiInstance = new WRENCHApi();
+ var body = new Simid_addBatchComputeService_body(); // Simid_addBatchComputeService_body | Input to start a new service.
+ var simid = simid_example; // String | ID of the simulation
+
+ try
+ {
+ // Create and start a batch compute service.
+ ServiceResponse result = apiInstance.addBatchComputeService(body, simid);
+ Debug.WriteLine(result);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling WRENCHApi.addBatchComputeService: " + e.Message );
+ }
+ }
+ }
+}
+
+ <?php
+require_once(__DIR__ . '/vendor/autoload.php');
+
+$api_instance = new Swagger\Client\ApiWRENCHApi();
+$body = ; // Simid_addBatchComputeService_body | Input to start a new service.
+$simid = simid_example; // String | ID of the simulation
+
+try {
+ $result = $api_instance->addBatchComputeService($body, $simid);
+ print_r($result);
+} catch (Exception $e) {
+ echo 'Exception when calling WRENCHApi->addBatchComputeService: ', $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_addBatchComputeService_body->new(); # Simid_addBatchComputeService_body | Input to start a new service.
+my $simid = simid_example; # String | ID of the simulation
+
+eval {
+ my $result = $api_instance->addBatchComputeService(body => $body, simid => $simid);
+ print Dumper($result);
+};
+if ($@) {
+ warn "Exception when calling WRENCHApi->addBatchComputeService: $@\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 = # Simid_addBatchComputeService_body | Input to start a new service.
+simid = simid_example # String | ID of the simulation
+
+try:
+ # Create and start a batch compute service.
+ api_response = api_instance.add_batch_compute_service(body, simid)
+ pprint(api_response)
+except ApiException as e:
+ print("Exception when calling WRENCHApi->addBatchComputeService: %s\n" % e)
+ Parameters
+ +Name | +Description | +
---|---|
simid* | +
+
+
+
+
+
+
+
+
+ String
+
+
+
+
+ ID of the simulation
+
+
+ Required
+
+ |
+
Name | +Description | +
---|---|
body * | ++ + + + + | +
Responses
+Status: 200 - OK
+ + + +Status: 405 - Invalid input
+ + + ++
addCloudComputeService
+Create and start a cloud compute service.
++
/simulation/{simid}/addCloudComputeService
+ +
Usage and SDK Samples
+ + + +curl -X POST\
+-H "Accept: application/json"\
+-H "Content-Type: application/json"\
+"https://wrench-project.org/v1/simulation/{simid}/addCloudComputeService"
+ 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();
+ Simid_addCloudComputeService_body body = ; // Simid_addCloudComputeService_body | Input to start a new service.
+ String simid = simid_example; // String | ID of the simulation
+ try {
+ ServiceResponse result = apiInstance.addCloudComputeService(body, simid);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling WRENCHApi#addCloudComputeService");
+ e.printStackTrace();
+ }
+ }
+}
+ import io.swagger.client.api.WRENCHApi;
+
+public class WRENCHApiExample {
+
+ public static void main(String[] args) {
+ WRENCHApi apiInstance = new WRENCHApi();
+ Simid_addCloudComputeService_body body = ; // Simid_addCloudComputeService_body | Input to start a new service.
+ String simid = simid_example; // String | ID of the simulation
+ try {
+ ServiceResponse result = apiInstance.addCloudComputeService(body, simid);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling WRENCHApi#addCloudComputeService");
+ e.printStackTrace();
+ }
+ }
+}
+ Simid_addCloudComputeService_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 cloud compute service.
+[apiInstance addCloudComputeServiceWith:body
+ simid:simid
+ 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 body = ; // {{Simid_addCloudComputeService_body}} Input to start a new service.
+var simid = simid_example; // {{String}} ID of the simulation
+
+var callback = function(error, data, response) {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+};
+api.addCloudComputeService(bodysimid, callback);
+
+ using System;
+using System.Diagnostics;
+using IO.Swagger.Api;
+using IO.Swagger.Client;
+using IO.Swagger.Model;
+
+namespace Example
+{
+ public class addCloudComputeServiceExample
+ {
+ public void main()
+ {
+
+ var apiInstance = new WRENCHApi();
+ var body = new Simid_addCloudComputeService_body(); // Simid_addCloudComputeService_body | Input to start a new service.
+ var simid = simid_example; // String | ID of the simulation
+
+ try
+ {
+ // Create and start a cloud compute service.
+ ServiceResponse result = apiInstance.addCloudComputeService(body, simid);
+ Debug.WriteLine(result);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling WRENCHApi.addCloudComputeService: " + e.Message );
+ }
+ }
+ }
+}
+
+ <?php
+require_once(__DIR__ . '/vendor/autoload.php');
+
+$api_instance = new Swagger\Client\ApiWRENCHApi();
+$body = ; // Simid_addCloudComputeService_body | Input to start a new service.
+$simid = simid_example; // String | ID of the simulation
+
+try {
+ $result = $api_instance->addCloudComputeService($body, $simid);
+ print_r($result);
+} catch (Exception $e) {
+ echo 'Exception when calling WRENCHApi->addCloudComputeService: ', $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_addCloudComputeService_body->new(); # Simid_addCloudComputeService_body | Input to start a new service.
+my $simid = simid_example; # String | ID of the simulation
+
+eval {
+ my $result = $api_instance->addCloudComputeService(body => $body, simid => $simid);
+ print Dumper($result);
+};
+if ($@) {
+ warn "Exception when calling WRENCHApi->addCloudComputeService: $@\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 = # Simid_addCloudComputeService_body | Input to start a new service.
+simid = simid_example # String | ID of the simulation
+
+try:
+ # Create and start a cloud compute service.
+ api_response = api_instance.add_cloud_compute_service(body, simid)
+ pprint(api_response)
+except ApiException as e:
+ print("Exception when calling WRENCHApi->addCloudComputeService: %s\n" % e)
+ Parameters
+ +Name | +Description | +
---|---|
simid* | +
+
+
+
+
+
+
+
+
+ String
+
+
+
+
+ ID of the simulation
+
+
+ Required
+
+ |
+
Name | +Description | +
---|---|
body * | ++ + + + + | +
Responses
+Status: 200 - OK
+ + + +Status: 405 - Invalid input
+ + + ++
addComputeAction
+Add a compute action to compound job
++
/simulation/{simid}/compoundJobs/{compound_job_name}/addComputeAction
+ +
Usage and SDK Samples
+ + + +curl -X GET\
+-H "Accept: application/json"\
+-H "Content-Type: application/json"\
+"https://wrench-project.org/v1/simulation/{simid}/compoundJobs/{compound_job_name}/addComputeAction"
+ 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();
+ Compound_job_name_addComputeAction_body body = ; // Compound_job_name_addComputeAction_body | Input to add a compute action.
+ String simid = simid_example; // String | ID of the simulation
+ String compoundJobName = compoundJobName_example; // String | Name of the compound job
+ try {
+ GenericRespone result = apiInstance.addComputeAction(body, simid, compoundJobName);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling WRENCHApi#addComputeAction");
+ e.printStackTrace();
+ }
+ }
+}
+ import io.swagger.client.api.WRENCHApi;
+
+public class WRENCHApiExample {
+
+ public static void main(String[] args) {
+ WRENCHApi apiInstance = new WRENCHApi();
+ Compound_job_name_addComputeAction_body body = ; // Compound_job_name_addComputeAction_body | Input to add a compute action.
+ String simid = simid_example; // String | ID of the simulation
+ String compoundJobName = compoundJobName_example; // String | Name of the compound job
+ try {
+ GenericRespone result = apiInstance.addComputeAction(body, simid, compoundJobName);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling WRENCHApi#addComputeAction");
+ e.printStackTrace();
+ }
+ }
+}
+ Compound_job_name_addComputeAction_body *body = ; // Input to add a compute action.
+String *simid = simid_example; // ID of the simulation
+String *compoundJobName = compoundJobName_example; // Name of the compound job
+
+WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
+
+// Add a compute action to compound job
+[apiInstance addComputeActionWith:body
+ simid:simid
+ compoundJobName:compoundJobName
+ completionHandler: ^(GenericRespone 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 = ; // {{Compound_job_name_addComputeAction_body}} Input to add a compute action.
+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.addComputeAction(bodysimidcompoundJobName, callback);
+
+ using System;
+using System.Diagnostics;
+using IO.Swagger.Api;
+using IO.Swagger.Client;
+using IO.Swagger.Model;
+
+namespace Example
+{
+ public class addComputeActionExample
+ {
+ public void main()
+ {
+
+ var apiInstance = new WRENCHApi();
+ var body = new Compound_job_name_addComputeAction_body(); // Compound_job_name_addComputeAction_body | Input to add a compute action.
+ var simid = simid_example; // String | ID of the simulation
+ var compoundJobName = compoundJobName_example; // String | Name of the compound job
+
+ try
+ {
+ // Add a compute action to compound job
+ GenericRespone result = apiInstance.addComputeAction(body, simid, compoundJobName);
+ Debug.WriteLine(result);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling WRENCHApi.addComputeAction: " + e.Message );
+ }
+ }
+ }
+}
+
+ <?php
+require_once(__DIR__ . '/vendor/autoload.php');
+
+$api_instance = new Swagger\Client\ApiWRENCHApi();
+$body = ; // Compound_job_name_addComputeAction_body | Input to add a compute action.
+$simid = simid_example; // String | ID of the simulation
+$compoundJobName = compoundJobName_example; // String | Name of the compound job
+
+try {
+ $result = $api_instance->addComputeAction($body, $simid, $compoundJobName);
+ print_r($result);
+} catch (Exception $e) {
+ echo 'Exception when calling WRENCHApi->addComputeAction: ', $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_addComputeAction_body->new(); # Compound_job_name_addComputeAction_body | Input to add a compute action.
+my $simid = simid_example; # String | ID of the simulation
+my $compoundJobName = compoundJobName_example; # String | Name of the compound job
+
+eval {
+ my $result = $api_instance->addComputeAction(body => $body, simid => $simid, compoundJobName => $compoundJobName);
+ print Dumper($result);
+};
+if ($@) {
+ warn "Exception when calling WRENCHApi->addComputeAction: $@\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 = # Compound_job_name_addComputeAction_body | Input to add a compute action.
+simid = simid_example # String | ID of the simulation
+compoundJobName = compoundJobName_example # String | Name of the compound job
+
+try:
+ # Add a compute action to compound job
+ api_response = api_instance.add_compute_action(body, simid, compoundJobName)
+ pprint(api_response)
+except ApiException as e:
+ print("Exception when calling WRENCHApi->addComputeAction: %s\n" % e)
+ Parameters
+ +Name | +Description | +
---|---|
simid* | +
+
+
+
+
+
+
+
+
+ String
+
+
+
+
+ ID of the simulation
+
+
+ Required
+
+ |
+
compound_job_name* | +
+
+
+
+
+
+
+
+
+ String
+
+
+
+
+ Name of the compound job
+
+
+ Required
+
+ |
+
Name | +Description | +
---|---|
body * | ++ + + + + | +
Responses
+Status: 200 - OK
+ + + +Status: 404 - Job not found
+ + + +Status: 405 - Invalid input
+ + + ++
addFile
+Add a file to the simulation.
++
/simulation/{simid}/addFile
+ +
Usage and SDK Samples
+ + + +curl -X PUT\
+-H "Accept: application/json"\
+-H "Content-Type: application/json"\
+"https://wrench-project.org/v1/simulation/{simid}/addFile"
+ 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();
+ Simid_addFile_body body = ; // Simid_addFile_body | Input to add a new file.
+ String simid = simid_example; // String | ID of the simulation
+ try {
+ GenericResponse result = apiInstance.addFile(body, simid);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling WRENCHApi#addFile");
+ 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.
+ String simid = simid_example; // String | ID of the simulation
+ try {
+ GenericResponse result = apiInstance.addFile(body, simid);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling WRENCHApi#addFile");
+ e.printStackTrace();
+ }
+ }
+}
+ Simid_addFile_body *body = ; // Input to add a new file.
+String *simid = simid_example; // ID of the simulation
+
+WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
+
+// Add a file to the simulation.
+[apiInstance addFileWith:body
+ simid:simid
+ 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 body = ; // {{Simid_addFile_body}} Input to add a new file.
+var simid = simid_example; // {{String}} ID of the simulation
+
+var callback = function(error, data, response) {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+};
+api.addFile(bodysimid, callback);
+
+ using System;
+using System.Diagnostics;
+using IO.Swagger.Api;
+using IO.Swagger.Client;
+using IO.Swagger.Model;
+
+namespace Example
+{
+ public class addFileExample
+ {
+ public void main()
+ {
+
+ var apiInstance = new WRENCHApi();
+ var body = new Simid_addFile_body(); // Simid_addFile_body | Input to add a new file.
+ var simid = simid_example; // String | ID of the simulation
+
+ try
+ {
+ // Add a file to the simulation.
+ GenericResponse result = apiInstance.addFile(body, simid);
+ Debug.WriteLine(result);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling WRENCHApi.addFile: " + e.Message );
+ }
+ }
+ }
+}
+
+ <?php
+require_once(__DIR__ . '/vendor/autoload.php');
+
+$api_instance = new Swagger\Client\ApiWRENCHApi();
+$body = ; // Simid_addFile_body | Input to add a new file.
+$simid = simid_example; // String | ID of the simulation
+
+try {
+ $result = $api_instance->addFile($body, $simid);
+ print_r($result);
+} catch (Exception $e) {
+ echo 'Exception when calling WRENCHApi->addFile: ', $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 $simid = simid_example; # String | ID of the simulation
+
+eval {
+ my $result = $api_instance->addFile(body => $body, simid => $simid);
+ print Dumper($result);
+};
+if ($@) {
+ warn "Exception when calling WRENCHApi->addFile: $@\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 = # Simid_addFile_body | Input to add a new file.
+simid = simid_example # String | ID of the simulation
+
+try:
+ # Add a file to the simulation.
+ api_response = api_instance.add_file(body, simid)
+ pprint(api_response)
+except ApiException as e:
+ print("Exception when calling WRENCHApi->addFile: %s\n" % e)
+ Parameters
+ +Name | +Description | +
---|---|
simid* | +
+
+
+
+
+
+
+
+
+ String
+
+
+
+
+ ID of the simulation
+
+
+ Required
+
+ |
+
Name | +Description | +
---|---|
body * | ++ + + + + | +
Responses
+Status: 200 - OK
+ + + +Status: 404 - Task not found
+ + + +Status: 405 - Invalid input
+ + + ++
addFileCopyAction
+Add a file copy action to compound job
++
/simulation/{simid}/compoundJobs/{compound_job_name}/addFileCopyAction
+ +
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}/addFileCopyAction"
+ 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();
+ Compound_job_name_addFileCopyAction_body body = ; // Compound_job_name_addFileCopyAction_body | Input to add a file copy action.
+ String simid = simid_example; // String | ID of the simulation
+ String compoundJobName = compoundJobName_example; // String | Name of the compound job
+ try {
+ GenericResponse result = apiInstance.addFileCopyAction(body, simid, compoundJobName);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling WRENCHApi#addFileCopyAction");
+ 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.
+ String simid = simid_example; // String | ID of the simulation
+ String compoundJobName = compoundJobName_example; // String | Name of the compound job
+ try {
+ GenericResponse result = apiInstance.addFileCopyAction(body, simid, compoundJobName);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling WRENCHApi#addFileCopyAction");
+ e.printStackTrace();
+ }
+ }
+}
+ Compound_job_name_addFileCopyAction_body *body = ; // Input to add a file copy action.
+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 copy action to compound job
+[apiInstance addFileCopyActionWith:body
+ simid:simid
+ compoundJobName:compoundJobName
+ 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 body = ; // {{Compound_job_name_addFileCopyAction_body}} Input to add a file copy action.
+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.addFileCopyAction(bodysimidcompoundJobName, callback);
+
+ using System;
+using System.Diagnostics;
+using IO.Swagger.Api;
+using IO.Swagger.Client;
+using IO.Swagger.Model;
+
+namespace Example
+{
+ public class addFileCopyActionExample
+ {
+ 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 simid = simid_example; // String | ID of the simulation
+ var compoundJobName = compoundJobName_example; // String | Name of the compound job
+
+ try
+ {
+ // Add a file copy action to compound job
+ GenericResponse result = apiInstance.addFileCopyAction(body, simid, compoundJobName);
+ Debug.WriteLine(result);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling WRENCHApi.addFileCopyAction: " + e.Message );
+ }
+ }
+ }
+}
+
+ <?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.
+$simid = simid_example; // String | ID of the simulation
+$compoundJobName = compoundJobName_example; // String | Name of the compound job
+
+try {
+ $result = $api_instance->addFileCopyAction($body, $simid, $compoundJobName);
+ print_r($result);
+} catch (Exception $e) {
+ echo 'Exception when calling WRENCHApi->addFileCopyAction: ', $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 $simid = simid_example; # String | ID of the simulation
+my $compoundJobName = compoundJobName_example; # String | Name of the compound job
+
+eval {
+ my $result = $api_instance->addFileCopyAction(body => $body, simid => $simid, compoundJobName => $compoundJobName);
+ print Dumper($result);
+};
+if ($@) {
+ warn "Exception when calling WRENCHApi->addFileCopyAction: $@\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 = # Compound_job_name_addFileCopyAction_body | Input to add a file copy action.
+simid = simid_example # String | ID of the simulation
+compoundJobName = compoundJobName_example # String | Name of the compound job
+
+try:
+ # Add a file copy action to compound job
+ api_response = api_instance.add_file_copy_action(body, simid, compoundJobName)
+ pprint(api_response)
+except ApiException as e:
+ print("Exception when calling WRENCHApi->addFileCopyAction: %s\n" % e)
+ Parameters
+ +Name | +Description | +
---|---|
simid* | +
+
+
+
+
+
+
+
+
+ String
+
+
+
+
+ ID of the simulation
+
+
+ Required
+
+ |
+
compound_job_name* | +
+
+
+
+
+
+
+
+
+ String
+
+
+
+
+ Name of the compound job
+
+
+ Required
+
+ |
+
Name | +Description | +
---|---|
body * | ++ + + + + | +
Responses
+Status: 200 - OK
+ + + +Status: 404 - Job not found
+ + + +Status: 405 - Invalid input
+ + + ++
addFileDeleteAction
+Add a file delete action to compound job
++
/simulation/{simid}/compoundJobs/{compound_job_name}/addFileDeleteAction
+ +
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}/addFileDeleteAction"
+ 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();
+ Compound_job_name_addFileDeleteAction_body body = ; // Compound_job_name_addFileDeleteAction_body | Input to add a file delete action.
+ String simid = simid_example; // String | ID of the simulation
+ String compoundJobName = compoundJobName_example; // String | Name of the compound job
+ try {
+ GenericResponse result = apiInstance.addFileDeleteAction(body, simid, compoundJobName);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling WRENCHApi#addFileDeleteAction");
+ 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.
+ String simid = simid_example; // String | ID of the simulation
+ String compoundJobName = compoundJobName_example; // String | Name of the compound job
+ try {
+ GenericResponse result = apiInstance.addFileDeleteAction(body, simid, compoundJobName);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling WRENCHApi#addFileDeleteAction");
+ e.printStackTrace();
+ }
+ }
+}
+ Compound_job_name_addFileDeleteAction_body *body = ; // Input to add a file delete action.
+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 delete action to compound job
+[apiInstance addFileDeleteActionWith:body
+ simid:simid
+ compoundJobName:compoundJobName
+ 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 body = ; // {{Compound_job_name_addFileDeleteAction_body}} Input to add a file delete action.
+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.addFileDeleteAction(bodysimidcompoundJobName, callback);
+
+ using System;
+using System.Diagnostics;
+using IO.Swagger.Api;
+using IO.Swagger.Client;
+using IO.Swagger.Model;
+
+namespace Example
+{
+ public class addFileDeleteActionExample
+ {
+ 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 simid = simid_example; // String | ID of the simulation
+ var compoundJobName = compoundJobName_example; // String | Name of the compound job
+
+ try
+ {
+ // Add a file delete action to compound job
+ GenericResponse result = apiInstance.addFileDeleteAction(body, simid, compoundJobName);
+ Debug.WriteLine(result);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling WRENCHApi.addFileDeleteAction: " + e.Message );
+ }
+ }
+ }
+}
+
+ <?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.
+$simid = simid_example; // String | ID of the simulation
+$compoundJobName = compoundJobName_example; // String | Name of the compound job
+
+try {
+ $result = $api_instance->addFileDeleteAction($body, $simid, $compoundJobName);
+ print_r($result);
+} catch (Exception $e) {
+ echo 'Exception when calling WRENCHApi->addFileDeleteAction: ', $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 $simid = simid_example; # String | ID of the simulation
+my $compoundJobName = compoundJobName_example; # String | Name of the compound job
+
+eval {
+ my $result = $api_instance->addFileDeleteAction(body => $body, simid => $simid, compoundJobName => $compoundJobName);
+ print Dumper($result);
+};
+if ($@) {
+ warn "Exception when calling WRENCHApi->addFileDeleteAction: $@\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 = # Compound_job_name_addFileDeleteAction_body | Input to add a file delete action.
+simid = simid_example # String | ID of the simulation
+compoundJobName = compoundJobName_example # String | Name of the compound job
+
+try:
+ # Add a file delete action to compound job
+ api_response = api_instance.add_file_delete_action(body, simid, compoundJobName)
+ pprint(api_response)
+except ApiException as e:
+ print("Exception when calling WRENCHApi->addFileDeleteAction: %s\n" % e)
+ Parameters
+ +Name | +Description | +
---|---|
simid* | +
+
+
+
+
+
+
+
+
+ String
+
+
+
+
+ ID of the simulation
+
+
+ Required
+
+ |
+
compound_job_name* | +
+
+
+
+
+
+
+
+
+ String
+
+
+
+
+ Name of the compound job
+
+
+ Required
+
+ |
+
Name | +Description | +
---|---|
body * | ++ + + + + | +
Responses
+Status: 200 - OK
+ + + +Status: 404 - Job not found
+ + + +Status: 405 - Invalid input
+ + + ++
addFileReadAction
+Add a file read action to compound job
++
/simulation/{simid}/compoundJobs/{compound_job_name}/addFileReadAction
+ +
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"
+ 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();
+ FileReadAction body = ; // FileReadAction | Input to add a file read action.
+ 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);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling WRENCHApi#addFileReadAction");
+ 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.
+ 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);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling WRENCHApi#addFileReadAction");
+ e.printStackTrace();
+ }
+ }
+}
+ FileReadAction *body = ; // Input to add a file read action.
+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
+ simid:simid
+ compoundJobName:compoundJobName
+ completionHandler: ^(AddActionResponse 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 = ; // {{FileReadAction}} Input to add a file read action.
+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.addFileReadAction(bodysimidcompoundJobName, callback);
+
+ using System;
+using System.Diagnostics;
+using IO.Swagger.Api;
+using IO.Swagger.Client;
+using IO.Swagger.Model;
+
+namespace Example
+{
+ public class addFileReadActionExample
+ {
+ public void main()
+ {
+
+ var apiInstance = new WRENCHApi();
+ var body = new FileReadAction(); // FileReadAction | Input to add a file read action.
+ 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);
+ Debug.WriteLine(result);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling WRENCHApi.addFileReadAction: " + e.Message );
+ }
+ }
+ }
+}
+
+ <?php
+require_once(__DIR__ . '/vendor/autoload.php');
+
+$api_instance = new Swagger\Client\ApiWRENCHApi();
+$body = ; // FileReadAction | Input to add a file read action.
+$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);
+ print_r($result);
+} catch (Exception $e) {
+ echo 'Exception when calling WRENCHApi->addFileReadAction: ', $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 $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);
+ print Dumper($result);
+};
+if ($@) {
+ warn "Exception when calling WRENCHApi->addFileReadAction: $@\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 = # FileReadAction | Input to add a file read action.
+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)
+ pprint(api_response)
+except ApiException as e:
+ print("Exception when calling WRENCHApi->addFileReadAction: %s\n" % e)
+ Parameters
+ +Name | +Description | +
---|---|
simid* | +
+
+
+
+
+
+
+
+
+ String
+
+
+
+
+ ID of the simulation
+
+
+ Required
+
+ |
+
compound_job_name* | +
+
+
+
+
+
+
+
+
+ String
+
+
+
+
+ Name of the compound job
+
+
+ Required
+
+ |
+
Name | +Description | +
---|---|
body * | ++ + + + + | +
Responses
+Status: 200 - OK
+ + + +Status: 404 - Compound job not found
+ + + +Status: 405 - Invalid input
+ + + ++
addFileRegistryService
+Create and start a file registery service.
++
/simulation/{simid}/addFileRegistryService
+ +
Usage and SDK Samples
+ + + +curl -X POST\
+-H "Accept: application/json"\
+-H "Content-Type: application/json"\
+"https://wrench-project.org/v1/simulation/{simid}/addFileRegistryService"
+ 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();
+ Simid_addFileRegistryService_body body = ; // Simid_addFileRegistryService_body | Input to start a new service.
+ String simid = simid_example; // String | ID of the simulation
+ try {
+ ServiceResponse result = apiInstance.addFileRegistryService(body, simid);
+ System.out.println(result);
+ } catch (ApiException e) {
+ 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_addFileRegistryService_body body = ; // Simid_addFileRegistryService_body | Input to start a new service.
+ String simid = simid_example; // String | ID of the simulation
+ try {
+ ServiceResponse result = apiInstance.addFileRegistryService(body, simid);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling WRENCHApi#addFileRegistryService");
+ e.printStackTrace();
+ }
+ }
+}
+ Simid_addFileRegistryService_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 registery service.
+[apiInstance addFileRegistryServiceWith:body
+ simid:simid
+ 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 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) {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+};
+api.addFileRegistryService(bodysimid, callback);
+
+ using System;
+using System.Diagnostics;
+using IO.Swagger.Api;
+using IO.Swagger.Client;
+using IO.Swagger.Model;
+
+namespace Example
+{
+ public class addFileRegistryServiceExample
+ {
+ public void main()
+ {
+
+ var apiInstance = new WRENCHApi();
+ 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
+ {
+ // 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.addFileRegistryService: " + e.Message );
+ }
+ }
+ }
+}
+
+ <?php
+require_once(__DIR__ . '/vendor/autoload.php');
+
+$api_instance = new Swagger\Client\ApiWRENCHApi();
+$body = ; // Simid_addFileRegistryService_body | Input to start a new service.
+$simid = simid_example; // String | ID of the simulation
+
+try {
+ $result = $api_instance->addFileRegistryService($body, $simid);
+ print_r($result);
+} catch (Exception $e) {
+ 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_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->addFileRegistryService(body => $body, simid => $simid);
+ print Dumper($result);
+};
+if ($@) {
+ warn "Exception when calling WRENCHApi->addFileRegistryService: $@\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 = # Simid_addFileRegistryService_body | Input to start a new service.
+simid = simid_example # String | ID of the simulation
+
+try:
+ # 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->addFileRegistryService: %s\n" % e)
+ Parameters
+ +Name | +Description | +
---|---|
simid* | +
+
+
+
+
+
+
+
+
+ String
+
+
+
+
+ ID of the simulation
+
+
+ Required
+
+ |
+
Name | +Description | +
---|---|
body * | ++ + + + + | +
Responses
+Status: 200 - OK
+ + + +Status: 405 - Invalid input
+ + + ++
addFileWriteAction
+Add a file write action to compound job.
++
/simulation/{simid}/compoundJobs/{compound_job_name}/addFileWriteAction
+ +
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"
+ 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();
+ Compound_job_name_addFileWriteAction_body body = ; // Compound_job_name_addFileWriteAction_body | Input to add a file write action.
+ String simid = simid_example; // String | ID of the simulation
+ String compoundJobName = compoundJobName_example; // String | Name of the compound job
+ try {
+ GenericResponse result = apiInstance.addFileWriteAction(body, simid, compoundJobName);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling WRENCHApi#addFileWriteAction");
+ 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.
+ String simid = simid_example; // String | ID of the simulation
+ String compoundJobName = compoundJobName_example; // String | Name of the compound job
+ try {
+ GenericResponse result = apiInstance.addFileWriteAction(body, simid, compoundJobName);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling WRENCHApi#addFileWriteAction");
+ e.printStackTrace();
+ }
+ }
+}
+ Compound_job_name_addFileWriteAction_body *body = ; // Input to add a file write action.
+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 write action to compound job.
+[apiInstance addFileWriteActionWith:body
+ simid:simid
+ compoundJobName:compoundJobName
+ 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 body = ; // {{Compound_job_name_addFileWriteAction_body}} Input to add a file write action.
+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.addFileWriteAction(bodysimidcompoundJobName, callback);
+
+ using System;
+using System.Diagnostics;
+using IO.Swagger.Api;
+using IO.Swagger.Client;
+using IO.Swagger.Model;
+
+namespace Example
+{
+ public class addFileWriteActionExample
+ {
+ 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 simid = simid_example; // String | ID of the simulation
+ var compoundJobName = compoundJobName_example; // String | Name of the compound job
+
+ try
+ {
+ // Add a file write action to compound job.
+ GenericResponse result = apiInstance.addFileWriteAction(body, simid, compoundJobName);
+ Debug.WriteLine(result);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling WRENCHApi.addFileWriteAction: " + e.Message );
+ }
+ }
+ }
+}
+
+ <?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.
+$simid = simid_example; // String | ID of the simulation
+$compoundJobName = compoundJobName_example; // String | Name of the compound job
+
+try {
+ $result = $api_instance->addFileWriteAction($body, $simid, $compoundJobName);
+ print_r($result);
+} catch (Exception $e) {
+ echo 'Exception when calling WRENCHApi->addFileWriteAction: ', $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 $simid = simid_example; # String | ID of the simulation
+my $compoundJobName = compoundJobName_example; # String | Name of the compound job
+
+eval {
+ my $result = $api_instance->addFileWriteAction(body => $body, simid => $simid, compoundJobName => $compoundJobName);
+ print Dumper($result);
+};
+if ($@) {
+ warn "Exception when calling WRENCHApi->addFileWriteAction: $@\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 = # Compound_job_name_addFileWriteAction_body | Input to add a file write action.
+simid = simid_example # String | ID of the simulation
+compoundJobName = compoundJobName_example # String | Name of the compound job
+
+try:
+ # Add a file write action to compound job.
+ api_response = api_instance.add_file_write_action(body, simid, compoundJobName)
+ pprint(api_response)
+except ApiException as e:
+ print("Exception when calling WRENCHApi->addFileWriteAction: %s\n" % e)
+ Parameters
+ +Name | +Description | +
---|---|
simid* | +
+
+
+
+
+
+
+
+
+ String
+
+
+
+
+ ID of the simulation
+
+
+ Required
+
+ |
+
compound_job_name* | +
+
+
+
+
+
+
+
+
+ String
+
+
+
+
+ Name of the compound job
+
+
+ Required
+
+ |
+
Name | +Description | +
---|---|
body * | ++ + + + + | +
Responses
+Status: 200 - OK
+ + + +Status: 404 - Job not found
+ + + +Status: 405 - Invalid input
+ + + ++
addInputFile
+Add an input file to a task
++
/simulation/{simid}/{workflow_name}/tasks/{tid}/addInputFile
+ +
Usage and SDK Samples
+ + + +curl -X PUT\
+-H "Accept: application/json"\
+-H "Content-Type: application/json"\
+"https://wrench-project.org/v1/simulation/{simid}/{workflow_name}/tasks/{tid}/addInputFile"
+ 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();
+ Tid_addInputFile_body body = ; // Tid_addInputFile_body | Input file.
+ 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);
+ System.out.println(result);
+ } catch (ApiException e) {
+ 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();
+ Tid_addInputFile_body body = ; // Tid_addInputFile_body | Input file.
+ 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);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling WRENCHApi#addInputFile");
+ e.printStackTrace();
+ }
+ }
+}
+ Tid_addInputFile_body *body = ; // Input file.
+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
+ simid:simid
+ workflowName:workflowName
+ tid:tid
+ 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 body = ; // {{Tid_addInputFile_body}} Input file.
+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.addInputFile(bodysimidworkflowNametid, callback);
+
+ using System;
+using System.Diagnostics;
+using IO.Swagger.Api;
+using IO.Swagger.Client;
+using IO.Swagger.Model;
+
+namespace Example
+{
+ public class addInputFileExample
+ {
+ public void main()
+ {
+
+ var apiInstance = new WRENCHApi();
+ var body = new Tid_addInputFile_body(); // Tid_addInputFile_body | Input file.
+ 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);
+ Debug.WriteLine(result);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling WRENCHApi.addInputFile: " + e.Message );
+ }
+ }
+ }
+}
+
+ <?php
+require_once(__DIR__ . '/vendor/autoload.php');
+
+$api_instance = new Swagger\Client\ApiWRENCHApi();
+$body = ; // Tid_addInputFile_body | Input file.
+$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);
+ print_r($result);
+} catch (Exception $e) {
+ 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::Tid_addInputFile_body->new(); # Tid_addInputFile_body | Input file.
+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);
+ print Dumper($result);
+};
+if ($@) {
+ warn "Exception when calling WRENCHApi->addInputFile: $@\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 = # Tid_addInputFile_body | Input file.
+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)
+ pprint(api_response)
+except ApiException as e:
+ print("Exception when calling WRENCHApi->addInputFile: %s\n" % e)
+ Parameters
+ +Name | +Description | +
---|---|
simid* | +
+
+
+
+
+
+
+
+
+ String
+
+
+
+
+ ID of the simulation
+
+
+ Required
+
+ |
+
workflow_name* | +
+
+
+
+
+
+
+
+
+ String
+
+
+
+
+ Required
+
+ |
+
tid* | +
+
+
+
+
+
+
+
+
+ String
+
+
+
+
+ ID of the task
+
+
+ Required
+
+ |
+
Name | +Description | +
---|---|
body * | ++ + + + + | +
Responses
+Status: 200 - OK
+ + + +Status: 404 - Task not found
+ + + +Status: 405 - Invalid input
+ + + ++
addOutputFile
+Add an output file to a task
++
/simulation/{simid}/{workflow_name}/tasks/{tid}/addOutputFile
+ +
Usage and SDK Samples
+ + + +curl -X PUT\
+-H "Accept: application/json"\
+-H "Content-Type: application/json"\
+"https://wrench-project.org/v1/simulation/{simid}/{workflow_name}/tasks/{tid}/addOutputFile"
+ 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();
+ Tid_addOutputFile_body body = ; // Tid_addOutputFile_body | Job 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);
+ System.out.println(result);
+ } catch (ApiException e) {
+ 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();
+ Tid_addOutputFile_body body = ; // Tid_addOutputFile_body | Job 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);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling WRENCHApi#addOutputFile");
+ e.printStackTrace();
+ }
+ }
+}
+ Tid_addOutputFile_body *body = ; // Job 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
+ simid:simid
+ workflowName:workflowName
+ tid:tid
+ 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 body = ; // {{Tid_addOutputFile_body}} Job 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) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+};
+api.addOutputFile(bodysimidworkflowNametid, callback);
+
+ using System;
+using System.Diagnostics;
+using IO.Swagger.Api;
+using IO.Swagger.Client;
+using IO.Swagger.Model;
+
+namespace Example
+{
+ public class addOutputFileExample
+ {
+ public void main()
+ {
+
+ var apiInstance = new WRENCHApi();
+ var body = new Tid_addOutputFile_body(); // Tid_addOutputFile_body | Job 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);
+ Debug.WriteLine(result);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling WRENCHApi.addOutputFile: " + e.Message );
+ }
+ }
+ }
+}
+
+ <?php
+require_once(__DIR__ . '/vendor/autoload.php');
+
+$api_instance = new Swagger\Client\ApiWRENCHApi();
+$body = ; // Tid_addOutputFile_body | Job 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);
+ print_r($result);
+} catch (Exception $e) {
+ 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::Tid_addOutputFile_body->new(); # Tid_addOutputFile_body | Job 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);
+ print Dumper($result);
+};
+if ($@) {
+ warn "Exception when calling WRENCHApi->addOutputFile: $@\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 = # Tid_addOutputFile_body | Job 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)
+ pprint(api_response)
+except ApiException as e:
+ print("Exception when calling WRENCHApi->addOutputFile: %s\n" % e)
+ Parameters
+ +Name | +Description | +
---|---|
simid* | +
+
+
+
+
+
+
+
+
+ String
+
+
+
+
+ ID of the simulation
+
+
+ Required
+
+ |
+
workflow_name* | +
+
+
+
+
+
+
+
+
+ String
+
+
+
+
+ Required
+
+ |
+
tid* | +
+
+
+
+
+
+
+
+
+ String
+
+
+
+
+ ID of the task
+
+
+ Required
+
+ |
+
Name | +Description | +
---|---|
body * | ++ + + + + | +
Responses
+Status: 200 - OK
+ + + +Status: 404 - Task not found
+ + + +Status: 405 - Invalid input
+ + + ++
addParentJob
+Add parent compound job to compound job
++
/simulation/{simid}/compoundJobs/{compound_job_name}/addParentJob
+ +
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}/addParentJob"
+ 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();
+ Compound_job_name_addParentJob_body body = ; // Compound_job_name_addParentJob_body | Input to add a parent compound job.
+ String simid = simid_example; // String | ID of the simulation
+ String compoundJob = compoundJob_example; // String | Name of the compound job
+ try {
+ GenericResponse result = apiInstance.addParentJob(body, simid, compoundJob);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling WRENCHApi#addParentJob");
+ 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.
+ String simid = simid_example; // String | ID of the simulation
+ String compoundJob = compoundJob_example; // String | Name of the compound job
+ try {
+ GenericResponse result = apiInstance.addParentJob(body, simid, compoundJob);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling WRENCHApi#addParentJob");
+ e.printStackTrace();
+ }
+ }
+}
+ Compound_job_name_addParentJob_body *body = ; // Input to add a parent compound job.
+String *simid = simid_example; // ID of the simulation
+String *compoundJob = compoundJob_example; // Name of the compound job
+
+WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
+
+// Add parent compound job to compound job
+[apiInstance addParentJobWith:body
+ simid:simid
+ compoundJob:compoundJob
+ 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 body = ; // {{Compound_job_name_addParentJob_body}} Input to add a parent compound job.
+var simid = simid_example; // {{String}} ID of the simulation
+var compoundJob = compoundJob_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.addParentJob(bodysimidcompoundJob, callback);
+
+ using System;
+using System.Diagnostics;
+using IO.Swagger.Api;
+using IO.Swagger.Client;
+using IO.Swagger.Model;
+
+namespace Example
+{
+ public class addParentJobExample
+ {
+ 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 simid = simid_example; // String | ID of the simulation
+ var compoundJob = compoundJob_example; // String | Name of the compound job
+
+ try
+ {
+ // Add parent compound job to compound job
+ GenericResponse result = apiInstance.addParentJob(body, simid, compoundJob);
+ Debug.WriteLine(result);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling WRENCHApi.addParentJob: " + e.Message );
+ }
+ }
+ }
+}
+
+ <?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.
+$simid = simid_example; // String | ID of the simulation
+$compoundJob = compoundJob_example; // String | Name of the compound job
+
+try {
+ $result = $api_instance->addParentJob($body, $simid, $compoundJob);
+ print_r($result);
+} catch (Exception $e) {
+ echo 'Exception when calling WRENCHApi->addParentJob: ', $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 $simid = simid_example; # String | ID of the simulation
+my $compoundJob = compoundJob_example; # String | Name of the compound job
+
+eval {
+ my $result = $api_instance->addParentJob(body => $body, simid => $simid, compoundJob => $compoundJob);
+ print Dumper($result);
+};
+if ($@) {
+ warn "Exception when calling WRENCHApi->addParentJob: $@\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 = # Compound_job_name_addParentJob_body | Input to add a parent compound job.
+simid = simid_example # String | ID of the simulation
+compoundJob = compoundJob_example # String | Name of the compound job
+
+try:
+ # Add parent compound job to compound job
+ api_response = api_instance.add_parent_job(body, simid, compoundJob)
+ pprint(api_response)
+except ApiException as e:
+ print("Exception when calling WRENCHApi->addParentJob: %s\n" % e)
+ Parameters
+ +Name | +Description | +
---|---|
simid* | +
+
+
+
+
+
+
+
+
+ String
+
+
+
+
+ ID of the simulation
+
+
+ Required
+
+ |
+
compound_job* | +
+
+
+
+
+
+
+
+
+ String
+
+
+
+
+ Name of the compound job
+
+
+ Required
+
+ |
+
Name | +Description | +
---|---|
body * | ++ + + + + | +
Responses
+Status: 200 - OK
+ + + +Status: 404 - Job not found
+ + + +Status: 405 - Invalid input
+ + + ++
addSimpleStorageService
+Create and start a simple storage service.
++
/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}/addSimpleStorageService"
+ 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();
+ 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);
+ System.out.println(result);
+ } catch (ApiException e) {
+ 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();
+ 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);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling WRENCHApi#addSimpleStorageService");
+ e.printStackTrace();
+ }
+ }
+}
+ Simid_addSimpleStorageService_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 simple storage service.
+[apiInstance addSimpleStorageServiceWith:body
+ simid:simid
+ 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 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) {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+};
+api.addSimpleStorageService(bodysimid, callback);
+
+ using System;
+using System.Diagnostics;
+using IO.Swagger.Api;
+using IO.Swagger.Client;
+using IO.Swagger.Model;
+
+namespace Example
+{
+ public class addSimpleStorageServiceExample
+ {
+ 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);
+ Debug.WriteLine(result);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling WRENCHApi.addSimpleStorageService: " + e.Message );
+ }
+ }
+ }
+}
+
+ <?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);
+ print_r($result);
+} catch (Exception $e) {
+ 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::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);
+ print Dumper($result);
+};
+if ($@) {
+ warn "Exception when calling WRENCHApi->addSimpleStorageService: $@\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 = # 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)
+ pprint(api_response)
+except ApiException as e:
+ print("Exception when calling WRENCHApi->addSimpleStorageService: %s\n" % e)
+ Parameters
+ +Name | +Description | +
---|---|
simid* | +
+
+
+
+
+
+
+
+
+ String
+
+
+
+
+ ID of the simulation
+
+
+ Required
+
+ |
+
Name | +Description | +
---|---|
body * | ++ + + + + | +
Responses
+Status: 200 - OK
+ + + +Status: 405 - Invalid input
+ + + ++
addSleepAction
+Add a sleep action to compound job
++
/simulation/{simid}/compoundJobs/{compound_job_name}/addSleepAction
+ +
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"
+ 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();
+ Compound_job_name_addSleepAction_body body = ; // Compound_job_name_addSleepAction_body | Input to add a sleep action.
+ 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);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling WRENCHApi#addSleepAction");
+ 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.
+ 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);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling WRENCHApi#addSleepAction");
+ e.printStackTrace();
+ }
+ }
+}
+ Compound_job_name_addSleepAction_body *body = ; // Input to add a sleep action.
+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
+ simid:simid
+ compoundJobName:compoundJobName
+ 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 body = ; // {{Compound_job_name_addSleepAction_body}} Input to add a sleep action.
+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.addSleepAction(bodysimidcompoundJobName, callback);
+
+ using System;
+using System.Diagnostics;
+using IO.Swagger.Api;
+using IO.Swagger.Client;
+using IO.Swagger.Model;
+
+namespace Example
+{
+ public class addSleepActionExample
+ {
+ 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 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);
+ Debug.WriteLine(result);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling WRENCHApi.addSleepAction: " + e.Message );
+ }
+ }
+ }
+}
+
+ <?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.
+$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);
+ print_r($result);
+} catch (Exception $e) {
+ echo 'Exception when calling WRENCHApi->addSleepAction: ', $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 $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);
+ print Dumper($result);
+};
+if ($@) {
+ warn "Exception when calling WRENCHApi->addSleepAction: $@\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 = # Compound_job_name_addSleepAction_body | Input to add a sleep action.
+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)
+ pprint(api_response)
+except ApiException as e:
+ print("Exception when calling WRENCHApi->addSleepAction: %s\n" % e)
+ Parameters
+ +Name | +Description | +
---|---|
simid* | +
+
+
+
+
+
+
+
+
+ String
+
+
+
+
+ ID of the simulation
+
+
+ Required
+
+ |
+
compound_job_name* | +
+
+
+
+
+
+
+
+
+ String
+
+
+
+
+ Name of the compound job
+
+
+ Required
+
+ |
+
Name | +Description | +
---|---|
body * | ++ + + + + | +
Responses
+Status: 200 - OK
+ + + +Status: 404 - Job not found
+ + + +Status: 405 - Invalid input
+ + + ++
advanceTime
+Retrieve the current simulated time.
++
/simulation/{simid}/advanceTime
+ +
Usage and SDK Samples
+ + + +curl -X PUT\
+-H "Accept: application/json"\
+-H "Content-Type: application/json"\
+"https://wrench-project.org/v1/simulation/{simid}/advanceTime"
+ 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();
+ Simid_advanceTime_body body = ; // Simid_advanceTime_body | Input to start a new service.
+ String simid = simid_example; // String | ID of the simulation
+ try {
+ GenericResponse result = apiInstance.advanceTime(body, simid);
+ System.out.println(result);
+ } catch (ApiException e) {
+ 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_advanceTime_body body = ; // Simid_advanceTime_body | Input to start a new service.
+ String simid = simid_example; // String | ID of the simulation
+ try {
+ GenericResponse result = apiInstance.advanceTime(body, simid);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling WRENCHApi#advanceTime");
+ e.printStackTrace();
+ }
+ }
+}
+ Simid_advanceTime_body *body = ; // Input to start a new service.
+String *simid = simid_example; // ID of the simulation
+
+WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
+
+// Retrieve the current simulated time.
+[apiInstance advanceTimeWith:body
+ simid:simid
+ 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 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) {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+};
+api.advanceTime(bodysimid, callback);
+
+ using System;
+using System.Diagnostics;
+using IO.Swagger.Api;
+using IO.Swagger.Client;
+using IO.Swagger.Model;
+
+namespace Example
+{
+ public class advanceTimeExample
+ {
+ 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
+
+ try
+ {
+ // Retrieve the current simulated time.
+ GenericResponse result = apiInstance.advanceTime(body, simid);
+ Debug.WriteLine(result);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling WRENCHApi.advanceTime: " + e.Message );
+ }
+ }
+ }
+}
+
+ <?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
+
+try {
+ $result = $api_instance->advanceTime($body, $simid);
+ print_r($result);
+} catch (Exception $e) {
+ 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_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->advanceTime(body => $body, simid => $simid);
+ print Dumper($result);
+};
+if ($@) {
+ warn "Exception when calling WRENCHApi->advanceTime: $@\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 = # Simid_advanceTime_body | Input to start a new service.
+simid = simid_example # String | ID of the simulation
+
+try:
+ # 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->advanceTime: %s\n" % e)
+ Parameters
+ +Name | +Description | +
---|---|
simid* | +
+
+
+
+
+
+
+
+
+ String
+
+
+
+
+ ID of the simulation
+
+
+ Required
+
+ |
+
Name | +Description | +
---|---|
body * | ++ + + + + | +
Responses
+Status: 200 - OK
+ + + +Status: 405 - Invalid input
+ + + ++
createCompoundJob
+Create a new compound job.
++
/simulation/{simid}/createCompoundJob
+ +
Usage and SDK Samples
+ + + +curl -X POST\
+-H "Accept: application/json"\
+-H "Content-Type: application/json"\
+"https://wrench-project.org/v1/simulation/{simid}/createCompoundJob"
+ 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();
+ Simid_createCompoundJob_body body = ; // Simid_createCompoundJob_body | Input to create a new compound job
+ String simid = simid_example; // String | ID of the simulation
+ try {
+ GenericResponse result = apiInstance.createCompoundJob(body, simid);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling WRENCHApi#createCompoundJob");
+ 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
+ try {
+ GenericResponse result = apiInstance.createCompoundJob(body, simid);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling WRENCHApi#createCompoundJob");
+ e.printStackTrace();
+ }
+ }
+}
+ Simid_createCompoundJob_body *body = ; // Input to create a new compound job
+String *simid = simid_example; // ID of the simulation
+
+WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
+
+// Create a new compound job.
+[apiInstance createCompoundJobWith:body
+ simid:simid
+ 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 body = ; // {{Simid_createCompoundJob_body}} Input to create a new compound job
+var simid = simid_example; // {{String}} ID of the simulation
+
+var callback = function(error, data, response) {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+};
+api.createCompoundJob(bodysimid, callback);
+
+ using System;
+using System.Diagnostics;
+using IO.Swagger.Api;
+using IO.Swagger.Client;
+using IO.Swagger.Model;
+
+namespace Example
+{
+ public class createCompoundJobExample
+ {
+ 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
+
+ try
+ {
+ // Create a new compound job.
+ GenericResponse result = apiInstance.createCompoundJob(body, simid);
+ Debug.WriteLine(result);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling WRENCHApi.createCompoundJob: " + e.Message );
+ }
+ }
+ }
+}
+
+ <?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
+
+try {
+ $result = $api_instance->createCompoundJob($body, $simid);
+ print_r($result);
+} catch (Exception $e) {
+ echo 'Exception when calling WRENCHApi->createCompoundJob: ', $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
+
+eval {
+ my $result = $api_instance->createCompoundJob(body => $body, simid => $simid);
+ print Dumper($result);
+};
+if ($@) {
+ warn "Exception when calling WRENCHApi->createCompoundJob: $@\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 = # Simid_createCompoundJob_body | Input to create a new compound job
+simid = simid_example # String | ID of the simulation
+
+try:
+ # Create a new compound job.
+ api_response = api_instance.create_compound_job(body, simid)
+ pprint(api_response)
+except ApiException as e:
+ print("Exception when calling WRENCHApi->createCompoundJob: %s\n" % e)
+ Parameters
+ +Name | +Description | +
---|---|
simid* | +
+
+
+
+
+
+
+
+
+ String
+
+
+
+
+ ID of the simulation
+
+
+ Required
+
+ |
+
Name | +Description | +
---|---|
body * | ++ + + + + | +
Responses
+Status: 200 - OK
+ + + +Status: 405 - Invalid input
+ + + ++
createFileCopyAtStorageService
+Create, ex nihilo, a copy of a file copy at a storage service.
++
/simulation/{simid}/{storage_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}/{storage_service_name}/createFileCopy"
+ 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();
+ Storage_service_name_createFileCopy_body body = ; // Storage_service_name_createFileCopy_body | Input to start a new service.
+ String simid = simid_example; // String | ID of the simulation
+ String storageServiceName = storageServiceName_example; // String | The storage service's head host
+ try {
+ GenericResponse result = apiInstance.createFileCopyAtStorageService(body, simid, storageServiceName);
+ System.out.println(result);
+ } catch (ApiException e) {
+ 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();
+ Storage_service_name_createFileCopy_body body = ; // Storage_service_name_createFileCopy_body | Input to start a new service.
+ String simid = simid_example; // String | ID of the simulation
+ String storageServiceName = storageServiceName_example; // String | The storage service's head host
+ try {
+ GenericResponse result = apiInstance.createFileCopyAtStorageService(body, simid, storageServiceName);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling WRENCHApi#createFileCopyAtStorageService");
+ e.printStackTrace();
+ }
+ }
+}
+ Storage_service_name_createFileCopy_body *body = ; // Input to start a new service.
+String *simid = simid_example; // ID of the simulation
+String *storageServiceName = storageServiceName_example; // The storage service's head host
+
+WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
+
+// Create, ex nihilo, a copy of a file copy at a storage service.
+[apiInstance createFileCopyAtStorageServiceWith:body
+ simid:simid
+ storageServiceName:storageServiceName
+ 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 body = ; // {{Storage_service_name_createFileCopy_body}} Input to start a new service.
+var simid = simid_example; // {{String}} ID of the simulation
+var storageServiceName = storageServiceName_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.createFileCopyAtStorageService(bodysimidstorageServiceName, callback);
+
+ using System;
+using System.Diagnostics;
+using IO.Swagger.Api;
+using IO.Swagger.Client;
+using IO.Swagger.Model;
+
+namespace Example
+{
+ public class createFileCopyAtStorageServiceExample
+ {
+ public void main()
+ {
+
+ var apiInstance = new WRENCHApi();
+ var body = new Storage_service_name_createFileCopy_body(); // Storage_service_name_createFileCopy_body | Input to start a new service.
+ var simid = simid_example; // String | ID of the simulation
+ var storageServiceName = storageServiceName_example; // String | The storage service's head host
+
+ try
+ {
+ // Create, ex nihilo, a copy of a file copy at a storage service.
+ GenericResponse result = apiInstance.createFileCopyAtStorageService(body, simid, storageServiceName);
+ Debug.WriteLine(result);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling WRENCHApi.createFileCopyAtStorageService: " + e.Message );
+ }
+ }
+ }
+}
+
+ <?php
+require_once(__DIR__ . '/vendor/autoload.php');
+
+$api_instance = new Swagger\Client\ApiWRENCHApi();
+$body = ; // Storage_service_name_createFileCopy_body | Input to start a new service.
+$simid = simid_example; // String | ID of the simulation
+$storageServiceName = storageServiceName_example; // String | The storage service's head host
+
+try {
+ $result = $api_instance->createFileCopyAtStorageService($body, $simid, $storageServiceName);
+ print_r($result);
+} catch (Exception $e) {
+ 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::Storage_service_name_createFileCopy_body->new(); # Storage_service_name_createFileCopy_body | Input to start a new service.
+my $simid = simid_example; # String | ID of the simulation
+my $storageServiceName = storageServiceName_example; # String | The storage service's head host
+
+eval {
+ my $result = $api_instance->createFileCopyAtStorageService(body => $body, simid => $simid, storageServiceName => $storageServiceName);
+ print Dumper($result);
+};
+if ($@) {
+ warn "Exception when calling WRENCHApi->createFileCopyAtStorageService: $@\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 = # Storage_service_name_createFileCopy_body | Input to start a new service.
+simid = simid_example # String | ID of the simulation
+storageServiceName = storageServiceName_example # String | The storage service's head host
+
+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, storageServiceName)
+ pprint(api_response)
+except ApiException as e:
+ print("Exception when calling WRENCHApi->createFileCopyAtStorageService: %s\n" % e)
+ Parameters
+ +Name | +Description | +
---|---|
simid* | +
+
+
+
+
+
+
+
+
+ String
+
+
+
+
+ ID of the simulation
+
+
+ Required
+
+ |
+
storage_service_name* | +
+
+
+
+
+
+
+
+
+ String
+
+
+
+
+ The storage service's head host
+
+
+ Required
+
+ |
+
Name | +Description | +
---|---|
body * | ++ + + + + | +
Responses
+Status: 200 - OK
+ + + +Status: 404 - Simulation or storage service not found
+ + + +Status: 405 - Invalid input
+ + + ++
createStandardJob
+Create a new standard job.
++
/simulation/{simid}/{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}/{workflow_name}/createStandardJob"
+ 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();
+ StandardJob body = ; // StandardJob | Job specification.
+ String simid = simid_example; // String | ID of the simulation
+ String workflowName = workflowName_example; // String |
+ try {
+ JobResponse result = apiInstance.createStandardJob(body, simid, workflowName);
+ System.out.println(result);
+ } catch (ApiException e) {
+ 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();
+ StandardJob body = ; // StandardJob | Job specification.
+ String simid = simid_example; // String | ID of the simulation
+ String workflowName = workflowName_example; // String |
+ try {
+ JobResponse result = apiInstance.createStandardJob(body, simid, workflowName);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling WRENCHApi#createStandardJob");
+ e.printStackTrace();
+ }
+ }
+}
+ StandardJob *body = ; // Job specification.
+String *simid = simid_example; // ID of the simulation
+String *workflowName = workflowName_example; //
+
+WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
+
+// Create a new standard job.
+[apiInstance createStandardJobWith:body
+ simid:simid
+ workflowName:workflowName
+ completionHandler: ^(JobResponse 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 = ; // {{StandardJob}} Job specification.
+var simid = simid_example; // {{String}} ID of the simulation
+var workflowName = workflowName_example; // {{String}}
+
+var callback = function(error, data, response) {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+};
+api.createStandardJob(bodysimidworkflowName, callback);
+
+ using System;
+using System.Diagnostics;
+using IO.Swagger.Api;
+using IO.Swagger.Client;
+using IO.Swagger.Model;
+
+namespace Example
+{
+ public class createStandardJobExample
+ {
+ 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 |
+
+ try
+ {
+ // Create a new standard job.
+ JobResponse result = apiInstance.createStandardJob(body, simid, workflowName);
+ Debug.WriteLine(result);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling WRENCHApi.createStandardJob: " + e.Message );
+ }
+ }
+ }
+}
+
+ <?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 |
+
+try {
+ $result = $api_instance->createStandardJob($body, $simid, $workflowName);
+ print_r($result);
+} catch (Exception $e) {
+ 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::StandardJob->new(); # StandardJob | Job specification.
+my $simid = simid_example; # String | ID of the simulation
+my $workflowName = workflowName_example; # String |
+
+eval {
+ my $result = $api_instance->createStandardJob(body => $body, simid => $simid, workflowName => $workflowName);
+ print Dumper($result);
+};
+if ($@) {
+ warn "Exception when calling WRENCHApi->createStandardJob: $@\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 = # StandardJob | Job specification.
+simid = simid_example # String | ID of the simulation
+workflowName = workflowName_example # String |
+
+try:
+ # 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->createStandardJob: %s\n" % e)
+ Parameters
+ +Name | +Description | +
---|---|
simid* | +
+
+
+
+
+
+
+
+
+ String
+
+
+
+
+ ID of the simulation
+
+
+ Required
+
+ |
+
workflow_name* | +
+
+
+
+
+
+
+
+
+ String
+
+
+
+
+ Required
+
+ |
+
Name | +Description | +
---|---|
body * | ++ + + + + | +
Responses
+Status: 200 - OK
+ + + +Status: 405 - Invalid input
+ + + ++
createTask
+Create a new task.
++
/simulation/{simid}/{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}/{workflow_name}/createTask"
+ 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();
+ Task body = ; // Task | Task characteristics.
+ String simid = simid_example; // String | ID of the simulation
+ String workflowName = workflowName_example; // String |
+ try {
+ GenericResponse result = apiInstance.createTask(body, simid, workflowName);
+ System.out.println(result);
+ } catch (ApiException e) {
+ 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();
+ Task body = ; // Task | Task characteristics.
+ String simid = simid_example; // String | ID of the simulation
+ String workflowName = workflowName_example; // String |
+ try {
+ GenericResponse result = apiInstance.createTask(body, simid, workflowName);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling WRENCHApi#createTask");
+ e.printStackTrace();
+ }
+ }
+}
+ Task *body = ; // Task characteristics.
+String *simid = simid_example; // ID of the simulation
+String *workflowName = workflowName_example; //
+
+WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
+
+// Create a new task.
+[apiInstance createTaskWith:body
+ simid:simid
+ workflowName:workflowName
+ 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 body = ; // {{Task}} Task characteristics.
+var simid = simid_example; // {{String}} ID of the simulation
+var workflowName = workflowName_example; // {{String}}
+
+var callback = function(error, data, response) {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+};
+api.createTask(bodysimidworkflowName, callback);
+
+ using System;
+using System.Diagnostics;
+using IO.Swagger.Api;
+using IO.Swagger.Client;
+using IO.Swagger.Model;
+
+namespace Example
+{
+ public class createTaskExample
+ {
+ 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 |
+
+ try
+ {
+ // Create a new task.
+ GenericResponse result = apiInstance.createTask(body, simid, workflowName);
+ Debug.WriteLine(result);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling WRENCHApi.createTask: " + e.Message );
+ }
+ }
+ }
+}
+
+ <?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 |
+
+try {
+ $result = $api_instance->createTask($body, $simid, $workflowName);
+ print_r($result);
+} catch (Exception $e) {
+ 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::Task->new(); # Task | Task characteristics.
+my $simid = simid_example; # String | ID of the simulation
+my $workflowName = workflowName_example; # String |
+
+eval {
+ my $result = $api_instance->createTask(body => $body, simid => $simid, workflowName => $workflowName);
+ print Dumper($result);
+};
+if ($@) {
+ warn "Exception when calling WRENCHApi->createTask: $@\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 = # Task | Task characteristics.
+simid = simid_example # String | ID of the simulation
+workflowName = workflowName_example # String |
+
+try:
+ # 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->createTask: %s\n" % e)
+ Parameters
+ +Name | +Description | +
---|---|
simid* | +
+
+
+
+
+
+
+
+
+ String
+
+
+
+
+ ID of the simulation
+
+
+ Required
+
+ |
+
workflow_name* | +
+
+
+
+
+
+
+
+
+ String
+
+
+
+
+ Required
+
+ |
+
Name | +Description | +
---|---|
body * | ++ + + + + | +
Responses
+Status: 200 - OK
+ + + +Status: 405 - Invalid input
+ + + ++
createVM
+Create a VM on a cloud compute service.
++
/simulation/{simid}/createVM
+ +
Usage and SDK Samples
+ + + +curl -X POST\
+-H "Accept: application/json"\
+-H "Content-Type: application/json"\
+"https://wrench-project.org/v1/simulation/{simid}/createVM"
+ 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();
+ Simid_createVM_body body = ; // Simid_createVM_body | Input to start create a VM.
+ String simid = simid_example; // String | ID of the simulation
+ try {
+ VMCreationResponse result = apiInstance.createVM(body, simid);
+ System.out.println(result);
+ } catch (ApiException e) {
+ 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();
+ Simid_createVM_body body = ; // Simid_createVM_body | Input to start create a VM.
+ String simid = simid_example; // String | ID of the simulation
+ try {
+ VMCreationResponse result = apiInstance.createVM(body, simid);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling WRENCHApi#createVM");
+ e.printStackTrace();
+ }
+ }
+}
+ Simid_createVM_body *body = ; // Input to start create a VM.
+String *simid = simid_example; // ID of the simulation
+
+WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
+
+// Create a VM on a cloud compute service.
+[apiInstance createVMWith:body
+ simid:simid
+ completionHandler: ^(VMCreationResponse 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 = ; // {{Simid_createVM_body}} Input to start create a VM.
+var simid = simid_example; // {{String}} ID of the simulation
+
+var callback = function(error, data, response) {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+};
+api.createVM(bodysimid, callback);
+
+ using System;
+using System.Diagnostics;
+using IO.Swagger.Api;
+using IO.Swagger.Client;
+using IO.Swagger.Model;
+
+namespace Example
+{
+ public class createVMExample
+ {
+ public void main()
+ {
+
+ var apiInstance = new WRENCHApi();
+ var body = new Simid_createVM_body(); // Simid_createVM_body | Input to start create a VM.
+ var simid = simid_example; // String | ID of the simulation
+
+ try
+ {
+ // Create a VM on a cloud compute service.
+ VMCreationResponse result = apiInstance.createVM(body, simid);
+ Debug.WriteLine(result);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling WRENCHApi.createVM: " + e.Message );
+ }
+ }
+ }
+}
+
+ <?php
+require_once(__DIR__ . '/vendor/autoload.php');
+
+$api_instance = new Swagger\Client\ApiWRENCHApi();
+$body = ; // Simid_createVM_body | Input to start create a VM.
+$simid = simid_example; // String | ID of the simulation
+
+try {
+ $result = $api_instance->createVM($body, $simid);
+ print_r($result);
+} catch (Exception $e) {
+ 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::Simid_createVM_body->new(); # Simid_createVM_body | Input to start create a VM.
+my $simid = simid_example; # String | ID of the simulation
+
+eval {
+ my $result = $api_instance->createVM(body => $body, simid => $simid);
+ print Dumper($result);
+};
+if ($@) {
+ warn "Exception when calling WRENCHApi->createVM: $@\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 = # Simid_createVM_body | Input to start create a VM.
+simid = simid_example # String | ID of the simulation
+
+try:
+ # Create a VM on a cloud compute service.
+ api_response = api_instance.create_vm(body, simid)
+ pprint(api_response)
+except ApiException as e:
+ print("Exception when calling WRENCHApi->createVM: %s\n" % e)
+ Parameters
+ +Name | +Description | +
---|---|
simid* | +
+
+
+
+
+
+
+
+
+ String
+
+
+
+
+ ID of the simulation
+
+
+ Required
+
+ |
+
Name | +Description | +
---|---|
body * | ++ + + + + | +
Responses
+Status: 200 - OK
+ + + +Status: 405 - Invalid input
+ + + ++
createWorkflow
+Create a blank workflow.
++
/simulation/{simid}/createWorkflow
+ +
Usage and SDK Samples
+ + + +curl -X POST\
+-H "Accept: application/json"\
+"https://wrench-project.org/v1/simulation/{simid}/createWorkflow"
+ 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
+ try {
+ WorkflowResponse result = apiInstance.createWorkflow(simid);
+ System.out.println(result);
+ } catch (ApiException e) {
+ 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();
+ String simid = simid_example; // String | ID of the simulation
+ try {
+ WorkflowResponse result = apiInstance.createWorkflow(simid);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling WRENCHApi#createWorkflow");
+ e.printStackTrace();
+ }
+ }
+}
+ String *simid = simid_example; // ID of the simulation
+
+WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
+
+// Create a blank workflow.
+[apiInstance createWorkflowWith:simid
+ completionHandler: ^(WorkflowResponse 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 callback = function(error, data, response) {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+};
+api.createWorkflow(simid, callback);
+
+ using System;
+using System.Diagnostics;
+using IO.Swagger.Api;
+using IO.Swagger.Client;
+using IO.Swagger.Model;
+
+namespace Example
+{
+ public class createWorkflowExample
+ {
+ public void main()
+ {
+
+ var apiInstance = new WRENCHApi();
+ var simid = simid_example; // String | ID of the simulation
+
+ try
+ {
+ // Create a blank workflow.
+ WorkflowResponse result = apiInstance.createWorkflow(simid);
+ Debug.WriteLine(result);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling WRENCHApi.createWorkflow: " + e.Message );
+ }
+ }
+ }
+}
+
+ <?php
+require_once(__DIR__ . '/vendor/autoload.php');
+
+$api_instance = new Swagger\Client\ApiWRENCHApi();
+$simid = simid_example; // String | ID of the simulation
+
+try {
+ $result = $api_instance->createWorkflow($simid);
+ print_r($result);
+} catch (Exception $e) {
+ 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 $simid = simid_example; # String | ID of the simulation
+
+eval {
+ my $result = $api_instance->createWorkflow(simid => $simid);
+ print Dumper($result);
+};
+if ($@) {
+ warn "Exception when calling WRENCHApi->createWorkflow: $@\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
+
+try:
+ # Create a blank workflow.
+ api_response = api_instance.create_workflow(simid)
+ pprint(api_response)
+except ApiException as e:
+ print("Exception when calling WRENCHApi->createWorkflow: %s\n" % e)
+ Parameters
+ +Name | +Description | +
---|---|
simid* | +
+
+
+
+
+
+
+
+
+ String
+
+
+
+
+ ID of the simulation
+
+
+ Required
+
+ |
+
Responses
+Status: 200 - OK
+ + + +Status: 405 - Invalid input
+ + + ++
createWorkflowFromJSON
+Create a workflow from a WfCommons JSON object.
++
/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}/createWorkflowFromJSON"
+ 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();
+ Simid_createWorkflowFromJSON_body body = ; // Simid_createWorkflowFromJSON_body | Input to create workflow from JSON.
+ String simid = simid_example; // String | ID of the simulation
+ try {
+ WorkflowResponseWithTaskList result = apiInstance.createWorkflowFromJSON(body, simid);
+ System.out.println(result);
+ } catch (ApiException e) {
+ 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();
+ Simid_createWorkflowFromJSON_body body = ; // Simid_createWorkflowFromJSON_body | Input to create workflow from JSON.
+ String simid = simid_example; // String | ID of the simulation
+ try {
+ WorkflowResponseWithTaskList result = apiInstance.createWorkflowFromJSON(body, simid);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling WRENCHApi#createWorkflowFromJSON");
+ e.printStackTrace();
+ }
+ }
+}
+ Simid_createWorkflowFromJSON_body *body = ; // Input to create workflow from JSON.
+String *simid = simid_example; // ID of the simulation
+
+WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
+
+// Create a workflow from a WfCommons JSON object.
+[apiInstance createWorkflowFromJSONWith:body
+ simid:simid
+ completionHandler: ^(WorkflowResponseWithTaskList 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 = ; // {{Simid_createWorkflowFromJSON_body}} Input to create workflow from JSON.
+var simid = simid_example; // {{String}} ID of the simulation
+
+var callback = function(error, data, response) {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+};
+api.createWorkflowFromJSON(bodysimid, callback);
+
+ using System;
+using System.Diagnostics;
+using IO.Swagger.Api;
+using IO.Swagger.Client;
+using IO.Swagger.Model;
+
+namespace Example
+{
+ public class createWorkflowFromJSONExample
+ {
+ 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
+
+ try
+ {
+ // Create a workflow from a WfCommons JSON object.
+ WorkflowResponseWithTaskList result = apiInstance.createWorkflowFromJSON(body, simid);
+ Debug.WriteLine(result);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling WRENCHApi.createWorkflowFromJSON: " + e.Message );
+ }
+ }
+ }
+}
+
+ <?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
+
+try {
+ $result = $api_instance->createWorkflowFromJSON($body, $simid);
+ print_r($result);
+} catch (Exception $e) {
+ 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::Simid_createWorkflowFromJSON_body->new(); # Simid_createWorkflowFromJSON_body | Input to create workflow from JSON.
+my $simid = simid_example; # String | ID of the simulation
+
+eval {
+ my $result = $api_instance->createWorkflowFromJSON(body => $body, simid => $simid);
+ print Dumper($result);
+};
+if ($@) {
+ warn "Exception when calling WRENCHApi->createWorkflowFromJSON: $@\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 = # Simid_createWorkflowFromJSON_body | Input to create workflow from JSON.
+simid = simid_example # String | ID of the simulation
+
+try:
+ # 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->createWorkflowFromJSON: %s\n" % e)
+ Parameters
+ +Name | +Description | +
---|---|
simid* | +
+
+
+
+
+
+
+
+
+ String
+
+
+
+
+ ID of the simulation
+
+
+ Required
+
+ |
+
Name | +Description | +
---|---|
body * | ++ + + + + | +
Responses
+Status: 200 - OK
+ + + +Status: 405 - Invalid input
+ + + ++
destroyVM
+Destroy a VM.
++
/simulation/{simid}/destroyVM
+ +
Usage and SDK Samples
+ + + +curl -X POST\
+-H "Accept: application/json"\
+-H "Content-Type: application/json"\
+"https://wrench-project.org/v1/simulation/{simid}/destroyVM"
+ 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();
+ Simid_destroyVM_body body = ; // Simid_destroyVM_body | Input to destroy a VM.
+ String simid = simid_example; // String | ID of the simulation
+ try {
+ GenericResponse result = apiInstance.destroyVM(body, simid);
+ System.out.println(result);
+ } catch (ApiException e) {
+ 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_destroyVM_body body = ; // Simid_destroyVM_body | Input to destroy a VM.
+ String simid = simid_example; // String | ID of the simulation
+ try {
+ GenericResponse result = apiInstance.destroyVM(body, simid);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling WRENCHApi#destroyVM");
+ e.printStackTrace();
+ }
+ }
+}
+ Simid_destroyVM_body *body = ; // Input to destroy a VM.
+String *simid = simid_example; // ID of the simulation
+
+WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
+
+// Destroy a VM.
+[apiInstance destroyVMWith:body
+ simid:simid
+ 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 body = ; // {{Simid_destroyVM_body}} Input to destroy a VM.
+var simid = simid_example; // {{String}} ID of the simulation
+
+var callback = function(error, data, response) {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+};
+api.destroyVM(bodysimid, callback);
+
+ using System;
+using System.Diagnostics;
+using IO.Swagger.Api;
+using IO.Swagger.Client;
+using IO.Swagger.Model;
+
+namespace Example
+{
+ public class destroyVMExample
+ {
+ public void main()
+ {
+
+ var apiInstance = new WRENCHApi();
+ var body = new Simid_destroyVM_body(); // Simid_destroyVM_body | Input to destroy a VM.
+ var simid = simid_example; // String | ID of the simulation
+
+ try
+ {
+ // Destroy a VM.
+ GenericResponse result = apiInstance.destroyVM(body, simid);
+ Debug.WriteLine(result);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling WRENCHApi.destroyVM: " + e.Message );
+ }
+ }
+ }
+}
+
+ <?php
+require_once(__DIR__ . '/vendor/autoload.php');
+
+$api_instance = new Swagger\Client\ApiWRENCHApi();
+$body = ; // Simid_destroyVM_body | Input to destroy a VM.
+$simid = simid_example; // String | ID of the simulation
+
+try {
+ $result = $api_instance->destroyVM($body, $simid);
+ print_r($result);
+} catch (Exception $e) {
+ 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_destroyVM_body->new(); # Simid_destroyVM_body | Input to destroy a VM.
+my $simid = simid_example; # String | ID of the simulation
+
+eval {
+ my $result = $api_instance->destroyVM(body => $body, simid => $simid);
+ print Dumper($result);
+};
+if ($@) {
+ warn "Exception when calling WRENCHApi->destroyVM: $@\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 = # Simid_destroyVM_body | Input to destroy a VM.
+simid = simid_example # String | ID of the simulation
+
+try:
+ # Destroy a VM.
+ api_response = api_instance.destroy_vm(body, simid)
+ pprint(api_response)
+except ApiException as e:
+ print("Exception when calling WRENCHApi->destroyVM: %s\n" % e)
+ Parameters
+ +Name | +Description | +
---|---|
simid* | +
+
+
+
+
+
+
+
+
+ String
+
+
+
+
+ ID of the simulation
+
+
+ Required
+
+ |
+
Name | +Description | +
---|---|
body * | ++ + + + + | +
Responses
+Status: 200 - OK
+ + + +Status: 405 - Invalid input
+ + + ++
fileRegistryServiceAddEntry
+Add an entry to a file registry service.
++
/simulation/{simid}/fileRegistryServices/{file_registry_service_name}/addEntry
+ +
Usage and SDK Samples
+ + + +curl -X POST\
+-H "Accept: application/json"\
+-H "Content-Type: application/json"\
+"https://wrench-project.org/v1/simulation/{simid}/fileRegistryServices/{file_registry_service_name}/addEntry"
+ 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();
+ 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);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling WRENCHApi#fileRegistryServiceAddEntry");
+ 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);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling WRENCHApi#fileRegistryServiceAddEntry");
+ e.printStackTrace();
+ }
+ }
+}
+ FileRegistryServiceEntry *body = ; // Entry to add.
+String *simid = simid_example; // ID of the simulation
+String *fileRegistryServiceName = fileRegistryServiceName_example; //
+
+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) {
+ if (output) {
+ NSLog(@"%@", output);
+ }
+ if (error) {
+ NSLog(@"Error: %@", error);
+ }
+ }];
+
+ 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) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+};
+api.fileRegistryServiceAddEntry(bodysimidfileRegistryServiceName, callback);
+
+ using System;
+using System.Diagnostics;
+using IO.Swagger.Api;
+using IO.Swagger.Client;
+using IO.Swagger.Model;
+
+namespace Example
+{
+ public class fileRegistryServiceAddEntryExample
+ {
+ 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);
+ Debug.WriteLine(result);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling WRENCHApi.fileRegistryServiceAddEntry: " + e.Message );
+ }
+ }
+ }
+}
+
+ <?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);
+ print_r($result);
+} catch (Exception $e) {
+ echo 'Exception when calling WRENCHApi->fileRegistryServiceAddEntry: ', $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);
+ print Dumper($result);
+};
+if ($@) {
+ warn "Exception when calling WRENCHApi->fileRegistryServiceAddEntry: $@\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 = # 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)
+ pprint(api_response)
+except ApiException as e:
+ print("Exception when calling WRENCHApi->fileRegistryServiceAddEntry: %s\n" % e)
+ Parameters
+ +Name | +Description | +
---|---|
simid* | +
+
+
+
+
+
+
+
+
+ String
+
+
+
+
+ ID of the simulation
+
+
+ Required
+
+ |
+
file_registry_service_name* | +
+
+
+
+
+
+
+
+
+ String
+
+
+
+
+ Required
+
+ |
+
Name | +Description | +
---|---|
body * | ++ + + + + | +
Responses
+Status: 200 - OK
+ + + +Status: 405 - Invalid input
+ + + ++
fileRegistryServiceLookUpEntry
+Look up the locations of file.
++
/simulation/{simid}/fileRegistryServices/{file_registry_service_name}/lookupEntry
+ +
Usage and SDK Samples
+ + + +curl -X POST\
+-H "Accept: application/json"\
+-H "Content-Type: application/json"\
+"https://wrench-project.org/v1/simulation/{simid}/fileRegistryServices/{file_registry_service_name}/lookupEntry"
+ 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();
+ 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 |
+ try {
+ StorageServiceList result = apiInstance.fileRegistryServiceLookUpEntry(body, simid, fileRegistryServiceName);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling WRENCHApi#fileRegistryServiceLookUpEntry");
+ 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 |
+ try {
+ StorageServiceList result = apiInstance.fileRegistryServiceLookUpEntry(body, simid, fileRegistryServiceName);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling WRENCHApi#fileRegistryServiceLookUpEntry");
+ e.printStackTrace();
+ }
+ }
+}
+ File_registry_service_name_lookupEntry_body *body = ; // File to lookup.
+String *simid = simid_example; // ID of the simulation
+String *fileRegistryServiceName = fileRegistryServiceName_example; //
+
+WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
+
+// Look up the locations of file.
+[apiInstance fileRegistryServiceLookUpEntryWith:body
+ simid:simid
+ fileRegistryServiceName:fileRegistryServiceName
+ completionHandler: ^(StorageServiceList 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 = ; // {{File_registry_service_name_lookupEntry_body}} File to lookup.
+var simid = simid_example; // {{String}} ID of the simulation
+var fileRegistryServiceName = fileRegistryServiceName_example; // {{String}}
+
+var callback = function(error, data, response) {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+};
+api.fileRegistryServiceLookUpEntry(bodysimidfileRegistryServiceName, callback);
+
+ using System;
+using System.Diagnostics;
+using IO.Swagger.Api;
+using IO.Swagger.Client;
+using IO.Swagger.Model;
+
+namespace Example
+{
+ public class fileRegistryServiceLookUpEntryExample
+ {
+ 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 |
+
+ try
+ {
+ // Look up the locations of file.
+ StorageServiceList result = apiInstance.fileRegistryServiceLookUpEntry(body, simid, fileRegistryServiceName);
+ Debug.WriteLine(result);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling WRENCHApi.fileRegistryServiceLookUpEntry: " + e.Message );
+ }
+ }
+ }
+}
+
+ <?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 |
+
+try {
+ $result = $api_instance->fileRegistryServiceLookUpEntry($body, $simid, $fileRegistryServiceName);
+ print_r($result);
+} catch (Exception $e) {
+ echo 'Exception when calling WRENCHApi->fileRegistryServiceLookUpEntry: ', $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 |
+
+eval {
+ my $result = $api_instance->fileRegistryServiceLookUpEntry(body => $body, simid => $simid, fileRegistryServiceName => $fileRegistryServiceName);
+ print Dumper($result);
+};
+if ($@) {
+ warn "Exception when calling WRENCHApi->fileRegistryServiceLookUpEntry: $@\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 = # File_registry_service_name_lookupEntry_body | File to lookup.
+simid = simid_example # String | ID of the simulation
+fileRegistryServiceName = fileRegistryServiceName_example # String |
+
+try:
+ # Look up the locations of file.
+ api_response = api_instance.file_registry_service_look_up_entry(body, simid, fileRegistryServiceName)
+ pprint(api_response)
+except ApiException as e:
+ print("Exception when calling WRENCHApi->fileRegistryServiceLookUpEntry: %s\n" % e)
+ Parameters
+ +Name | +Description | +
---|---|
simid* | +
+
+
+
+
+
+
+
+
+ String
+
+
+
+
+ ID of the simulation
+
+
+ Required
+
+ |
+
file_registry_service_name* | +
+
+
+
+
+
+
+
+
+ String
+
+
+
+
+ Required
+
+ |
+
Name | +Description | +
---|---|
body * | ++ + + + + | +
Responses
+Status: 200 - OK
+ + + +Status: 404 - Task not found
+ + + +Status: 405 - Invalid input
+ + + ++
fileRegistryServiceRemoveEntry
+Remove an entry from a file registry service.
++
/simulation/{simid}/fileRegistryServices/{file_registry_service_name}/removeEntry
+ +
Usage and SDK Samples
+ + + +curl -X POST\
+-H "Accept: application/json"\
+-H "Content-Type: application/json"\
+"https://wrench-project.org/v1/simulation/{simid}/fileRegistryServices/{file_registry_service_name}/removeEntry"
+ 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();
+ 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
+ try {
+ GenericResponse result = apiInstance.fileRegistryServiceRemoveEntry(body, simid, fileRegistryServiceName);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling WRENCHApi#fileRegistryServiceRemoveEntry");
+ 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
+ try {
+ GenericResponse result = apiInstance.fileRegistryServiceRemoveEntry(body, simid, fileRegistryServiceName);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling WRENCHApi#fileRegistryServiceRemoveEntry");
+ 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
+
+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) {
+ if (output) {
+ NSLog(@"%@", output);
+ }
+ if (error) {
+ NSLog(@"Error: %@", error);
+ }
+ }];
+
+ 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 callback = function(error, data, response) {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+};
+api.fileRegistryServiceRemoveEntry(bodysimidfileRegistryServiceName, callback);
+
+ using System;
+using System.Diagnostics;
+using IO.Swagger.Api;
+using IO.Swagger.Client;
+using IO.Swagger.Model;
+
+namespace Example
+{
+ public class fileRegistryServiceRemoveEntryExample
+ {
+ 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
+
+ try
+ {
+ // Remove an entry from a file registry service.
+ GenericResponse result = apiInstance.fileRegistryServiceRemoveEntry(body, simid, fileRegistryServiceName);
+ Debug.WriteLine(result);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling WRENCHApi.fileRegistryServiceRemoveEntry: " + e.Message );
+ }
+ }
+ }
+}
+
+ <?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
+
+try {
+ $result = $api_instance->fileRegistryServiceRemoveEntry($body, $simid, $fileRegistryServiceName);
+ print_r($result);
+} catch (Exception $e) {
+ echo 'Exception when calling WRENCHApi->fileRegistryServiceRemoveEntry: ', $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
+
+eval {
+ my $result = $api_instance->fileRegistryServiceRemoveEntry(body => $body, simid => $simid, fileRegistryServiceName => $fileRegistryServiceName);
+ print Dumper($result);
+};
+if ($@) {
+ warn "Exception when calling WRENCHApi->fileRegistryServiceRemoveEntry: $@\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 = # FileRegistryServiceEntry | Entry to remove.
+simid = simid_example # String | ID of the simulation
+fileRegistryServiceName = fileRegistryServiceName_example # String | name of the file registry service
+
+try:
+ # Remove an entry from a file registry service.
+ api_response = api_instance.file_registry_service_remove_entry(body, simid, fileRegistryServiceName)
+ pprint(api_response)
+except ApiException as e:
+ print("Exception when calling WRENCHApi->fileRegistryServiceRemoveEntry: %s\n" % e)
+ Parameters
+ +Name | +Description | +
---|---|
simid* | +
+
+
+
+
+
+
+
+
+ String
+
+
+
+
+ ID of the simulation
+
+
+ Required
+
+ |
+
file_registry_service_name* | +
+
+
+
+
+
+
+
+
+ String
+
+
+
+
+ name of the file registry service
+
+
+ Required
+
+ |
+
Name | +Description | +
---|---|
body * | ++ + + + + | +
Responses
+Status: 200 - OK
+ + + +Status: 405 - Invalid input
+ + + ++
getAllHostnames
+Retrieve the names of all hosts in the simulated platform.
++
/simulation/{simid}/hostnames
+ +
Usage and SDK Samples
+ + + +curl -X GET\
+-H "Accept: application/json"\
+"https://wrench-project.org/v1/simulation/{simid}/hostnames"
+ 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 simulation
+ try {
+ HostnameList result = apiInstance.getAllHostnames(simid);
+ System.out.println(result);
+ } catch (ApiException e) {
+ 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();
+ String simid = simid_example; // String | ID of simulation
+ try {
+ HostnameList result = apiInstance.getAllHostnames(simid);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling WRENCHApi#getAllHostnames");
+ e.printStackTrace();
+ }
+ }
+}
+ String *simid = simid_example; // ID of simulation
+
+WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
+
+// Retrieve the names of all hosts in the simulated platform.
+[apiInstance getAllHostnamesWith:simid
+ completionHandler: ^(HostnameList 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 simulation
+
+var callback = function(error, data, response) {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+};
+api.getAllHostnames(simid, callback);
+
+ using System;
+using System.Diagnostics;
+using IO.Swagger.Api;
+using IO.Swagger.Client;
+using IO.Swagger.Model;
+
+namespace Example
+{
+ public class getAllHostnamesExample
+ {
+ public void main()
+ {
+
+ var apiInstance = new WRENCHApi();
+ var simid = simid_example; // String | ID of simulation
+
+ try
+ {
+ // 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.getAllHostnames: " + e.Message );
+ }
+ }
+ }
+}
+
+ <?php
+require_once(__DIR__ . '/vendor/autoload.php');
+
+$api_instance = new Swagger\Client\ApiWRENCHApi();
+$simid = simid_example; // String | ID of simulation
+
+try {
+ $result = $api_instance->getAllHostnames($simid);
+ print_r($result);
+} catch (Exception $e) {
+ 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 $simid = simid_example; # String | ID of simulation
+
+eval {
+ my $result = $api_instance->getAllHostnames(simid => $simid);
+ print Dumper($result);
+};
+if ($@) {
+ warn "Exception when calling WRENCHApi->getAllHostnames: $@\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 simulation
+
+try:
+ # 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->getAllHostnames: %s\n" % e)
+ Parameters
+ +Name | +Description | +
---|---|
simid* | +
+
+
+
+
+
+
+
+
+ String
+
+
+
+
+ ID of simulation
+
+
+ Required
+
+ |
+
Responses
+Status: 200 - OK
+ + + +Status: 405 - Invalid input
+ + + ++
getExecutionHosts
+Get the list of execution hosts available to run VMs.
++
/simulation/{simid}/getExecutionHosts
+ +
Usage and SDK Samples
+ + + +curl -X GET\
+-H "Accept: application/json"\
+"https://wrench-project.org/v1/simulation/{simid}/getExecutionHosts"
+ 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 simulation
+ try {
+ HostnameList result = apiInstance.getExecutionHosts(simid);
+ System.out.println(result);
+ } catch (ApiException e) {
+ 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();
+ String simid = simid_example; // String | ID of simulation
+ try {
+ HostnameList result = apiInstance.getExecutionHosts(simid);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling WRENCHApi#getExecutionHosts");
+ e.printStackTrace();
+ }
+ }
+}
+ String *simid = simid_example; // ID of simulation
+
+WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
+
+// Get the list of execution hosts available to run VMs.
+[apiInstance getExecutionHostsWith:simid
+ completionHandler: ^(HostnameList 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 simulation
+
+var callback = function(error, data, response) {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+};
+api.getExecutionHosts(simid, callback);
+
+ using System;
+using System.Diagnostics;
+using IO.Swagger.Api;
+using IO.Swagger.Client;
+using IO.Swagger.Model;
+
+namespace Example
+{
+ public class getExecutionHostsExample
+ {
+ public void main()
+ {
+
+ var apiInstance = new WRENCHApi();
+ var simid = simid_example; // String | ID of simulation
+
+ try
+ {
+ // 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.getExecutionHosts: " + e.Message );
+ }
+ }
+ }
+}
+
+ <?php
+require_once(__DIR__ . '/vendor/autoload.php');
+
+$api_instance = new Swagger\Client\ApiWRENCHApi();
+$simid = simid_example; // String | ID of simulation
+
+try {
+ $result = $api_instance->getExecutionHosts($simid);
+ print_r($result);
+} catch (Exception $e) {
+ 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 $simid = simid_example; # String | ID of simulation
+
+eval {
+ my $result = $api_instance->getExecutionHosts(simid => $simid);
+ print Dumper($result);
+};
+if ($@) {
+ warn "Exception when calling WRENCHApi->getExecutionHosts: $@\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 simulation
+
+try:
+ # 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->getExecutionHosts: %s\n" % e)
+ Parameters
+ +Name | +Description | +
---|---|
simid* | +
+
+
+
+
+
+
+
+
+ String
+
+
+
+
+ ID of simulation
+
+
+ Required
+
+ |
+
Responses
+Status: 200 - OK
+ + + +Status: 405 - Invalid input
+ + + ++
getFileSize
+Get a file size.
++
/simulation/{simid}/files/{file_id}/size
+ +
Usage and SDK Samples
+ + + +curl -X GET\
+-H "Accept: application/json"\
+"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.*;
+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 fileId = fileId_example; // String | Name of the file
+ try {
+ FileSizeResponse result = apiInstance.getFileSize(simid, fileId);
+ System.out.println(result);
+ } catch (ApiException e) {
+ 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();
+ String simid = simid_example; // String | ID of the simulation
+ String fileId = fileId_example; // String | Name of the file
+ try {
+ FileSizeResponse result = apiInstance.getFileSize(simid, fileId);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling WRENCHApi#getFileSize");
+ e.printStackTrace();
+ }
+ }
+}
+ String *simid = simid_example; // ID of the simulation
+String *fileId = fileId_example; // Name of the file
+
+WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
+
+// Get a file size.
+[apiInstance getFileSizeWith:simid
+ fileId:fileId
+ completionHandler: ^(FileSizeResponse 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 fileId = fileId_example; // {{String}} Name of the file
+
+var callback = function(error, data, response) {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+};
+api.getFileSize(simid, fileId, callback);
+
+ using System;
+using System.Diagnostics;
+using IO.Swagger.Api;
+using IO.Swagger.Client;
+using IO.Swagger.Model;
+
+namespace Example
+{
+ public class getFileSizeExample
+ {
+ 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
+
+ try
+ {
+ // Get a file size.
+ FileSizeResponse result = apiInstance.getFileSize(simid, fileId);
+ Debug.WriteLine(result);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling WRENCHApi.getFileSize: " + e.Message );
+ }
+ }
+ }
+}
+
+ <?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
+
+try {
+ $result = $api_instance->getFileSize($simid, $fileId);
+ print_r($result);
+} catch (Exception $e) {
+ 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 $simid = simid_example; # String | ID of the simulation
+my $fileId = fileId_example; # String | Name of the file
+
+eval {
+ my $result = $api_instance->getFileSize(simid => $simid, fileId => $fileId);
+ print Dumper($result);
+};
+if ($@) {
+ warn "Exception when calling WRENCHApi->getFileSize: $@\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
+fileId = fileId_example # String | Name of the file
+
+try:
+ # 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->getFileSize: %s\n" % e)
+ Parameters
+ +Name | +Description | +
---|---|
simid* | +
+
+
+
+
+
+
+
+
+ String
+
+
+
+
+ ID of the simulation
+
+
+ Required
+
+ |
+
file_id* | +
+
+
+
+
+
+
+
+
+ String
+
+
+
+
+ Name of the file
+
+
+ Required
+
+ |
+
Responses
+Status: 200 - OK
+ + + +Status: 404 - File not found
+ + + +Status: 405 - Invalid input
+ + + ++
getInputFiles
+Return the list of input files of the workflow.
++
/simulation/{simid}/{workflow_name}/inputFiles
+ +
Usage and SDK Samples
+ + + +curl -X GET\
+-H "Accept: application/json"\
+"https://wrench-project.org/v1/simulation/{simid}/{workflow_name}/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 |
+ try {
+ FileList result = apiInstance.getInputFiles(simid, workflowName);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling WRENCHApi#getInputFiles");
+ 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 |
+ try {
+ FileList result = apiInstance.getInputFiles(simid, workflowName);
+ System.out.println(result);
+ } catch (ApiException e) {
+ 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];
+
+// Return the list of input files of the workflow.
+[apiInstance getInputFilesWith:simid
+ workflowName:workflowName
+ 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 callback = function(error, data, response) {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+};
+api.getInputFiles(simid, workflowName, callback);
+
+ using System;
+using System.Diagnostics;
+using IO.Swagger.Api;
+using IO.Swagger.Client;
+using IO.Swagger.Model;
+
+namespace Example
+{
+ 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
+ {
+ // 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.getInputFiles: " + 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 |
+
+try {
+ $result = $api_instance->getInputFiles($simid, $workflowName);
+ print_r($result);
+} catch (Exception $e) {
+ 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->getInputFiles(simid => $simid, workflowName => $workflowName);
+ print Dumper($result);
+};
+if ($@) {
+ warn "Exception when calling WRENCHApi->getInputFiles: $@\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 |
+
+try:
+ # 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->getInputFiles: %s\n" % e)
+ Parameters
+ +Name | +Description | +
---|---|
simid* | +
+
+
+
+
+
+
+
+
+ String
+
+
+
+
+ ID of the simulation
+
+
+ Required
+
+ |
+
workflow_name* | +
+
+
+
+
+
+
+
+
+ String
+
+
+
+
+ Required
+
+ |
+
Responses
+Status: 200 - OK
+ + + +Status: 404 - Task not found
+ + + +Status: 405 - Invalid input
+ + + ++
getSimulationEvents
+Retrieve all simulation events since last time we checked.
++
/simulation/{simid}/simulationEvents
+ +
Usage and SDK Samples
+ + + +curl -X GET\
+-H "Accept: application/json"\
+"https://wrench-project.org/v1/simulation/{simid}/simulationEvents"
+ 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 simulation
+ try {
+ EventList result = apiInstance.getSimulationEvents(simid);
+ System.out.println(result);
+ } catch (ApiException e) {
+ 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 simulation
+ try {
+ EventList result = apiInstance.getSimulationEvents(simid);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling WRENCHApi#getSimulationEvents");
+ e.printStackTrace();
+ }
+ }
+}
+ String *simid = simid_example; // ID of simulation
+
+WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
+
+// Retrieve all simulation events since last time we checked.
+[apiInstance getSimulationEventsWith:simid
+ completionHandler: ^(EventList 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 simulation
+
+var callback = function(error, data, response) {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+};
+api.getSimulationEvents(simid, callback);
+
+ using System;
+using System.Diagnostics;
+using IO.Swagger.Api;
+using IO.Swagger.Client;
+using IO.Swagger.Model;
+
+namespace Example
+{
+ public class getSimulationEventsExample
+ {
+ public void main()
+ {
+
+ var apiInstance = new WRENCHApi();
+ var simid = simid_example; // String | ID of simulation
+
+ try
+ {
+ // 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.getSimulationEvents: " + e.Message );
+ }
+ }
+ }
+}
+
+ <?php
+require_once(__DIR__ . '/vendor/autoload.php');
+
+$api_instance = new Swagger\Client\ApiWRENCHApi();
+$simid = simid_example; // String | ID of simulation
+
+try {
+ $result = $api_instance->getSimulationEvents($simid);
+ print_r($result);
+} catch (Exception $e) {
+ 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 simulation
+
+eval {
+ my $result = $api_instance->getSimulationEvents(simid => $simid);
+ print Dumper($result);
+};
+if ($@) {
+ warn "Exception when calling WRENCHApi->getSimulationEvents: $@\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 simulation
+
+try:
+ # 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->getSimulationEvents: %s\n" % e)
+ Parameters
+ +Name | +Description | +
---|---|
simid* | +
+
+
+
+
+
+
+
+
+ String
+
+
+
+
+ ID of simulation
+
+
+ Required
+
+ |
+
Responses
+Status: 200 - OK
+ + + +Status: 405 - Invalid input
+ + + ++
getSimulationTime
+Retrieve the current simulated time.
++
/simulation/{simid}/getTime
+ +
Usage and SDK Samples
+ + + +curl -X GET\
+-H "Accept: application/json"\
+"https://wrench-project.org/v1/simulation/{simid}/getTime"
+ 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
+ try {
+ TimeResponse result = apiInstance.getSimulationTime(simid);
+ System.out.println(result);
+ } catch (ApiException e) {
+ 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();
+ String simid = simid_example; // String | ID of the simulation
+ try {
+ TimeResponse result = apiInstance.getSimulationTime(simid);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling WRENCHApi#getSimulationTime");
+ e.printStackTrace();
+ }
+ }
+}
+ String *simid = simid_example; // ID of the simulation
+
+WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
+
+// Retrieve the current simulated time.
+[apiInstance getSimulationTimeWith:simid
+ 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 callback = function(error, data, response) {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+};
+api.getSimulationTime(simid, callback);
+
+ using System;
+using System.Diagnostics;
+using IO.Swagger.Api;
+using IO.Swagger.Client;
+using IO.Swagger.Model;
+
+namespace Example
+{
+ public class getSimulationTimeExample
+ {
+ public void main()
+ {
+
+ var apiInstance = new WRENCHApi();
+ var simid = simid_example; // String | ID of the simulation
+
+ try
+ {
+ // Retrieve the current simulated time.
+ TimeResponse result = apiInstance.getSimulationTime(simid);
+ Debug.WriteLine(result);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling WRENCHApi.getSimulationTime: " + e.Message );
+ }
+ }
+ }
+}
+
+ <?php
+require_once(__DIR__ . '/vendor/autoload.php');
+
+$api_instance = new Swagger\Client\ApiWRENCHApi();
+$simid = simid_example; // String | ID of the simulation
+
+try {
+ $result = $api_instance->getSimulationTime($simid);
+ print_r($result);
+} catch (Exception $e) {
+ 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 $simid = simid_example; # String | ID of the simulation
+
+eval {
+ my $result = $api_instance->getSimulationTime(simid => $simid);
+ print Dumper($result);
+};
+if ($@) {
+ warn "Exception when calling WRENCHApi->getSimulationTime: $@\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
+
+try:
+ # 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->getSimulationTime: %s\n" % e)
+ Parameters
+ +Name | +Description | +
---|---|
simid* | +
+
+
+
+
+
+
+
+
+ String
+
+
+
+
+ ID of the simulation
+
+
+ Required
+
+ |
+
Responses
+Status: 200 - OK
+ + + +Status: 405 - Invalid input
+ + + ++
getStandardJobTasks
+Retrieve job's tasks
++
/simulation/{simid}/jobs/{job_name}/tasks
+ +
Usage and SDK Samples
+ + + +curl -X GET\
+-H "Accept: application/json"\
+"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.*;
+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 jobName = jobName_example; // String | ID of the job
+ try {
+ TaskList result = apiInstance.getStandardJobTasks(simid, jobName);
+ System.out.println(result);
+ } catch (ApiException e) {
+ 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();
+ String simid = simid_example; // String | ID of the simulation
+ String jobName = jobName_example; // String | ID of the job
+ try {
+ TaskList result = apiInstance.getStandardJobTasks(simid, jobName);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling WRENCHApi#getStandardJobTasks");
+ e.printStackTrace();
+ }
+ }
+}
+ String *simid = simid_example; // ID of the simulation
+String *jobName = jobName_example; // ID of the job
+
+WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
+
+// Retrieve job's tasks
+[apiInstance getStandardJobTasksWith:simid
+ jobName:jobName
+ completionHandler: ^(TaskList 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 jobName = jobName_example; // {{String}} ID of the job
+
+var callback = function(error, data, response) {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+};
+api.getStandardJobTasks(simid, jobName, callback);
+
+ using System;
+using System.Diagnostics;
+using IO.Swagger.Api;
+using IO.Swagger.Client;
+using IO.Swagger.Model;
+
+namespace Example
+{
+ public class getStandardJobTasksExample
+ {
+ 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
+
+ try
+ {
+ // Retrieve job's tasks
+ TaskList result = apiInstance.getStandardJobTasks(simid, jobName);
+ Debug.WriteLine(result);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling WRENCHApi.getStandardJobTasks: " + e.Message );
+ }
+ }
+ }
+}
+
+ <?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
+
+try {
+ $result = $api_instance->getStandardJobTasks($simid, $jobName);
+ print_r($result);
+} catch (Exception $e) {
+ 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 $simid = simid_example; # String | ID of the simulation
+my $jobName = jobName_example; # String | ID of the job
+
+eval {
+ my $result = $api_instance->getStandardJobTasks(simid => $simid, jobName => $jobName);
+ print Dumper($result);
+};
+if ($@) {
+ warn "Exception when calling WRENCHApi->getStandardJobTasks: $@\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
+jobName = jobName_example # String | ID of the job
+
+try:
+ # 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->getStandardJobTasks: %s\n" % e)
+ Parameters
+ +Name | +Description | +
---|---|
simid* | +
+
+
+
+
+
+
+
+
+ String
+
+
+
+
+ ID of the simulation
+
+
+ Required
+
+ |
+
job_name* | +
+
+
+
+
+
+
+
+
+ String
+
+
+
+
+ ID of the job
+
+
+ Required
+
+ |
+
Responses
+Status: 200 - OK
+ + + +Status: 404 - Job not found
+ + + +Status: 405 - Invalid input
+ + + ++
getTaskEndDate
+Get a task's end date.
++
/simulation/{simid}/{workflow_name}/tasks/{name}/taskGetEndDate
+ +
Usage and SDK Samples
+ + + +curl -X GET\
+-H "Accept: application/json"\
+"https://wrench-project.org/v1/simulation/{simid}/{workflow_name}/tasks/{name}/taskGetEndDate"
+ 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 name = name_example; // String | ID of the task
+ try {
+ TimeResponse result = apiInstance.getTaskEndDate(simid, workflowName, name);
+ System.out.println(result);
+ } catch (ApiException e) {
+ 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();
+ String simid = simid_example; // String | ID of the simulation
+ String workflowName = workflowName_example; // String |
+ String name = name_example; // String | ID of the task
+ try {
+ TimeResponse result = apiInstance.getTaskEndDate(simid, workflowName, name);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling WRENCHApi#getTaskEndDate");
+ e.printStackTrace();
+ }
+ }
+}
+ String *simid = simid_example; // ID of the simulation
+String *workflowName = workflowName_example; //
+String *name = name_example; // ID of the task
+
+WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
+
+// Get a task's end date.
+[apiInstance getTaskEndDateWith:simid
+ workflowName:workflowName
+ 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 workflowName = workflowName_example; // {{String}}
+var name = name_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.getTaskEndDate(simid, workflowName, name, callback);
+
+ using System;
+using System.Diagnostics;
+using IO.Swagger.Api;
+using IO.Swagger.Client;
+using IO.Swagger.Model;
+
+namespace Example
+{
+ public class getTaskEndDateExample
+ {
+ public void main()
+ {
+
+ var apiInstance = new WRENCHApi();
+ var simid = simid_example; // String | ID of the simulation
+ var workflowName = workflowName_example; // String |
+ var name = name_example; // String | ID of the task
+
+ try
+ {
+ // Get a task's end date.
+ TimeResponse result = apiInstance.getTaskEndDate(simid, workflowName, name);
+ Debug.WriteLine(result);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling WRENCHApi.getTaskEndDate: " + 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 |
+$name = name_example; // String | ID of the task
+
+try {
+ $result = $api_instance->getTaskEndDate($simid, $workflowName, $name);
+ print_r($result);
+} catch (Exception $e) {
+ 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 $simid = simid_example; # String | ID of the simulation
+my $workflowName = workflowName_example; # String |
+my $name = name_example; # String | ID of the task
+
+eval {
+ my $result = $api_instance->getTaskEndDate(simid => $simid, workflowName => $workflowName, name => $name);
+ print Dumper($result);
+};
+if ($@) {
+ warn "Exception when calling WRENCHApi->getTaskEndDate: $@\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 |
+name = name_example # String | ID of the task
+
+try:
+ # Get a task's end date.
+ api_response = api_instance.get_task_end_date(simid, workflowName, name)
+ pprint(api_response)
+except ApiException as e:
+ print("Exception when calling WRENCHApi->getTaskEndDate: %s\n" % e)
+ Parameters
+ +Name | +Description | +
---|---|
simid* | +
+
+
+
+
+
+
+
+
+ String
+
+
+
+
+ ID of the simulation
+
+
+ Required
+
+ |
+
workflow_name* | +
+
+
+
+
+
+
+
+
+ String
+
+
+
+
+ Required
+
+ |
+
name* | +
+
+
+
+
+
+
+
+
+ String
+
+
+
+
+ ID of the task
+
+
+ Required
+
+ |
+
Responses
+Status: 200 - OK
+ + + +Status: 404 - Job not found
+ + + +Status: 405 - Invalid input
+ + + ++
getTaskEndDate_1
+Get an action's end date.
++
/simulation/{simid}/{compound_job_name}/actions/{name}/actionGetEndDate
+ +
Usage and SDK Samples
+ + + +curl -X GET\
+-H "Accept: application/json"\
+"https://wrench-project.org/v1/simulation/{simid}/{compound_job_name}/actions/{name}/actionGetEndDate"
+ 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.getTaskEndDate_0(simid, compoundJobName, name);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling WRENCHApi#getTaskEndDate_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.getTaskEndDate_0(simid, compoundJobName, name);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling WRENCHApi#getTaskEndDate_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 end date.
+[apiInstance getTaskEndDate_1With: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.getTaskEndDate_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 getTaskEndDate_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 end date.
+ TimeResponse result = apiInstance.getTaskEndDate_0(simid, compoundJobName, name);
+ Debug.WriteLine(result);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling WRENCHApi.getTaskEndDate_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->getTaskEndDate_0($simid, $compoundJobName, $name);
+ print_r($result);
+} catch (Exception $e) {
+ echo 'Exception when calling WRENCHApi->getTaskEndDate_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->getTaskEndDate_0(simid => $simid, compoundJobName => $compoundJobName, name => $name);
+ print Dumper($result);
+};
+if ($@) {
+ warn "Exception when calling WRENCHApi->getTaskEndDate_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 end date.
+ api_response = api_instance.get_task_end_date_0(simid, compoundJobName, name)
+ pprint(api_response)
+except ApiException as e:
+ print("Exception when calling WRENCHApi->getTaskEndDate_0: %s\n" % e)
+ Parameters
+ +Name | +Description | +
---|---|
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
+Get a task's flops
++
/simulation/{simid}/{workflow_name}/tasks/{name}/taskGetFlops
+ +
Usage and SDK Samples
+ + + +curl -X GET\
+-H "Accept: application/json"\
+"https://wrench-project.org/v1/simulation/{simid}/{workflow_name}/tasks/{name}/taskGetFlops"
+ 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 | Name of the workflow
+ String name = name_example; // String | ID of the task
+ try {
+ TaskFlops result = apiInstance.getTaskFlops(simid, workflowName, name);
+ System.out.println(result);
+ } catch (ApiException e) {
+ 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 the simulation
+ String workflowName = workflowName_example; // String | Name of the workflow
+ String name = name_example; // String | ID of the task
+ try {
+ TaskFlops result = apiInstance.getTaskFlops(simid, workflowName, name);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling WRENCHApi#getTaskFlops");
+ e.printStackTrace();
+ }
+ }
+}
+ String *simid = simid_example; // ID of the simulation
+String *workflowName = workflowName_example; // Name of the workflow
+String *name = name_example; // ID of the task
+
+WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
+
+// Get a task's flops
+[apiInstance getTaskFlopsWith:simid
+ workflowName:workflowName
+ 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 workflowName = workflowName_example; // {{String}} Name of the workflow
+var name = name_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.getTaskFlops(simid, workflowName, name, callback);
+
+ using System;
+using System.Diagnostics;
+using IO.Swagger.Api;
+using IO.Swagger.Client;
+using IO.Swagger.Model;
+
+namespace Example
+{
+ public class getTaskFlopsExample
+ {
+ public void main()
+ {
+
+ var apiInstance = new WRENCHApi();
+ var simid = simid_example; // String | ID of the simulation
+ var workflowName = workflowName_example; // String | Name of the workflow
+ var name = name_example; // String | ID of the task
+
+ try
+ {
+ // Get a task's flops
+ TaskFlops result = apiInstance.getTaskFlops(simid, workflowName, name);
+ Debug.WriteLine(result);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling WRENCHApi.getTaskFlops: " + 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 | Name of the workflow
+$name = name_example; // String | ID of the task
+
+try {
+ $result = $api_instance->getTaskFlops($simid, $workflowName, $name);
+ print_r($result);
+} catch (Exception $e) {
+ 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 the simulation
+my $workflowName = workflowName_example; # String | Name of the workflow
+my $name = name_example; # String | ID of the task
+
+eval {
+ my $result = $api_instance->getTaskFlops(simid => $simid, workflowName => $workflowName, name => $name);
+ print Dumper($result);
+};
+if ($@) {
+ warn "Exception when calling WRENCHApi->getTaskFlops: $@\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 | Name of the workflow
+name = name_example # String | ID of the task
+
+try:
+ # Get a task's flops
+ api_response = api_instance.get_task_flops(simid, workflowName, name)
+ pprint(api_response)
+except ApiException as e:
+ print("Exception when calling WRENCHApi->getTaskFlops: %s\n" % e)
+ Parameters
+ +Name | +Description | +
---|---|
simid* | +
+
+
+
+
+
+
+
+
+ String
+
+
+
+
+ ID of the simulation
+
+
+ Required
+
+ |
+
workflow_name* | +
+
+
+
+
+
+
+
+
+ String
+
+
+
+
+ Name of the workflow
+
+
+ Required
+
+ |
+
name* | +
+
+
+
+
+
+
+
+
+ String
+
+
+
+
+ ID of the task
+
+
+ Required
+
+ |
+
Responses
+Status: 200 - OK
+ + + +Status: 404 - Job not found
+ + + +Status: 405 - Invalid input
+ + + ++
getTaskFlops_2
+Get an action's flops
++
/simulation/{simid}/compoundJobs/{compound_job_name}/setPriority
+ +
Usage and SDK Samples
+ + + +curl -X PUT\
+-H "Accept: application/json"\
+"https://wrench-project.org/v1/simulation/{simid}/compoundJobs/{compound_job_name}/setPriority"
+ 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_0(simid, compoundJobName);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling WRENCHApi#getTaskFlops_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
+ try {
+ TaskFlops result = apiInstance.getTaskFlops_0(simid, compoundJobName);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling WRENCHApi#getTaskFlops_0");
+ 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_2With: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_0(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_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
+
+ try
+ {
+ // Get an action's flops
+ TaskFlops result = apiInstance.getTaskFlops_0(simid, compoundJobName);
+ Debug.WriteLine(result);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling WRENCHApi.getTaskFlops_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
+
+try {
+ $result = $api_instance->getTaskFlops_0($simid, $compoundJobName);
+ print_r($result);
+} catch (Exception $e) {
+ echo 'Exception when calling WRENCHApi->getTaskFlops_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
+
+eval {
+ my $result = $api_instance->getTaskFlops_0(simid => $simid, compoundJobName => $compoundJobName);
+ print Dumper($result);
+};
+if ($@) {
+ warn "Exception when calling WRENCHApi->getTaskFlops_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
+
+try:
+ # Get an action's flops
+ api_response = api_instance.get_task_flops_0(simid, compoundJobName)
+ pprint(api_response)
+except ApiException as e:
+ print("Exception when calling WRENCHApi->getTaskFlops_0: %s\n" % e)
+ Parameters
+ +Name | +Description | +
---|---|
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_3
+Get an action's flops
++
/simulation/{simid}/compoundJobs/{compound_job_name}/getParentJobs
+ +
Usage and SDK Samples
+ + + +curl -X GET\
+-H "Accept: application/json"\
+"https://wrench-project.org/v1/simulation/{simid}/compoundJobs/{compound_job_name}/getParentJobs"
+ 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_1(simid, compoundJobName);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling WRENCHApi#getTaskFlops_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
+ try {
+ TaskFlops result = apiInstance.getTaskFlops_1(simid, compoundJobName);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling WRENCHApi#getTaskFlops_1");
+ 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_3With: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_1(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_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
+
+ try
+ {
+ // Get an action's flops
+ TaskFlops result = apiInstance.getTaskFlops_1(simid, compoundJobName);
+ Debug.WriteLine(result);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling WRENCHApi.getTaskFlops_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
+
+try {
+ $result = $api_instance->getTaskFlops_1($simid, $compoundJobName);
+ print_r($result);
+} catch (Exception $e) {
+ echo 'Exception when calling WRENCHApi->getTaskFlops_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
+
+eval {
+ my $result = $api_instance->getTaskFlops_1(simid => $simid, compoundJobName => $compoundJobName);
+ print Dumper($result);
+};
+if ($@) {
+ warn "Exception when calling WRENCHApi->getTaskFlops_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
+
+try:
+ # Get an action's flops
+ api_response = api_instance.get_task_flops_1(simid, compoundJobName)
+ pprint(api_response)
+except ApiException as e:
+ print("Exception when calling WRENCHApi->getTaskFlops_1: %s\n" % e)
+ Parameters
+ +Name | +Description | +
---|---|
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_4
+Get an action's flops
++
/simulation/{simid}/compoundJobs/{compound_job_name}/addFileRegistryAddEntryAction
+ +
Usage and SDK Samples
+ + + +curl -X POST\
+-H "Accept: application/json"\
+"https://wrench-project.org/v1/simulation/{simid}/compoundJobs/{compound_job_name}/addFileRegistryAddEntryAction"
+ 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_10(simid, compoundJobName);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling WRENCHApi#getTaskFlops_10");
+ 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_10(simid, compoundJobName);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling WRENCHApi#getTaskFlops_10");
+ 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_4With: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_10(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_10Example
+ {
+ 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_10(simid, compoundJobName);
+ Debug.WriteLine(result);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling WRENCHApi.getTaskFlops_10: " + 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_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
+ +Name | +Description | +
---|---|
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
+ +Name | +Description | +
---|---|
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
+ +Name | +Description | +
---|---|
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
+ +Name | +Description | +
---|---|
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
+ +Name | +Description | +
---|---|
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
+ +Name | +Description | +
---|---|
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
+ +Name | +Description | +
---|---|
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
+ +Name | +Description | +
---|---|
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 POST\
+
+ curl -X GET\
-H "Accept: application/json"\
--H "Content-Type: application/json"\
-"https://wrench-project.org/v1/simulation/{simid}/addBatchComputeService"
+"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.*;
@@ -1982,52 +19576,56 @@ Usage and SDK Samples
public static void main(String[] args) {
WRENCHApi apiInstance = new WRENCHApi();
- Simid_addBatchComputeService_body body = ; // Simid_addBatchComputeService_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 name = name_example; // String | Name of the action
try {
- ServiceResponse result = apiInstance.addBatchComputeService(body, simid);
+ TaskFlops result = apiInstance.getTaskFlops_18(simid, compoundJobName, name);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling WRENCHApi#addBatchComputeService");
+ 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();
- Simid_addBatchComputeService_body body = ; // Simid_addBatchComputeService_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 name = name_example; // String | Name of the action
try {
- ServiceResponse result = apiInstance.addBatchComputeService(body, simid);
+ TaskFlops result = apiInstance.getTaskFlops_18(simid, compoundJobName, name);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling WRENCHApi#addBatchComputeService");
+ System.err.println("Exception when calling WRENCHApi#getTaskFlops_18");
e.printStackTrace();
}
}
}
-
- Simid_addBatchComputeService_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 *compoundJobName = compoundJobName_example; // Name of the compound job
+String *name = name_example; // Name of the action
WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
-// Create and start a batch compute service.
-[apiInstance addBatchComputeServiceWith:body
- simid:simid
- completionHandler: ^(ServiceResponse output, NSError* error) {
+// Get an action's flops
+[apiInstance getTaskFlops_12With:simid
+ compoundJobName:compoundJobName
+ name:name
+ completionHandler: ^(TaskFlops output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
@@ -2038,12 +19636,13 @@ Usage and SDK Samples
-
+
var WrenchRestApi = require('wrench_rest_api');
var api = new WrenchRestApi.WRENCHApi()
-var body = ; // {{Simid_addBatchComputeService_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 name = name_example; // {{String}} Name of the action
var callback = function(error, data, response) {
if (error) {
@@ -2052,14 +19651,14 @@ Usage and SDK Samples
console.log('API called successfully. Returned data: ' + data);
}
};
-api.addBatchComputeService(bodysimid, callback);
+api.getTaskFlops_18(simid, compoundJobName, name, callback);
-
-
+
using System;
using System.Diagnostics;
using IO.Swagger.Api;
@@ -2068,24 +19667,25 @@ Usage and SDK Samples
namespace Example
{
- public class addBatchComputeServiceExample
+ public class getTaskFlops_18Example
{
public void main()
{
var apiInstance = new WRENCHApi();
- var body = new Simid_addBatchComputeService_body(); // Simid_addBatchComputeService_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 name = name_example; // String | Name of the action
try
{
- // Create and start a batch compute service.
- ServiceResponse result = apiInstance.addBatchComputeService(body, simid);
+ // 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.addBatchComputeService: " + e.Message );
+ Debug.Print("Exception when calling WRENCHApi.getTaskFlops_18: " + e.Message );
}
}
}
@@ -2093,42 +19693,44 @@ Usage and SDK Samples
-
+
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\ApiWRENCHApi();
-$body = ; // Simid_addBatchComputeService_body | Input to start a new service.
$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->addBatchComputeService($body, $simid);
+ $result = $api_instance->getTaskFlops_18($simid, $compoundJobName, $name);
print_r($result);
} catch (Exception $e) {
- echo 'Exception when calling WRENCHApi->addBatchComputeService: ', $e->getMessage(), PHP_EOL;
+ 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 $body = WWW::SwaggerClient::Object::Simid_addBatchComputeService_body->new(); # Simid_addBatchComputeService_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 $name = name_example; # String | Name of the action
eval {
- my $result = $api_instance->addBatchComputeService(body => $body, simid => $simid);
+ my $result = $api_instance->getTaskFlops_18(simid => $simid, compoundJobName => $compoundJobName, name => $name);
print Dumper($result);
};
if ($@) {
- warn "Exception when calling WRENCHApi->addBatchComputeService: $@\n";
+ warn "Exception when calling WRENCHApi->getTaskFlops_18: $@\n";
}
-
+
from __future__ import print_statement
import time
import swagger_client
@@ -2137,15 +19739,16 @@ Usage and SDK Samples
# create an instance of the API class
api_instance = swagger_client.WRENCHApi()
-body = # Simid_addBatchComputeService_body | Input to start a new service.
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:
- # Create and start a batch compute service.
- api_response = api_instance.add_batch_compute_service(body, simid)
+ # 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->addBatchComputeService: %s\n" % e)
+ print("Exception when calling WRENCHApi->getTaskFlops_18: %s\n" % e)
@@ -2161,7 +19764,7 @@ Parameters
-
+
@@ -2179,53 +19782,53 @@ Parameters
+ compound_job_name*
+
+
+
+
+
+
+
+ String
+
+
+
+ Name of the compound job
+
+
+
+ Required
+
+
+
+
+
+ name*
+
+
+
+
+
+
+
+ String
+
+
+
+ Name of the action
+
+
+
+ Required
+
+
+
+
+
- Body parameters
-
-
- Name
- Description
-
- body *
-
-
-
-
-
-
-
-
@@ -2234,14 +19837,14 @@ Status: 200 - OK
-
-
+
+
-
+
+ Status: 404 - Job not found
+
+
+
+
+
+
Status: 405 - Invalid input
-
-
+
+
- addCloudComputeService
- Create and start a cloud compute service.
+ getTaskFlops_13
+ Get an action's flops
@@ -2301,32 +19912,31 @@ addCloudComputeService
- /simulation/{simid}/addCloudComputeService
+ /simulation/{simid}/{compound_job_name}/actions/{name}/actionGetExecutionHistory
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}/addCloudComputeService"
+"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.*;
@@ -2340,52 +19950,56 @@ Usage and SDK Samples
public static void main(String[] args) {
WRENCHApi apiInstance = new WRENCHApi();
- Simid_addCloudComputeService_body body = ; // Simid_addCloudComputeService_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 name = name_example; // String | Name of the action
try {
- ServiceResponse result = apiInstance.addCloudComputeService(body, simid);
+ TaskFlops result = apiInstance.getTaskFlops_19(simid, compoundJobName, name);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling WRENCHApi#addCloudComputeService");
+ 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();
- Simid_addCloudComputeService_body body = ; // Simid_addCloudComputeService_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 name = name_example; // String | Name of the action
try {
- ServiceResponse result = apiInstance.addCloudComputeService(body, simid);
+ TaskFlops result = apiInstance.getTaskFlops_19(simid, compoundJobName, name);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling WRENCHApi#addCloudComputeService");
+ System.err.println("Exception when calling WRENCHApi#getTaskFlops_19");
e.printStackTrace();
}
}
}
-
- Simid_addCloudComputeService_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 *compoundJobName = compoundJobName_example; // Name of the compound job
+String *name = name_example; // Name of the action
WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
-// Create and start a cloud compute service.
-[apiInstance addCloudComputeServiceWith:body
- simid:simid
- completionHandler: ^(ServiceResponse output, NSError* error) {
+// Get an action's flops
+[apiInstance getTaskFlops_13With:simid
+ compoundJobName:compoundJobName
+ name:name
+ completionHandler: ^(TaskFlops output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
@@ -2396,12 +20010,13 @@ Usage and SDK Samples
-
+
var WrenchRestApi = require('wrench_rest_api');
var api = new WrenchRestApi.WRENCHApi()
-var body = ; // {{Simid_addCloudComputeService_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 name = name_example; // {{String}} Name of the action
var callback = function(error, data, response) {
if (error) {
@@ -2410,14 +20025,14 @@ Usage and SDK Samples
console.log('API called successfully. Returned data: ' + data);
}
};
-api.addCloudComputeService(bodysimid, callback);
+api.getTaskFlops_19(simid, compoundJobName, name, callback);
-
-
+
using System;
using System.Diagnostics;
using IO.Swagger.Api;
@@ -2426,24 +20041,25 @@ Usage and SDK Samples
namespace Example
{
- public class addCloudComputeServiceExample
+ public class getTaskFlops_19Example
{
public void main()
{
var apiInstance = new WRENCHApi();
- var body = new Simid_addCloudComputeService_body(); // Simid_addCloudComputeService_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 name = name_example; // String | Name of the action
try
{
- // Create and start a cloud compute service.
- ServiceResponse result = apiInstance.addCloudComputeService(body, simid);
+ // 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.addCloudComputeService: " + e.Message );
+ Debug.Print("Exception when calling WRENCHApi.getTaskFlops_19: " + e.Message );
}
}
}
@@ -2451,42 +20067,44 @@ Usage and SDK Samples
-
+
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\ApiWRENCHApi();
-$body = ; // Simid_addCloudComputeService_body | Input to start a new service.
$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->addCloudComputeService($body, $simid);
+ $result = $api_instance->getTaskFlops_19($simid, $compoundJobName, $name);
print_r($result);
} catch (Exception $e) {
- echo 'Exception when calling WRENCHApi->addCloudComputeService: ', $e->getMessage(), PHP_EOL;
+ 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 $body = WWW::SwaggerClient::Object::Simid_addCloudComputeService_body->new(); # Simid_addCloudComputeService_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 $name = name_example; # String | Name of the action
eval {
- my $result = $api_instance->addCloudComputeService(body => $body, simid => $simid);
+ my $result = $api_instance->getTaskFlops_19(simid => $simid, compoundJobName => $compoundJobName, name => $name);
print Dumper($result);
};
if ($@) {
- warn "Exception when calling WRENCHApi->addCloudComputeService: $@\n";
+ warn "Exception when calling WRENCHApi->getTaskFlops_19: $@\n";
}
-
+
from __future__ import print_statement
import time
import swagger_client
@@ -2495,15 +20113,16 @@ Usage and SDK Samples
# create an instance of the API class
api_instance = swagger_client.WRENCHApi()
-body = # Simid_addCloudComputeService_body | Input to start a new service.
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:
- # Create and start a cloud compute service.
- api_response = api_instance.add_cloud_compute_service(body, simid)
+ # 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->addCloudComputeService: %s\n" % e)
+ print("Exception when calling WRENCHApi->getTaskFlops_19: %s\n" % e)
@@ -2519,7 +20138,7 @@ Parameters
-
+
@@ -2537,53 +20156,53 @@ Parameters
+ compound_job_name*
+
+
+
+
+
+
+
+ String
+
+
+
+ Name of the compound job
+
+
+
+ Required
+
+
+
+
+
+ name*
+
+
+
+
+
+
+
+ String
+
+
+
+ Name of the action
+
+
+
+ Required
+
+
+
+
+
-
-
- Body parameters
-
-
- Name
- Description
-
- body *
-
-
-
-
-
-
-
-
+
+
@@ -2592,14 +20211,14 @@ Status: 200 - OK
-
-
+
+
-
+
+ Status: 404 - Job not found
+
+
+
+
+
+
Status: 405 - Invalid input
-
-
+
+
- addFile
- Add a file to the simulation.
+ getTaskFlops_14
+ Get an action's flops
@@ -2659,32 +20286,31 @@ addFile
- /simulation/{simid}/addFile
+ /simulation/{simid}/compoundJobs/{compound_job_name}/addChildJob
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}/addFile"
+"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.*;
@@ -2698,52 +20324,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.
String simid = simid_example; // String | ID of the simulation
+ String compoundJobName = compoundJobName_example; // String | Name of the compound job
try {
- GenericResponse result = apiInstance.addFile(body, simid);
+ TaskFlops result = apiInstance.getTaskFlops_2(simid, compoundJobName);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling WRENCHApi#addFile");
+ 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();
- Simid_addFile_body body = ; // Simid_addFile_body | Input to add a new file.
String simid = simid_example; // String | ID of the simulation
+ String compoundJobName = compoundJobName_example; // String | Name of the compound job
try {
- GenericResponse result = apiInstance.addFile(body, simid);
+ TaskFlops result = apiInstance.getTaskFlops_2(simid, compoundJobName);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling WRENCHApi#addFile");
+ System.err.println("Exception when calling WRENCHApi#getTaskFlops_2");
e.printStackTrace();
}
}
}
-
- Simid_addFile_body *body = ; // Input to add a new file.
-String *simid = simid_example; // ID of the simulation
+
+ 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 to the simulation.
-[apiInstance addFileWith:body
- simid:simid
- completionHandler: ^(GenericResponse output, NSError* error) {
+// Get an action's flops
+[apiInstance getTaskFlops_14With:simid
+ compoundJobName:compoundJobName
+ completionHandler: ^(TaskFlops output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
@@ -2754,12 +20380,12 @@ 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 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) {
@@ -2768,14 +20394,14 @@ Usage and SDK Samples
console.log('API called successfully. Returned data: ' + data);
}
};
-api.addFile(bodysimid, callback);
+api.getTaskFlops_2(simid, compoundJobName, callback);
-
-
+
using System;
using System.Diagnostics;
using IO.Swagger.Api;
@@ -2784,24 +20410,24 @@ Usage and SDK Samples
namespace Example
{
- public class addFileExample
+ public class getTaskFlops_2Example
{
public void main()
{
var apiInstance = new WRENCHApi();
- var body = new Simid_addFile_body(); // Simid_addFile_body | Input to add a new file.
var simid = simid_example; // String | ID of the simulation
+ var compoundJobName = compoundJobName_example; // String | Name of the compound job
try
{
- // Add a file to the simulation.
- GenericResponse result = apiInstance.addFile(body, simid);
+ // Get an action's flops
+ TaskFlops result = apiInstance.getTaskFlops_2(simid, compoundJobName);
Debug.WriteLine(result);
}
catch (Exception e)
{
- Debug.Print("Exception when calling WRENCHApi.addFile: " + e.Message );
+ Debug.Print("Exception when calling WRENCHApi.getTaskFlops_2: " + e.Message );
}
}
}
@@ -2809,42 +20435,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.
$simid = simid_example; // String | ID of the simulation
+$compoundJobName = compoundJobName_example; // String | Name of the compound job
try {
- $result = $api_instance->addFile($body, $simid);
+ $result = $api_instance->getTaskFlops_2($simid, $compoundJobName);
print_r($result);
} catch (Exception $e) {
- echo 'Exception when calling WRENCHApi->addFile: ', $e->getMessage(), PHP_EOL;
+ 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 $body = WWW::SwaggerClient::Object::Simid_addFile_body->new(); # Simid_addFile_body | Input to add a new file.
my $simid = simid_example; # String | ID of the simulation
+my $compoundJobName = compoundJobName_example; # String | Name of the compound job
eval {
- my $result = $api_instance->addFile(body => $body, simid => $simid);
+ my $result = $api_instance->getTaskFlops_2(simid => $simid, compoundJobName => $compoundJobName);
print Dumper($result);
};
if ($@) {
- warn "Exception when calling WRENCHApi->addFile: $@\n";
+ warn "Exception when calling WRENCHApi->getTaskFlops_2: $@\n";
}
-
+
from __future__ import print_statement
import time
import swagger_client
@@ -2853,15 +20479,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.
simid = simid_example # String | ID of the simulation
+compoundJobName = compoundJobName_example # String | Name of the compound job
try:
- # Add a file to the simulation.
- api_response = api_instance.add_file(body, simid)
+ # 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->addFile: %s\n" % e)
+ print("Exception when calling WRENCHApi->getTaskFlops_2: %s\n" % e)
@@ -2877,7 +20503,7 @@ Parameters
-
+
@@ -2895,53 +20521,31 @@ Parameters
+ compound_job_name*
+
+
+
+
+
+
+
+ String
+
+
+
+ Name of the compound job
+
+
+
+ Required
+
+
+
+
+
- Body parameters
-
-
- Name
- Description
-
- body *
-
-
-
-
-
-
-
-
@@ -2950,14 +20554,14 @@ Status: 200 - OK
-
-
+
+
-
+
- Status: 404 - Task not found
+ Status: 404 - Job not found
@@ -3013,11 +20617,11 @@ Status: 405 - Invalid input
-
-
+
+
- addFileRegistryService
- Create and start a file registery service.
+ getTaskFlops_15
+ Get an action's flops
@@ -3025,32 +20629,31 @@ addFileRegistryService
- /simulation/{simid}/addFileRegistryService
+ /simulation/{simid}/{compound_job_name}/actions/{name}/actionGetFailureCause
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}/addFileRegistryService"
+"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.*;
@@ -3064,52 +20667,56 @@ 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.
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 {
- ServiceResponse result = apiInstance.addFileRegistryService(body, simid);
+ TaskFlops result = apiInstance.getTaskFlops_20(simid, compoundJobName, name);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling WRENCHApi#addFileRegistryService");
+ 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();
- Simid_addFileRegistryService_body body = ; // Simid_addFileRegistryService_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 name = name_example; // String | Name of the action
try {
- ServiceResponse result = apiInstance.addFileRegistryService(body, simid);
+ TaskFlops result = apiInstance.getTaskFlops_20(simid, compoundJobName, name);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling WRENCHApi#addFileRegistryService");
+ System.err.println("Exception when calling WRENCHApi#getTaskFlops_20");
e.printStackTrace();
}
}
}
-
- Simid_addFileRegistryService_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 *compoundJobName = compoundJobName_example; // Name of the compound job
+String *name = name_example; // Name of the action
WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
-// Create and start a file registery service.
-[apiInstance addFileRegistryServiceWith:body
- simid:simid
- completionHandler: ^(ServiceResponse output, NSError* error) {
+// Get an action's flops
+[apiInstance getTaskFlops_15With:simid
+ compoundJobName:compoundJobName
+ name:name
+ completionHandler: ^(TaskFlops output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
@@ -3120,12 +20727,13 @@ 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 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) {
@@ -3134,14 +20742,14 @@ Usage and SDK Samples
console.log('API called successfully. Returned data: ' + data);
}
};
-api.addFileRegistryService(bodysimid, callback);
+api.getTaskFlops_20(simid, compoundJobName, name, callback);
-
-
+
using System;
using System.Diagnostics;
using IO.Swagger.Api;
@@ -3150,24 +20758,25 @@ Usage and SDK Samples
namespace Example
{
- public class addFileRegistryServiceExample
+ public class getTaskFlops_20Example
{
public void main()
{
var apiInstance = new WRENCHApi();
- var body = new Simid_addFileRegistryService_body(); // Simid_addFileRegistryService_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 name = name_example; // String | Name of the action
try
{
- // Create and start a file registery service.
- ServiceResponse result = apiInstance.addFileRegistryService(body, simid);
+ // 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.addFileRegistryService: " + e.Message );
+ Debug.Print("Exception when calling WRENCHApi.getTaskFlops_20: " + e.Message );
}
}
}
@@ -3175,42 +20784,44 @@ 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.
$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->addFileRegistryService($body, $simid);
+ $result = $api_instance->getTaskFlops_20($simid, $compoundJobName, $name);
print_r($result);
} catch (Exception $e) {
- echo 'Exception when calling WRENCHApi->addFileRegistryService: ', $e->getMessage(), PHP_EOL;
+ 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 $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
+my $compoundJobName = compoundJobName_example; # String | Name of the compound job
+my $name = name_example; # String | Name of the action
eval {
- my $result = $api_instance->addFileRegistryService(body => $body, simid => $simid);
+ my $result = $api_instance->getTaskFlops_20(simid => $simid, compoundJobName => $compoundJobName, name => $name);
print Dumper($result);
};
if ($@) {
- warn "Exception when calling WRENCHApi->addFileRegistryService: $@\n";
+ warn "Exception when calling WRENCHApi->getTaskFlops_20: $@\n";
}
-
+
from __future__ import print_statement
import time
import swagger_client
@@ -3219,15 +20830,16 @@ 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.
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:
- # Create and start a file registery service.
- api_response = api_instance.add_file_registry_service(body, simid)
+ # 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->addFileRegistryService: %s\n" % e)
+ print("Exception when calling WRENCHApi->getTaskFlops_20: %s\n" % e)
@@ -3243,7 +20855,29 @@ Parameters
-
+
+
+
+
+ String
+
+
+
+ ID of the simulation
+
+
+
+ Required
+
+
+
+
+
+ compound_job_name*
+
+
+
+
@@ -3251,7 +20885,29 @@ Parameters
- ID of the simulation
+ Name of the compound job
+
+
+
+ Required
+
+
+
+
+
+ name*
+
+
+
+
+
+
+
+ String
+
+
+
+ Name of the action
@@ -3264,50 +20920,6 @@ Parameters
- Body parameters
-
-
- Name
- Description
-
- body *
-
-
-
-
-
-
-
-
@@ -3316,14 +20928,14 @@ Status: 200 - OK
-
-
+
+
-
+
+ Status: 404 - Job not found
+
+
+
+
+
+
Status: 405 - Invalid input
-
-
+
+
- addInputFile
- Add an input file to a task
+ getTaskFlops_16
+ Get an action's flops
@@ -3383,32 +21003,31 @@ addInputFile
- /simulation/{simid}/workflows/{workflow_name}/tasks/{tid}/addInputFile
+ /simulation/{simid}/{compound_job_name}/actions/{name}/fileCopyAction/getDestinationFileLocation
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}/tasks/{tid}/addInputFile"
+"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.*;
@@ -3422,60 +21041,56 @@ Usage and SDK Samples
public static void main(String[] args) {
WRENCHApi apiInstance = new WRENCHApi();
- Tid_addInputFile_body body = ; // Tid_addInputFile_body | Input file.
String simid = simid_example; // String | ID of the simulation
- String workflowName = workflowName_example; // String |
- String tid = tid_example; // String | ID of the task
+ String compoundJobName = compoundJobName_example; // String | Name of the compound job
+ String name = name_example; // String | Name of the action
try {
- GenericResponse result = apiInstance.addInputFile(body, simid, workflowName, tid);
+ TaskFlops result = apiInstance.getTaskFlops_21(simid, compoundJobName, name);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling WRENCHApi#addInputFile");
+ 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();
- Tid_addInputFile_body body = ; // Tid_addInputFile_body | Input file.
String simid = simid_example; // String | ID of the simulation
- String workflowName = workflowName_example; // String |
- String tid = tid_example; // String | ID of the task
+ String compoundJobName = compoundJobName_example; // String | Name of the compound job
+ String name = name_example; // String | Name of the action
try {
- GenericResponse result = apiInstance.addInputFile(body, simid, workflowName, tid);
+ TaskFlops result = apiInstance.getTaskFlops_21(simid, compoundJobName, name);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling WRENCHApi#addInputFile");
+ System.err.println("Exception when calling WRENCHApi#getTaskFlops_21");
e.printStackTrace();
}
}
}
-
- Tid_addInputFile_body *body = ; // Input file.
-String *simid = simid_example; // ID of the simulation
-String *workflowName = workflowName_example; //
-String *tid = tid_example; // ID of the task
+
+ 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];
-// Add an input file to a task
-[apiInstance addInputFileWith:body
- simid:simid
- workflowName:workflowName
- tid:tid
- completionHandler: ^(GenericResponse output, NSError* error) {
+// Get an action's flops
+[apiInstance getTaskFlops_16With:simid
+ compoundJobName:compoundJobName
+ name:name
+ completionHandler: ^(TaskFlops output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
@@ -3486,14 +21101,13 @@ Usage and SDK Samples
-
+
var WrenchRestApi = require('wrench_rest_api');
var api = new WrenchRestApi.WRENCHApi()
-var body = ; // {{Tid_addInputFile_body}} Input file.
var simid = simid_example; // {{String}} ID of the simulation
-var workflowName = workflowName_example; // {{String}}
-var tid = tid_example; // {{String}} ID of the task
+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) {
@@ -3502,14 +21116,14 @@ Usage and SDK Samples
console.log('API called successfully. Returned data: ' + data);
}
};
-api.addInputFile(bodysimidworkflowNametid, callback);
+api.getTaskFlops_21(simid, compoundJobName, name, callback);
-
-
+
using System;
using System.Diagnostics;
using IO.Swagger.Api;
@@ -3518,26 +21132,25 @@ Usage and SDK Samples
namespace Example
{
- public class addInputFileExample
+ public class getTaskFlops_21Example
{
public void main()
{
var apiInstance = new WRENCHApi();
- var body = new Tid_addInputFile_body(); // Tid_addInputFile_body | Input file.
var simid = simid_example; // String | ID of the simulation
- var workflowName = workflowName_example; // String |
- var tid = tid_example; // String | ID of the task
+ var compoundJobName = compoundJobName_example; // String | Name of the compound job
+ var name = name_example; // String | Name of the action
try
{
- // Add an input file to a task
- GenericResponse result = apiInstance.addInputFile(body, simid, workflowName, tid);
+ // 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.addInputFile: " + e.Message );
+ Debug.Print("Exception when calling WRENCHApi.getTaskFlops_21: " + e.Message );
}
}
}
@@ -3545,46 +21158,44 @@ Usage and SDK Samples
-
+
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\ApiWRENCHApi();
-$body = ; // Tid_addInputFile_body | Input file.
$simid = simid_example; // String | ID of the simulation
-$workflowName = workflowName_example; // String |
-$tid = tid_example; // String | ID of the task
+$compoundJobName = compoundJobName_example; // String | Name of the compound job
+$name = name_example; // String | Name of the action
try {
- $result = $api_instance->addInputFile($body, $simid, $workflowName, $tid);
+ $result = $api_instance->getTaskFlops_21($simid, $compoundJobName, $name);
print_r($result);
} catch (Exception $e) {
- echo 'Exception when calling WRENCHApi->addInputFile: ', $e->getMessage(), PHP_EOL;
+ 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 $body = WWW::SwaggerClient::Object::Tid_addInputFile_body->new(); # Tid_addInputFile_body | Input file.
my $simid = simid_example; # String | ID of the simulation
-my $workflowName = workflowName_example; # String |
-my $tid = tid_example; # String | ID of the task
+my $compoundJobName = compoundJobName_example; # String | Name of the compound job
+my $name = name_example; # String | Name of the action
eval {
- my $result = $api_instance->addInputFile(body => $body, simid => $simid, workflowName => $workflowName, tid => $tid);
+ my $result = $api_instance->getTaskFlops_21(simid => $simid, compoundJobName => $compoundJobName, name => $name);
print Dumper($result);
};
if ($@) {
- warn "Exception when calling WRENCHApi->addInputFile: $@\n";
+ warn "Exception when calling WRENCHApi->getTaskFlops_21: $@\n";
}
-
+
from __future__ import print_statement
import time
import swagger_client
@@ -3593,17 +21204,16 @@ Usage and SDK Samples
# create an instance of the API class
api_instance = swagger_client.WRENCHApi()
-body = # Tid_addInputFile_body | Input file.
simid = simid_example # String | ID of the simulation
-workflowName = workflowName_example # String |
-tid = tid_example # String | ID of the task
+compoundJobName = compoundJobName_example # String | Name of the compound job
+name = name_example # String | Name of the action
try:
- # Add an input file to a task
- api_response = api_instance.add_input_file(body, simid, workflowName, tid)
+ # 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->addInputFile: %s\n" % e)
+ print("Exception when calling WRENCHApi->getTaskFlops_21: %s\n" % e)
@@ -3619,7 +21229,7 @@ Parameters
-
+
@@ -3637,17 +21247,20 @@ Parameters
- workflow_name*
+ compound_job_name*
-
+
String
+
+ Name of the compound job
+
Required
@@ -3656,11 +21269,11 @@ Parameters
- tid*
+ name*
-
+
@@ -3668,7 +21281,7 @@ Parameters
- ID of the task
+ Name of the action
@@ -3681,50 +21294,6 @@ Parameters
- Body parameters
-
-
- Name
- Description
-
- body *
-
-
-
-
-
-
-
-
@@ -3733,14 +21302,14 @@ Status: 200 - OK
-
-
+
+
-
+
- Status: 404 - Task not found
+ Status: 404 - Job not found
@@ -3796,11 +21365,11 @@ Status: 405 - Invalid input
-
-
+
+
- addOutputFile
- Add an output file to a task
+ getTaskFlops_17
+ Get an action's flops
@@ -3808,32 +21377,31 @@ addOutputFile
- /simulation/{simid}/workflows/{workflow_name}/tasks/{tid}/addOutputFile
+ /simulation/{simid}/{compound_job_name}/actions/{name}/fileCopyAction/getFile
-
Usage and SDK Samples
-
-
- workflow_name*
+ compound_job_name*
-
+
String
+
+ Name of the compound job
+
Required
@@ -4081,11 +21643,11 @@ Parameters
- tid*
+ name*
-
+
@@ -4093,7 +21655,7 @@ Parameters
- ID of the task
+ Name of the action
@@ -4106,50 +21668,6 @@ Parameters
- Body parameters
-
-
- Name
- Description
-
- body *
-
-
-
-
-
-
-
-
@@ -4158,14 +21676,14 @@ Status: 200 - OK
-
-
+
+
-
+
- Status: 404 - Task not found
+ Status: 404 - Job not found
@@ -4221,11 +21739,11 @@ Status: 405 - Invalid input
-
-
+
+
- addSimpleStorageService
- Create and start a simple storage service.
+ getTaskFlops_18
+ Get an action's flops
@@ -4233,32 +21751,31 @@ addSimpleStorageService
- /simulation/{simid}/addSimpleStorageService
+ /simulation/{simid}/{compound_job_name}/actions/{name}/fileCopyAction/getSourceFileLocation
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}/addSimpleStorageService"
+"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.*;
@@ -4272,52 +21789,56 @@ 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
+ String compoundJobName = compoundJobName_example; // String | Name of the compound job
+ String name = name_example; // String | Name of the action
try {
- ServiceResponse result = apiInstance.addSimpleStorageService(body, simid);
+ TaskFlops result = apiInstance.getTaskFlops_23(simid, compoundJobName, name);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling WRENCHApi#addSimpleStorageService");
+ 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();
- 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
+ String name = name_example; // String | Name of the action
try {
- ServiceResponse result = apiInstance.addSimpleStorageService(body, simid);
+ TaskFlops result = apiInstance.getTaskFlops_23(simid, compoundJobName, name);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling WRENCHApi#addSimpleStorageService");
+ System.err.println("Exception when calling WRENCHApi#getTaskFlops_23");
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
+String *compoundJobName = compoundJobName_example; // Name of the compound job
+String *name = name_example; // Name of the action
WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
-// Create and start a simple storage service.
-[apiInstance addSimpleStorageServiceWith:body
- simid:simid
- completionHandler: ^(ServiceResponse output, NSError* error) {
+// Get an action's flops
+[apiInstance getTaskFlops_18With:simid
+ compoundJobName:compoundJobName
+ name:name
+ completionHandler: ^(TaskFlops output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
@@ -4328,12 +21849,13 @@ 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 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) {
@@ -4342,14 +21864,14 @@ Usage and SDK Samples
console.log('API called successfully. Returned data: ' + data);
}
};
-api.addSimpleStorageService(bodysimid, callback);
+api.getTaskFlops_23(simid, compoundJobName, name, callback);
-
-
+
using System;
using System.Diagnostics;
using IO.Swagger.Api;
@@ -4358,24 +21880,25 @@ Usage and SDK Samples
namespace Example
{
- public class addSimpleStorageServiceExample
+ public class getTaskFlops_23Example
{
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
+ var compoundJobName = compoundJobName_example; // String | Name of the compound job
+ var name = name_example; // String | Name of the action
try
{
- // Create and start a simple storage service.
- ServiceResponse result = apiInstance.addSimpleStorageService(body, simid);
+ // 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.addSimpleStorageService: " + e.Message );
+ Debug.Print("Exception when calling WRENCHApi.getTaskFlops_23: " + e.Message );
}
}
}
@@ -4383,42 +21906,44 @@ 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
+$compoundJobName = compoundJobName_example; // String | Name of the compound job
+$name = name_example; // String | Name of the action
try {
- $result = $api_instance->addSimpleStorageService($body, $simid);
+ $result = $api_instance->getTaskFlops_23($simid, $compoundJobName, $name);
print_r($result);
} catch (Exception $e) {
- echo 'Exception when calling WRENCHApi->addSimpleStorageService: ', $e->getMessage(), PHP_EOL;
+ 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 $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
+my $name = name_example; # String | Name of the action
eval {
- my $result = $api_instance->addSimpleStorageService(body => $body, simid => $simid);
+ my $result = $api_instance->getTaskFlops_23(simid => $simid, compoundJobName => $compoundJobName, name => $name);
print Dumper($result);
};
if ($@) {
- warn "Exception when calling WRENCHApi->addSimpleStorageService: $@\n";
+ warn "Exception when calling WRENCHApi->getTaskFlops_23: $@\n";
}
-
+
from __future__ import print_statement
import time
import swagger_client
@@ -4427,15 +21952,16 @@ 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
+compoundJobName = compoundJobName_example # String | Name of the compound job
+name = name_example # String | Name of the action
try:
- # Create and start a simple storage service.
- api_response = api_instance.add_simple_storage_service(body, simid)
+ # 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->addSimpleStorageService: %s\n" % e)
+ print("Exception when calling WRENCHApi->getTaskFlops_23: %s\n" % e)
@@ -4451,7 +21977,7 @@ Parameters
-
+
@@ -4469,53 +21995,53 @@ Parameters
+ compound_job_name*
+
+
+
+
+
+
+
+ String
+
+
+
+ Name of the compound job
+
+
+
+ Required
+
+
+
+
+
+ name*
+
+
+
+
+
+
+
+ String
+
+
+
+ Name of the action
+
+
+
+ Required
+
+
+
+
+
-
-
- Body parameters
-
-
- Name
- Description
-
- body *
-
-
-
-
-
-
-
-
+
+
@@ -4524,14 +22050,14 @@ Status: 200 - OK
-
-
+
+
-
+
+ Status: 404 - Job not found
+
+
+
+
+
+
Status: 405 - Invalid input
-
-
+
+
- advanceTime
- Retrieve the current simulated time.
+ getTaskFlops_19
+ Get an action's flops
@@ -4591,32 +22125,31 @@ advanceTime
- /simulation/{simid}/advanceTime
+ /simulation/{simid}/{compound_job_name}/actions/{name}/fileReadAction/getFile
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}/advanceTime"
+"https://wrench-project.org/v1/simulation/{simid}/{compound_job_name}/actions/{name}/fileReadAction/getFile"
-
+
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
@@ -4630,52 +22163,56 @@ 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 compoundJobName = compoundJobName_example; // String | Name of the compound job
+ String name = name_example; // String | Name of the action
try {
- GenericResponse result = apiInstance.advanceTime(body, simid);
+ TaskFlops result = apiInstance.getTaskFlops_24(simid, compoundJobName, name);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling WRENCHApi#advanceTime");
+ 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();
- Simid_advanceTime_body body = ; // Simid_advanceTime_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 name = name_example; // String | Name of the action
try {
- GenericResponse result = apiInstance.advanceTime(body, simid);
+ TaskFlops result = apiInstance.getTaskFlops_24(simid, compoundJobName, name);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling WRENCHApi#advanceTime");
+ System.err.println("Exception when calling WRENCHApi#getTaskFlops_24");
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 *compoundJobName = compoundJobName_example; // Name of the compound job
+String *name = name_example; // Name of the action
WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
-// Retrieve the current simulated time.
-[apiInstance advanceTimeWith:body
- simid:simid
- completionHandler: ^(GenericResponse output, NSError* error) {
+// Get an action's flops
+[apiInstance getTaskFlops_19With:simid
+ compoundJobName:compoundJobName
+ name:name
+ completionHandler: ^(TaskFlops output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
@@ -4686,12 +22223,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 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) {
@@ -4700,14 +22238,14 @@ Usage and SDK Samples
console.log('API called successfully. Returned data: ' + data);
}
};
-api.advanceTime(bodysimid, callback);
+api.getTaskFlops_24(simid, compoundJobName, name, callback);
-
-
+
using System;
using System.Diagnostics;
using IO.Swagger.Api;
@@ -4716,24 +22254,25 @@ Usage and SDK Samples
namespace Example
{
- public class advanceTimeExample
+ public class getTaskFlops_24Example
{
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 compoundJobName = compoundJobName_example; // String | Name of the compound job
+ var name = name_example; // String | Name of the action
try
{
- // Retrieve the current simulated time.
- GenericResponse result = apiInstance.advanceTime(body, simid);
+ // 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.advanceTime: " + e.Message );
+ Debug.Print("Exception when calling WRENCHApi.getTaskFlops_24: " + e.Message );
}
}
}
@@ -4741,42 +22280,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
+$compoundJobName = compoundJobName_example; // String | Name of the compound job
+$name = name_example; // String | Name of the action
try {
- $result = $api_instance->advanceTime($body, $simid);
+ $result = $api_instance->getTaskFlops_24($simid, $compoundJobName, $name);
print_r($result);
} catch (Exception $e) {
- echo 'Exception when calling WRENCHApi->advanceTime: ', $e->getMessage(), PHP_EOL;
+ 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 $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 $compoundJobName = compoundJobName_example; # String | Name of the compound job
+my $name = name_example; # String | Name of the action
eval {
- my $result = $api_instance->advanceTime(body => $body, simid => $simid);
+ my $result = $api_instance->getTaskFlops_24(simid => $simid, compoundJobName => $compoundJobName, name => $name);
print Dumper($result);
};
if ($@) {
- warn "Exception when calling WRENCHApi->advanceTime: $@\n";
+ warn "Exception when calling WRENCHApi->getTaskFlops_24: $@\n";
}
-
+
from __future__ import print_statement
import time
import swagger_client
@@ -4785,15 +22326,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
+compoundJobName = compoundJobName_example # String | Name of the compound job
+name = name_example # String | Name of the action
try:
- # Retrieve the current simulated time.
- api_response = api_instance.advance_time(body, simid)
+ # 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->advanceTime: %s\n" % e)
+ print("Exception when calling WRENCHApi->getTaskFlops_24: %s\n" % e)
@@ -4809,7 +22351,7 @@ Parameters
-
+
@@ -4827,53 +22369,53 @@ Parameters
+ compound_job_name*
+
+
+
+
+
+
+
+ String
+
+
+
+ Name of the compound job
+
+
+
+ Required
+
+
+
+
+
+ name*
+
+
+
+
+
+
+
+ String
+
+
+
+ Name of the action
+
+
+
+ Required
+
+
+
+
+
- Body parameters
-
-
- Name
- Description
-
- body *
-
-
-
-
-
-
-
-
@@ -4882,14 +22424,14 @@ Status: 200 - OK
-
-
+
+
-
+
+ Status: 404 - Job not found
+
+
+
+
+
+
Status: 405 - Invalid input
-
-
+
+
- createFileCopyAtStorageService
- Create, ex nihilo, a copy of a file copy at a storage service.
+ getTaskFlops_20
+ Get an action's flops
@@ -4949,32 +22499,31 @@ createFileCopyAtStorageService
- /simulation/{simid}/storage_services/{service_name}/createFileCopy
+ /simulation/{simid}/{compound_job_name}/actions/{name}/fileReadAction/getFileLocations
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}/{compound_job_name}/actions/{name}/fileReadAction/getFileLocations"
-
+
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
@@ -4988,56 +22537,56 @@ 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 compoundJobName = compoundJobName_example; // String | Name of the compound job
+ String name = name_example; // String | Name of the action
try {
- GenericResponse result = apiInstance.createFileCopyAtStorageService(body, simid, serviceName);
+ TaskFlops result = apiInstance.getTaskFlops_25(simid, compoundJobName, name);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling WRENCHApi#createFileCopyAtStorageService");
+ 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();
- 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 compoundJobName = compoundJobName_example; // String | Name of the compound job
+ String name = name_example; // String | Name of the action
try {
- GenericResponse result = apiInstance.createFileCopyAtStorageService(body, simid, serviceName);
+ TaskFlops result = apiInstance.getTaskFlops_25(simid, compoundJobName, name);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling WRENCHApi#createFileCopyAtStorageService");
+ System.err.println("Exception when calling WRENCHApi#getTaskFlops_25");
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 *compoundJobName = compoundJobName_example; // Name of the compound job
+String *name = name_example; // Name of the action
WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
-// Create, ex nihilo, a copy of a file copy at a storage service.
-[apiInstance createFileCopyAtStorageServiceWith:body
- simid:simid
- serviceName:serviceName
- completionHandler: ^(GenericResponse output, NSError* error) {
+// Get an action's flops
+[apiInstance getTaskFlops_20With:simid
+ compoundJobName:compoundJobName
+ name:name
+ completionHandler: ^(TaskFlops output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
@@ -5048,13 +22597,13 @@ 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 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) {
@@ -5063,14 +22612,14 @@ Usage and SDK Samples
console.log('API called successfully. Returned data: ' + data);
}
};
-api.createFileCopyAtStorageService(bodysimidserviceName, callback);
+api.getTaskFlops_25(simid, compoundJobName, name, callback);
-
-
+
using System;
using System.Diagnostics;
using IO.Swagger.Api;
@@ -5079,25 +22628,25 @@ Usage and SDK Samples
namespace Example
{
- public class createFileCopyAtStorageServiceExample
+ public class getTaskFlops_25Example
{
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 compoundJobName = compoundJobName_example; // String | Name of the compound job
+ var name = name_example; // String | Name of the action
try
{
- // Create, ex nihilo, a copy of a file copy at a storage service.
- GenericResponse result = apiInstance.createFileCopyAtStorageService(body, simid, serviceName);
+ // 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.createFileCopyAtStorageService: " + e.Message );
+ Debug.Print("Exception when calling WRENCHApi.getTaskFlops_25: " + e.Message );
}
}
}
@@ -5105,44 +22654,44 @@ 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
+$compoundJobName = compoundJobName_example; // String | Name of the compound job
+$name = name_example; // String | Name of the action
try {
- $result = $api_instance->createFileCopyAtStorageService($body, $simid, $serviceName);
+ $result = $api_instance->getTaskFlops_25($simid, $compoundJobName, $name);
print_r($result);
} catch (Exception $e) {
- echo 'Exception when calling WRENCHApi->createFileCopyAtStorageService: ', $e->getMessage(), PHP_EOL;
+ 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 $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 $compoundJobName = compoundJobName_example; # String | Name of the compound job
+my $name = name_example; # String | Name of the action
eval {
- my $result = $api_instance->createFileCopyAtStorageService(body => $body, simid => $simid, serviceName => $serviceName);
+ my $result = $api_instance->getTaskFlops_25(simid => $simid, compoundJobName => $compoundJobName, name => $name);
print Dumper($result);
};
if ($@) {
- warn "Exception when calling WRENCHApi->createFileCopyAtStorageService: $@\n";
+ warn "Exception when calling WRENCHApi->getTaskFlops_25: $@\n";
}
-
+
from __future__ import print_statement
import time
import swagger_client
@@ -5151,16 +22700,16 @@ 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
+compoundJobName = compoundJobName_example # String | Name of the compound job
+name = name_example # String | Name of the action
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)
+ # 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->createFileCopyAtStorageService: %s\n" % e)
+ print("Exception when calling WRENCHApi->getTaskFlops_25: %s\n" % e)
@@ -5176,7 +22725,29 @@ Parameters
-
+
+
+
+
+ String
+
+
+
+ ID of the simulation
+
+
+
+ Required
+
+
+
+
+
+ compound_job_name*
+
+
+
+
@@ -5184,7 +22755,7 @@ Parameters
- ID of the simulation
+ Name of the compound job
@@ -5194,11 +22765,11 @@ Parameters
- service_name*
+ name*
-
+
@@ -5206,7 +22777,7 @@ Parameters
- The storage service name
+ Name of the action
@@ -5219,50 +22790,6 @@ Parameters
- Body parameters
-
-
- Name
- Description
-
- body *
-
-
-
-
-
-
-
-
@@ -5271,14 +22798,14 @@ Status: 200 - OK
-
-
+
+
-
+
- Status: 404 - Simulation or storage service not found
+ Status: 404 - Job not found
@@ -5334,11 +22861,11 @@ Status: 405 - Invalid input
-
-
+
+
- createStandardJob
- Create a new standard job.
+ getTaskFlops_21
+ Get an action's flops
@@ -5346,32 +22873,31 @@ createStandardJob
- /simulation/{simid}/workflows/{workflow_name}/createStandardJob
+ /simulation/{simid}/{compound_job_name}/actions/{name}/fileReadAction/getUsedFileLocation
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}/{compound_job_name}/actions/{name}/fileReadAction/getUsedFileLocation"
-
+
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
@@ -5385,56 +22911,56 @@ 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 compoundJobName = compoundJobName_example; // String | Name of the compound job
+ String name = name_example; // String | Name of the action
try {
- JobResponse result = apiInstance.createStandardJob(body, simid, workflowName);
+ TaskFlops result = apiInstance.getTaskFlops_26(simid, compoundJobName, name);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling WRENCHApi#createStandardJob");
+ 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();
- StandardJob body = ; // StandardJob | Job specification.
String simid = simid_example; // String | ID of the simulation
- String workflowName = workflowName_example; // String |
+ String compoundJobName = compoundJobName_example; // String | Name of the compound job
+ String name = name_example; // String | Name of the action
try {
- JobResponse result = apiInstance.createStandardJob(body, simid, workflowName);
+ TaskFlops result = apiInstance.getTaskFlops_26(simid, compoundJobName, name);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling WRENCHApi#createStandardJob");
+ System.err.println("Exception when calling WRENCHApi#getTaskFlops_26");
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 *compoundJobName = compoundJobName_example; // Name of the compound job
+String *name = name_example; // Name of the action
WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
-// Create a new standard job.
-[apiInstance createStandardJobWith:body
- simid:simid
- workflowName:workflowName
- completionHandler: ^(JobResponse output, NSError* error) {
+// Get an action's flops
+[apiInstance getTaskFlops_21With:simid
+ compoundJobName:compoundJobName
+ name:name
+ completionHandler: ^(TaskFlops output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
@@ -5445,13 +22971,13 @@ 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 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) {
@@ -5460,14 +22986,14 @@ Usage and SDK Samples
console.log('API called successfully. Returned data: ' + data);
}
};
-api.createStandardJob(bodysimidworkflowName, callback);
+api.getTaskFlops_26(simid, compoundJobName, name, callback);
-
-
+
using System;
using System.Diagnostics;
using IO.Swagger.Api;
@@ -5476,25 +23002,25 @@ Usage and SDK Samples
namespace Example
{
- public class createStandardJobExample
+ public class getTaskFlops_26Example
{
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 compoundJobName = compoundJobName_example; // String | Name of the compound job
+ var name = name_example; // String | Name of the action
try
{
- // Create a new standard job.
- JobResponse result = apiInstance.createStandardJob(body, simid, workflowName);
+ // 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.createStandardJob: " + e.Message );
+ Debug.Print("Exception when calling WRENCHApi.getTaskFlops_26: " + e.Message );
}
}
}
@@ -5502,44 +23028,44 @@ 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 |
+$compoundJobName = compoundJobName_example; // String | Name of the compound job
+$name = name_example; // String | Name of the action
try {
- $result = $api_instance->createStandardJob($body, $simid, $workflowName);
+ $result = $api_instance->getTaskFlops_26($simid, $compoundJobName, $name);
print_r($result);
} catch (Exception $e) {
- echo 'Exception when calling WRENCHApi->createStandardJob: ', $e->getMessage(), PHP_EOL;
+ 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 $body = WWW::SwaggerClient::Object::StandardJob->new(); # StandardJob | Job specification.
my $simid = simid_example; # String | ID of the simulation
-my $workflowName = workflowName_example; # String |
+my $compoundJobName = compoundJobName_example; # String | Name of the compound job
+my $name = name_example; # String | Name of the action
eval {
- my $result = $api_instance->createStandardJob(body => $body, simid => $simid, workflowName => $workflowName);
+ my $result = $api_instance->getTaskFlops_26(simid => $simid, compoundJobName => $compoundJobName, name => $name);
print Dumper($result);
};
if ($@) {
- warn "Exception when calling WRENCHApi->createStandardJob: $@\n";
+ warn "Exception when calling WRENCHApi->getTaskFlops_26: $@\n";
}
-
+
from __future__ import print_statement
import time
import swagger_client
@@ -5548,16 +23074,16 @@ 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 |
+compoundJobName = compoundJobName_example # String | Name of the compound job
+name = name_example # String | Name of the action
try:
- # Create a new standard job.
- api_response = api_instance.create_standard_job(body, simid, workflowName)
+ # 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->createStandardJob: %s\n" % e)
+ print("Exception when calling WRENCHApi->getTaskFlops_26: %s\n" % e)
@@ -5573,7 +23099,7 @@ Parameters
-
+
@@ -5591,17 +23117,42 @@ Parameters
- workflow_name*
+ compound_job_name*
-
+
+
+
+
+ String
+
+
+
+ Name of the compound job
+
+
+
+ Required
+
+
+
+
+
+ name*
+
+
+
+
String
+
+ Name of the action
+
Required
@@ -5613,50 +23164,6 @@ Parameters
- Body parameters
-
-
- Name
- Description
-
- body *
-
-
-
-
-
-
-
-
@@ -5665,14 +23172,14 @@ Status: 200 - OK
-
-
+
+
-
+
+ Status: 404 - Job not found
+
+
+
+
+
+
Status: 405 - Invalid input
-
-
+
+
- createTask
- Create a new task.
+ getTaskFlops_22
+ Get an action's flops
@@ -5732,32 +23247,31 @@ createTask
- /simulation/{simid}/workflows/{workflow_name}/createTask
+ /simulation/{simid}/{compound_job_name}/actions/{name}/fileReadAction/getNumBytesToRead
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}/{compound_job_name}/actions/{name}/fileReadAction/getNumBytesToRead"
-
+
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
@@ -5771,56 +23285,56 @@ 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 compoundJobName = compoundJobName_example; // String | Name of the compound job
+ String name = name_example; // String | Name of the action
try {
- GenericResponse result = apiInstance.createTask(body, simid, workflowName);
+ TaskFlops result = apiInstance.getTaskFlops_27(simid, compoundJobName, name);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling WRENCHApi#createTask");
+ 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();
- Task body = ; // Task | Task characteristics.
String simid = simid_example; // String | ID of the simulation
- String workflowName = workflowName_example; // String |
+ String compoundJobName = compoundJobName_example; // String | Name of the compound job
+ String name = name_example; // String | Name of the action
try {
- GenericResponse result = apiInstance.createTask(body, simid, workflowName);
+ TaskFlops result = apiInstance.getTaskFlops_27(simid, compoundJobName, name);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling WRENCHApi#createTask");
+ System.err.println("Exception when calling WRENCHApi#getTaskFlops_27");
e.printStackTrace();
}
}
}
-
- Task *body = ; // Task characteristics.
-String *simid = simid_example; // ID of the simulation
-String *workflowName = workflowName_example; //
+
+ 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];
-
-// Create a new task.
-[apiInstance createTaskWith:body
- simid:simid
- workflowName:workflowName
- completionHandler: ^(GenericResponse output, NSError* error) {
+
+// Get an action's flops
+[apiInstance getTaskFlops_22With:simid
+ compoundJobName:compoundJobName
+ name:name
+ completionHandler: ^(TaskFlops output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
@@ -5831,13 +23345,13 @@ 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 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) {
@@ -5846,14 +23360,14 @@ Usage and SDK Samples
console.log('API called successfully. Returned data: ' + data);
}
};
-api.createTask(bodysimidworkflowName, callback);
+api.getTaskFlops_27(simid, compoundJobName, name, callback);
-
-
+
using System;
using System.Diagnostics;
using IO.Swagger.Api;
@@ -5862,25 +23376,25 @@ Usage and SDK Samples
namespace Example
{
- public class createTaskExample
+ public class getTaskFlops_27Example
{
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 compoundJobName = compoundJobName_example; // String | Name of the compound job
+ var name = name_example; // String | Name of the action
try
{
- // Create a new task.
- GenericResponse result = apiInstance.createTask(body, simid, workflowName);
+ // 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.createTask: " + e.Message );
+ Debug.Print("Exception when calling WRENCHApi.getTaskFlops_27: " + e.Message );
}
}
}
@@ -5888,44 +23402,44 @@ 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 |
+$compoundJobName = compoundJobName_example; // String | Name of the compound job
+$name = name_example; // String | Name of the action
try {
- $result = $api_instance->createTask($body, $simid, $workflowName);
+ $result = $api_instance->getTaskFlops_27($simid, $compoundJobName, $name);
print_r($result);
} catch (Exception $e) {
- echo 'Exception when calling WRENCHApi->createTask: ', $e->getMessage(), PHP_EOL;
+ 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 $body = WWW::SwaggerClient::Object::Task->new(); # Task | Task characteristics.
my $simid = simid_example; # String | ID of the simulation
-my $workflowName = workflowName_example; # String |
+my $compoundJobName = compoundJobName_example; # String | Name of the compound job
+my $name = name_example; # String | Name of the action
eval {
- my $result = $api_instance->createTask(body => $body, simid => $simid, workflowName => $workflowName);
+ my $result = $api_instance->getTaskFlops_27(simid => $simid, compoundJobName => $compoundJobName, name => $name);
print Dumper($result);
};
if ($@) {
- warn "Exception when calling WRENCHApi->createTask: $@\n";
+ warn "Exception when calling WRENCHApi->getTaskFlops_27: $@\n";
}
-
+
from __future__ import print_statement
import time
import swagger_client
@@ -5934,16 +23448,16 @@ 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 |
+compoundJobName = compoundJobName_example # String | Name of the compound job
+name = name_example # String | Name of the action
try:
- # Create a new task.
- api_response = api_instance.create_task(body, simid, workflowName)
+ # 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->createTask: %s\n" % e)
+ print("Exception when calling WRENCHApi->getTaskFlops_27: %s\n" % e)
@@ -5959,7 +23473,7 @@ Parameters
-
+
@@ -5977,17 +23491,42 @@ Parameters
- workflow_name*
+ compound_job_name*
-
+
+
+
+
+ String
+
+
+
+ Name of the compound job
+
+
+
+ Required
+
+
+
+
+
+ name*
+
+
+
+
String
+
+ Name of the action
+
Required
@@ -5999,50 +23538,6 @@ Parameters
- Body parameters
-
-
- Name
- Description
-
- body *
-
-
-
-
-
-
-
-
@@ -6051,14 +23546,14 @@ Status: 200 - OK
-
-
+
+
-
+
+ Status: 404 - Job not found
+
+
+
+
+
+
Status: 405 - Invalid input
-
-
+
+
- createVM
- Create a VM on a cloud compute service.
+ getTaskFlops_23
+ Get an action's flops
@@ -6118,32 +23621,31 @@ createVM
- /simulation/{simid}/cloud_compute_services/{service_name}/createVM
+ /simulation/{simid}/{compound_job_name}/actions/{name}/fileRegistryAction/getFile
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}/{compound_job_name}/actions/{name}/fileRegistryAction/getFile"
-
+
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
@@ -6157,56 +23659,56 @@ 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 compoundJobName = compoundJobName_example; // String | Name of the compound job
+ String name = name_example; // String | Name of the action
try {
- VMCreationResponse result = apiInstance.createVM(body, simid, serviceName);
+ TaskFlops result = apiInstance.getTaskFlops_28(simid, compoundJobName, name);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling WRENCHApi#createVM");
+ System.err.println("Exception when calling WRENCHApi#getTaskFlops_28");
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 compoundJobName = compoundJobName_example; // String | Name of the compound job
+ String name = name_example; // String | Name of the action
try {
- VMCreationResponse result = apiInstance.createVM(body, simid, serviceName);
+ TaskFlops result = apiInstance.getTaskFlops_28(simid, compoundJobName, name);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling WRENCHApi#createVM");
+ System.err.println("Exception when calling WRENCHApi#getTaskFlops_28");
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 *compoundJobName = compoundJobName_example; // Name of the compound job
+String *name = name_example; // Name of the action
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 an action's flops
+[apiInstance getTaskFlops_23With:simid
+ compoundJobName:compoundJobName
+ name:name
+ completionHandler: ^(TaskFlops output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
@@ -6217,13 +23719,13 @@ 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 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) {
@@ -6232,14 +23734,14 @@ Usage and SDK Samples
console.log('API called successfully. Returned data: ' + data);
}
};
-api.createVM(bodysimidserviceName, callback);
+api.getTaskFlops_28(simid, compoundJobName, name, callback);
-
-
+
using System;
using System.Diagnostics;
using IO.Swagger.Api;
@@ -6248,25 +23750,25 @@ Usage and SDK Samples
namespace Example
{
- public class createVMExample
+ public class getTaskFlops_28Example
{
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 compoundJobName = compoundJobName_example; // String | Name of the compound job
+ var name = name_example; // String | Name of the action
try
{
- // Create a VM on a cloud compute service.
- VMCreationResponse result = apiInstance.createVM(body, simid, serviceName);
+ // Get an action's flops
+ TaskFlops result = apiInstance.getTaskFlops_28(simid, compoundJobName, name);
Debug.WriteLine(result);
}
catch (Exception e)
{
- Debug.Print("Exception when calling WRENCHApi.createVM: " + e.Message );
+ Debug.Print("Exception when calling WRENCHApi.getTaskFlops_28: " + e.Message );
}
}
}
@@ -6274,44 +23776,44 @@ 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
+$compoundJobName = compoundJobName_example; // String | Name of the compound job
+$name = name_example; // String | Name of the action
try {
- $result = $api_instance->createVM($body, $simid, $serviceName);
+ $result = $api_instance->getTaskFlops_28($simid, $compoundJobName, $name);
print_r($result);
} catch (Exception $e) {
- echo 'Exception when calling WRENCHApi->createVM: ', $e->getMessage(), PHP_EOL;
+ echo 'Exception when calling WRENCHApi->getTaskFlops_28: ', $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 $compoundJobName = compoundJobName_example; # String | Name of the compound job
+my $name = name_example; # String | Name of the action
eval {
- my $result = $api_instance->createVM(body => $body, simid => $simid, serviceName => $serviceName);
+ my $result = $api_instance->getTaskFlops_28(simid => $simid, compoundJobName => $compoundJobName, name => $name);
print Dumper($result);
};
if ($@) {
- warn "Exception when calling WRENCHApi->createVM: $@\n";
+ warn "Exception when calling WRENCHApi->getTaskFlops_28: $@\n";
}
-
+
from __future__ import print_statement
import time
import swagger_client
@@ -6320,16 +23822,16 @@ 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
+compoundJobName = compoundJobName_example # String | Name of the compound job
+name = name_example # String | Name of the action
try:
- # Create a VM on a cloud compute service.
- api_response = api_instance.create_vm(body, simid, serviceName)
+ # Get an action's flops
+ api_response = api_instance.get_task_flops_28(simid, compoundJobName, name)
pprint(api_response)
except ApiException as e:
- print("Exception when calling WRENCHApi->createVM: %s\n" % e)
+ print("Exception when calling WRENCHApi->getTaskFlops_28: %s\n" % e)
@@ -6345,7 +23847,7 @@ Parameters
-
+
@@ -6363,11 +23865,11 @@ Parameters
- service_name*
+ compound_job_name*
-
+
@@ -6375,7 +23877,29 @@ Parameters
- The cloud compute service name
+ Name of the compound job
+
+
+
+ Required
+
+
+
+
+
+ name*
+
+
+
+
+
+
+
+ String
+
+
+
+ Name of the action
@@ -6388,50 +23912,6 @@ Parameters
- Body parameters
-
-
- Name
- Description
-
- body *
-
-
-
-
-
-
-
-
@@ -6440,14 +23920,14 @@ Status: 200 - OK
-
-
+
+
-
+
+ Status: 404 - Job not found
+
+
+
+
+
+
Status: 405 - Invalid input
-
-
+
+
- createWorkflow
- Create a blank workflow.
+ getTaskFlops_24
+ Get an action's flops
@@ -6507,31 +23995,31 @@ createWorkflow
- /simulation/{simid}/createWorkflow
+ /simulation/{simid}/{compound_job_name}/actions/{name}/fileRegistryAction/getFileLocation
Usage and SDK Samples
-
-
+ compound_job_name*
+
+
+
+
+
+
+
+ String
+
+
+
+ Name of the compound job
+
+
+
+ Required
+
+
+
+
+
+ name*
+
+
+
+
+
+
+
+ String
+
+
+
+ Name of the action
+
+
+
+ Required
+
+
+
+
+
@@ -6744,14 +24294,14 @@ Status: 200 - OK
-
-
+
+
-
+
+ Status: 404 - Job not found
+
+
+
+
+
+
Status: 405 - Invalid input
-
-
+
+
- createWorkflowFromJSON
- Create a workflow from a WfCommons JSON object.
+ getTaskFlops_25
+ Get an action's flops
@@ -6811,32 +24369,31 @@ createWorkflowFromJSON
- /simulation/{simid}/createWorkflowFromJSON
+ /simulation/{simid}/compoundJobs/{compound_job_name}/getChildrenJobs
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}/compoundJobs/{compound_job_name}/getChildrenJobs"
-
+
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
@@ -6850,52 +24407,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 compoundJobName = compoundJobName_example; // String | Name of the compound job
try {
- WorkflowResponseWithTaskAndFileList result = apiInstance.createWorkflowFromJSON(body, simid);
+ TaskFlops result = apiInstance.getTaskFlops_3(simid, compoundJobName);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling WRENCHApi#createWorkflowFromJSON");
+ 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();
- 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 {
- WorkflowResponseWithTaskAndFileList result = apiInstance.createWorkflowFromJSON(body, simid);
+ TaskFlops result = apiInstance.getTaskFlops_3(simid, compoundJobName);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling WRENCHApi#createWorkflowFromJSON");
+ System.err.println("Exception when calling WRENCHApi#getTaskFlops_3");
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 *compoundJobName = compoundJobName_example; // Name of the compound job
WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
-// Create a workflow from a WfCommons JSON object.
-[apiInstance createWorkflowFromJSONWith:body
- simid:simid
- completionHandler: ^(WorkflowResponseWithTaskAndFileList output, NSError* error) {
+// Get an action's flops
+[apiInstance getTaskFlops_25With:simid
+ compoundJobName:compoundJobName
+ completionHandler: ^(TaskFlops output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
@@ -6906,12 +24463,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 compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
var callback = function(error, data, response) {
if (error) {
@@ -6920,14 +24477,14 @@ Usage and SDK Samples
console.log('API called successfully. Returned data: ' + data);
}
};
-api.createWorkflowFromJSON(bodysimid, callback);
+api.getTaskFlops_3(simid, compoundJobName, callback);
-
-
+
using System;
using System.Diagnostics;
using IO.Swagger.Api;
@@ -6936,24 +24493,24 @@ Usage and SDK Samples
namespace Example
{
- public class createWorkflowFromJSONExample
+ public class getTaskFlops_3Example
{
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 compoundJobName = compoundJobName_example; // String | Name of the compound job
try
{
- // Create a workflow from a WfCommons JSON object.
- WorkflowResponseWithTaskAndFileList result = apiInstance.createWorkflowFromJSON(body, simid);
+ // Get an action's flops
+ TaskFlops result = apiInstance.getTaskFlops_3(simid, compoundJobName);
Debug.WriteLine(result);
}
catch (Exception e)
{
- Debug.Print("Exception when calling WRENCHApi.createWorkflowFromJSON: " + e.Message );
+ Debug.Print("Exception when calling WRENCHApi.getTaskFlops_3: " + e.Message );
}
}
}
@@ -6961,42 +24518,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
+$compoundJobName = compoundJobName_example; // String | Name of the compound job
try {
- $result = $api_instance->createWorkflowFromJSON($body, $simid);
+ $result = $api_instance->getTaskFlops_3($simid, $compoundJobName);
print_r($result);
} catch (Exception $e) {
- echo 'Exception when calling WRENCHApi->createWorkflowFromJSON: ', $e->getMessage(), PHP_EOL;
+ 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 $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->createWorkflowFromJSON(body => $body, simid => $simid);
+ my $result = $api_instance->getTaskFlops_3(simid => $simid, compoundJobName => $compoundJobName);
print Dumper($result);
};
if ($@) {
- warn "Exception when calling WRENCHApi->createWorkflowFromJSON: $@\n";
+ warn "Exception when calling WRENCHApi->getTaskFlops_3: $@\n";
}
-
+
from __future__ import print_statement
import time
import swagger_client
@@ -7005,15 +24562,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
+compoundJobName = compoundJobName_example # String | Name of the compound job
try:
- # Create a workflow from a WfCommons JSON object.
- api_response = api_instance.create_workflow_from_json(body, simid)
+ # 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->createWorkflowFromJSON: %s\n" % e)
+ print("Exception when calling WRENCHApi->getTaskFlops_3: %s\n" % e)
@@ -7029,7 +24586,7 @@ Parameters
-
+
@@ -7047,53 +24604,31 @@ Parameters
+ compound_job_name*
+
+
+
+
+
+
+
+ String
+
+
+
+ Name of the compound job
+
+
+
+ Required
+
+
+
+
+
- Body parameters
-
-
- Name
- Description
-
- body *
-
-
-
-
-
-
-
-
@@ -7102,14 +24637,14 @@ Status: 200 - OK
-
-
+
+
-
+
+ Status: 404 - Job not found
+
+
+
+
+
+
Status: 405 - Invalid input
-
-
+
+
- destroyVM
- Destroy a VM.
+ getTaskFlops_26
+ Get an action's flops
@@ -7169,31 +24712,31 @@ destroyVM
- /simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/destroyVM
+ /simulation/{simid}/{compound_job_name}/actions/{name}/fileRegistryAction/getFileRegistryService
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}/{compound_job_name}/actions/{name}/fileRegistryAction/getFileRegistryService"
-
+
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
@@ -7208,20 +24751,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
+ String compoundJobName = compoundJobName_example; // String | Name of the compound job
+ String name = name_example; // String | Name of the action
try {
- GenericResponse result = apiInstance.destroyVM(simid, serviceName, vmName);
+ TaskFlops result = apiInstance.getTaskFlops_30(simid, compoundJobName, name);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling WRENCHApi#destroyVM");
+ System.err.println("Exception when calling WRENCHApi#getTaskFlops_30");
e.printStackTrace();
}
}
}
-
+
import io.swagger.client.api.WRENCHApi;
public class WRENCHApiExample {
@@ -7229,34 +24772,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
+ String compoundJobName = compoundJobName_example; // String | Name of the compound job
+ String name = name_example; // String | Name of the action
try {
- GenericResponse result = apiInstance.destroyVM(simid, serviceName, vmName);
+ TaskFlops result = apiInstance.getTaskFlops_30(simid, compoundJobName, name);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling WRENCHApi#destroyVM");
+ System.err.println("Exception when calling WRENCHApi#getTaskFlops_30");
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 *compoundJobName = compoundJobName_example; // Name of the compound job
+String *name = name_example; // Name of the action
WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
-// Destroy a VM.
-[apiInstance destroyVMWith:simid
- serviceName:serviceName
- vmName:vmName
- completionHandler: ^(GenericResponse output, NSError* error) {
+// Get an action's flops
+[apiInstance getTaskFlops_26With:simid
+ compoundJobName:compoundJobName
+ name:name
+ completionHandler: ^(TaskFlops output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
@@ -7267,13 +24810,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 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) {
@@ -7282,14 +24825,14 @@ Usage and SDK Samples
console.log('API called successfully. Returned data: ' + data);
}
};
-api.destroyVM(simid, serviceName, vmName, callback);
+api.getTaskFlops_30(simid, compoundJobName, name, callback);
-
-
+
using System;
using System.Diagnostics;
using IO.Swagger.Api;
@@ -7298,25 +24841,25 @@ Usage and SDK Samples
namespace Example
{
- public class destroyVMExample
+ public class getTaskFlops_30Example
{
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 compoundJobName = compoundJobName_example; // String | Name of the compound job
+ var name = name_example; // String | Name of the action
try
{
- // Destroy a VM.
- GenericResponse result = apiInstance.destroyVM(simid, serviceName, vmName);
+ // Get an action's flops
+ TaskFlops result = apiInstance.getTaskFlops_30(simid, compoundJobName, name);
Debug.WriteLine(result);
}
catch (Exception e)
{
- Debug.Print("Exception when calling WRENCHApi.destroyVM: " + e.Message );
+ Debug.Print("Exception when calling WRENCHApi.getTaskFlops_30: " + e.Message );
}
}
}
@@ -7324,44 +24867,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
+$compoundJobName = compoundJobName_example; // String | Name of the compound job
+$name = name_example; // String | Name of the action
try {
- $result = $api_instance->destroyVM($simid, $serviceName, $vmName);
+ $result = $api_instance->getTaskFlops_30($simid, $compoundJobName, $name);
print_r($result);
} catch (Exception $e) {
- echo 'Exception when calling WRENCHApi->destroyVM: ', $e->getMessage(), PHP_EOL;
+ echo 'Exception when calling WRENCHApi->getTaskFlops_30: ', $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 $compoundJobName = compoundJobName_example; # String | Name of the compound job
+my $name = name_example; # String | Name of the action
eval {
- my $result = $api_instance->destroyVM(simid => $simid, serviceName => $serviceName, vmName => $vmName);
+ my $result = $api_instance->getTaskFlops_30(simid => $simid, compoundJobName => $compoundJobName, name => $name);
print Dumper($result);
};
if ($@) {
- warn "Exception when calling WRENCHApi->destroyVM: $@\n";
+ warn "Exception when calling WRENCHApi->getTaskFlops_30: $@\n";
}
-
+
from __future__ import print_statement
import time
import swagger_client
@@ -7371,15 +24914,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
+compoundJobName = compoundJobName_example # String | Name of the compound job
+name = name_example # String | Name of the action
try:
- # Destroy a VM.
- api_response = api_instance.destroy_vm(simid, serviceName, vmName)
+ # Get an action's flops
+ api_response = api_instance.get_task_flops_30(simid, compoundJobName, name)
pprint(api_response)
except ApiException as e:
- print("Exception when calling WRENCHApi->destroyVM: %s\n" % e)
+ print("Exception when calling WRENCHApi->getTaskFlops_30: %s\n" % e)
@@ -7395,7 +24938,7 @@ Parameters
-
+
@@ -7413,11 +24956,11 @@ Parameters
- service_name*
+ compound_job_name*
-
+
@@ -7425,7 +24968,7 @@ Parameters
- The cloud compute service name
+ Name of the compound job
@@ -7435,11 +24978,11 @@ Parameters
- vm_name*
+ name*
-
+
@@ -7447,7 +24990,7 @@ Parameters
- The VM name
+ Name of the action
@@ -7468,14 +25011,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_27
+ Get an action's flops
@@ -7535,31 +25086,31 @@ getAllHostnames
- /simulation/{simid}/hostnames
+ /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}/hostnames"
+"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.*;
@@ -7573,48 +25124,52 @@ 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 compoundJobName = compoundJobName_example; // String | Name of the compound job
try {
- HostnameList result = apiInstance.getAllHostnames(simid);
+ TaskFlops result = apiInstance.getTaskFlops_4(simid, compoundJobName);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling WRENCHApi#getAllHostnames");
+ 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 simulation
+ String simid = simid_example; // String | ID of the simulation
+ String compoundJobName = compoundJobName_example; // String | Name of the compound job
try {
- HostnameList result = apiInstance.getAllHostnames(simid);
+ TaskFlops result = apiInstance.getTaskFlops_4(simid, compoundJobName);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling WRENCHApi#getAllHostnames");
+ System.err.println("Exception when calling WRENCHApi#getTaskFlops_4");
e.printStackTrace();
}
}
}
-
- String *simid = simid_example; // ID of simulation
+
+ String *simid = simid_example; // ID of the simulation
+String *compoundJobName = compoundJobName_example; // Name of the compound job
WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
-// Retrieve the names of all hosts in the simulated platform.
-[apiInstance getAllHostnamesWith:simid
- completionHandler: ^(HostnameList output, NSError* error) {
+// Get an action's flops
+[apiInstance getTaskFlops_27With:simid
+ compoundJobName:compoundJobName
+ completionHandler: ^(TaskFlops output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
@@ -7625,11 +25180,12 @@ 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 compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
var callback = function(error, data, response) {
if (error) {
@@ -7638,14 +25194,14 @@ Usage and SDK Samples
console.log('API called successfully. Returned data: ' + data);
}
};
-api.getAllHostnames(simid, callback);
+api.getTaskFlops_4(simid, compoundJobName, callback);
-
-
+
using System;
using System.Diagnostics;
using IO.Swagger.Api;
@@ -7654,23 +25210,24 @@ Usage and SDK Samples
namespace Example
{
- public class getAllHostnamesExample
+ public class getTaskFlops_4Example
{
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 compoundJobName = compoundJobName_example; // String | Name of the compound job
try
{
- // Retrieve the names of all hosts in the simulated platform.
- HostnameList result = apiInstance.getAllHostnames(simid);
+ // Get an action's flops
+ TaskFlops result = apiInstance.getTaskFlops_4(simid, compoundJobName);
Debug.WriteLine(result);
}
catch (Exception e)
{
- Debug.Print("Exception when calling WRENCHApi.getAllHostnames: " + e.Message );
+ Debug.Print("Exception when calling WRENCHApi.getTaskFlops_4: " + e.Message );
}
}
}
@@ -7678,40 +25235,42 @@ 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
+$compoundJobName = compoundJobName_example; // String | Name of the compound job
try {
- $result = $api_instance->getAllHostnames($simid);
+ $result = $api_instance->getTaskFlops_4($simid, $compoundJobName);
print_r($result);
} catch (Exception $e) {
- echo 'Exception when calling WRENCHApi->getAllHostnames: ', $e->getMessage(), PHP_EOL;
+ 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 simulation
+my $simid = simid_example; # String | ID of the simulation
+my $compoundJobName = compoundJobName_example; # String | Name of the compound job
eval {
- my $result = $api_instance->getAllHostnames(simid => $simid);
+ my $result = $api_instance->getTaskFlops_4(simid => $simid, compoundJobName => $compoundJobName);
print Dumper($result);
};
if ($@) {
- warn "Exception when calling WRENCHApi->getAllHostnames: $@\n";
+ warn "Exception when calling WRENCHApi->getTaskFlops_4: $@\n";
}
-
+
from __future__ import print_statement
import time
import swagger_client
@@ -7720,14 +25279,15 @@ 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
+compoundJobName = compoundJobName_example # String | Name of the compound job
try:
- # Retrieve the names of all hosts in the simulated platform.
- api_response = api_instance.get_all_hostnames(simid)
+ # 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->getAllHostnames: %s\n" % e)
+ print("Exception when calling WRENCHApi->getTaskFlops_4: %s\n" % e)
@@ -7743,7 +25303,7 @@ Parameters
-
+
@@ -7751,7 +25311,29 @@ Parameters
- ID of simulation
+ ID of the simulation
+
+
+
+ Required
+
+
+
+
+
+ compound_job_name*
+
+
+
+
+
+
+
+ String
+
+
+
+ Name of the compound job
@@ -7772,14 +25354,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.
+ getTaskFlops_28
+ Get an action's flops
@@ -7839,31 +25429,31 @@ getCoreCounts
- /simulation/{simid}/compute_services/{service_name}/coreCounts
+ /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}/compute_services/{service_name}/coreCounts"
+"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.*;
@@ -7878,19 +25468,19 @@ 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 compoundJobName = compoundJobName_example; // String | Name of the compound job
try {
- inline_response_200_1 result = apiInstance.getCoreCounts(simid, serviceName);
+ TaskFlops result = apiInstance.getTaskFlops_5(simid, compoundJobName);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling WRENCHApi#getCoreCounts");
+ System.err.println("Exception when calling WRENCHApi#getTaskFlops_5");
e.printStackTrace();
}
}
}
-
+
import io.swagger.client.api.WRENCHApi;
public class WRENCHApiExample {
@@ -7898,31 +25488,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 serviceName = serviceName_example; // String | The compute service name
+ String compoundJobName = compoundJobName_example; // String | Name of the compound job
try {
- inline_response_200_1 result = apiInstance.getCoreCounts(simid, serviceName);
+ TaskFlops result = apiInstance.getTaskFlops_5(simid, compoundJobName);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling WRENCHApi#getCoreCounts");
+ System.err.println("Exception when calling WRENCHApi#getTaskFlops_5");
e.printStackTrace();
}
}
}
-
+
String *simid = simid_example; // ID of the simulation
-String *serviceName = serviceName_example; // The compute service name
+String *compoundJobName = compoundJobName_example; // Name of the compound job
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) {
+// Get an action's flops
+[apiInstance getTaskFlops_28With:simid
+ compoundJobName:compoundJobName
+ completionHandler: ^(TaskFlops output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
@@ -7933,12 +25523,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 serviceName = serviceName_example; // {{String}} The compute service name
+var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
var callback = function(error, data, response) {
if (error) {
@@ -7947,14 +25537,14 @@ Usage and SDK Samples
console.log('API called successfully. Returned data: ' + data);
}
};
-api.getCoreCounts(simid, serviceName, callback);
+api.getTaskFlops_5(simid, compoundJobName, callback);
-
-
+
using System;
using System.Diagnostics;
using IO.Swagger.Api;
@@ -7963,24 +25553,24 @@ Usage and SDK Samples
namespace Example
{
- public class getCoreCountsExample
+ public class getTaskFlops_5Example
{
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 compoundJobName = compoundJobName_example; // String | Name of the compound job
try
{
- // Returns the core counts for each host managed by the compute service.
- inline_response_200_1 result = apiInstance.getCoreCounts(simid, serviceName);
+ // Get an action's flops
+ TaskFlops result = apiInstance.getTaskFlops_5(simid, compoundJobName);
Debug.WriteLine(result);
}
catch (Exception e)
{
- Debug.Print("Exception when calling WRENCHApi.getCoreCounts: " + e.Message );
+ Debug.Print("Exception when calling WRENCHApi.getTaskFlops_5: " + e.Message );
}
}
}
@@ -7988,42 +25578,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
-$serviceName = serviceName_example; // String | The compute service name
+$compoundJobName = compoundJobName_example; // String | Name of the compound job
try {
- $result = $api_instance->getCoreCounts($simid, $serviceName);
+ $result = $api_instance->getTaskFlops_5($simid, $compoundJobName);
print_r($result);
} catch (Exception $e) {
- echo 'Exception when calling WRENCHApi->getCoreCounts: ', $e->getMessage(), PHP_EOL;
+ 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 $serviceName = serviceName_example; # String | The compute service name
+my $compoundJobName = compoundJobName_example; # String | Name of the compound job
eval {
- my $result = $api_instance->getCoreCounts(simid => $simid, serviceName => $serviceName);
+ my $result = $api_instance->getTaskFlops_5(simid => $simid, compoundJobName => $compoundJobName);
print Dumper($result);
};
if ($@) {
- warn "Exception when calling WRENCHApi->getCoreCounts: $@\n";
+ warn "Exception when calling WRENCHApi->getTaskFlops_5: $@\n";
}
-
+
from __future__ import print_statement
import time
import swagger_client
@@ -8033,14 +25623,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 compute service name
+compoundJobName = compoundJobName_example # String | Name of the compound job
try:
- # Returns the core counts for each host managed by the compute service.
- api_response = api_instance.get_core_counts(simid, serviceName)
+ # 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->getCoreCounts: %s\n" % e)
+ print("Exception when calling WRENCHApi->getTaskFlops_5: %s\n" % e)
@@ -8056,7 +25646,7 @@ Parameters
-
+
@@ -8074,11 +25664,11 @@ Parameters
- service_name*
+ compound_job_name*
-
+
@@ -8086,7 +25676,7 @@ Parameters
- The compute service name
+ Name of the compound job
@@ -8107,14 +25697,14 @@ Status: 200 - OK
-
-
+
+
-
+
+ Status: 404 - Job not found
+
+
+
+
+
+
Status: 405 - Invalid input
-
-
+
+
- getCoreFlopRates
- Returns the core flop rate for each host managed by the compute service.
+ getTaskFlops_29
+ Get an action's flops
@@ -8174,31 +25772,31 @@ getCoreFlopRates
- /simulation/{simid}/compute_services/{service_name}/coreFlopRates
+ /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}/compute_services/{service_name}/coreFlopRates"
+"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.*;
@@ -8213,19 +25811,19 @@ 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 compoundJobName = compoundJobName_example; // String | Name of the compound job
try {
- inline_response_200 result = apiInstance.getCoreFlopRates(simid, serviceName);
+ TaskFlops result = apiInstance.getTaskFlops_6(simid, compoundJobName);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling WRENCHApi#getCoreFlopRates");
+ System.err.println("Exception when calling WRENCHApi#getTaskFlops_6");
e.printStackTrace();
}
}
}
-
+
import io.swagger.client.api.WRENCHApi;
public class WRENCHApiExample {
@@ -8233,31 +25831,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 serviceName = serviceName_example; // String | The compute service name
+ String compoundJobName = compoundJobName_example; // String | Name of the compound job
try {
- inline_response_200 result = apiInstance.getCoreFlopRates(simid, serviceName);
+ TaskFlops result = apiInstance.getTaskFlops_6(simid, compoundJobName);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling WRENCHApi#getCoreFlopRates");
+ System.err.println("Exception when calling WRENCHApi#getTaskFlops_6");
e.printStackTrace();
}
}
}
-
+
String *simid = simid_example; // ID of the simulation
-String *serviceName = serviceName_example; // The compute service name
+String *compoundJobName = compoundJobName_example; // Name of the compound job
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 an action's flops
+[apiInstance getTaskFlops_29With:simid
+ compoundJobName:compoundJobName
+ completionHandler: ^(TaskFlops output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
@@ -8268,12 +25866,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 serviceName = serviceName_example; // {{String}} The compute service name
+var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
var callback = function(error, data, response) {
if (error) {
@@ -8282,14 +25880,14 @@ Usage and SDK Samples
console.log('API called successfully. Returned data: ' + data);
}
};
-api.getCoreFlopRates(simid, serviceName, callback);
+api.getTaskFlops_6(simid, compoundJobName, callback);
-
-
+
using System;
using System.Diagnostics;
using IO.Swagger.Api;
@@ -8298,24 +25896,24 @@ Usage and SDK Samples
namespace Example
{
- public class getCoreFlopRatesExample
+ public class getTaskFlops_6Example
{
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 compoundJobName = compoundJobName_example; // String | Name of the compound job
try
{
- // Returns the core flop rate for each host managed by the compute service.
- inline_response_200 result = apiInstance.getCoreFlopRates(simid, serviceName);
+ // Get an action's flops
+ TaskFlops result = apiInstance.getTaskFlops_6(simid, compoundJobName);
Debug.WriteLine(result);
}
catch (Exception e)
{
- Debug.Print("Exception when calling WRENCHApi.getCoreFlopRates: " + e.Message );
+ Debug.Print("Exception when calling WRENCHApi.getTaskFlops_6: " + e.Message );
}
}
}
@@ -8323,42 +25921,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
-$serviceName = serviceName_example; // String | The compute service name
+$compoundJobName = compoundJobName_example; // String | Name of the compound job
try {
- $result = $api_instance->getCoreFlopRates($simid, $serviceName);
+ $result = $api_instance->getTaskFlops_6($simid, $compoundJobName);
print_r($result);
} catch (Exception $e) {
- echo 'Exception when calling WRENCHApi->getCoreFlopRates: ', $e->getMessage(), PHP_EOL;
+ 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 $serviceName = serviceName_example; # String | The compute service name
+my $compoundJobName = compoundJobName_example; # String | Name of the compound job
eval {
- my $result = $api_instance->getCoreFlopRates(simid => $simid, serviceName => $serviceName);
+ my $result = $api_instance->getTaskFlops_6(simid => $simid, compoundJobName => $compoundJobName);
print Dumper($result);
};
if ($@) {
- warn "Exception when calling WRENCHApi->getCoreFlopRates: $@\n";
+ warn "Exception when calling WRENCHApi->getTaskFlops_6: $@\n";
}
-
+
from __future__ import print_statement
import time
import swagger_client
@@ -8368,14 +25966,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 compute service name
+compoundJobName = compoundJobName_example # String | Name of the compound job
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 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->getCoreFlopRates: %s\n" % e)
+ print("Exception when calling WRENCHApi->getTaskFlops_6: %s\n" % e)
@@ -8391,7 +25989,7 @@ Parameters
-
+
@@ -8409,11 +26007,11 @@ Parameters
- service_name*
+ compound_job_name*
-
+
@@ -8421,7 +26019,7 @@ Parameters
- The compute service name
+ Name of the compound job
@@ -8442,14 +26040,14 @@ Status: 200 - OK
-
-
+
+
-
+
+ Status: 404 - Job not found
+
+
+
+
+
+
Status: 405 - Invalid input
-
-
+
+
- getExecutionHosts
- Get the list of execution hosts available to run VMs.
+ getTaskFlops_30
+ Get an action's flops
@@ -8509,31 +26115,31 @@ getExecutionHosts
- /simulation/{simid}/getExecutionHosts
+ /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}/getExecutionHosts"
+"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.*;
@@ -8547,48 +26153,52 @@ 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 compoundJobName = compoundJobName_example; // String | Name of the compound job
try {
- HostnameList result = apiInstance.getExecutionHosts(simid);
+ TaskFlops result = apiInstance.getTaskFlops_7(simid, compoundJobName);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling WRENCHApi#getExecutionHosts");
+ 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 simulation
+ String simid = simid_example; // String | ID of the simulation
+ String compoundJobName = compoundJobName_example; // String | Name of the compound job
try {
- HostnameList result = apiInstance.getExecutionHosts(simid);
+ TaskFlops result = apiInstance.getTaskFlops_7(simid, compoundJobName);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling WRENCHApi#getExecutionHosts");
+ System.err.println("Exception when calling WRENCHApi#getTaskFlops_7");
e.printStackTrace();
}
}
}
-
- String *simid = simid_example; // ID of simulation
+
+ String *simid = simid_example; // ID of the simulation
+String *compoundJobName = compoundJobName_example; // Name of the compound job
WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
-// Get the list of execution hosts available to run VMs.
-[apiInstance getExecutionHostsWith:simid
- completionHandler: ^(HostnameList output, NSError* error) {
+// Get an action's flops
+[apiInstance getTaskFlops_30With:simid
+ compoundJobName:compoundJobName
+ completionHandler: ^(TaskFlops output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
@@ -8599,11 +26209,12 @@ 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 compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
var callback = function(error, data, response) {
if (error) {
@@ -8612,14 +26223,14 @@ Usage and SDK Samples
console.log('API called successfully. Returned data: ' + data);
}
};
-api.getExecutionHosts(simid, callback);
+api.getTaskFlops_7(simid, compoundJobName, callback);
-
-
+
using System;
using System.Diagnostics;
using IO.Swagger.Api;
@@ -8628,23 +26239,24 @@ Usage and SDK Samples
namespace Example
{
- public class getExecutionHostsExample
+ public class getTaskFlops_7Example
{
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 compoundJobName = compoundJobName_example; // String | Name of the compound job
try
{
- // Get the list of execution hosts available to run VMs.
- HostnameList result = apiInstance.getExecutionHosts(simid);
+ // Get an action's flops
+ TaskFlops result = apiInstance.getTaskFlops_7(simid, compoundJobName);
Debug.WriteLine(result);
}
catch (Exception e)
{
- Debug.Print("Exception when calling WRENCHApi.getExecutionHosts: " + e.Message );
+ Debug.Print("Exception when calling WRENCHApi.getTaskFlops_7: " + e.Message );
}
}
}
@@ -8652,40 +26264,42 @@ 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
+$compoundJobName = compoundJobName_example; // String | Name of the compound job
try {
- $result = $api_instance->getExecutionHosts($simid);
+ $result = $api_instance->getTaskFlops_7($simid, $compoundJobName);
print_r($result);
} catch (Exception $e) {
- echo 'Exception when calling WRENCHApi->getExecutionHosts: ', $e->getMessage(), PHP_EOL;
+ 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 simulation
+my $simid = simid_example; # String | ID of the simulation
+my $compoundJobName = compoundJobName_example; # String | Name of the compound job
eval {
- my $result = $api_instance->getExecutionHosts(simid => $simid);
+ my $result = $api_instance->getTaskFlops_7(simid => $simid, compoundJobName => $compoundJobName);
print Dumper($result);
};
if ($@) {
- warn "Exception when calling WRENCHApi->getExecutionHosts: $@\n";
+ warn "Exception when calling WRENCHApi->getTaskFlops_7: $@\n";
}
-
+
from __future__ import print_statement
import time
import swagger_client
@@ -8694,14 +26308,15 @@ 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
+compoundJobName = compoundJobName_example # String | Name of the compound job
try:
- # Get the list of execution hosts available to run VMs.
- api_response = api_instance.get_execution_hosts(simid)
+ # 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->getExecutionHosts: %s\n" % e)
+ print("Exception when calling WRENCHApi->getTaskFlops_7: %s\n" % e)
@@ -8717,7 +26332,7 @@ Parameters
-
+
@@ -8725,7 +26340,29 @@ Parameters
- ID of simulation
+ ID of the simulation
+
+
+
+ Required
+
+
+
+
+
+ compound_job_name*
+
+
+
+
+
+
+
+ String
+
+
+
+ Name of the compound job
@@ -8746,14 +26383,14 @@ Status: 200 - OK
-
-
+
+
-
+
+ Status: 404 - Job not found
+
+
+
+
+
+
Status: 405 - Invalid input
-
-
-
+
+
+
- getFileSize
- Get a file size.
+ getTaskFlops_31
+ Get an action's flops
@@ -8813,31 +26458,31 @@ getFileSize
- /simulation/{simid}/files/{file_id}/size
+ /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}/files/{file_id}/size"
+"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.*;
@@ -8852,19 +26497,19 @@ 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 compoundJobName = compoundJobName_example; // String | Name of the compound job
try {
- FileSizeResponse result = apiInstance.getFileSize(simid, fileId);
+ TaskFlops result = apiInstance.getTaskFlops_8(simid, compoundJobName);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling WRENCHApi#getFileSize");
+ System.err.println("Exception when calling WRENCHApi#getTaskFlops_8");
e.printStackTrace();
}
}
}
-
+
import io.swagger.client.api.WRENCHApi;
public class WRENCHApiExample {
@@ -8872,31 +26517,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 fileId = fileId_example; // String | Name of the file
+ String compoundJobName = compoundJobName_example; // String | Name of the compound job
try {
- FileSizeResponse result = apiInstance.getFileSize(simid, fileId);
+ TaskFlops result = apiInstance.getTaskFlops_8(simid, compoundJobName);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling WRENCHApi#getFileSize");
+ System.err.println("Exception when calling WRENCHApi#getTaskFlops_8");
e.printStackTrace();
}
}
}
-
+
String *simid = simid_example; // ID of the simulation
-String *fileId = fileId_example; // Name of the file
+String *compoundJobName = compoundJobName_example; // Name of the compound job
WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
-// Get a file size.
-[apiInstance getFileSizeWith:simid
- fileId:fileId
- completionHandler: ^(FileSizeResponse output, NSError* error) {
+// Get an action's flops
+[apiInstance getTaskFlops_31With:simid
+ compoundJobName:compoundJobName
+ completionHandler: ^(TaskFlops output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
@@ -8907,12 +26552,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 fileId = fileId_example; // {{String}} Name of the file
+var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
var callback = function(error, data, response) {
if (error) {
@@ -8921,14 +26566,14 @@ Usage and SDK Samples
console.log('API called successfully. Returned data: ' + data);
}
};
-api.getFileSize(simid, fileId, callback);
+api.getTaskFlops_8(simid, compoundJobName, callback);
-
-
+
using System;
using System.Diagnostics;
using IO.Swagger.Api;
@@ -8937,24 +26582,24 @@ Usage and SDK Samples
namespace Example
{
- public class getFileSizeExample
+ public class getTaskFlops_8Example
{
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 compoundJobName = compoundJobName_example; // String | Name of the compound job
try
{
- // Get a file size.
- FileSizeResponse result = apiInstance.getFileSize(simid, fileId);
+ // Get an action's flops
+ TaskFlops result = apiInstance.getTaskFlops_8(simid, compoundJobName);
Debug.WriteLine(result);
}
catch (Exception e)
{
- Debug.Print("Exception when calling WRENCHApi.getFileSize: " + e.Message );
+ Debug.Print("Exception when calling WRENCHApi.getTaskFlops_8: " + e.Message );
}
}
}
@@ -8962,42 +26607,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
-$fileId = fileId_example; // String | Name of the file
+$compoundJobName = compoundJobName_example; // String | Name of the compound job
try {
- $result = $api_instance->getFileSize($simid, $fileId);
+ $result = $api_instance->getTaskFlops_8($simid, $compoundJobName);
print_r($result);
} catch (Exception $e) {
- echo 'Exception when calling WRENCHApi->getFileSize: ', $e->getMessage(), PHP_EOL;
+ 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 $fileId = fileId_example; # String | Name of the file
+my $compoundJobName = compoundJobName_example; # String | Name of the compound job
eval {
- my $result = $api_instance->getFileSize(simid => $simid, fileId => $fileId);
+ my $result = $api_instance->getTaskFlops_8(simid => $simid, compoundJobName => $compoundJobName);
print Dumper($result);
};
if ($@) {
- warn "Exception when calling WRENCHApi->getFileSize: $@\n";
+ warn "Exception when calling WRENCHApi->getTaskFlops_8: $@\n";
}
-
+
from __future__ import print_statement
import time
import swagger_client
@@ -9007,14 +26652,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
-fileId = fileId_example # String | Name of the file
+compoundJobName = compoundJobName_example # String | Name of the compound job
try:
- # Get a file size.
- api_response = api_instance.get_file_size(simid, fileId)
+ # 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->getFileSize: %s\n" % e)
+ print("Exception when calling WRENCHApi->getTaskFlops_8: %s\n" % e)
@@ -9030,7 +26675,7 @@ Parameters
-
+
@@ -9048,11 +26693,11 @@ Parameters
- file_id*
+ compound_job_name*
-
+
@@ -9060,7 +26705,7 @@ Parameters
- Name of the file
+ Name of the compound job
@@ -9081,14 +26726,14 @@ Status: 200 - OK
-
-
+
+
-
+
- Status: 404 - File not found
+ Status: 404 - Job not found
@@ -9144,11 +26789,11 @@ Status: 405 - Invalid input
-
-
+
+
- getInputFiles
- Return the list of input files of the workflow.
+ getTaskFlops_32
+ Get an action's flops
@@ -9156,31 +26801,31 @@ getInputFiles
- /simulation/{simid}/workflows/{workflow_name}/inputFiles
+ /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}/workflows/{workflow_name}/inputFiles"
+"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.*;
@@ -9195,19 +26840,19 @@ Usage and SDK Samples
WRENCHApi apiInstance = new WRENCHApi();
String simid = simid_example; // String | ID of the simulation
- String workflowName = workflowName_example; // String |
+ String compoundJobName = compoundJobName_example; // String | Name of the compound job
try {
- FileList result = apiInstance.getInputFiles(simid, workflowName);
+ TaskFlops result = apiInstance.getTaskFlops_9(simid, compoundJobName);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling WRENCHApi#getInputFiles");
+ System.err.println("Exception when calling WRENCHApi#getTaskFlops_9");
e.printStackTrace();
}
}
}
-
+
import io.swagger.client.api.WRENCHApi;
public class WRENCHApiExample {
@@ -9215,31 +26860,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 |
+ String compoundJobName = compoundJobName_example; // String | Name of the compound job
try {
- FileList result = apiInstance.getInputFiles(simid, workflowName);
+ TaskFlops result = apiInstance.getTaskFlops_9(simid, compoundJobName);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling WRENCHApi#getInputFiles");
+ System.err.println("Exception when calling WRENCHApi#getTaskFlops_9");
e.printStackTrace();
}
}
}
-
+
String *simid = simid_example; // ID of the simulation
-String *workflowName = workflowName_example; //
+String *compoundJobName = compoundJobName_example; // Name of the compound job
WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
-// Return the list of input files of the workflow.
-[apiInstance getInputFilesWith:simid
- workflowName:workflowName
- completionHandler: ^(FileList output, NSError* error) {
+// Get an action's flops
+[apiInstance getTaskFlops_32With:simid
+ compoundJobName:compoundJobName
+ completionHandler: ^(TaskFlops output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
@@ -9250,12 +26895,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 compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
var callback = function(error, data, response) {
if (error) {
@@ -9264,14 +26909,14 @@ Usage and SDK Samples
console.log('API called successfully. Returned data: ' + data);
}
};
-api.getInputFiles(simid, workflowName, callback);
+api.getTaskFlops_9(simid, compoundJobName, callback);
-
-
+
using System;
using System.Diagnostics;
using IO.Swagger.Api;
@@ -9280,24 +26925,24 @@ Usage and SDK Samples
namespace Example
{
- public class getInputFilesExample
+ public class getTaskFlops_9Example
{
public void main()
{
var apiInstance = new WRENCHApi();
var simid = simid_example; // String | ID of the simulation
- var workflowName = workflowName_example; // String |
+ var compoundJobName = compoundJobName_example; // String | Name of the compound job
try
{
- // Return the list of input files of the workflow.
- FileList result = apiInstance.getInputFiles(simid, workflowName);
+ // Get an action's flops
+ TaskFlops result = apiInstance.getTaskFlops_9(simid, compoundJobName);
Debug.WriteLine(result);
}
catch (Exception e)
{
- Debug.Print("Exception when calling WRENCHApi.getInputFiles: " + e.Message );
+ Debug.Print("Exception when calling WRENCHApi.getTaskFlops_9: " + e.Message );
}
}
}
@@ -9305,42 +26950,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 |
+$compoundJobName = compoundJobName_example; // String | Name of the compound job
try {
- $result = $api_instance->getInputFiles($simid, $workflowName);
+ $result = $api_instance->getTaskFlops_9($simid, $compoundJobName);
print_r($result);
} catch (Exception $e) {
- echo 'Exception when calling WRENCHApi->getInputFiles: ', $e->getMessage(), PHP_EOL;
+ 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 $workflowName = workflowName_example; # String |
+my $compoundJobName = compoundJobName_example; # String | Name of the compound job
eval {
- my $result = $api_instance->getInputFiles(simid => $simid, workflowName => $workflowName);
+ my $result = $api_instance->getTaskFlops_9(simid => $simid, compoundJobName => $compoundJobName);
print Dumper($result);
};
if ($@) {
- warn "Exception when calling WRENCHApi->getInputFiles: $@\n";
+ warn "Exception when calling WRENCHApi->getTaskFlops_9: $@\n";
}
-
+
from __future__ import print_statement
import time
import swagger_client
@@ -9350,14 +26995,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 |
+compoundJobName = compoundJobName_example # String | Name of the compound job
try:
- # Return the list of input files of the workflow.
- api_response = api_instance.get_input_files(simid, workflowName)
+ # 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->getInputFiles: %s\n" % e)
+ print("Exception when calling WRENCHApi->getTaskFlops_9: %s\n" % e)
@@ -9373,7 +27018,7 @@ Parameters
-
+
@@ -9391,17 +27036,20 @@ Parameters
- workflow_name*
+ compound_job_name*
-
+
String
+
+ Name of the compound job
+
Required
@@ -9421,14 +27069,14 @@ Status: 200 - OK
-
-
+
+
-
+
- Status: 404 - Task not found
+ Status: 404 - Job not found
@@ -9484,11 +27132,11 @@ Status: 405 - Invalid input
-
-
+
+
- getReadyTasks
- Return the list of ready tasks in the workflow.
+ getTaskInputFiles
+ Retrieve task's input files
@@ -9496,31 +27144,31 @@ getReadyTasks
- /simulation/{simid}/workflows/{workflow_name}/readyTasks
+ /simulation/{simid}/{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}/readyTasks"
+"https://wrench-project.org/v1/simulation/{simid}/{workflow_name}/tasks/{tid}/inputFiles"
-
+
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
@@ -9536,18 +27184,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 {
- TaskList result = apiInstance.getReadyTasks(simid, workflowName);
+ FileList result = apiInstance.getTaskInputFiles(simid, workflowName, tid);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling WRENCHApi#getReadyTasks");
+ System.err.println("Exception when calling WRENCHApi#getTaskInputFiles");
e.printStackTrace();
}
}
}
-
+
import io.swagger.client.api.WRENCHApi;
public class WRENCHApiExample {
@@ -9556,30 +27205,33 @@ 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 {
- TaskList result = apiInstance.getReadyTasks(simid, workflowName);
+ FileList result = apiInstance.getTaskInputFiles(simid, workflowName, tid);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling WRENCHApi#getReadyTasks");
+ 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];
-// Return the list of ready tasks in the workflow.
-[apiInstance getReadyTasksWith:simid
+// Retrieve task's input files
+[apiInstance getTaskInputFilesWith:simid
workflowName:workflowName
- completionHandler: ^(TaskList output, NSError* error) {
+ tid:tid
+ completionHandler: ^(FileList output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
@@ -9590,12 +27242,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) {
@@ -9604,14 +27257,14 @@ Usage and SDK Samples
console.log('API called successfully. Returned data: ' + data);
}
};
-api.getReadyTasks(simid, workflowName, callback);
+api.getTaskInputFiles(simid, workflowName, tid, callback);
-
-
+
using System;
using System.Diagnostics;
using IO.Swagger.Api;
@@ -9620,7 +27273,7 @@ Usage and SDK Samples
namespace Example
{
- public class getReadyTasksExample
+ public class getTaskInputFilesExample
{
public void main()
{
@@ -9628,16 +27281,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 ready tasks in the workflow.
- TaskList result = apiInstance.getReadyTasks(simid, workflowName);
+ // Retrieve task's input files
+ FileList result = apiInstance.getTaskInputFiles(simid, workflowName, tid);
Debug.WriteLine(result);
}
catch (Exception e)
{
- Debug.Print("Exception when calling WRENCHApi.getReadyTasks: " + e.Message );
+ Debug.Print("Exception when calling WRENCHApi.getTaskInputFiles: " + e.Message );
}
}
}
@@ -9645,24 +27299,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->getReadyTasks($simid, $workflowName);
+ $result = $api_instance->getTaskInputFiles($simid, $workflowName, $tid);
print_r($result);
} catch (Exception $e) {
- echo 'Exception when calling WRENCHApi->getReadyTasks: ', $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;
@@ -9670,17 +27325,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->getReadyTasks(simid => $simid, workflowName => $workflowName);
+ my $result = $api_instance->getTaskInputFiles(simid => $simid, workflowName => $workflowName, tid => $tid);
print Dumper($result);
};
if ($@) {
- warn "Exception when calling WRENCHApi->getReadyTasks: $@\n";
+ warn "Exception when calling WRENCHApi->getTaskInputFiles: $@\n";
}
-
+
from __future__ import print_statement
import time
import swagger_client
@@ -9691,13 +27347,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 ready tasks in the workflow.
- api_response = api_instance.get_ready_tasks(simid, workflowName)
+ # 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->getReadyTasks: %s\n" % e)
+ print("Exception when calling WRENCHApi->getTaskInputFiles: %s\n" % e)
@@ -9713,7 +27370,7 @@ Parameters
-
+
@@ -9735,13 +27392,35 @@ Parameters
-
+
+
+
+
+ String
+
+
+
+
+ Required
+
+
+
+
+
+ tid*
+
+
+
+
String
+
+ ID of the task
+
Required
@@ -9761,14 +27440,14 @@ Status: 200 - OK
-
-
+
+
-
+
@@ -9824,11 +27503,11 @@ Status: 405 - Invalid input
-
-
+
+
- getSimulationEvents
- Retrieve all simulation events since last time we checked.
+ getTaskMaxNumCores
+ Get a task's maximum number of cores.
@@ -9836,31 +27515,31 @@ getSimulationEvents
- /simulation/{simid}/simulationEvents
+ /simulation/{simid}/{workflow_name}/tasks/{name}/taskGetMaxNumCores
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}/{workflow_name}/tasks/{name}/taskGetMaxNumCores"
-
+
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
@@ -9874,48 +27553,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 name = name_example; // String | ID of the task
try {
- EventList result = apiInstance.getSimulationEvents(simid);
+ TaskCores result = apiInstance.getTaskMaxNumCores(simid, workflowName, name);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling WRENCHApi#getSimulationEvents");
+ 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 simulation
+ String simid = simid_example; // String | ID of the simulation
+ String workflowName = workflowName_example; // String |
+ String name = name_example; // String | ID of the task
try {
- EventList result = apiInstance.getSimulationEvents(simid);
+ TaskCores result = apiInstance.getTaskMaxNumCores(simid, workflowName, name);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling WRENCHApi#getSimulationEvents");
+ System.err.println("Exception when calling WRENCHApi#getTaskMaxNumCores");
e.printStackTrace();
}
}
}
-
- String *simid = simid_example; // ID of simulation
+
+ String *simid = simid_example; // ID of the simulation
+String *workflowName = workflowName_example; //
+String *name = name_example; // ID of the task
WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
-// Retrieve all simulation events since last time we checked.
-[apiInstance getSimulationEventsWith:simid
- completionHandler: ^(EventList output, NSError* error) {
+// Get a task's maximum number of cores.
+[apiInstance getTaskMaxNumCoresWith:simid
+ workflowName:workflowName
+ name:name
+ completionHandler: ^(TaskCores output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
@@ -9926,11 +27613,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 name = name_example; // {{String}} ID of the task
var callback = function(error, data, response) {
if (error) {
@@ -9939,14 +27628,14 @@ Usage and SDK Samples
console.log('API called successfully. Returned data: ' + data);
}
};
-api.getSimulationEvents(simid, callback);
+api.getTaskMaxNumCores(simid, workflowName, name, callback);
-
-
+
using System;
using System.Diagnostics;
using IO.Swagger.Api;
@@ -9955,23 +27644,25 @@ Usage and SDK Samples
namespace Example
{
- public class getSimulationEventsExample
+ public class getTaskMaxNumCoresExample
{
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 name = name_example; // String | ID of the task
try
{
- // Retrieve all simulation events since last time we checked.
- EventList result = apiInstance.getSimulationEvents(simid);
+ // Get a task's maximum number of cores.
+ TaskCores result = apiInstance.getTaskMaxNumCores(simid, workflowName, name);
Debug.WriteLine(result);
}
catch (Exception e)
{
- Debug.Print("Exception when calling WRENCHApi.getSimulationEvents: " + e.Message );
+ Debug.Print("Exception when calling WRENCHApi.getTaskMaxNumCores: " + e.Message );
}
}
}
@@ -9979,40 +27670,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 = name_example; // String | ID of the task
try {
- $result = $api_instance->getSimulationEvents($simid);
+ $result = $api_instance->getTaskMaxNumCores($simid, $workflowName, $name);
print_r($result);
} catch (Exception $e) {
- echo 'Exception when calling WRENCHApi->getSimulationEvents: ', $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 simulation
+my $simid = simid_example; # String | ID of the simulation
+my $workflowName = workflowName_example; # String |
+my $name = name_example; # String | ID of the task
eval {
- my $result = $api_instance->getSimulationEvents(simid => $simid);
+ my $result = $api_instance->getTaskMaxNumCores(simid => $simid, workflowName => $workflowName, name => $name);
print Dumper($result);
};
if ($@) {
- warn "Exception when calling WRENCHApi->getSimulationEvents: $@\n";
+ warn "Exception when calling WRENCHApi->getTaskMaxNumCores: $@\n";
}
-
+
from __future__ import print_statement
import time
import swagger_client
@@ -10021,14 +27716,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 = name_example # String | ID of the task
try:
- # Retrieve all simulation events since last time we checked.
- api_response = api_instance.get_simulation_events(simid)
+ # Get a task's maximum number of cores.
+ api_response = api_instance.get_task_max_num_cores(simid, workflowName, name)
pprint(api_response)
except ApiException as e:
- print("Exception when calling WRENCHApi->getSimulationEvents: %s\n" % e)
+ print("Exception when calling WRENCHApi->getTaskMaxNumCores: %s\n" % e)
@@ -10044,7 +27741,7 @@ Parameters
-
+
@@ -10052,7 +27749,48 @@ Parameters
- ID of simulation
+ ID of the simulation
+
+
+
+ Required
+
+
+
+
+
+ workflow_name*
+
+
+
+
+
+
+
+ String
+
+
+
+
+ Required
+
+
+
+
+
+ name*
+
+
+
+
+
+
+
+ String
+
+
+
+ ID of the task
@@ -10073,14 +27811,14 @@ Status: 200 - OK
-
-
+
+
-
+
+ Status: 404 - Job not found
+
+
+
+
+
+
Status: 405 - Invalid input
-
-
+
+
- getSimulationTime
- Retrieve the current simulated time.
+ getTaskMaxNumCores_33
+ Get an action's maximum number of cores.
@@ -10140,31 +27886,31 @@ getSimulationTime
- /simulation/{simid}/getTime
+ /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}/getTime"
+"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.*;
@@ -10179,18 +27925,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
try {
- TimeResponse result = apiInstance.getSimulationTime(simid);
+ TaskCores result = apiInstance.getTaskMaxNumCores_0(simid, compoundJobName, name);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling WRENCHApi#getSimulationTime");
+ System.err.println("Exception when calling WRENCHApi#getTaskMaxNumCores_0");
e.printStackTrace();
}
}
}
-
+
import io.swagger.client.api.WRENCHApi;
public class WRENCHApiExample {
@@ -10198,28 +27946,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
try {
- TimeResponse result = apiInstance.getSimulationTime(simid);
+ TaskCores result = apiInstance.getTaskMaxNumCores_0(simid, compoundJobName, name);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling WRENCHApi#getSimulationTime");
+ 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];
-// Retrieve the current simulated time.
-[apiInstance getSimulationTimeWith:simid
- completionHandler: ^(TimeResponse output, NSError* error) {
+// Get an action's maximum number of cores.
+[apiInstance getTaskMaxNumCores_33With:simid
+ compoundJobName:compoundJobName
+ name:name
+ completionHandler: ^(TaskCores output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
@@ -10230,11 +27984,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 callback = function(error, data, response) {
if (error) {
@@ -10243,14 +27999,14 @@ Usage and SDK Samples
console.log('API called successfully. Returned data: ' + data);
}
};
-api.getSimulationTime(simid, callback);
+api.getTaskMaxNumCores_0(simid, compoundJobName, name, callback);
-
-
+
using System;
using System.Diagnostics;
using IO.Swagger.Api;
@@ -10259,23 +28015,25 @@ Usage and SDK Samples
namespace Example
{
- public class getSimulationTimeExample
+ 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
{
- // Retrieve the current simulated time.
- TimeResponse result = apiInstance.getSimulationTime(simid);
+ // 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.getSimulationTime: " + e.Message );
+ Debug.Print("Exception when calling WRENCHApi.getTaskMaxNumCores_0: " + e.Message );
}
}
}
@@ -10283,40 +28041,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
try {
- $result = $api_instance->getSimulationTime($simid);
+ $result = $api_instance->getTaskMaxNumCores_0($simid, $compoundJobName, $name);
print_r($result);
} catch (Exception $e) {
- echo 'Exception when calling WRENCHApi->getSimulationTime: ', $e->getMessage(), PHP_EOL;
+ 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->getSimulationTime(simid => $simid);
+ my $result = $api_instance->getTaskMaxNumCores_0(simid => $simid, compoundJobName => $compoundJobName, name => $name);
print Dumper($result);
};
if ($@) {
- warn "Exception when calling WRENCHApi->getSimulationTime: $@\n";
+ warn "Exception when calling WRENCHApi->getTaskMaxNumCores_0: $@\n";
}
-
+
from __future__ import print_statement
import time
import swagger_client
@@ -10326,13 +28088,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
try:
- # Retrieve the current simulated time.
- api_response = api_instance.get_simulation_time(simid)
+ # 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->getSimulationTime: %s\n" % e)
+ print("Exception when calling WRENCHApi->getTaskMaxNumCores_0: %s\n" % e)
@@ -10348,7 +28112,7 @@ Parameters
-
+
@@ -10366,6 +28130,50 @@ Parameters
+ compound_job_name*
+
+
+
+
+
+
+
+ String
+
+
+
+ Name of the compound job
+
+
+
+ Required
+
+
+
+
+
+ name*
+
+
+
+
+
+
+
+ String
+
+
+
+ Name of the action
+
+
+
+ Required
+
+
+
+
+
@@ -10377,14 +28185,14 @@ Status: 200 - OK
-
-
+
+
-
+
+ Status: 404 - Job not found
+
+
+
+
+
+
Status: 405 - Invalid input
-
-
+
+
- getStandardJobTasks
- Retrieve job's tasks
+ getTaskMemory
+ Get a task's memory requirement.
@@ -10444,31 +28260,31 @@ getStandardJobTasks
- /simulation/{simid}/jobs/{job_name}/tasks
+ /simulation/{simid}/{workflow_name}/tasks/{name}/taskGetMemory
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}/{workflow_name}/tasks/{name}/taskGetMemory"
-
+
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
@@ -10483,19 +28299,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 workflowName = workflowName_example; // String |
+ String name = name_example; // String | ID of the task
try {
- TaskList result = apiInstance.getStandardJobTasks(simid, jobName);
+ TaskMem result = apiInstance.getTaskMemory(simid, workflowName, name);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling WRENCHApi#getStandardJobTasks");
+ System.err.println("Exception when calling WRENCHApi#getTaskMemory");
e.printStackTrace();
}
}
}
-
+
import io.swagger.client.api.WRENCHApi;
public class WRENCHApiExample {
@@ -10503,31 +28320,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 workflowName = workflowName_example; // String |
+ String name = name_example; // String | ID of the task
try {
- TaskList result = apiInstance.getStandardJobTasks(simid, jobName);
+ TaskMem result = apiInstance.getTaskMemory(simid, workflowName, name);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling WRENCHApi#getStandardJobTasks");
+ System.err.println("Exception when calling WRENCHApi#getTaskMemory");
e.printStackTrace();
}
}
}
-
+
String *simid = simid_example; // ID of the simulation
-String *jobName = jobName_example; // ID of the job
+String *workflowName = workflowName_example; //
+String *name = name_example; // ID of the task
WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
-// Retrieve job's tasks
-[apiInstance getStandardJobTasksWith:simid
- jobName:jobName
- completionHandler: ^(TaskList output, NSError* error) {
+// Get a task's memory requirement.
+[apiInstance getTaskMemoryWith:simid
+ workflowName:workflowName
+ name:name
+ completionHandler: ^(TaskMem output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
@@ -10538,12 +28358,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 workflowName = workflowName_example; // {{String}}
+var name = name_example; // {{String}} ID of the task
var callback = function(error, data, response) {
if (error) {
@@ -10552,14 +28373,14 @@ Usage and SDK Samples
console.log('API called successfully. Returned data: ' + data);
}
};
-api.getStandardJobTasks(simid, jobName, callback);
+api.getTaskMemory(simid, workflowName, name, callback);
-
-
+
using System;
using System.Diagnostics;
using IO.Swagger.Api;
@@ -10568,24 +28389,25 @@ Usage and SDK Samples
namespace Example
{
- public class getStandardJobTasksExample
+ public class getTaskMemoryExample
{
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 workflowName = workflowName_example; // String |
+ var name = name_example; // String | ID of the task
try
{
- // Retrieve job's tasks
- TaskList result = apiInstance.getStandardJobTasks(simid, jobName);
+ // Get a task's memory requirement.
+ TaskMem result = apiInstance.getTaskMemory(simid, workflowName, name);
Debug.WriteLine(result);
}
catch (Exception e)
{
- Debug.Print("Exception when calling WRENCHApi.getStandardJobTasks: " + e.Message );
+ Debug.Print("Exception when calling WRENCHApi.getTaskMemory: " + e.Message );
}
}
}
@@ -10593,42 +28415,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
+$workflowName = workflowName_example; // String |
+$name = name_example; // String | ID of the task
try {
- $result = $api_instance->getStandardJobTasks($simid, $jobName);
+ $result = $api_instance->getTaskMemory($simid, $workflowName, $name);
print_r($result);
} catch (Exception $e) {
- echo 'Exception when calling WRENCHApi->getStandardJobTasks: ', $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 the simulation
-my $jobName = jobName_example; # String | ID of the job
+my $workflowName = workflowName_example; # String |
+my $name = name_example; # String | ID of the task
eval {
- my $result = $api_instance->getStandardJobTasks(simid => $simid, jobName => $jobName);
+ my $result = $api_instance->getTaskMemory(simid => $simid, workflowName => $workflowName, name => $name);
print Dumper($result);
};
if ($@) {
- warn "Exception when calling WRENCHApi->getStandardJobTasks: $@\n";
+ warn "Exception when calling WRENCHApi->getTaskMemory: $@\n";
}
-
+
from __future__ import print_statement
import time
import swagger_client
@@ -10638,14 +28462,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
+workflowName = workflowName_example # String |
+name = name_example # String | ID of the task
try:
- # Retrieve job's tasks
- api_response = api_instance.get_standard_job_tasks(simid, jobName)
+ # Get a task's memory requirement.
+ api_response = api_instance.get_task_memory(simid, workflowName, name)
pprint(api_response)
except ApiException as e:
- print("Exception when calling WRENCHApi->getStandardJobTasks: %s\n" % e)
+ print("Exception when calling WRENCHApi->getTaskMemory: %s\n" % e)
@@ -10661,7 +28486,7 @@ Parameters
-
+
@@ -10679,11 +28504,30 @@ Parameters
- job_name*
+ workflow_name*
-
+
+
+
+
+ String
+
+
+
+
+ Required
+
+
+
+
+
+ name*
+
+
+
+
@@ -10691,7 +28535,7 @@ Parameters
- ID of the job
+ ID of the task
@@ -10712,14 +28556,14 @@ Status: 200 - OK
-
-
+
+
-
+
@@ -10775,11 +28619,11 @@ Status: 405 - Invalid input
-
-
+
+
- getTaskEndDate
- Get a task's end date.
+ getTaskMemory_34
+ Get an action's memory requirement.
@@ -10787,31 +28631,31 @@ getTaskEndDate
- /simulation/{simid}/workflows/{workflow_name}/tasks/{task_name}/taskGetEndDate
+ /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}/workflows/{workflow_name}/tasks/{task_name}/taskGetEndDate"
+"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.*;
@@ -10826,20 +28670,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 compoundJobName = compoundJobName_example; // String | Name of the compound job
+ String name = name_example; // String | Name of the action
try {
- TimeResponse result = apiInstance.getTaskEndDate(simid, workflowName, taskName);
+ TaskMem result = apiInstance.getTaskMemory_0(simid, compoundJobName, name);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling WRENCHApi#getTaskEndDate");
+ System.err.println("Exception when calling WRENCHApi#getTaskMemory_0");
e.printStackTrace();
}
}
}
-
+
import io.swagger.client.api.WRENCHApi;
public class WRENCHApiExample {
@@ -10847,34 +28691,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 compoundJobName = compoundJobName_example; // String | Name of the compound job
+ String name = name_example; // String | Name of the action
try {
- TimeResponse result = apiInstance.getTaskEndDate(simid, workflowName, taskName);
+ TaskMem result = apiInstance.getTaskMemory_0(simid, compoundJobName, name);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling WRENCHApi#getTaskEndDate");
+ System.err.println("Exception when calling WRENCHApi#getTaskMemory_0");
e.printStackTrace();
}
}
}
-
+
String *simid = simid_example; // ID of the simulation
-String *workflowName = workflowName_example; //
-String *taskName = taskName_example; // Name of the task
+String *compoundJobName = compoundJobName_example; // Name of the compound job
+String *name = name_example; // Name of the action
WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
-// Get a task's end date.
-[apiInstance getTaskEndDateWith:simid
- workflowName:workflowName
- taskName:taskName
- completionHandler: ^(TimeResponse output, NSError* error) {
+// Get an action's memory requirement.
+[apiInstance getTaskMemory_34With:simid
+ compoundJobName:compoundJobName
+ name:name
+ completionHandler: ^(TaskMem output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
@@ -10885,13 +28729,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 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) {
@@ -10900,14 +28744,14 @@ Usage and SDK Samples
console.log('API called successfully. Returned data: ' + data);
}
};
-api.getTaskEndDate(simid, workflowName, taskName, callback);
+api.getTaskMemory_0(simid, compoundJobName, name, callback);
-
-
+
using System;
using System.Diagnostics;
using IO.Swagger.Api;
@@ -10916,25 +28760,25 @@ Usage and SDK Samples
namespace Example
{
- public class getTaskEndDateExample
+ public class getTaskMemory_0Example
{
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 compoundJobName = compoundJobName_example; // String | Name of the compound job
+ var name = name_example; // String | Name of the action
try
{
- // Get a task's end date.
- TimeResponse result = apiInstance.getTaskEndDate(simid, workflowName, taskName);
+ // 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.getTaskEndDate: " + e.Message );
+ Debug.Print("Exception when calling WRENCHApi.getTaskMemory_0: " + e.Message );
}
}
}
@@ -10942,44 +28786,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
+$compoundJobName = compoundJobName_example; // String | Name of the compound job
+$name = name_example; // String | Name of the action
try {
- $result = $api_instance->getTaskEndDate($simid, $workflowName, $taskName);
+ $result = $api_instance->getTaskMemory_0($simid, $compoundJobName, $name);
print_r($result);
} catch (Exception $e) {
- echo 'Exception when calling WRENCHApi->getTaskEndDate: ', $e->getMessage(), PHP_EOL;
+ 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 $workflowName = workflowName_example; # String |
-my $taskName = taskName_example; # String | Name of the task
+my $compoundJobName = compoundJobName_example; # String | Name of the compound job
+my $name = name_example; # String | Name of the action
eval {
- my $result = $api_instance->getTaskEndDate(simid => $simid, workflowName => $workflowName, taskName => $taskName);
+ my $result = $api_instance->getTaskMemory_0(simid => $simid, compoundJobName => $compoundJobName, name => $name);
print Dumper($result);
};
if ($@) {
- warn "Exception when calling WRENCHApi->getTaskEndDate: $@\n";
+ warn "Exception when calling WRENCHApi->getTaskMemory_0: $@\n";
}
-
+
from __future__ import print_statement
import time
import swagger_client
@@ -10989,15 +28833,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
+compoundJobName = compoundJobName_example # String | Name of the compound job
+name = name_example # String | Name of the action
try:
- # Get a task's end date.
- api_response = api_instance.get_task_end_date(simid, workflowName, taskName)
+ # 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->getTaskEndDate: %s\n" % e)
+ print("Exception when calling WRENCHApi->getTaskMemory_0: %s\n" % e)
@@ -11013,7 +28857,7 @@ Parameters
-
+
@@ -11031,17 +28875,20 @@ Parameters
- workflow_name*
+ compound_job_name*
-
+
String
+
+ Name of the compound job
+
Required
@@ -11050,11 +28897,11 @@ Parameters
- task_name*
+ name*
-
+
@@ -11062,7 +28909,7 @@ Parameters
- Name of the task
+ Name of the action
@@ -11083,14 +28930,14 @@ Status: 200 - OK
-
-
+
+
-
+
@@ -11146,11 +28993,11 @@ Status: 405 - Invalid input
-
-
+
+
- getTaskFlops
- Get a task's flops
+ getTaskMemory_35
+ Get an action's memory requirement.
@@ -11158,31 +29005,31 @@ getTaskFlops
- /simulation/{simid}/workflows/{workflow_name}/tasks/{task_name}/taskGetFlops
+ /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}/workflows/{workflow_name}/tasks/{task_name}/taskGetFlops"
+"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.*;
@@ -11197,20 +29044,20 @@ Usage and SDK Samples
WRENCHApi apiInstance = new WRENCHApi();
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 compoundJobName = compoundJobName_example; // String | Name of the compound job
+ String name = name_example; // String | Name of the action
try {
- TaskFlops result = apiInstance.getTaskFlops(simid, workflowName, taskName);
+ TaskMem result = apiInstance.getTaskMemory_1(simid, compoundJobName, name);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling WRENCHApi#getTaskFlops");
+ System.err.println("Exception when calling WRENCHApi#getTaskMemory_1");
e.printStackTrace();
}
}
}
-
+
import io.swagger.client.api.WRENCHApi;
public class WRENCHApiExample {
@@ -11218,34 +29065,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 | Name of the workflow
- String taskName = taskName_example; // String | Name of the task
+ String compoundJobName = compoundJobName_example; // String | Name of the compound job
+ String name = name_example; // String | Name of the action
try {
- TaskFlops result = apiInstance.getTaskFlops(simid, workflowName, taskName);
+ TaskMem result = apiInstance.getTaskMemory_1(simid, compoundJobName, name);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling WRENCHApi#getTaskFlops");
+ System.err.println("Exception when calling WRENCHApi#getTaskMemory_1");
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
+String *compoundJobName = compoundJobName_example; // Name of the compound job
+String *name = name_example; // Name of the action
WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
-// Get a task's flops
-[apiInstance getTaskFlopsWith:simid
- workflowName:workflowName
- taskName:taskName
- completionHandler: ^(TaskFlops output, NSError* error) {
+// Get an action's memory requirement.
+[apiInstance getTaskMemory_35With:simid
+ compoundJobName:compoundJobName
+ name:name
+ completionHandler: ^(TaskMem output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
@@ -11256,13 +29103,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}} Name of the workflow
-var taskName = taskName_example; // {{String}} Name of the task
+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) {
@@ -11271,14 +29118,14 @@ Usage and SDK Samples
console.log('API called successfully. Returned data: ' + data);
}
};
-api.getTaskFlops(simid, workflowName, taskName, callback);
+api.getTaskMemory_1(simid, compoundJobName, name, callback);
-
-
+
using System;
using System.Diagnostics;
using IO.Swagger.Api;
@@ -11287,25 +29134,25 @@ Usage and SDK Samples
namespace Example
{
- public class getTaskFlopsExample
+ public class getTaskMemory_1Example
{
public void main()
{
var apiInstance = new WRENCHApi();
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 compoundJobName = compoundJobName_example; // String | Name of the compound job
+ var name = name_example; // String | Name of the action
try
{
- // Get a task's flops
- TaskFlops result = apiInstance.getTaskFlops(simid, workflowName, taskName);
+ // 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.getTaskFlops: " + e.Message );
+ Debug.Print("Exception when calling WRENCHApi.getTaskMemory_1: " + e.Message );
}
}
}
@@ -11313,44 +29160,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 | Name of the workflow
-$taskName = taskName_example; // String | Name of the task
+$compoundJobName = compoundJobName_example; // String | Name of the compound job
+$name = name_example; // String | Name of the action
try {
- $result = $api_instance->getTaskFlops($simid, $workflowName, $taskName);
+ $result = $api_instance->getTaskMemory_1($simid, $compoundJobName, $name);
print_r($result);
} catch (Exception $e) {
- echo 'Exception when calling WRENCHApi->getTaskFlops: ', $e->getMessage(), PHP_EOL;
+ 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 $workflowName = workflowName_example; # String | Name of the workflow
-my $taskName = taskName_example; # String | Name of the task
+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(simid => $simid, workflowName => $workflowName, taskName => $taskName);
+ my $result = $api_instance->getTaskMemory_1(simid => $simid, compoundJobName => $compoundJobName, name => $name);
print Dumper($result);
};
if ($@) {
- warn "Exception when calling WRENCHApi->getTaskFlops: $@\n";
+ warn "Exception when calling WRENCHApi->getTaskMemory_1: $@\n";
}
-
+
from __future__ import print_statement
import time
import swagger_client
@@ -11360,15 +29207,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 | Name of the workflow
-taskName = taskName_example # String | Name of the task
+compoundJobName = compoundJobName_example # String | Name of the compound job
+name = name_example # String | Name of the action
try:
- # Get a task's flops
- api_response = api_instance.get_task_flops(simid, workflowName, taskName)
+ # 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->getTaskFlops: %s\n" % e)
+ print("Exception when calling WRENCHApi->getTaskMemory_1: %s\n" % e)
@@ -11384,7 +29231,7 @@ Parameters
-
+
@@ -11402,11 +29249,11 @@ Parameters
- workflow_name*
+ compound_job_name*
-
+
@@ -11414,7 +29261,7 @@ Parameters
- Name of the workflow
+ Name of the compound job
@@ -11424,11 +29271,11 @@ Parameters
- task_name*
+ name*
-
+
@@ -11436,7 +29283,7 @@ Parameters
- Name of the task
+ Name of the action
@@ -11457,14 +29304,14 @@ Status: 200 - OK
-
-
+
+
-
+
@@ -11520,11 +29367,11 @@ Status: 405 - Invalid input
-
-
+
+
- getTaskInputFiles
- Retrieve task's input files
+ getTaskMinNumCores
+ Get a task's minimum number of cores.
@@ -11532,31 +29379,31 @@ getTaskInputFiles
- /simulation/{simid}/workflows/{workflow_name}/tasks/{tid}/inputFiles
+ /simulation/{simid}/{workflow_name}/tasks/{name}/taskGetMinNumCores
Usage and SDK Samples
-
+
curl -X GET\
-H "Accept: application/json"\
-"https://wrench-project.org/v1/simulation/{simid}/workflows/{workflow_name}/tasks/{tid}/inputFiles"
+"https://wrench-project.org/v1/simulation/{simid}/{workflow_name}/tasks/{name}/taskGetMinNumCores"
-
+
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
@@ -11572,19 +29419,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
+ String name = name_example; // String | ID of the task
try {
- FileList result = apiInstance.getTaskInputFiles(simid, workflowName, tid);
+ TaskCores result = apiInstance.getTaskMinNumCores(simid, workflowName, name);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling WRENCHApi#getTaskInputFiles");
+ System.err.println("Exception when calling WRENCHApi#getTaskMinNumCores");
e.printStackTrace();
}
}
}
-
+
import io.swagger.client.api.WRENCHApi;
public class WRENCHApiExample {
@@ -11593,33 +29440,33 @@ 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
+ String name = name_example; // String | ID of the task
try {
- FileList result = apiInstance.getTaskInputFiles(simid, workflowName, tid);
+ TaskCores result = apiInstance.getTaskMinNumCores(simid, workflowName, name);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling WRENCHApi#getTaskInputFiles");
+ System.err.println("Exception when calling WRENCHApi#getTaskMinNumCores");
e.printStackTrace();
}
}
}
-
+
String *simid = simid_example; // ID of the simulation
String *workflowName = workflowName_example; //
-String *tid = tid_example; // ID of the task
+String *name = name_example; // ID of the task
WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
-// Retrieve task's input files
-[apiInstance getTaskInputFilesWith:simid
+// Get a task's minimum number of cores.
+[apiInstance getTaskMinNumCoresWith:simid
workflowName:workflowName
- tid:tid
- completionHandler: ^(FileList output, NSError* error) {
+ name:name
+ completionHandler: ^(TaskCores output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
@@ -11630,13 +29477,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 name = name_example; // {{String}} ID of the task
var callback = function(error, data, response) {
if (error) {
@@ -11645,14 +29492,14 @@ Usage and SDK Samples
console.log('API called successfully. Returned data: ' + data);
}
};
-api.getTaskInputFiles(simid, workflowName, tid, callback);
+api.getTaskMinNumCores(simid, workflowName, name, callback);
-
-
+
using System;
using System.Diagnostics;
using IO.Swagger.Api;
@@ -11661,7 +29508,7 @@ Usage and SDK Samples
namespace Example
{
- public class getTaskInputFilesExample
+ public class getTaskMinNumCoresExample
{
public void main()
{
@@ -11669,17 +29516,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
+ var name = name_example; // String | ID of the task
try
{
- // Retrieve task's input files
- FileList result = apiInstance.getTaskInputFiles(simid, workflowName, tid);
+ // Get a task's minimum number of cores.
+ TaskCores result = apiInstance.getTaskMinNumCores(simid, workflowName, name);
Debug.WriteLine(result);
}
catch (Exception e)
{
- Debug.Print("Exception when calling WRENCHApi.getTaskInputFiles: " + e.Message );
+ Debug.Print("Exception when calling WRENCHApi.getTaskMinNumCores: " + e.Message );
}
}
}
@@ -11687,25 +29534,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
+$name = name_example; // String | ID of the task
try {
- $result = $api_instance->getTaskInputFiles($simid, $workflowName, $tid);
+ $result = $api_instance->getTaskMinNumCores($simid, $workflowName, $name);
print_r($result);
} catch (Exception $e) {
- echo 'Exception when calling WRENCHApi->getTaskInputFiles: ', $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;
@@ -11713,18 +29560,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
+my $name = name_example; # String | ID of the task
eval {
- my $result = $api_instance->getTaskInputFiles(simid => $simid, workflowName => $workflowName, tid => $tid);
+ my $result = $api_instance->getTaskMinNumCores(simid => $simid, workflowName => $workflowName, name => $name);
print Dumper($result);
};
if ($@) {
- warn "Exception when calling WRENCHApi->getTaskInputFiles: $@\n";
+ warn "Exception when calling WRENCHApi->getTaskMinNumCores: $@\n";
}
-
+
from __future__ import print_statement
import time
import swagger_client
@@ -11735,14 +29582,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
+name = name_example # String | ID of the task
try:
- # Retrieve task's input files
- api_response = api_instance.get_task_input_files(simid, workflowName, tid)
+ # Get a task's minimum number of cores.
+ api_response = api_instance.get_task_min_num_cores(simid, workflowName, name)
pprint(api_response)
except ApiException as e:
- print("Exception when calling WRENCHApi->getTaskInputFiles: %s\n" % e)
+ print("Exception when calling WRENCHApi->getTaskMinNumCores: %s\n" % e)
@@ -11758,7 +29605,7 @@ Parameters
-
+
@@ -11780,7 +29627,7 @@ Parameters
-
+
@@ -11795,11 +29642,11 @@ Parameters
- tid*
+ name*
-
+
@@ -11828,14 +29675,14 @@ Status: 200 - OK
-
-
+
+
-
+
- Status: 404 - Task not found
+ Status: 404 - Job not found
@@ -11891,11 +29738,11 @@ Status: 405 - Invalid input
-
-
+
+
- getTaskMaxNumCores
- Get a task's maximum number of cores.
+ getTaskMinNumCores_36
+ Get an action's minimum number of cores.
@@ -11903,31 +29750,31 @@ getTaskMaxNumCores
- /simulation/{simid}/workflows/{workflow_name}/tasks/{task_name}/taskGetMaxNumCores
+ /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}/workflows/{workflow_name}/tasks/{task_name}/taskGetMaxNumCores"
+"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.*;
@@ -11942,20 +29789,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 compoundJobName = compoundJobName_example; // String | Name of the compound job
+ String name = name_example; // String | Name of the action
try {
- TaskCores result = apiInstance.getTaskMaxNumCores(simid, workflowName, taskName);
+ TaskCores result = apiInstance.getTaskMinNumCores_0(simid, compoundJobName, name);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling WRENCHApi#getTaskMaxNumCores");
+ System.err.println("Exception when calling WRENCHApi#getTaskMinNumCores_0");
e.printStackTrace();
}
}
}
-
+
import io.swagger.client.api.WRENCHApi;
public class WRENCHApiExample {
@@ -11963,33 +29810,33 @@ 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 compoundJobName = compoundJobName_example; // String | Name of the compound job
+ String name = name_example; // String | Name of the action
try {
- TaskCores result = apiInstance.getTaskMaxNumCores(simid, workflowName, taskName);
+ TaskCores result = apiInstance.getTaskMinNumCores_0(simid, compoundJobName, name);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling WRENCHApi#getTaskMaxNumCores");
+ System.err.println("Exception when calling WRENCHApi#getTaskMinNumCores_0");
e.printStackTrace();
}
}
}
-
+
String *simid = simid_example; // ID of the simulation
-String *workflowName = workflowName_example; //
-String *taskName = taskName_example; // Name of the task
+String *compoundJobName = compoundJobName_example; // Name of the compound job
+String *name = name_example; // Name of the action
WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
-// Get a task's maximum number of cores.
-[apiInstance getTaskMaxNumCoresWith:simid
- workflowName:workflowName
- taskName:taskName
+// Get an action's minimum number of cores.
+[apiInstance getTaskMinNumCores_36With:simid
+ compoundJobName:compoundJobName
+ name:name
completionHandler: ^(TaskCores output, NSError* error) {
if (output) {
NSLog(@"%@", output);
@@ -12001,13 +29848,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 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) {
@@ -12016,14 +29863,14 @@ Usage and SDK Samples
console.log('API called successfully. Returned data: ' + data);
}
};
-api.getTaskMaxNumCores(simid, workflowName, taskName, callback);
+api.getTaskMinNumCores_0(simid, compoundJobName, name, callback);
-
-
+
using System;
using System.Diagnostics;
using IO.Swagger.Api;
@@ -12032,25 +29879,25 @@ Usage and SDK Samples
namespace Example
{
- public class getTaskMaxNumCoresExample
+ public class getTaskMinNumCores_0Example
{
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 compoundJobName = compoundJobName_example; // String | Name of the compound job
+ var name = name_example; // String | Name of the action
try
{
- // Get a task's maximum number of cores.
- TaskCores result = apiInstance.getTaskMaxNumCores(simid, workflowName, taskName);
+ // 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.getTaskMaxNumCores: " + e.Message );
+ Debug.Print("Exception when calling WRENCHApi.getTaskMinNumCores_0: " + e.Message );
}
}
}
@@ -12058,44 +29905,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
+$compoundJobName = compoundJobName_example; // String | Name of the compound job
+$name = name_example; // String | Name of the action
try {
- $result = $api_instance->getTaskMaxNumCores($simid, $workflowName, $taskName);
+ $result = $api_instance->getTaskMinNumCores_0($simid, $compoundJobName, $name);
print_r($result);
} catch (Exception $e) {
- echo 'Exception when calling WRENCHApi->getTaskMaxNumCores: ', $e->getMessage(), PHP_EOL;
+ 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 $workflowName = workflowName_example; # String |
-my $taskName = taskName_example; # String | Name of the task
+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(simid => $simid, workflowName => $workflowName, taskName => $taskName);
+ my $result = $api_instance->getTaskMinNumCores_0(simid => $simid, compoundJobName => $compoundJobName, name => $name);
print Dumper($result);
};
if ($@) {
- warn "Exception when calling WRENCHApi->getTaskMaxNumCores: $@\n";
+ warn "Exception when calling WRENCHApi->getTaskMinNumCores_0: $@\n";
}
-
+
from __future__ import print_statement
import time
import swagger_client
@@ -12105,15 +29952,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
+compoundJobName = compoundJobName_example # String | Name of the compound job
+name = name_example # String | Name of the action
try:
- # Get a task's maximum number of cores.
- api_response = api_instance.get_task_max_num_cores(simid, workflowName, taskName)
+ # 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->getTaskMaxNumCores: %s\n" % e)
+ print("Exception when calling WRENCHApi->getTaskMinNumCores_0: %s\n" % e)
@@ -12129,7 +29976,7 @@ Parameters
-
+
@@ -12147,17 +29994,20 @@ Parameters
- workflow_name*
+ compound_job_name*
-
+
String
+
+ Name of the compound job
+
Required
@@ -12166,11 +30016,11 @@ Parameters
- task_name*
+ name*
-
+
@@ -12178,7 +30028,7 @@ Parameters
- Name of the task
+ Name of the action
@@ -12199,14 +30049,14 @@ Status: 200 - OK
-
-
+
+
-
+
@@ -12262,11 +30112,11 @@ Status: 405 - Invalid input
-
-
+
+
- getTaskMemory
- Get a task's memory requirement.
+ getTaskMinNumCores_37
+ Get an action's minimum number of cores.
@@ -12274,31 +30124,31 @@ getTaskMemory
- /simulation/{simid}/workflows/{workflow_name}/tasks/{task_name}/taskGetMemory
+ /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}/workflows/{workflow_name}/tasks/{task_name}/taskGetMemory"
+"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.*;
@@ -12313,20 +30163,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 compoundJobName = compoundJobName_example; // String | Name of the compound job
+ String name = name_example; // String | Name of the action
try {
- TaskMem result = apiInstance.getTaskMemory(simid, workflowName, taskName);
+ TaskCores result = apiInstance.getTaskMinNumCores_1(simid, compoundJobName, name);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling WRENCHApi#getTaskMemory");
+ System.err.println("Exception when calling WRENCHApi#getTaskMinNumCores_1");
e.printStackTrace();
}
}
}
-
+
import io.swagger.client.api.WRENCHApi;
public class WRENCHApiExample {
@@ -12334,34 +30184,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 compoundJobName = compoundJobName_example; // String | Name of the compound job
+ String name = name_example; // String | Name of the action
try {
- TaskMem result = apiInstance.getTaskMemory(simid, workflowName, taskName);
+ TaskCores result = apiInstance.getTaskMinNumCores_1(simid, compoundJobName, name);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling WRENCHApi#getTaskMemory");
+ System.err.println("Exception when calling WRENCHApi#getTaskMinNumCores_1");
e.printStackTrace();
}
}
}
-
+
String *simid = simid_example; // ID of the simulation
-String *workflowName = workflowName_example; //
-String *taskName = taskName_example; // Name of the task
+String *compoundJobName = compoundJobName_example; // Name of the compound job
+String *name = name_example; // Name of the action
WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
-// Get a task's memory requirement.
-[apiInstance getTaskMemoryWith:simid
- workflowName:workflowName
- taskName:taskName
- completionHandler: ^(TaskMem output, NSError* error) {
+// Get an action's minimum number of cores.
+[apiInstance getTaskMinNumCores_37With:simid
+ compoundJobName:compoundJobName
+ name:name
+ completionHandler: ^(TaskCores output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
@@ -12372,13 +30222,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 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) {
@@ -12387,14 +30237,14 @@ Usage and SDK Samples
console.log('API called successfully. Returned data: ' + data);
}
};
-api.getTaskMemory(simid, workflowName, taskName, callback);
+api.getTaskMinNumCores_1(simid, compoundJobName, name, callback);
-
-
+
using System;
using System.Diagnostics;
using IO.Swagger.Api;
@@ -12403,25 +30253,25 @@ Usage and SDK Samples
namespace Example
{
- public class getTaskMemoryExample
+ public class getTaskMinNumCores_1Example
{
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 compoundJobName = compoundJobName_example; // String | Name of the compound job
+ var name = name_example; // String | Name of the action
try
{
- // Get a task's memory requirement.
- TaskMem result = apiInstance.getTaskMemory(simid, workflowName, taskName);
+ // 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.getTaskMemory: " + e.Message );
+ Debug.Print("Exception when calling WRENCHApi.getTaskMinNumCores_1: " + e.Message );
}
}
}
@@ -12429,44 +30279,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
+$compoundJobName = compoundJobName_example; // String | Name of the compound job
+$name = name_example; // String | Name of the action
try {
- $result = $api_instance->getTaskMemory($simid, $workflowName, $taskName);
+ $result = $api_instance->getTaskMinNumCores_1($simid, $compoundJobName, $name);
print_r($result);
} catch (Exception $e) {
- echo 'Exception when calling WRENCHApi->getTaskMemory: ', $e->getMessage(), PHP_EOL;
+ 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 $workflowName = workflowName_example; # String |
-my $taskName = taskName_example; # String | Name of the task
+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(simid => $simid, workflowName => $workflowName, taskName => $taskName);
+ my $result = $api_instance->getTaskMinNumCores_1(simid => $simid, compoundJobName => $compoundJobName, name => $name);
print Dumper($result);
};
if ($@) {
- warn "Exception when calling WRENCHApi->getTaskMemory: $@\n";
+ warn "Exception when calling WRENCHApi->getTaskMinNumCores_1: $@\n";
}
-
+
from __future__ import print_statement
import time
import swagger_client
@@ -12476,15 +30326,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
+compoundJobName = compoundJobName_example # String | Name of the compound job
+name = name_example # String | Name of the action
try:
- # Get a task's memory requirement.
- api_response = api_instance.get_task_memory(simid, workflowName, taskName)
+ # 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->getTaskMemory: %s\n" % e)
+ print("Exception when calling WRENCHApi->getTaskMinNumCores_1: %s\n" % e)
@@ -12500,7 +30350,7 @@ Parameters
-
+
@@ -12518,17 +30368,20 @@ Parameters
- workflow_name*
+ compound_job_name*
-
+
String
+
+ Name of the compound job
+
Required
@@ -12537,11 +30390,11 @@ Parameters
- task_name*
+ name*
-
+
@@ -12549,7 +30402,7 @@ Parameters
- Name of the task
+ Name of the action
@@ -12570,14 +30423,14 @@ Status: 200 - OK
-
-
+
+
-
+
@@ -12633,11 +30486,11 @@ Status: 405 - Invalid input
-
-
+
+
- getTaskMinNumCores
- Get a task's minimum number of cores.
+ getTaskOutputFiles
+ Retrieve task's output files
@@ -12645,31 +30498,31 @@ getTaskMinNumCores
- /simulation/{simid}/workflows/{workflow_name}/tasks/{task_name}/taskGetMinNumCores
+ /simulation/{simid}/{workflow_name}/tasks/{tid}/outputFiles
-
Usage and SDK Samples
-
-
- task_name*
+ tid*
-
+
@@ -12920,7 +30773,7 @@ Parameters
- Name of the task
+ ID of the task
@@ -12941,14 +30794,14 @@ Status: 200 - OK
-
-
+
+
-
+
- Status: 404 - Job not found
+ Status: 404 - Task not found
@@ -13004,11 +30857,11 @@ Status: 405 - Invalid input
-
-
+
+
- getTaskOutputFiles
- Retrieve task's output files
+ getTaskStartDate
+ Get a task's start date.
@@ -13016,31 +30869,31 @@ getTaskOutputFiles
- /simulation/{simid}/workflows/{workflow_name}/tasks/{tid}/outputFiles
+ /simulation/{simid}/{workflow_name}/tasks/{name}/taskGetStartDate
Usage and SDK Samples
-
+
curl -X GET\
-H "Accept: application/json"\
-"https://wrench-project.org/v1/simulation/{simid}/workflows/{workflow_name}/tasks/{tid}/outputFiles"
+"https://wrench-project.org/v1/simulation/{simid}/{workflow_name}/tasks/{name}/taskGetStartDate"
-
+
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
@@ -13056,19 +30909,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
+ String name = name_example; // String | ID of the task
try {
- FileList result = apiInstance.getTaskOutputFiles(simid, workflowName, tid);
+ TimeResponse result = apiInstance.getTaskStartDate(simid, workflowName, name);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling WRENCHApi#getTaskOutputFiles");
+ System.err.println("Exception when calling WRENCHApi#getTaskStartDate");
e.printStackTrace();
}
}
}
-
+
import io.swagger.client.api.WRENCHApi;
public class WRENCHApiExample {
@@ -13077,33 +30930,33 @@ 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
+ String name = name_example; // String | ID of the task
try {
- FileList result = apiInstance.getTaskOutputFiles(simid, workflowName, tid);
+ TimeResponse result = apiInstance.getTaskStartDate(simid, workflowName, name);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling WRENCHApi#getTaskOutputFiles");
+ System.err.println("Exception when calling WRENCHApi#getTaskStartDate");
e.printStackTrace();
}
}
}
-
+
String *simid = simid_example; // ID of the simulation
String *workflowName = workflowName_example; //
-String *tid = tid_example; // ID of the task
+String *name = name_example; // ID of the task
WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
-// Retrieve task's output files
-[apiInstance getTaskOutputFilesWith:simid
+// Get a task's start date.
+[apiInstance getTaskStartDateWith:simid
workflowName:workflowName
- tid:tid
- completionHandler: ^(FileList output, NSError* error) {
+ name:name
+ completionHandler: ^(TimeResponse output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
@@ -13114,13 +30967,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 name = name_example; // {{String}} ID of the task
var callback = function(error, data, response) {
if (error) {
@@ -13129,14 +30982,14 @@ Usage and SDK Samples
console.log('API called successfully. Returned data: ' + data);
}
};
-api.getTaskOutputFiles(simid, workflowName, tid, callback);
+api.getTaskStartDate(simid, workflowName, name, callback);
-
-
+
using System;
using System.Diagnostics;
using IO.Swagger.Api;
@@ -13145,7 +30998,7 @@ Usage and SDK Samples
namespace Example
{
- public class getTaskOutputFilesExample
+ public class getTaskStartDateExample
{
public void main()
{
@@ -13153,17 +31006,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
+ var name = name_example; // String | ID of the task
try
{
- // Retrieve task's output files
- FileList result = apiInstance.getTaskOutputFiles(simid, workflowName, tid);
+ // Get a task's start date.
+ TimeResponse result = apiInstance.getTaskStartDate(simid, workflowName, name);
Debug.WriteLine(result);
}
catch (Exception e)
{
- Debug.Print("Exception when calling WRENCHApi.getTaskOutputFiles: " + e.Message );
+ Debug.Print("Exception when calling WRENCHApi.getTaskStartDate: " + e.Message );
}
}
}
@@ -13171,25 +31024,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
+$name = name_example; // String | ID of the task
try {
- $result = $api_instance->getTaskOutputFiles($simid, $workflowName, $tid);
+ $result = $api_instance->getTaskStartDate($simid, $workflowName, $name);
print_r($result);
} catch (Exception $e) {
- echo 'Exception when calling WRENCHApi->getTaskOutputFiles: ', $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;
@@ -13197,18 +31050,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
+my $name = name_example; # String | ID of the task
eval {
- my $result = $api_instance->getTaskOutputFiles(simid => $simid, workflowName => $workflowName, tid => $tid);
+ my $result = $api_instance->getTaskStartDate(simid => $simid, workflowName => $workflowName, name => $name);
print Dumper($result);
};
if ($@) {
- warn "Exception when calling WRENCHApi->getTaskOutputFiles: $@\n";
+ warn "Exception when calling WRENCHApi->getTaskStartDate: $@\n";
}
-
+
from __future__ import print_statement
import time
import swagger_client
@@ -13219,14 +31072,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
+name = name_example # String | ID of the task
try:
- # Retrieve task's output files
- api_response = api_instance.get_task_output_files(simid, workflowName, tid)
+ # Get a task's start date.
+ api_response = api_instance.get_task_start_date(simid, workflowName, name)
pprint(api_response)
except ApiException as e:
- print("Exception when calling WRENCHApi->getTaskOutputFiles: %s\n" % e)
+ print("Exception when calling WRENCHApi->getTaskStartDate: %s\n" % e)
@@ -13242,7 +31095,7 @@ Parameters
-
+
@@ -13264,7 +31117,7 @@ Parameters
-
+
@@ -13279,11 +31132,11 @@ Parameters
- tid*
+ name*
-
+
@@ -13312,14 +31165,14 @@ Status: 200 - OK
-
-
+
+
-
+
- Status: 404 - Task not found
+ Status: 404 - Job not found
@@ -13375,11 +31228,11 @@ Status: 405 - Invalid input
-
-
+
+
- getTaskStartDate
- Get a task's start date.
+ getTaskStartDate_38
+ Get an action's start date.
@@ -13387,31 +31240,31 @@ getTaskStartDate
- /simulation/{simid}/workflows/{workflow_name}/tasks/{task_name}/taskGetStartDate
+ /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}/workflows/{workflow_name}/tasks/{task_name}/taskGetStartDate"
+"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.*;
@@ -13426,20 +31279,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 compoundJobName = compoundJobName_example; // String | Name of the compound job
+ String name = name_example; // String | Name of the action
try {
- TimeResponse result = apiInstance.getTaskStartDate(simid, workflowName, taskName);
+ TimeResponse result = apiInstance.getTaskStartDate_0(simid, compoundJobName, name);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling WRENCHApi#getTaskStartDate");
+ System.err.println("Exception when calling WRENCHApi#getTaskStartDate_0");
e.printStackTrace();
}
}
}
-
+
import io.swagger.client.api.WRENCHApi;
public class WRENCHApiExample {
@@ -13447,33 +31300,33 @@ 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 compoundJobName = compoundJobName_example; // String | Name of the compound job
+ String name = name_example; // String | Name of the action
try {
- TimeResponse result = apiInstance.getTaskStartDate(simid, workflowName, taskName);
+ TimeResponse result = apiInstance.getTaskStartDate_0(simid, compoundJobName, name);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling WRENCHApi#getTaskStartDate");
+ System.err.println("Exception when calling WRENCHApi#getTaskStartDate_0");
e.printStackTrace();
}
}
}
-
+
String *simid = simid_example; // ID of the simulation
-String *workflowName = workflowName_example; //
-String *taskName = taskName_example; // Name of the task
+String *compoundJobName = compoundJobName_example; // Name of the compound job
+String *name = name_example; // Name of the action
WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
-// Get a task's start date.
-[apiInstance getTaskStartDateWith:simid
- workflowName:workflowName
- taskName:taskName
+// Get an action's start date.
+[apiInstance getTaskStartDate_38With:simid
+ compoundJobName:compoundJobName
+ name:name
completionHandler: ^(TimeResponse output, NSError* error) {
if (output) {
NSLog(@"%@", output);
@@ -13485,13 +31338,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 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) {
@@ -13500,14 +31353,14 @@ Usage and SDK Samples
console.log('API called successfully. Returned data: ' + data);
}
};
-api.getTaskStartDate(simid, workflowName, taskName, callback);
+api.getTaskStartDate_0(simid, compoundJobName, name, callback);
-
-
+
using System;
using System.Diagnostics;
using IO.Swagger.Api;
@@ -13516,25 +31369,25 @@ Usage and SDK Samples
namespace Example
{
- public class getTaskStartDateExample
+ public class getTaskStartDate_0Example
{
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 compoundJobName = compoundJobName_example; // String | Name of the compound job
+ var name = name_example; // String | Name of the action
try
{
- // Get a task's start date.
- TimeResponse result = apiInstance.getTaskStartDate(simid, workflowName, taskName);
+ // 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: " + e.Message );
+ Debug.Print("Exception when calling WRENCHApi.getTaskStartDate_0: " + e.Message );
}
}
}
@@ -13542,44 +31395,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
+$compoundJobName = compoundJobName_example; // String | Name of the compound job
+$name = name_example; // String | Name of the action
try {
- $result = $api_instance->getTaskStartDate($simid, $workflowName, $taskName);
+ $result = $api_instance->getTaskStartDate_0($simid, $compoundJobName, $name);
print_r($result);
} catch (Exception $e) {
- echo 'Exception when calling WRENCHApi->getTaskStartDate: ', $e->getMessage(), PHP_EOL;
+ 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 $workflowName = workflowName_example; # String |
-my $taskName = taskName_example; # String | Name of the task
+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(simid => $simid, workflowName => $workflowName, taskName => $taskName);
+ my $result = $api_instance->getTaskStartDate_0(simid => $simid, compoundJobName => $compoundJobName, name => $name);
print Dumper($result);
};
if ($@) {
- warn "Exception when calling WRENCHApi->getTaskStartDate: $@\n";
+ warn "Exception when calling WRENCHApi->getTaskStartDate_0: $@\n";
}
-
+
from __future__ import print_statement
import time
import swagger_client
@@ -13589,15 +31442,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
+compoundJobName = compoundJobName_example # String | Name of the compound job
+name = name_example # String | Name of the action
try:
- # Get a task's start date.
- api_response = api_instance.get_task_start_date(simid, workflowName, taskName)
+ # 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: %s\n" % e)
+ print("Exception when calling WRENCHApi->getTaskStartDate_0: %s\n" % e)
@@ -13613,7 +31466,7 @@ Parameters
-
+
@@ -13631,17 +31484,20 @@ Parameters
- workflow_name*
+ compound_job_name*
-
+
String
+
+ Name of the compound job
+
Required
@@ -13650,11 +31506,11 @@ Parameters
- task_name*
+ name*
-
+
@@ -13662,7 +31518,7 @@ Parameters
- Name of the task
+ Name of the action
@@ -13683,14 +31539,14 @@ Status: 200 - OK
-
-
+
+
-
+
@@ -13758,7 +31614,7 @@ getVMComputeService
- /simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/getVMComputeService
+ /simulation/{simid}/getVMComputeService
Usage and SDK Samples
@@ -13780,7 +31636,8 @@ 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"
+-H "Content-Type: application/json"\
+"https://wrench-project.org/v1/simulation/{simid}/getVMComputeService"
import io.swagger.client.*;
@@ -13796,11 +31653,10 @@ Usage and SDK Samples
public static void main(String[] args) {
WRENCHApi apiInstance = new WRENCHApi();
+ Simid_getVMComputeService_body body = ; // Simid_getVMComputeService_body | Input to check compute service of VM.
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);
+ ServiceResponse result = apiInstance.getVMComputeService(body, simid);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling WRENCHApi#getVMComputeService");
@@ -13817,11 +31673,10 @@ Usage and SDK Samples
public static void main(String[] args) {
WRENCHApi apiInstance = new WRENCHApi();
+ Simid_getVMComputeService_body body = ; // Simid_getVMComputeService_body | Input to check compute service of VM.
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);
+ ServiceResponse result = apiInstance.getVMComputeService(body, simid);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling WRENCHApi#getVMComputeService");
@@ -13835,16 +31690,14 @@ Usage and SDK Samples
Coming Soon!
-->
- String *simid = simid_example; // ID of the simulation
-String *serviceName = serviceName_example; // The cloud compute service name
-String *vmName = vmName_example; // The VM name
+ Simid_getVMComputeService_body *body = ; // Input to check compute service of VM.
+String *simid = simid_example; // ID of the simulation
WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
// Get the compute service running on a VM, if any.
-[apiInstance getVMComputeServiceWith:simid
- serviceName:serviceName
- vmName:vmName
+[apiInstance getVMComputeServiceWith:body
+ simid:simid
completionHandler: ^(ServiceResponse output, NSError* error) {
if (output) {
NSLog(@"%@", output);
@@ -13860,9 +31713,8 @@ Usage and SDK Samples
var WrenchRestApi = require('wrench_rest_api');
var api = new WrenchRestApi.WRENCHApi()
+var body = ; // {{Simid_getVMComputeService_body}} Input to check compute service of VM.
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) {
@@ -13871,7 +31723,7 @@ Usage and SDK Samples
console.log('API called successfully. Returned data: ' + data);
}
};
-api.getVMComputeService(simid, serviceName, vmName, callback);
+api.getVMComputeService(bodysimid, callback);
@@ -13893,14 +31745,13 @@ Usage and SDK Samples
{
var apiInstance = new WRENCHApi();
+ var body = new Simid_getVMComputeService_body(); // Simid_getVMComputeService_body | Input to check compute service of VM.
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);
+ ServiceResponse result = apiInstance.getVMComputeService(body, simid);
Debug.WriteLine(result);
}
catch (Exception e)
@@ -13918,12 +31769,11 @@ Usage and SDK Samples
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\ApiWRENCHApi();
+$body = ; // Simid_getVMComputeService_body | Input to check compute service of VM.
$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);
+ $result = $api_instance->getVMComputeService($body, $simid);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling WRENCHApi->getVMComputeService: ', $e->getMessage(), PHP_EOL;
@@ -13937,12 +31787,11 @@ Usage and SDK Samples
use WWW::SwaggerClient::WRENCHApi;
my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
+my $body = WWW::SwaggerClient::Object::Simid_getVMComputeService_body->new(); # Simid_getVMComputeService_body | Input to check compute service of VM.
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);
+ my $result = $api_instance->getVMComputeService(body => $body, simid => $simid);
print Dumper($result);
};
if ($@) {
@@ -13959,13 +31808,12 @@ Usage and SDK Samples
# create an instance of the API class
api_instance = swagger_client.WRENCHApi()
+body = # Simid_getVMComputeService_body | Input to check compute service of VM.
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)
+ api_response = api_instance.get_vm_compute_service(body, simid)
pprint(api_response)
except ApiException as e:
print("Exception when calling WRENCHApi->getVMComputeService: %s\n" % e)
@@ -14002,53 +31850,53 @@ Parameters
- service_name*
-
-
-
-
-
-
-
- String
-
-
-
- The cloud compute service name
-
-
-
- Required
-
-
-
-
-
- vm_name*
-
-
-
-
-
-
-
- String
-
-
-
- The VM name
-
-
-
- Required
-
-
-
-
-
+ Body parameters
+
+
+ Name
+ Description
+
+ body *
+
+
+
+
+
+
+
+
@@ -14124,7 +31972,7 @@ getVMPhysicalHostname
- /simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/getVMPhysicalHostname
+ /simulation/{simid}/getVMPhysicalHostname
Usage and SDK Samples
@@ -14146,7 +31994,8 @@ 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"
+-H "Content-Type: application/json"\
+"https://wrench-project.org/v1/simulation/{simid}/getVMPhysicalHostname"
import io.swagger.client.*;
@@ -14162,11 +32011,10 @@ Usage and SDK Samples
public static void main(String[] args) {
WRENCHApi apiInstance = new WRENCHApi();
+ Simid_getVMPhysicalHostname_body body = ; // Simid_getVMPhysicalHostname_body | Input to check physical hostname.
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);
+ ServiceResponse result = apiInstance.getVMPhysicalHostname(body, simid);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling WRENCHApi#getVMPhysicalHostname");
@@ -14183,11 +32031,10 @@ Usage and SDK Samples
public static void main(String[] args) {
WRENCHApi apiInstance = new WRENCHApi();
+ Simid_getVMPhysicalHostname_body body = ; // Simid_getVMPhysicalHostname_body | Input to check physical hostname.
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);
+ ServiceResponse result = apiInstance.getVMPhysicalHostname(body, simid);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling WRENCHApi#getVMPhysicalHostname");
@@ -14201,16 +32048,14 @@ Usage and SDK Samples
Coming Soon!
-->
- String *simid = simid_example; // ID of the simulation
-String *serviceName = serviceName_example; // The cloud compute service name
-String *vmName = vmName_example; // The VM name
+ Simid_getVMPhysicalHostname_body *body = ; // Input to check physical hostname.
+String *simid = simid_example; // ID of the simulation
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
+[apiInstance getVMPhysicalHostnameWith:body
+ simid:simid
completionHandler: ^(ServiceResponse output, NSError* error) {
if (output) {
NSLog(@"%@", output);
@@ -14226,9 +32071,8 @@ Usage and SDK Samples
var WrenchRestApi = require('wrench_rest_api');
var api = new WrenchRestApi.WRENCHApi()
+var body = ; // {{Simid_getVMPhysicalHostname_body}} Input to check physical hostname.
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) {
@@ -14237,7 +32081,7 @@ Usage and SDK Samples
console.log('API called successfully. Returned data: ' + data);
}
};
-api.getVMPhysicalHostname(simid, serviceName, vmName, callback);
+api.getVMPhysicalHostname(bodysimid, callback);
@@ -14259,14 +32103,13 @@ Usage and SDK Samples
{
var apiInstance = new WRENCHApi();
+ var body = new Simid_getVMPhysicalHostname_body(); // Simid_getVMPhysicalHostname_body | Input to check physical hostname.
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);
+ ServiceResponse result = apiInstance.getVMPhysicalHostname(body, simid);
Debug.WriteLine(result);
}
catch (Exception e)
@@ -14284,12 +32127,11 @@ Usage and SDK Samples
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\ApiWRENCHApi();
+$body = ; // Simid_getVMPhysicalHostname_body | Input to check physical hostname.
$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);
+ $result = $api_instance->getVMPhysicalHostname($body, $simid);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling WRENCHApi->getVMPhysicalHostname: ', $e->getMessage(), PHP_EOL;
@@ -14303,12 +32145,11 @@ Usage and SDK Samples
use WWW::SwaggerClient::WRENCHApi;
my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
+my $body = WWW::SwaggerClient::Object::Simid_getVMPhysicalHostname_body->new(); # Simid_getVMPhysicalHostname_body | Input to check physical hostname.
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);
+ my $result = $api_instance->getVMPhysicalHostname(body => $body, simid => $simid);
print Dumper($result);
};
if ($@) {
@@ -14325,13 +32166,12 @@ Usage and SDK Samples
# create an instance of the API class
api_instance = swagger_client.WRENCHApi()
+body = # Simid_getVMPhysicalHostname_body | Input to check physical hostname.
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)
+ api_response = api_instance.get_vm_physical_hostname(body, simid)
pprint(api_response)
except ApiException as e:
print("Exception when calling WRENCHApi->getVMPhysicalHostname: %s\n" % e)
@@ -14368,53 +32208,53 @@ Parameters
- service_name*
-
-
-
-
-
-
-
- String
-
-
-
- The cloud compute service name
-
-
-
- Required
-
-
-
-
-
- vm_name*
-
-
-
-
-
-
-
- String
-
-
-
- The VM name
-
-
-
- Required
-
-
-
-
-
+ Body parameters
+
+
+ Name
+ Description
+
+ body *
+
+
+
+
+
+
+
+
@@ -14490,7 +32330,7 @@ isVMDown
- /simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/isVMDown
+ /simulation/{simid}/isVMDown
Usage and SDK Samples
@@ -14512,7 +32352,8 @@ 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"
+-H "Content-Type: application/json"\
+"https://wrench-project.org/v1/simulation/{simid}/isVMDown"
import io.swagger.client.*;
@@ -14528,11 +32369,10 @@ Usage and SDK Samples
public static void main(String[] args) {
WRENCHApi apiInstance = new WRENCHApi();
+ Simid_isVMDown_body body = ; // Simid_isVMDown_body | Input to check if VM is down.
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);
+ ServiceResponse result = apiInstance.isVMDown(body, simid);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling WRENCHApi#isVMDown");
@@ -14549,11 +32389,10 @@ Usage and SDK Samples
public static void main(String[] args) {
WRENCHApi apiInstance = new WRENCHApi();
+ Simid_isVMDown_body body = ; // Simid_isVMDown_body | Input to check if VM is down.
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);
+ ServiceResponse result = apiInstance.isVMDown(body, simid);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling WRENCHApi#isVMDown");
@@ -14567,16 +32406,14 @@ Usage and SDK Samples
Coming Soon!
-->
- String *simid = simid_example; // ID of the simulation
-String *serviceName = serviceName_example; // The cloud compute service name
-String *vmName = vmName_example; // The VM name
+ Simid_isVMDown_body *body = ; // Input to check if VM is down.
+String *simid = simid_example; // ID of the simulation
WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
// Method to check whether a VM is currently down.
-[apiInstance isVMDownWith:simid
- serviceName:serviceName
- vmName:vmName
+[apiInstance isVMDownWith:body
+ simid:simid
completionHandler: ^(ServiceResponse output, NSError* error) {
if (output) {
NSLog(@"%@", output);
@@ -14592,9 +32429,8 @@ Usage and SDK Samples
var WrenchRestApi = require('wrench_rest_api');
var api = new WrenchRestApi.WRENCHApi()
+var body = ; // {{Simid_isVMDown_body}} Input to check if VM is down.
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) {
@@ -14603,7 +32439,7 @@ Usage and SDK Samples
console.log('API called successfully. Returned data: ' + data);
}
};
-api.isVMDown(simid, serviceName, vmName, callback);
+api.isVMDown(bodysimid, callback);
@@ -14625,14 +32461,13 @@ Usage and SDK Samples
{
var apiInstance = new WRENCHApi();
+ var body = new Simid_isVMDown_body(); // Simid_isVMDown_body | Input to check if VM is down.
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);
+ ServiceResponse result = apiInstance.isVMDown(body, simid);
Debug.WriteLine(result);
}
catch (Exception e)
@@ -14650,12 +32485,11 @@ Usage and SDK Samples
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\ApiWRENCHApi();
+$body = ; // Simid_isVMDown_body | Input to check if VM is down.
$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);
+ $result = $api_instance->isVMDown($body, $simid);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling WRENCHApi->isVMDown: ', $e->getMessage(), PHP_EOL;
@@ -14669,12 +32503,11 @@ Usage and SDK Samples
use WWW::SwaggerClient::WRENCHApi;
my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
+my $body = WWW::SwaggerClient::Object::Simid_isVMDown_body->new(); # Simid_isVMDown_body | Input to check if VM is down.
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);
+ my $result = $api_instance->isVMDown(body => $body, simid => $simid);
print Dumper($result);
};
if ($@) {
@@ -14691,13 +32524,12 @@ Usage and SDK Samples
# create an instance of the API class
api_instance = swagger_client.WRENCHApi()
+body = # Simid_isVMDown_body | Input to check if VM is down.
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)
+ api_response = api_instance.is_vm_down(body, simid)
pprint(api_response)
except ApiException as e:
print("Exception when calling WRENCHApi->isVMDown: %s\n" % e)
@@ -14734,56 +32566,56 @@ Parameters
- service_name*
-
-
-
-
-
-
-
- String
-
-
-
- The cloud compute service name
-
-
-
- Required
-
-
-
-
-
- vm_name*
-
-
-
-
-
-
-
- String
-
-
-
- The VM name
-
-
-
- Required
-
-
-
-
-
+
+
+
+ Body parameters
+
+
+ Name
+ Description
+
+ body *
+
+
+
+
+
+
+
-
-
Responses
Status: 200 - OK
@@ -14856,7 +32688,7 @@ isVMRunning
- /simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/isVMRunning
+ /simulation/{simid}/isVMRunning
Usage and SDK Samples
@@ -14878,7 +32710,8 @@ 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"
+-H "Content-Type: application/json"\
+"https://wrench-project.org/v1/simulation/{simid}/isVMRunning"
import io.swagger.client.*;
@@ -14894,11 +32727,10 @@ Usage and SDK Samples
public static void main(String[] args) {
WRENCHApi apiInstance = new WRENCHApi();
+ Simid_isVMRunning_body body = ; // Simid_isVMRunning_body | Input to check if VM is running.
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);
+ ServiceResponse result = apiInstance.isVMRunning(body, simid);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling WRENCHApi#isVMRunning");
@@ -14915,11 +32747,10 @@ Usage and SDK Samples
public static void main(String[] args) {
WRENCHApi apiInstance = new WRENCHApi();
+ Simid_isVMRunning_body body = ; // Simid_isVMRunning_body | Input to check if VM is running.
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);
+ ServiceResponse result = apiInstance.isVMRunning(body, simid);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling WRENCHApi#isVMRunning");
@@ -14933,16 +32764,14 @@ Usage and SDK Samples
Coming Soon!
-->
- 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
+ Simid_isVMRunning_body *body = ; // Input to check if VM is running.
+String *simid = simid_example; // ID of the simulation
WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
// Method to check whether a VM is currently running.
-[apiInstance isVMRunningWith:simid
- serviceName:serviceName
- vmName:vmName
+[apiInstance isVMRunningWith:body
+ simid:simid
completionHandler: ^(ServiceResponse output, NSError* error) {
if (output) {
NSLog(@"%@", output);
@@ -14958,9 +32787,8 @@ Usage and SDK Samples
var WrenchRestApi = require('wrench_rest_api');
var api = new WrenchRestApi.WRENCHApi()
+var body = ; // {{Simid_isVMRunning_body}} Input to check if VM is running.
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) {
@@ -14969,7 +32797,7 @@ Usage and SDK Samples
console.log('API called successfully. Returned data: ' + data);
}
};
-api.isVMRunning(simid, serviceName, vmName, callback);
+api.isVMRunning(bodysimid, callback);
@@ -14991,14 +32819,13 @@ Usage and SDK Samples
{
var apiInstance = new WRENCHApi();
+ var body = new Simid_isVMRunning_body(); // Simid_isVMRunning_body | Input to check if VM is running.
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);
+ ServiceResponse result = apiInstance.isVMRunning(body, simid);
Debug.WriteLine(result);
}
catch (Exception e)
@@ -15016,12 +32843,11 @@ Usage and SDK Samples
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\ApiWRENCHApi();
+$body = ; // Simid_isVMRunning_body | Input to check if VM is running.
$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);
+ $result = $api_instance->isVMRunning($body, $simid);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling WRENCHApi->isVMRunning: ', $e->getMessage(), PHP_EOL;
@@ -15035,12 +32861,11 @@ Usage and SDK Samples
use WWW::SwaggerClient::WRENCHApi;
my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
+my $body = WWW::SwaggerClient::Object::Simid_isVMRunning_body->new(); # Simid_isVMRunning_body | Input to check if VM is running.
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);
+ my $result = $api_instance->isVMRunning(body => $body, simid => $simid);
print Dumper($result);
};
if ($@) {
@@ -15057,13 +32882,12 @@ Usage and SDK Samples
# create an instance of the API class
api_instance = swagger_client.WRENCHApi()
+body = # Simid_isVMRunning_body | Input to check if VM is running.
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)
+ api_response = api_instance.is_vm_running(body, simid)
pprint(api_response)
except ApiException as e:
print("Exception when calling WRENCHApi->isVMRunning: %s\n" % e)
@@ -15100,53 +32924,53 @@ Parameters
- service_name*
-
-
-
-
-
-
-
- String
-
-
-
- Name of the cloud compute service
-
-
-
- Required
-
-
-
-
-
- vm_name*
-
-
-
-
-
-
-
- String
-
-
-
- Name of the vm
-
-
-
- Required
-
-
-
-
-
+ Body parameters
+
+
+ Name
+ Description
+
+ body *
+
+
+
+
+
+
+
+
@@ -15222,7 +33046,7 @@ isVMSuspended
- /simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/isVMSuspended
+ /simulation/{simid}/isVMSuspended
Usage and SDK Samples
@@ -15244,7 +33068,8 @@ 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"
+-H "Content-Type: application/json"\
+"https://wrench-project.org/v1/simulation/{simid}/isVMSuspended"
import io.swagger.client.*;
@@ -15260,11 +33085,10 @@ Usage and SDK Samples
public static void main(String[] args) {
WRENCHApi apiInstance = new WRENCHApi();
+ Simid_isVMSuspended_body body = ; // Simid_isVMSuspended_body | Input to check if VM is suspended.
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);
+ ServiceResponse result = apiInstance.isVMSuspended(body, simid);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling WRENCHApi#isVMSuspended");
@@ -15281,11 +33105,10 @@ Usage and SDK Samples
public static void main(String[] args) {
WRENCHApi apiInstance = new WRENCHApi();
+ Simid_isVMSuspended_body body = ; // Simid_isVMSuspended_body | Input to check if VM is suspended.
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);
+ ServiceResponse result = apiInstance.isVMSuspended(body, simid);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling WRENCHApi#isVMSuspended");
@@ -15299,16 +33122,14 @@ Usage and SDK Samples
Coming Soon!
-->
- String *simid = simid_example; // ID of the simulation
-String *serviceName = serviceName_example; // The cloud compute service name
-String *vmName = vmName_example; // The VM name
+ Simid_isVMSuspended_body *body = ; // Input to check if VM is suspended.
+String *simid = simid_example; // ID of the simulation
WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
// Method to check whether a VM is currently suspended.
-[apiInstance isVMSuspendedWith:simid
- serviceName:serviceName
- vmName:vmName
+[apiInstance isVMSuspendedWith:body
+ simid:simid
completionHandler: ^(ServiceResponse output, NSError* error) {
if (output) {
NSLog(@"%@", output);
@@ -15324,9 +33145,8 @@ Usage and SDK Samples
var WrenchRestApi = require('wrench_rest_api');
var api = new WrenchRestApi.WRENCHApi()
+var body = ; // {{Simid_isVMSuspended_body}} Input to check if VM is suspended.
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) {
@@ -15335,7 +33155,7 @@ Usage and SDK Samples
console.log('API called successfully. Returned data: ' + data);
}
};
-api.isVMSuspended(simid, serviceName, vmName, callback);
+api.isVMSuspended(bodysimid, callback);
@@ -15357,14 +33177,13 @@ Usage and SDK Samples
{
var apiInstance = new WRENCHApi();
+ var body = new Simid_isVMSuspended_body(); // Simid_isVMSuspended_body | Input to check if VM is suspended.
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);
+ ServiceResponse result = apiInstance.isVMSuspended(body, simid);
Debug.WriteLine(result);
}
catch (Exception e)
@@ -15382,12 +33201,11 @@ Usage and SDK Samples
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\ApiWRENCHApi();
+$body = ; // Simid_isVMSuspended_body | Input to check if VM is suspended.
$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);
+ $result = $api_instance->isVMSuspended($body, $simid);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling WRENCHApi->isVMSuspended: ', $e->getMessage(), PHP_EOL;
@@ -15401,12 +33219,11 @@ Usage and SDK Samples
use WWW::SwaggerClient::WRENCHApi;
my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
+my $body = WWW::SwaggerClient::Object::Simid_isVMSuspended_body->new(); # Simid_isVMSuspended_body | Input to check if VM is suspended.
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);
+ my $result = $api_instance->isVMSuspended(body => $body, simid => $simid);
print Dumper($result);
};
if ($@) {
@@ -15423,13 +33240,12 @@ Usage and SDK Samples
# create an instance of the API class
api_instance = swagger_client.WRENCHApi()
+body = # Simid_isVMSuspended_body | Input to check if VM is suspended.
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)
+ api_response = api_instance.is_vm_suspended(body, simid)
pprint(api_response)
except ApiException as e:
print("Exception when calling WRENCHApi->isVMSuspended: %s\n" % e)
@@ -15466,53 +33282,53 @@ Parameters
- service_name*
-
-
-
-
-
-
-
- String
-
-
-
- The cloud compute service name
-
-
-
- Required
-
-
-
-
-
- vm_name*
-
-
-
-
-
-
-
- String
-
-
-
- The VM name
-
-
-
- Required
-
-
-
-
-
+ Body parameters
+
+
+ Name
+ Description
+
+ body *
+
+
+
+
+
+
+
+
@@ -15588,7 +33404,7 @@ lookupFileAtStorageService
- /simulation/{simid}/storage_services/{service_name}/lookupFile
+ /simulation/{simid}/{storage_service_name}/lookupFile
Usage and SDK Samples
@@ -15611,7 +33427,7 @@ 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"
+"https://wrench-project.org/v1/simulation/{simid}/{storage_service_name}/lookupFile"
import io.swagger.client.*;
@@ -15627,11 +33443,11 @@ 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.
+ Storage_service_name_lookupFile_body body = ; // Storage_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
+ String storageServiceName = storageServiceName_example; // String | The storage service's head host
try {
- BooleanResponse result = apiInstance.lookupFileAtStorageService(body, simid, serviceName);
+ BooleanResponse result = apiInstance.lookupFileAtStorageService(body, simid, storageServiceName);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling WRENCHApi#lookupFileAtStorageService");
@@ -15648,11 +33464,11 @@ 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.
+ Storage_service_name_lookupFile_body body = ; // Storage_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
+ String storageServiceName = storageServiceName_example; // String | The storage service's head host
try {
- BooleanResponse result = apiInstance.lookupFileAtStorageService(body, simid, serviceName);
+ BooleanResponse result = apiInstance.lookupFileAtStorageService(body, simid, storageServiceName);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling WRENCHApi#lookupFileAtStorageService");
@@ -15666,16 +33482,16 @@ Usage and SDK Samples
Coming Soon!
-->
- Service_name_lookupFile_body *body = ; // Input to start a new service.
+ Storage_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
+String *storageServiceName = storageServiceName_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
+ storageServiceName:storageServiceName
completionHandler: ^(BooleanResponse output, NSError* error) {
if (output) {
NSLog(@"%@", output);
@@ -15691,9 +33507,9 @@ 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 body = ; // {{Storage_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 storageServiceName = storageServiceName_example; // {{String}} The storage service's head host
var callback = function(error, data, response) {
if (error) {
@@ -15702,7 +33518,7 @@ Usage and SDK Samples
console.log('API called successfully. Returned data: ' + data);
}
};
-api.lookupFileAtStorageService(bodysimidserviceName, callback);
+api.lookupFileAtStorageService(bodysimidstorageServiceName, callback);
@@ -15724,14 +33540,14 @@ Usage and SDK Samples
{
var apiInstance = new WRENCHApi();
- var body = new Service_name_lookupFile_body(); // Service_name_lookupFile_body | Input to start a new service.
+ var body = new Storage_service_name_lookupFile_body(); // Storage_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 storageServiceName = storageServiceName_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);
+ BooleanResponse result = apiInstance.lookupFileAtStorageService(body, simid, storageServiceName);
Debug.WriteLine(result);
}
catch (Exception e)
@@ -15749,12 +33565,12 @@ Usage and SDK Samples
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\ApiWRENCHApi();
-$body = ; // Service_name_lookupFile_body | Input to start a new service.
+$body = ; // Storage_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
+$storageServiceName = storageServiceName_example; // String | The storage service's head host
try {
- $result = $api_instance->lookupFileAtStorageService($body, $simid, $serviceName);
+ $result = $api_instance->lookupFileAtStorageService($body, $simid, $storageServiceName);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling WRENCHApi->lookupFileAtStorageService: ', $e->getMessage(), PHP_EOL;
@@ -15768,12 +33584,12 @@ Usage and SDK Samples
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 $body = WWW::SwaggerClient::Object::Storage_service_name_lookupFile_body->new(); # Storage_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
+my $storageServiceName = storageServiceName_example; # String | The storage service's head host
eval {
- my $result = $api_instance->lookupFileAtStorageService(body => $body, simid => $simid, serviceName => $serviceName);
+ my $result = $api_instance->lookupFileAtStorageService(body => $body, simid => $simid, storageServiceName => $storageServiceName);
print Dumper($result);
};
if ($@) {
@@ -15790,13 +33606,13 @@ 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.
+body = # Storage_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
+storageServiceName = storageServiceName_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)
+ api_response = api_instance.lookup_file_at_storage_service(body, simid, storageServiceName)
pprint(api_response)
except ApiException as e:
print("Exception when calling WRENCHApi->lookupFileAtStorageService: %s\n" % e)
@@ -15833,11 +33649,11 @@ Parameters
- service_name*
+ storage_service_name*
-
+
@@ -15875,7 +33691,7 @@ Parameters
"content" : {
"application/json" : {
"schema" : {
- "$ref" : "#/components/schemas/service_name_lookupFile_body"
+ "$ref" : "#/components/schemas/storage_service_name_lookupFile_body"
}
}
},
@@ -15985,7 +33801,7 @@ resumeVM
- /simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/resumeVM
+ /simulation/{simid}/resumeVM
Usage and SDK Samples
@@ -16007,7 +33823,8 @@ 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"
+-H "Content-Type: application/json"\
+"https://wrench-project.org/v1/simulation/{simid}/resumeVM"
import io.swagger.client.*;
@@ -16023,11 +33840,10 @@ Usage and SDK Samples
public static void main(String[] args) {
WRENCHApi apiInstance = new WRENCHApi();
+ Simid_resumeVM_body body = ; // Simid_resumeVM_body | Input to resume a VM.
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);
+ GenericResponse result = apiInstance.resumeVM(body, simid);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling WRENCHApi#resumeVM");
@@ -16044,11 +33860,10 @@ Usage and SDK Samples
public static void main(String[] args) {
WRENCHApi apiInstance = new WRENCHApi();
+ Simid_resumeVM_body body = ; // Simid_resumeVM_body | Input to resume a VM.
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);
+ GenericResponse result = apiInstance.resumeVM(body, simid);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling WRENCHApi#resumeVM");
@@ -16062,16 +33877,14 @@ Usage and SDK Samples
Coming Soon!
-->
- String *simid = simid_example; // ID of the simulation
-String *serviceName = serviceName_example; // The cloud compute service name
-String *vmName = vmName_example; // The VM name
+ Simid_resumeVM_body *body = ; // Input to resume a VM.
+String *simid = simid_example; // ID of the simulation
WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
// Resume a suspended VM.
-[apiInstance resumeVMWith:simid
- serviceName:serviceName
- vmName:vmName
+[apiInstance resumeVMWith:body
+ simid:simid
completionHandler: ^(GenericResponse output, NSError* error) {
if (output) {
NSLog(@"%@", output);
@@ -16087,9 +33900,8 @@ Usage and SDK Samples
var WrenchRestApi = require('wrench_rest_api');
var api = new WrenchRestApi.WRENCHApi()
+var body = ; // {{Simid_resumeVM_body}} Input to resume a VM.
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) {
@@ -16098,7 +33910,7 @@ Usage and SDK Samples
console.log('API called successfully. Returned data: ' + data);
}
};
-api.resumeVM(simid, serviceName, vmName, callback);
+api.resumeVM(bodysimid, callback);
@@ -16120,14 +33932,13 @@ Usage and SDK Samples
{
var apiInstance = new WRENCHApi();
+ var body = new Simid_resumeVM_body(); // Simid_resumeVM_body | Input to resume a VM.
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);
+ GenericResponse result = apiInstance.resumeVM(body, simid);
Debug.WriteLine(result);
}
catch (Exception e)
@@ -16145,12 +33956,11 @@ Usage and SDK Samples
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\ApiWRENCHApi();
+$body = ; // Simid_resumeVM_body | Input to resume a VM.
$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);
+ $result = $api_instance->resumeVM($body, $simid);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling WRENCHApi->resumeVM: ', $e->getMessage(), PHP_EOL;
@@ -16164,12 +33974,11 @@ Usage and SDK Samples
use WWW::SwaggerClient::WRENCHApi;
my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
+my $body = WWW::SwaggerClient::Object::Simid_resumeVM_body->new(); # Simid_resumeVM_body | Input to resume a VM.
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);
+ my $result = $api_instance->resumeVM(body => $body, simid => $simid);
print Dumper($result);
};
if ($@) {
@@ -16186,13 +33995,12 @@ Usage and SDK Samples
# create an instance of the API class
api_instance = swagger_client.WRENCHApi()
+body = # Simid_resumeVM_body | Input to resume a VM.
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)
+ api_response = api_instance.resume_vm(body, simid)
pprint(api_response)
except ApiException as e:
print("Exception when calling WRENCHApi->resumeVM: %s\n" % e)
@@ -16229,53 +34037,53 @@ Parameters
- service_name*
-
-
-
-
-
-
-
- String
-
-
-
- The cloud compute service name
-
-
-
- Required
-
-
-
-
-
- vm_name*
-
-
-
-
-
-
-
- String
-
-
-
- The VM name
-
-
-
- Required
-
-
-
-
-
+ Body parameters
+
+
+ Name
+ Description
+
+ body *
+
+
+
+
+
+
+
+
@@ -16351,7 +34159,7 @@ shutdownVM
- /simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/shutdownVM
+ /simulation/{simid}/shutdownVM
Usage and SDK Samples
@@ -16373,7 +34181,8 @@ 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"
+-H "Content-Type: application/json"\
+"https://wrench-project.org/v1/simulation/{simid}/shutdownVM"
import io.swagger.client.*;
@@ -16389,11 +34198,10 @@ Usage and SDK Samples
public static void main(String[] args) {
WRENCHApi apiInstance = new WRENCHApi();
+ Simid_shutdownVM_body body = ; // Simid_shutdownVM_body | Input to shutdown a VM.
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);
+ ServiceResponse result = apiInstance.shutdownVM(body, simid);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling WRENCHApi#shutdownVM");
@@ -16410,11 +34218,10 @@ Usage and SDK Samples
public static void main(String[] args) {
WRENCHApi apiInstance = new WRENCHApi();
+ Simid_shutdownVM_body body = ; // Simid_shutdownVM_body | Input to shutdown a VM.
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);
+ ServiceResponse result = apiInstance.shutdownVM(body, simid);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling WRENCHApi#shutdownVM");
@@ -16428,16 +34235,14 @@ Usage and SDK Samples
Coming Soon!
-->
- String *simid = simid_example; // ID of the simulation
-String *serviceName = serviceName_example; // The cloud compute service name
-String *vmName = vmName_example; // The VM name
+ Simid_shutdownVM_body *body = ; // Input to shutdown a VM.
+String *simid = simid_example; // ID of the simulation
WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
// Shutdown a VM.
-[apiInstance shutdownVMWith:simid
- serviceName:serviceName
- vmName:vmName
+[apiInstance shutdownVMWith:body
+ simid:simid
completionHandler: ^(ServiceResponse output, NSError* error) {
if (output) {
NSLog(@"%@", output);
@@ -16453,9 +34258,8 @@ Usage and SDK Samples
var WrenchRestApi = require('wrench_rest_api');
var api = new WrenchRestApi.WRENCHApi()
+var body = ; // {{Simid_shutdownVM_body}} Input to shutdown a VM.
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) {
@@ -16464,7 +34268,7 @@ Usage and SDK Samples
console.log('API called successfully. Returned data: ' + data);
}
};
-api.shutdownVM(simid, serviceName, vmName, callback);
+api.shutdownVM(bodysimid, callback);
@@ -16486,14 +34290,13 @@ Usage and SDK Samples
{
var apiInstance = new WRENCHApi();
+ var body = new Simid_shutdownVM_body(); // Simid_shutdownVM_body | Input to shutdown a VM.
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);
+ ServiceResponse result = apiInstance.shutdownVM(body, simid);
Debug.WriteLine(result);
}
catch (Exception e)
@@ -16511,12 +34314,11 @@ Usage and SDK Samples
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\ApiWRENCHApi();
+$body = ; // Simid_shutdownVM_body | Input to shutdown a VM.
$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);
+ $result = $api_instance->shutdownVM($body, $simid);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling WRENCHApi->shutdownVM: ', $e->getMessage(), PHP_EOL;
@@ -16530,12 +34332,11 @@ Usage and SDK Samples
use WWW::SwaggerClient::WRENCHApi;
my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
+my $body = WWW::SwaggerClient::Object::Simid_shutdownVM_body->new(); # Simid_shutdownVM_body | Input to shutdown a VM.
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);
+ my $result = $api_instance->shutdownVM(body => $body, simid => $simid);
print Dumper($result);
};
if ($@) {
@@ -16552,13 +34353,12 @@ Usage and SDK Samples
# create an instance of the API class
api_instance = swagger_client.WRENCHApi()
+body = # Simid_shutdownVM_body | Input to shutdown a VM.
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)
+ api_response = api_instance.shutdown_vm(body, simid)
pprint(api_response)
except ApiException as e:
print("Exception when calling WRENCHApi->shutdownVM: %s\n" % e)
@@ -16595,53 +34395,53 @@ Parameters
- service_name*
-
-
-
-
-
-
-
- String
-
-
-
- The cloud compute service name
-
-
-
- Required
-
-
-
-
-
- vm_name*
-
-
-
-
-
-
-
- String
-
-
-
- The VM name
-
-
-
- Required
-
-
-
-
-
+ Body parameters
+
+
+ Name
+ Description
+
+ body *
+
+
+
+
+
+
+
+
@@ -17037,7 +34837,7 @@ startVM
- /simulation/{simid}/cloud_compute_services/{service_name}/vms/{vm_name}/startVM
+ /simulation/{simid}/startVM
Usage and SDK Samples
@@ -17059,7 +34859,8 @@ 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"
+-H "Content-Type: application/json"\
+"https://wrench-project.org/v1/simulation/{simid}/startVM"
import io.swagger.client.*;
@@ -17075,11 +34876,10 @@ Usage and SDK Samples
public static void main(String[] args) {
WRENCHApi apiInstance = new WRENCHApi();
+ Simid_startVM_body body = ; // Simid_startVM_body | Input to start a VM.
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);
+ ServiceResponse result = apiInstance.startVM(body, simid);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling WRENCHApi#startVM");
@@ -17096,11 +34896,10 @@ Usage and SDK Samples
public static void main(String[] args) {
WRENCHApi apiInstance = new WRENCHApi();
+ Simid_startVM_body body = ; // Simid_startVM_body | Input to start a VM.
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);
+ ServiceResponse result = apiInstance.startVM(body, simid);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling WRENCHApi#startVM");
@@ -17114,16 +34913,14 @@ Usage and SDK Samples
Coming Soon!
-->
- String *simid = simid_example; // ID of the simulation
-String *serviceName = serviceName_example; // The cloud compute service name
-String *vmName = vmName_example; // The VM name
+ Simid_startVM_body *body = ; // Input to start a VM.
+String *simid = simid_example; // ID of the simulation
WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
// Starts a VM and get its associated bare metal compute service.
-[apiInstance startVMWith:simid
- serviceName:serviceName
- vmName:vmName
+[apiInstance startVMWith:body
+ simid:simid
completionHandler: ^(ServiceResponse output, NSError* error) {
if (output) {
NSLog(@"%@", output);
@@ -17139,9 +34936,8 @@ Usage and SDK Samples
var WrenchRestApi = require('wrench_rest_api');
var api = new WrenchRestApi.WRENCHApi()
+var body = ; // {{Simid_startVM_body}} Input to start a VM.
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) {
@@ -17150,7 +34946,7 @@ Usage and SDK Samples
console.log('API called successfully. Returned data: ' + data);
}
};
-api.startVM(simid, serviceName, vmName, callback);
+api.startVM(bodysimid, callback);
@@ -17172,14 +34968,13 @@ Usage and SDK Samples
{
var apiInstance = new WRENCHApi();
+ var body = new Simid_startVM_body(); // Simid_startVM_body | Input to start a VM.
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);
+ ServiceResponse result = apiInstance.startVM(body, simid);
Debug.WriteLine(result);
}
catch (Exception e)
@@ -17197,12 +34992,11 @@ Usage and SDK Samples
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\ApiWRENCHApi();
+$body = ; // Simid_startVM_body | Input to start a VM.
$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);
+ $result = $api_instance->startVM($body, $simid);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling WRENCHApi->startVM: ', $e->getMessage(), PHP_EOL;
@@ -17216,12 +35010,11 @@ Usage and SDK Samples
use WWW::SwaggerClient::WRENCHApi;
my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
+my $body = WWW::SwaggerClient::Object::Simid_startVM_body->new(); # Simid_startVM_body | Input to start a VM.
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);
+ my $result = $api_instance->startVM(body => $body, simid => $simid);
print Dumper($result);
};
if ($@) {
@@ -17238,13 +35031,12 @@ Usage and SDK Samples
# create an instance of the API class
api_instance = swagger_client.WRENCHApi()
+body = # Simid_startVM_body | Input to start a VM.
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)
+ api_response = api_instance.start_vm(body, simid)
pprint(api_response)
except ApiException as e:
print("Exception when calling WRENCHApi->startVM: %s\n" % e)
@@ -17281,53 +35073,53 @@ Parameters
- service_name*
-
-
-
-
-
-
-
- String
-
-
-
- The cloud compute service name
-
-
-
- Required
-
-
-
-
-
- vm_name*
-
-
-
-
-
-
-
- String
-
-
-
- The VM name
-
-
-
- Required
-
-
-
-
-
+ Body parameters
+
+
+ Name
+ Description
+
+ body *
+
+
+
+
+
+
+
+
@@ -17391,11 +35183,11 @@ Status: 405 - Invalid input
-
-
+
+
- submitStandardJob
- Submit a standard job.
+ submitCompoundJob
+ Submit a compound job.
@@ -17403,32 +35195,32 @@ submitStandardJob
- /simulation/{simid}/jobs/{job_name}/submit
+ /simulation/{simid}/compoundJobs/{compound_job_name}/submit
Usage and SDK Samples
-
+
curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
-"https://wrench-project.org/v1/simulation/{simid}/jobs/{job_name}/submit"
+"https://wrench-project.org/v1/simulation/{simid}/compoundJobs/{compound_job_name}/submit"
-
+
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
@@ -17442,55 +35234,55 @@ Usage and SDK Samples
public static void main(String[] args) {
WRENCHApi apiInstance = new WRENCHApi();
- Job_name_submit_body body = ; // Job_name_submit_body | Job characteristics.
+ Compound_job_name_submit_body body = ; // Compound_job_name_submit_body | Job characteristics.
String simid = simid_example; // String | ID of the simulation
- String jobName = jobName_example; // String | ID of the job
+ String compoundJobName = compoundJobName_example; // String | Name of the compound job
try {
- GenericResponse result = apiInstance.submitStandardJob(body, simid, jobName);
+ GenericResponse result = apiInstance.submitCompoundJob(body, simid, compoundJobName);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling WRENCHApi#submitStandardJob");
+ System.err.println("Exception when calling WRENCHApi#submitCompoundJob");
e.printStackTrace();
}
}
}
-
+
import io.swagger.client.api.WRENCHApi;
public class WRENCHApiExample {
public static void main(String[] args) {
WRENCHApi apiInstance = new WRENCHApi();
- Job_name_submit_body body = ; // Job_name_submit_body | Job characteristics.
+ Compound_job_name_submit_body body = ; // Compound_job_name_submit_body | Job characteristics.
String simid = simid_example; // String | ID of the simulation
- String jobName = jobName_example; // String | ID of the job
+ String compoundJobName = compoundJobName_example; // String | Name of the compound job
try {
- GenericResponse result = apiInstance.submitStandardJob(body, simid, jobName);
+ GenericResponse result = apiInstance.submitCompoundJob(body, simid, compoundJobName);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling WRENCHApi#submitStandardJob");
+ System.err.println("Exception when calling WRENCHApi#submitCompoundJob");
e.printStackTrace();
}
}
}
-
- Job_name_submit_body *body = ; // Job characteristics.
+
+ Compound_job_name_submit_body *body = ; // Job characteristics.
String *simid = simid_example; // ID of the simulation
-String *jobName = jobName_example; // ID of the job
+String *compoundJobName = compoundJobName_example; // Name of the compound job
WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
-// Submit a standard job.
-[apiInstance submitStandardJobWith:body
+// Submit a compound job.
+[apiInstance submitCompoundJobWith:body
simid:simid
- jobName:jobName
+ compoundJobName:compoundJobName
completionHandler: ^(GenericResponse output, NSError* error) {
if (output) {
NSLog(@"%@", output);
@@ -17502,13 +35294,13 @@ Usage and SDK Samples
-
+
var WrenchRestApi = require('wrench_rest_api');
var api = new WrenchRestApi.WRENCHApi()
-var body = ; // {{Job_name_submit_body}} Job characteristics.
+var body = ; // {{Compound_job_name_submit_body}} Job characteristics.
var simid = simid_example; // {{String}} ID of the simulation
-var jobName = jobName_example; // {{String}} ID of the job
+var compoundJobName = compoundJobName_example; // {{String}} Name of the compound job
var callback = function(error, data, response) {
if (error) {
@@ -17517,14 +35309,14 @@ Usage and SDK Samples
console.log('API called successfully. Returned data: ' + data);
}
};
-api.submitStandardJob(bodysimidjobName, callback);
+api.submitCompoundJob(bodysimidcompoundJobName, callback);
-
-
+
using System;
using System.Diagnostics;
using IO.Swagger.Api;
@@ -17533,25 +35325,25 @@ Usage and SDK Samples
namespace Example
{
- public class submitStandardJobExample
+ public class submitCompoundJobExample
{
public void main()
{
var apiInstance = new WRENCHApi();
- var body = new Job_name_submit_body(); // Job_name_submit_body | Job characteristics.
+ 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 jobName = jobName_example; // String | ID of the job
+ var compoundJobName = compoundJobName_example; // String | Name of the compound job
try
{
- // Submit a standard job.
- GenericResponse result = apiInstance.submitStandardJob(body, simid, jobName);
+ // Submit a compound job.
+ GenericResponse result = apiInstance.submitCompoundJob(body, simid, compoundJobName);
Debug.WriteLine(result);
}
catch (Exception e)
{
- Debug.Print("Exception when calling WRENCHApi.submitStandardJob: " + e.Message );
+ Debug.Print("Exception when calling WRENCHApi.submitCompoundJob: " + e.Message );
}
}
}
@@ -17559,44 +35351,44 @@ Usage and SDK Samples
-
+
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\ApiWRENCHApi();
-$body = ; // Job_name_submit_body | Job characteristics.
+$body = ; // Compound_job_name_submit_body | Job characteristics.
$simid = simid_example; // String | ID of the simulation
-$jobName = jobName_example; // String | ID of the job
+$compoundJobName = compoundJobName_example; // String | Name of the compound job
try {
- $result = $api_instance->submitStandardJob($body, $simid, $jobName);
+ $result = $api_instance->submitCompoundJob($body, $simid, $compoundJobName);
print_r($result);
} catch (Exception $e) {
- echo 'Exception when calling WRENCHApi->submitStandardJob: ', $e->getMessage(), PHP_EOL;
+ echo 'Exception when calling WRENCHApi->submitCompoundJob: ', $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::Job_name_submit_body->new(); # Job_name_submit_body | Job characteristics.
+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 $jobName = jobName_example; # String | ID of the job
+my $compoundJobName = compoundJobName_example; # String | Name of the compound job
eval {
- my $result = $api_instance->submitStandardJob(body => $body, simid => $simid, jobName => $jobName);
+ my $result = $api_instance->submitCompoundJob(body => $body, simid => $simid, compoundJobName => $compoundJobName);
print Dumper($result);
};
if ($@) {
- warn "Exception when calling WRENCHApi->submitStandardJob: $@\n";
+ warn "Exception when calling WRENCHApi->submitCompoundJob: $@\n";
}
-
+
from __future__ import print_statement
import time
import swagger_client
@@ -17605,16 +35397,16 @@ Usage and SDK Samples
# create an instance of the API class
api_instance = swagger_client.WRENCHApi()
-body = # Job_name_submit_body | Job characteristics.
+body = # Compound_job_name_submit_body | Job characteristics.
simid = simid_example # String | ID of the simulation
-jobName = jobName_example # String | ID of the job
+compoundJobName = compoundJobName_example # String | Name of the compound job
try:
- # Submit a standard job.
- api_response = api_instance.submit_standard_job(body, simid, jobName)
+ # Submit a compound job.
+ api_response = api_instance.submit_compound_job(body, simid, compoundJobName)
pprint(api_response)
except ApiException as e:
- print("Exception when calling WRENCHApi->submitStandardJob: %s\n" % e)
+ print("Exception when calling WRENCHApi->submitCompoundJob: %s\n" % e)
@@ -17630,7 +35422,7 @@ Parameters
-
+
@@ -17648,11 +35440,11 @@ Parameters
- job_name*
+ compound_job_name*
-
+
@@ -17660,7 +35452,7 @@ Parameters
- ID of the job
+ Name of the compound job
@@ -17690,7 +35482,7 @@ Parameters
"content" : {
"application/json" : {
"schema" : {
- "$ref" : "#/components/schemas/job_name_submit_body"
+ "$ref" : "#/components/schemas/compound_job_name_submit_body"
}
}
},
@@ -17708,12 +35500,12 @@ Parameters
}
var view = new JSONSchemaView(schema,2,{isBodyParam: true});
- var result = $('#d2e199_submitStandardJob_body');
+ var result = $('#d2e199_submitCompoundJob_body');
result.empty();
result.append(view.render());
});
-
+
@@ -17725,14 +35517,14 @@ Status: 200 - OK
-
-
+
+
-
+
@@ -17780,11 +35572,11 @@ Status: 405 - Invalid input
-
-
+
+
- supportsCompoundJobs
- Returns true if the service supports compound jobs.
+ submitStandardJob
+ Submit a standard job.
@@ -17792,31 +35584,32 @@ supportsCompoundJobs
- /simulation/{simid}/compute_services/{service_name}/supportsCompoundJobs
+ /simulation/{simid}/standardJobs/{job_name}/submit
Usage and SDK Samples
-
- curl -X GET\
+
+ curl -X POST\
-H "Accept: application/json"\
-"https://wrench-project.org/v1/simulation/{simid}/compute_services/{service_name}/supportsCompoundJobs"
+-H "Content-Type: application/json"\
+"https://wrench-project.org/v1/simulation/{simid}/standardJobs/{job_name}/submit"
-
+
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
@@ -17830,52 +35623,56 @@ Usage and SDK Samples
public static void main(String[] args) {
WRENCHApi apiInstance = new WRENCHApi();
+ Job_name_submit_body body = ; // Job_name_submit_body | Job characteristics.
String simid = simid_example; // String | ID of the simulation
- String serviceName = serviceName_example; // String | Name of the compute service
+ String jobName = jobName_example; // String | ID of the job
try {
- BooleanResponse result = apiInstance.supportsCompoundJobs(simid, serviceName);
+ GenericResponse result = apiInstance.submitStandardJob(body, simid, jobName);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling WRENCHApi#supportsCompoundJobs");
+ System.err.println("Exception when calling WRENCHApi#submitStandardJob");
e.printStackTrace();
}
}
}
-
+
import io.swagger.client.api.WRENCHApi;
public class WRENCHApiExample {
public static void main(String[] args) {
WRENCHApi apiInstance = new WRENCHApi();
+ Job_name_submit_body body = ; // Job_name_submit_body | Job characteristics.
String simid = simid_example; // String | ID of the simulation
- String serviceName = serviceName_example; // String | Name of the compute service
+ String jobName = jobName_example; // String | ID of the job
try {
- BooleanResponse result = apiInstance.supportsCompoundJobs(simid, serviceName);
+ GenericResponse result = apiInstance.submitStandardJob(body, simid, jobName);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling WRENCHApi#supportsCompoundJobs");
+ System.err.println("Exception when calling WRENCHApi#submitStandardJob");
e.printStackTrace();
}
}
}
-
- String *simid = simid_example; // ID of the simulation
-String *serviceName = serviceName_example; // Name of the compute service
+
+ Job_name_submit_body *body = ; // Job characteristics.
+String *simid = simid_example; // ID of the simulation
+String *jobName = jobName_example; // ID of the job
WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
-// Returns true if the service supports compound jobs.
-[apiInstance supportsCompoundJobsWith:simid
- serviceName:serviceName
- completionHandler: ^(BooleanResponse output, NSError* error) {
+// Submit a standard job.
+[apiInstance submitStandardJobWith:body
+ simid:simid
+ jobName:jobName
+ completionHandler: ^(GenericResponse output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
@@ -17886,12 +35683,13 @@ Usage and SDK Samples
-
+
var WrenchRestApi = require('wrench_rest_api');
var api = new WrenchRestApi.WRENCHApi()
+var body = ; // {{Job_name_submit_body}} Job characteristics.
var simid = simid_example; // {{String}} ID of the simulation
-var serviceName = serviceName_example; // {{String}} Name of the compute service
+var jobName = jobName_example; // {{String}} ID of the job
var callback = function(error, data, response) {
if (error) {
@@ -17900,14 +35698,14 @@ Usage and SDK Samples
console.log('API called successfully. Returned data: ' + data);
}
};
-api.supportsCompoundJobs(simid, serviceName, callback);
+api.submitStandardJob(bodysimidjobName, callback);
-
-
+
using System;
using System.Diagnostics;
using IO.Swagger.Api;
@@ -17916,24 +35714,25 @@ Usage and SDK Samples
namespace Example
{
- public class supportsCompoundJobsExample
+ public class submitStandardJobExample
{
public void main()
{
var apiInstance = new WRENCHApi();
+ var body = new Job_name_submit_body(); // Job_name_submit_body | Job characteristics.
var simid = simid_example; // String | ID of the simulation
- var serviceName = serviceName_example; // String | Name of the compute service
+ var jobName = jobName_example; // String | ID of the job
try
{
- // Returns true if the service supports compound jobs.
- BooleanResponse result = apiInstance.supportsCompoundJobs(simid, serviceName);
+ // Submit a standard job.
+ GenericResponse result = apiInstance.submitStandardJob(body, simid, jobName);
Debug.WriteLine(result);
}
catch (Exception e)
{
- Debug.Print("Exception when calling WRENCHApi.supportsCompoundJobs: " + e.Message );
+ Debug.Print("Exception when calling WRENCHApi.submitStandardJob: " + e.Message );
}
}
}
@@ -17941,42 +35740,44 @@ Usage and SDK Samples
-
+
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\ApiWRENCHApi();
+$body = ; // Job_name_submit_body | Job characteristics.
$simid = simid_example; // String | ID of the simulation
-$serviceName = serviceName_example; // String | Name of the compute service
+$jobName = jobName_example; // String | ID of the job
try {
- $result = $api_instance->supportsCompoundJobs($simid, $serviceName);
+ $result = $api_instance->submitStandardJob($body, $simid, $jobName);
print_r($result);
} catch (Exception $e) {
- echo 'Exception when calling WRENCHApi->supportsCompoundJobs: ', $e->getMessage(), PHP_EOL;
+ echo 'Exception when calling WRENCHApi->submitStandardJob: ', $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::Job_name_submit_body->new(); # Job_name_submit_body | Job characteristics.
my $simid = simid_example; # String | ID of the simulation
-my $serviceName = serviceName_example; # String | Name of the compute service
+my $jobName = jobName_example; # String | ID of the job
eval {
- my $result = $api_instance->supportsCompoundJobs(simid => $simid, serviceName => $serviceName);
+ my $result = $api_instance->submitStandardJob(body => $body, simid => $simid, jobName => $jobName);
print Dumper($result);
};
if ($@) {
- warn "Exception when calling WRENCHApi->supportsCompoundJobs: $@\n";
+ warn "Exception when calling WRENCHApi->submitStandardJob: $@\n";
}
-
+
from __future__ import print_statement
import time
import swagger_client
@@ -17985,15 +35786,16 @@ Usage and SDK Samples
# create an instance of the API class
api_instance = swagger_client.WRENCHApi()
+body = # Job_name_submit_body | Job characteristics.
simid = simid_example # String | ID of the simulation
-serviceName = serviceName_example # String | Name of the compute service
+jobName = jobName_example # String | ID of the job
try:
- # Returns true if the service supports compound jobs.
- api_response = api_instance.supports_compound_jobs(simid, serviceName)
+ # Submit a standard job.
+ api_response = api_instance.submit_standard_job(body, simid, jobName)
pprint(api_response)
except ApiException as e:
- print("Exception when calling WRENCHApi->supportsCompoundJobs: %s\n" % e)
+ print("Exception when calling WRENCHApi->submitStandardJob: %s\n" % e)
@@ -18009,7 +35811,7 @@ Parameters
-
+
@@ -18027,11 +35829,11 @@ Parameters
- service_name*
+ job_name*
-
+
@@ -18039,7 +35841,7 @@ Parameters
- Name of the compute service
+ ID of the job
@@ -18052,6 +35854,50 @@ Parameters
+ Body parameters
+
+
+ Name
+ Description
+
+ body *
+
+
+
+
+
+
+
+
@@ -18060,14 +35906,14 @@ Status: 200 - OK
-
-
+
+
-
+
@@ -18115,11 +35961,11 @@ Status: 405 - Invalid input
-
-
+
+
- supportsPilotJobs
- Returns true if the service supports pilot jobs.
+ supportsCompoundJobs
+ Returns true if the service supports compound jobs.
@@ -18127,31 +35973,31 @@ supportsPilotJobs
- /simulation/{simid}/compute_services/{service_name}/supportsPilotJobs
+ /simulation/{simid}/supportsCompoundJobs
Usage and SDK Samples
-
+
curl -X GET\
-H "Accept: application/json"\
-"https://wrench-project.org/v1/simulation/{simid}/compute_services/{service_name}/supportsPilotJobs"
+"https://wrench-project.org/v1/simulation/{simid}/supportsCompoundJobs"
-
+
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
@@ -18166,19 +36012,18 @@ Usage and SDK Samples
WRENCHApi apiInstance = new WRENCHApi();
String simid = simid_example; // String | ID of the simulation
- String serviceName = serviceName_example; // String | Name of the compute service
try {
- BooleanResponse result = apiInstance.supportsPilotJobs(simid, serviceName);
+ BooleanResponse result = apiInstance.supportsCompoundJobs(simid);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling WRENCHApi#supportsPilotJobs");
+ System.err.println("Exception when calling WRENCHApi#supportsCompoundJobs");
e.printStackTrace();
}
}
}
-
+
import io.swagger.client.api.WRENCHApi;
public class WRENCHApiExample {
@@ -18186,30 +36031,27 @@ 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 | Name of the compute service
try {
- BooleanResponse result = apiInstance.supportsPilotJobs(simid, serviceName);
+ BooleanResponse result = apiInstance.supportsCompoundJobs(simid);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling WRENCHApi#supportsPilotJobs");
+ System.err.println("Exception when calling WRENCHApi#supportsCompoundJobs");
e.printStackTrace();
}
}
}
-
+
String *simid = simid_example; // ID of the simulation
-String *serviceName = serviceName_example; // Name of the compute service
WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
-// Returns true if the service supports pilot jobs.
-[apiInstance supportsPilotJobsWith:simid
- serviceName:serviceName
+// Returns true if the service supports compound jobs.
+[apiInstance supportsCompoundJobsWith:simid
completionHandler: ^(BooleanResponse output, NSError* error) {
if (output) {
NSLog(@"%@", output);
@@ -18221,12 +36063,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}} Name of the compute service
var callback = function(error, data, response) {
if (error) {
@@ -18235,14 +36076,14 @@ Usage and SDK Samples
console.log('API called successfully. Returned data: ' + data);
}
};
-api.supportsPilotJobs(simid, serviceName, callback);
+api.supportsCompoundJobs(simid, callback);
-
-
+
using System;
using System.Diagnostics;
using IO.Swagger.Api;
@@ -18251,24 +36092,23 @@ Usage and SDK Samples
namespace Example
{
- public class supportsPilotJobsExample
+ public class supportsCompoundJobsExample
{
public void main()
{
var apiInstance = new WRENCHApi();
var simid = simid_example; // String | ID of the simulation
- var serviceName = serviceName_example; // String | Name of the compute service
try
{
- // Returns true if the service supports pilot jobs.
- BooleanResponse result = apiInstance.supportsPilotJobs(simid, serviceName);
+ // Returns true if the service supports compound jobs.
+ BooleanResponse result = apiInstance.supportsCompoundJobs(simid);
Debug.WriteLine(result);
}
catch (Exception e)
{
- Debug.Print("Exception when calling WRENCHApi.supportsPilotJobs: " + e.Message );
+ Debug.Print("Exception when calling WRENCHApi.supportsCompoundJobs: " + e.Message );
}
}
}
@@ -18276,42 +36116,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 | Name of the compute service
try {
- $result = $api_instance->supportsPilotJobs($simid, $serviceName);
+ $result = $api_instance->supportsCompoundJobs($simid);
print_r($result);
} catch (Exception $e) {
- echo 'Exception when calling WRENCHApi->supportsPilotJobs: ', $e->getMessage(), PHP_EOL;
+ echo 'Exception when calling WRENCHApi->supportsCompoundJobs: ', $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 compute service
eval {
- my $result = $api_instance->supportsPilotJobs(simid => $simid, serviceName => $serviceName);
+ my $result = $api_instance->supportsCompoundJobs(simid => $simid);
print Dumper($result);
};
if ($@) {
- warn "Exception when calling WRENCHApi->supportsPilotJobs: $@\n";
+ warn "Exception when calling WRENCHApi->supportsCompoundJobs: $@\n";
}
-
+
from __future__ import print_statement
import time
import swagger_client
@@ -18321,52 +36159,29 @@ 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 | Name of the compute service
try:
- # Returns true if the service supports pilot jobs.
- api_response = api_instance.supports_pilot_jobs(simid, serviceName)
- pprint(api_response)
-except ApiException as e:
- print("Exception when calling WRENCHApi->supportsPilotJobs: %s\n" % e)
-
-
-
- Parameters
-
- Path parameters
-
-
- Name
- Description
-
- simid*
-
-
-
-
-
-
-
- String
-
-
-
- ID of the simulation
-
-
-
- Required
-
-
-
-
-
- service_name*
+ # Returns true if the service supports compound jobs.
+ api_response = api_instance.supports_compound_jobs(simid)
+ pprint(api_response)
+except ApiException as e:
+ print("Exception when calling WRENCHApi->supportsCompoundJobs: %s\n" % e)
+
+
+
+ Parameters
+
+ Path parameters
+
+
+ Name
+ Description
+
+ simid*
-
+
@@ -18374,7 +36189,7 @@ Parameters
- Name of the compute service
+ ID of the simulation
@@ -18395,14 +36210,14 @@ Status: 200 - OK
-
-
+
+
-
+
@@ -18450,11 +36265,11 @@ Status: 405 - Invalid input
-
-
+
+
- supportsStandardJobs
- Returns true if the service supports standard jobs.
+ supportsPilotJobs
+ Returns true if the service supports pilot jobs.
@@ -18462,31 +36277,31 @@ supportsStandardJobs
- /simulation/{simid}/compute_services/{service_name}/supportsStandardJobs
+ /simulation/{simid}/supportsPilotJobs
Usage and SDK Samples
-
+
curl -X GET\
-H "Accept: application/json"\
-"https://wrench-project.org/v1/simulation/{simid}/compute_services/{service_name}/supportsStandardJobs"
+"https://wrench-project.org/v1/simulation/{simid}/supportsPilotJobs"
-
+
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
@@ -18501,19 +36316,18 @@ Usage and SDK Samples
WRENCHApi apiInstance = new WRENCHApi();
String simid = simid_example; // String | ID of the simulation
- String serviceName = serviceName_example; // String | Name of the compute service
try {
- BooleanResponse result = apiInstance.supportsStandardJobs(simid, serviceName);
+ BooleanResponse result = apiInstance.supportsPilotJobs(simid);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling WRENCHApi#supportsStandardJobs");
+ System.err.println("Exception when calling WRENCHApi#supportsPilotJobs");
e.printStackTrace();
}
}
}
-
+
import io.swagger.client.api.WRENCHApi;
public class WRENCHApiExample {
@@ -18521,30 +36335,27 @@ 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 | Name of the compute service
try {
- BooleanResponse result = apiInstance.supportsStandardJobs(simid, serviceName);
+ BooleanResponse result = apiInstance.supportsPilotJobs(simid);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling WRENCHApi#supportsStandardJobs");
+ System.err.println("Exception when calling WRENCHApi#supportsPilotJobs");
e.printStackTrace();
}
}
}
-
+
String *simid = simid_example; // ID of the simulation
-String *serviceName = serviceName_example; // Name of the compute service
WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
-// Returns true if the service supports standard jobs.
-[apiInstance supportsStandardJobsWith:simid
- serviceName:serviceName
+// Returns true if the service supports pilot jobs.
+[apiInstance supportsPilotJobsWith:simid
completionHandler: ^(BooleanResponse output, NSError* error) {
if (output) {
NSLog(@"%@", output);
@@ -18556,12 +36367,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}} Name of the compute service
var callback = function(error, data, response) {
if (error) {
@@ -18570,14 +36380,14 @@