This will allow us to store data-flow TSV files on s3 storage.
Setting CORS
<CORSConfiguration>
<CORSRule>
<ID>Allow
everything</ID>
<AllowedOrigin>*</AllowedOrigin>
<AllowedMethod>GET</AllowedMethod>
<AllowedMethod>HEAD</AllowedMethod>
<AllowedMethod>PUT</AllowedMethod>
<AllowedMethod>POST</AllowedMethod>
<AllowedMethod>DELETE</AllowedMethod>
<AllowedHeader>*</AllowedHeader>
<MaxAgeSeconds>30</MaxAgeSeconds>
</CORSRule>
</CORSConfiguration>
s3cmd setcors rules.xml s3://bucket_name
See elecena/data-flow@790c0fd
Fetching TSV file
jQuery.get('https://s3.amazonaws.com/s3.macbre.net/data_flow/database.tsv').then(function(data) {
console.log(data);
});
This will allow us to store data-flow TSV files on s3 storage.
Setting CORS
Fetching TSV file