Commit 780cb44c authored by Chris Hines's avatar Chris Hines
Browse files

add the viewlog function to test

parent b6722ca5
...@@ -7,6 +7,14 @@ ...@@ -7,6 +7,14 @@
"paramscmd": "/usr/local/sv2/desktop/params.py {jobid}", "paramscmd": "/usr/local/sv2/desktop/params.py {jobid}",
"client": {"cmd": null, "redir": "vnc.html?password={password}" }, "client": {"cmd": null, "redir": "vnc.html?password={password}" },
"states": ["RUNNING"] "states": ["RUNNING"]
},
{
"name": "View log",
"paramscmd": "/usr/local/sv2/dev/desktop/logparams.py {jobid}",
"client": {"cmd": null, "redir": "index.html?token={token}" },
"states": ["RUNNING","COMPLETED"]
}
}], }],
"localbind": true, "localbind": true,
"applist": null "applist": null
...@@ -18,10 +26,17 @@ ...@@ -18,10 +26,17 @@
"actions": [ "actions": [
{ {
"name": "Connect", "name": "Connect",
"paramscmd": "/usr/local/sv2/jupyter/jupyter_params.py", "paramscmd": "/usr/local/sv2/jupyter/jupyter_params.py {jobid}",
"client": {"cmd": null, "redir": "?token={token}"}, "client": {"cmd": null, "redir": "?token={token}"},
"states": ["RUNNING"] "states": ["RUNNING"]
} },
{
"name": "View log",
"paramscmd": "/usr/local/sv2/dev/desktop/logparams.py {jobid}",
"client": {"cmd": null, "redir": "index.html?token={token}" },
"states": ["RUNNING","COMPLETED"]
}
], ],
"localbind": true, "localbind": true,
"applist": null "applist": null
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment