Tags:
workflows chemical HOCL
Owner:
matthieu.simonin@inria.fr
We publish here a minimal demonstrator of the GinFlow software. For further information and advanced usage please browse to the official web site : http://ginflow.inria.fr
wf.json
:
{
"name": "test-workflow",
"services": [
{
"dst": [
"2"
],
"in": [
"!"
],
"name": [
"1"
],
"srv": [
"echo"
]
},
{
"in": [
"?"
],
"name": [
"2"
],
"src": [
"1"
],
"srv": [
"echo"
]
}
]
}
Please browse to the website : http://ginflow.inria.fr
In input :
{ "name" : "test-workflow", "services": [{ "name": ["1"], "srv" : ["echo"], "in" : ["!"], "dst" : ["2"] }, { "name": ["2"], "srv" : ["echo"], "in" : ["?"], "src" : ["1"] }] }
{ "name" : "test-workflow", "services": [{ "name": ["1"], "srv" : ["echo"], "in" : ["!"], "dst" : ["2"] }, { "name": ["2"], "srv" : ["echo"], "in" : ["?"], "src" : ["1"] }] }
{ "name" : "test-workflow", "services": [{ "name": ["1"], "srv" : ["echo"], "in" : ["!"], "dst" : ["2"] }, { "name": ["2"], "srv" : ["echo"], "in" : ["?"], "src" : ["1"] }] }
{ "name" : "test-workflow", "services": [{ "name": ["1"], "srv" : ["echo"], "in" : ["!"], "dst" : ["2"] }, { "name": ["2"], "srv" : ["echo"], "in" : ["?"], "src" : ["1"] }] }
{ "name" : "test-workflow", "services": [{ "name": ["1"], "srv" : ["echo"], "in" : ["!"], "dst" : ["2"] }, { "name": ["2"], "srv" : ["echo"], "in" : ["?"], "src" : ["1"] }] }
In output :
11/09/2015 : Version 1.0, first public release
This app id is : 38
This curl command will create a job, and return your job url, and also the average execution time
files and/or dataset are optionnal, think to remove them if not wantedcurl -H 'Authorization: Token token=<your_private_token>' -X POST -F job[webapp_id]=38 -F job[param]="" -F job[queue]=standard -F files[0]=@test.txt -F files[1]=@test2.csv -F job[file_url]=<my_file_url> -F job[dataset]=<my_dataset_name> https://allgo.inria.fr/api/v1/jobs
Then, check your job to get the url files with :
curl -H 'Authorization: Token token=<your_private_token>' -X GET https://allgo.inria.fr/api/v1/jobs/<job_id>