You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by he...@apache.org on 2012/11/02 16:22:58 UTC

svn commit: r1405004 - /airavata/sandbox/client-api-demo/src/main/webapp/x_app_descriptor_save_jason.html

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({