12515: Use workbenchUrl advertised by API server discovery doc.
authorTom Clegg <tclegg@veritasgenetics.com>
Wed, 8 Nov 2017 21:53:22 +0000 (16:53 -0500)
committerTom Clegg <tclegg@veritasgenetics.com>
Wed, 8 Nov 2017 21:53:22 +0000 (16:53 -0500)
commit63f1542e94f3f1e66cbf0d88f557105ff5d104d0
tree48db174e40e12cac86598879a3a1238ddfaee85f
parenta5d1a2aa40ad211b4faf870c603ae7ad5263b6bc
12515: Use workbenchUrl advertised by API server discovery doc.

Fall back to guessing "workbench."+apiHost (as before) if discovery
doc does not offer a workbenchUrl (e.g., API server is too old).

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>
apps/workbench/app/assets/javascripts/components/collections.js
apps/workbench/app/assets/javascripts/models/session_db.js