[Iplant-api-dev] bug in finding public apps?!
Cornel Ghiban
ghiban at cshl.edu
Thu Aug 30 07:58:22 MST 2012
Hi,
I've noticed this yesterday and I think something's off.
I was expecting that this query would return nothing:
curl -X GET -sku "$iPLANT_USER:$iPLANT_TOKEN" \
https://foundation.iplantc.org/apps-v1/apps/name/fastqc | \
json_xs -f json| grep '^ "id"'
but I got this output:
"id" : "head-5.97u1",
"id" : "head-trestles-5.97u1",
"id" : "wc-1.00u1",
And this one should only output the "head" apps:
curl -X GET -sku "$iPLANT_USER:$iPLANT_TOKEN" \
https://foundation.iplantc.org/apps-v1/apps/name/head| \
json_xs -f json| grep '^ "id"'
"id" : "head-5.97u1",
"id" : "head-trestles-5.97u1",
"id" : "wc-1.00u1",
Thanks,
Cornel
More information about the Iplant-api-dev
mailing list