ucsc-cgp / cgp-deployment

The UCSC Genomics Institute's Computational Genomics Platform (CGP). This repo contains the Docker compose-based deployment process.
https://ucsc-cgp.org
0 stars 0 forks source link

Add environment variables for BDBag-to-S3 to dcc-dashboard-service (resolves #61) #62

Closed mjkrause closed 5 years ago

mjkrause commented 5 years ago

Added AZUL_S3_AWS_REGION and AZUL_PRESIGNED_URL_EXPIRATION to dcc-dashboard-service, the Boardwalk mustache template, and to dev.yml and prod.yml in the boardwalk directory.

I ran install_bootstrap on a VM. You can test it in a terminal with curl -v "https://mkrause4.ucsc-cgp-dev.org/api/v1/repository/files/export?filters=%7B%7D&format=tsv" -H "Content-Type: application/json"

coverbeck commented 5 years ago

Since you are in here anyway, can you please remove the firecloud-bagit-lambda questions and variables?

mjkrause commented 5 years ago

Since you are in here anyway, can you please remove the firecloud-bagit-lambda questions and variables?

How about we do that when working on https://ucsc-cgl.atlassian.net/browse/TLP-560? It seems a better packaging of the tasks.

jessebrennan commented 5 years ago

Also I tried your curl command and it works great except the output I got was not json even though that's what the content-type is set to

mjkrause commented 5 years ago

I rebased the branch on feature/commons to reflect latest changes Jesse put it in the meantime.

I addressed all comments and suggestions. I've created a new instance, which you can test at curl -v "https://mkrause5.ucsc-cgp-dev.org/api/v1/repository/files/export?filters=%7B%7D&format=tsv" for the TSV, or curl -v "https://mkrause5.ucsc-cgp-dev.org/api/v1/repository/files/export?filters=%7B%7D&format=tsv" to return the signed URL for the BDBag as the value in JSON.

Inspired by Jesse's concern that the user may not know how to answer the question for the AWS region for the S3 bucket to store the BDBags I thought it was a good idea to rephrase an earlier question for the AWS region for the EC2 dcc-dashboard backend.