Release Notes can be found here.
Firecloud and Google Bucket API
Hi Firecloud Team!
I am trying to view a pdf from a job output with PDF.JS https://mozilla.github.io/pdf.js/.
In order to do this, I need to access the file.
I generate a URI with http://storage-download.googleapis.com/
I pass along my authentication token in the header, and that works, but then I get:
XMLHttpRequest cannot load http://storage-download.googleapis.com/fc-010c62db-aa35-4b0e-b6f4-eec18cc585fc/d3691a3d-0b40-465a-acaa-f036eb2e0ef5/absolute_wkflw/9ad25447-1c4a-428c-b61b-f616d1e1aa58/call-absolute/TCGA-BF-A1PU-01A-11D_TCGA-BF-A1PU-10A-01D.ABSOLUTE_plot.pdf. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost' is therefore not allowed access
I was going to enable CORS on the bucket as described here: https://cloud.google.com/storage/docs/cross-origin#Configuring-CORS-on-a-Bucket
Since I do not have access to the bucket I cannot do this though.
There is no API available in firecloud for me to access the object otherwise, but I need either:
A way to enable CORS on the bucket (for third party tools to be able to access the data)
A way to return a URI through firecloud API (given gs path return firecloud path that I can access if I provide a token in the header )