airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ramin...@apache.org
Subject svn commit: r1402562 - /airavata/sandbox/airavata-registry-rest/README.txt
Date Fri, 26 Oct 2012 16:29:09 GMT
Author: raminder
Date: Fri Oct 26 16:29:08 2012
New Revision: 1402562

URL: http://svn.apache.org/viewvc?rev=1402562&view=rev
Log:
Added sample message to create application/service using JSON and XML message

Modified:
    airavata/sandbox/airavata-registry-rest/README.txt

Modified: airavata/sandbox/airavata-registry-rest/README.txt
URL: http://svn.apache.org/viewvc/airavata/sandbox/airavata-registry-rest/README.txt?rev=1402562&r1=1402561&r2=1402562&view=diff
==============================================================================
--- airavata/sandbox/airavata-registry-rest/README.txt (original)
+++ airavata/sandbox/airavata-registry-rest/README.txt Fri Oct 26 16:29:08 2012
@@ -97,7 +97,7 @@ To test
     curl -H "Accept: text/plain" -X POST -d 'experimentId=testWFInstanceID&workflowInstanceId=testWFInstanceID&executionStatus=STARTED&statusUpdateTime=2012-10-23
00:00:00' http://localhost:9080/airavata-services/registry/api/update/workflowinstancestatus/experimentid
     curl --request GET 'http://localhost:9080/airavata-services/registry/api/get/workflowinstancestatus?instanceId=testWFInstanceID'
 
-********* Sample JSON message for Application *****************
+********* Sample JSON message for Application and service *****************
 
 {
    "applicationName":"Tesing",
@@ -140,6 +140,10 @@ To test
    }
 }
 
+*** Sample XML message to create application and service
+
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?><application><applicationName>Testing</applicationName><cpuCount>0</cpuCount><hostdescName>localhost</hostdescName><maxMemory>0</maxMemory><maxWallTime>0</maxWallTime><minMemory>0</minMemory><nodeCount>0</nodeCount><processorsPerNode>0</processorsPerNode><serviceDesc><inputParams><dataType>input</dataType><description>my
input</description><name>myinput</name><type>String</type></inputParams><inputParams><dataType>input</dataType><description>my
input</description><name>myinput</name><type>String</type></inputParams><outputParams><dataType>output</dataType><description>my
output</description><name>myoutput</name><type>String</type></outputParams><outputParams><dataType>output</dataType><description>my
output</description><name>myoutput</name><type>String</type></outputParams></serviceDesc></application>
+
 
 
 



Mime
View raw message