airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hes...@apache.org
Subject svn commit: r1405004 - /airavata/sandbox/client-api-demo/src/main/webapp/x_app_descriptor_save_jason.html
Date Fri, 02 Nov 2012 15:22:58 GMT
Author: heshan
Date: Fri Nov  2 15:22:57 2012
New Revision: 1405004

URL: http://svn.apache.org/viewvc?rev=1405004&view=rev
Log:
Updating the request.

Modified:
    airavata/sandbox/client-api-demo/src/main/webapp/x_app_descriptor_save_jason.html

Modified: airavata/sandbox/client-api-demo/src/main/webapp/x_app_descriptor_save_jason.html
URL: http://svn.apache.org/viewvc/airavata/sandbox/client-api-demo/src/main/webapp/x_app_descriptor_save_jason.html?rev=1405004&r1=1405003&r2=1405004&view=diff
==============================================================================
--- airavata/sandbox/client-api-demo/src/main/webapp/x_app_descriptor_save_jason.html (original)
+++ airavata/sandbox/client-api-demo/src/main/webapp/x_app_descriptor_save_jason.html Fri
Nov  2 15:22:57 2012
@@ -88,10 +88,11 @@ Output Type         *: <input type="text
             var outputName = $("#outputName1").val();
             var outputType = $("#outputType1").val();
 
-            var applicationDescType = "gram"; // TODO : input
+            var applicationDescType = "Gram"; // TODO : input
 
             jsonRequest["name"] = appName;
             jsonRequest["projectNumber"] = projAccNumber;
+            jsonRequest["jobType"] = "single"; // TODO : input
             jsonRequest["queueName"] = queueName;
             jsonRequest["applicationDescType"] = applicationDescType;
             jsonRequest["executablePath"] = exeuctableLocation;
@@ -133,7 +134,7 @@ Output Type         *: <input type="text
             serviceDesc["serviceName"] = serviceName;
             serviceDesc["inputParams"] = inArray;
             serviceDesc["outputParams"] = outArray;
-            jsonRequest["serviceDesc"] = serviceDesc;
+            jsonRequest["serviceDescriptor"] = serviceDesc;
             console.log(JSON.stringify(jsonRequest));
 
             $.ajax({



Mime
View raw message