Hello,
Not sure if anyone has had a look at these by out of interest I installed the
taverna-player-portal rails app on my machine and had a look at all the URIs it
accepts (see below). Also, to upload workflows to it you have to have a user
account on the portal. You can run workflows as a guest but you cannot upload
them. So you need to do basic auth passing in username and password for each
url that requires authorization. The mobile app will now need to handle 2
different sets of logins, 1 for myexperiment and 1 for the portal. I think that
might be getting a bit too complex so maybe for the moment we should just have
user login on the portal and have browse/search public workflows on
myexperiment and keep myexperiment login once the player upload and run is all
working well. Comments from the general apache taverna community welcome.
Taverna Player Portal URLS:
Prefix Verb URI Pattern
Controller#Action
taverna_player /
TavernaPlayer::Engine
new_user_session GET /users/sign_in(.:format)
devise/sessions#new
user_session POST /users/sign_in(.:format)
devise/sessions#create
destroy_user_session DELETE /users/sign_out(.:format)
devise/sessions#destroy
user_password POST /users/password(.:format)
devise/passwords#create
new_user_password GET /users/password/new(.:format)
devise/passwords#new
edit_user_password GET /users/password/edit(.:format)
devise/passwords#edit
PATCH /users/password(.:format)
devise/passwords#update
PUT /users/password(.:format)
devise/passwords#update
cancel_user_registration GET /users/cancel(.:format)
devise/registrations#cancel
user_registration POST /users(.:format)
devise/registrations#create
new_user_registration GET /users/sign_up(.:format)
devise/registrations#new
edit_user_registration GET /users/edit(.:format)
devise/registrations#edit
PATCH /users(.:format)
devise/registrations#update
PUT /users(.:format)
devise/registrations#update
DELETE /users(.:format)
devise/registrations#destroy
home_index GET /home/index(.:format)
home#index
root GET /
home#index
download_workflow GET /workflows/:id/download(.:format)
workflows#download
diagram_workflow GET /workflows/:id/diagram(.:format)
workflows#diagram
workflow_runs GET /workflows/:workflow_id/runs(.:format)
taverna_player/runs#index
POST /workflows/:workflow_id/runs(.:format)
taverna_player/runs#create
new_workflow_run GET /workflows/:workflow_id/runs/new(.:format)
taverna_player/runs#new
edit_workflow_run GET /workflows/:workflow_id/runs/:id/edit(.:format)
taverna_player/runs#edit
workflow_run GET /workflows/:workflow_id/runs/:id(.:format)
taverna_player/runs#show
PATCH /workflows/:workflow_id/runs/:id(.:format)
taverna_player/runs#update
PUT /workflows/:workflow_id/runs/:id(.:format)
taverna_player/runs#update
DELETE /workflows/:workflow_id/runs/:id(.:format)
taverna_player/runs#destroy
workflows GET /workflows(.:format)
workflows#index
POST /workflows(.:format)
workflows#create
new_workflow GET /workflows/new(.:format)
workflows#new
edit_workflow GET /workflows/:id/edit(.:format)
workflows#edit
workflow GET /workflows/:id(.:format)
workflows#show
PATCH /workflows/:id(.:format)
workflows#update
PUT /workflows/:id(.:format)
workflows#update
DELETE /workflows/:id(.:format)
workflows#destroy
edit_run GET /runs/:id/edit(.:format)
taverna_player/runs#edit
run PATCH /runs/:id(.:format)
taverna_player/runs#update
PUT /runs/:id(.:format)
taverna_player/runs#update
Routes for TavernaPlayer::Engine:
cancel_run PUT /runs/:id/cancel(.:format)
taverna_player/runs#cancel
GET /runs/:id/input/:port(.:format)
taverna_player/runs#input
GET /runs/:id/output/:port(/*path)(.:format)
taverna_player/runs#output
log_run GET /runs/:id/download/log(.:format)
taverna_player/runs#download_log
results_run GET /runs/:id/download/results(.:format)
taverna_player/runs#download_results
GET /runs/:id/download/input/:port(.:format)
taverna_player/runs#download_input
GET /runs/:id/download/output/:port(.:format)
taverna_player/runs#download_output
GET /runs/:id/interaction/:serial(.:format)
taverna_player/runs#read_interaction
POST /runs/:id/interaction/:serial(.:format)
taverna_player/runs#write_interaction
runs GET /runs(.:format)
taverna_player/runs#index
POST /runs(.:format)
taverna_player/runs#create
new_run GET /runs/new(.:format)
taverna_player/runs#new
run GET /runs/:id(.:format)
taverna_player/runs#show
PATCH /runs/:id(.:format)
taverna_player/runs#update
PUT /runs/:id(.:format)
taverna_player/runs#update
DELETE /runs/:id(.:format)
taverna_player/runs#destroy
service_credentials GET /service_credentials(.:format)
taverna_player/service_credentials#index
POST /service_credentials(.:format)
taverna_player/service_credentials#create
new_service_credential GET /service_credentials/new(.:format)
taverna_player/service_credentials#new
edit_service_credential GET /service_credentials/:id/edit(.:format)
taverna_player/service_credentials#edit
service_credential GET /service_credentials/:id(.:format)
taverna_player/service_credentials#show
PATCH /service_credentials/:id(.:format)
taverna_player/service_credentials#update
PUT /service_credentials/:id(.:format)
taverna_player/service_credentials#update
DELETE /service_credentials/:id(.:format)
taverna_player/service_credentials#destroy
job_queue GET /job_queue(.:format)
taverna_player/job_queue#index
Cheers,
Ian
-----Original Message-----
From: Larry Akah [mailto:[email protected]]
Sent: 24 June 2015 10:41
To: [email protected]
Subject: Re: gsoc taverna mobile progress so far
User auth is done with myexperiment while the player should just be used to
play the workflows. Workflows remain on myexperiment.
cheers
2015-06-24 10:38 GMT+01:00 alaninmcr <[email protected]>:
> On 24/06/2015 10:22, Ian Dunlop wrote:
>
>> Hello,
>>
>> That sounds good. I'm still a bit concerned that we might hit some
>> issues around the player API but if we are not doing the user auth or
>> workflow storage parts using the player then it will probably be OK.
>>
>
> The Player API has been quite well tested as I used it for the IPython
> Notebook integration, and also the player is used in the BioVeL portal.
>
> Cheers,
>>
>> Ian
>>
>
> Alan
>
--
*Akah Larry N.H*
*Lead Software Engineer @ GiftedMom*
*Founder IceTeck Inc*
*www.iceteck.com*
Developing technologies for emergence and sustainable development.