public void setGateway(String gateway) {
this.gateway = gateway;
}
public static void main(String[] args) throws Exception {
AiravataAPI api = AiravataAPIFactory.getAPI(new URI("http://localhost:8080/airavata/services/registry"), "default", "admin", new PasswordCallBackImpl("admin", "admin"));
ExperimentAdvanceOptions options = api.getExecutionManager().createExperimentAdvanceOptions();
options.getCustomWorkflowSchedulingSettings().addNewNodeSettings("data1", "comma_app", 1, 1);
String workflow = "Workflow3";
List<WorkflowInput> inputs = api.getWorkflowManager().getWorkflowInputs(workflow);
System.out.println(api.getExecutionManager().runExperiment(workflow, inputs,options));