Author: heshan
Date: Fri Nov 2 14:19:55 2012
New Revision: 1404975
URL: http://svn.apache.org/viewvc?rev=1404975&view=rev
Log:
Sending type in 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=1404975&r1=1404974&r2=1404975&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 14:19:55 2012
@@ -88,10 +88,12 @@ Output Type *: <input type="text
var outputName = $("#outputName1").val();
var outputType = $("#outputType1").val();
+ var applicationDescType = "gram"; // TODO : input
jsonRequest["name"] = appName;
jsonRequest["projectNumber"] = projAccNumber;
jsonRequest["queueName"] = queueName;
+ jsonRequest["applicationDescType"] = applicationDescType;
jsonRequest["executablePath"] = exeuctableLocation;
jsonRequest["workingDir"] = scratchWorkingDirectory;
jsonRequest["cpuCount"] = cpuCount;