Closed IvoLeist closed 3 years ago
-ct "application/json"
echo '{"name": "t3", "project": "test", "provider": "resourcer", "factory": "spark","parameters":"{\"url\":\"\",\"rdd\":\"\"}","credentials":"{\"username\":\"\",\"password\":\"\"}"}' | opal rest -v /project/test/resources -o http://localhost:8880 -u administrator -p password -m POST -ct "application/json"
See also http://opaldoc.obiba.org/en/latest/python-user-guide/other/rest.html#options
Dear Opal developers,
its me again the one who is hoping to use Opal in a web application for biomedical research as part of the 3TR project (https://3tr-imi.eu/).
We finally have Opal up and running and already did our first analysis with it. Before going into production, we would require some further automation. Like adding a resource from the command line. Looking into https://github.com/obiba/opal/wiki/Resource-References#project-resources-web-services and getting the payload from the dev tools/network tab on the opal frontend
We thought this would be straight forward but somehow the command below runs into an error:
Failed with:
The opal log was unfortunately not really helpful as well. From all the exceptions thrown this one might be the most helpful(?)
Best regards, Ivo