Open tripodsan opened 3 years ago
I'd use the universat storage abstraction to generate the presign URLs.
How do we handle multi-cloud? Run the trigger twice, in both clouds or have it generate multiple URLs?
How do we handle multi-cloud? Run the trigger twice, in both clouds or have it generate multiple URLs?
for helix3, the content-bus needs to store the json into the s3/cs when requested (e.g. on preview). since the content-bus is the intitiator, the corresponding content-bus will invoke content-proxy/data-embed on the corresponding cloud which will store it in the corresponding storage.
so who ever trigger content-bus, needs to trigger it in all clouds...probably helix-admin
or admin.hlx3.page
@trieloff's idea to store (larger) data directly in the underlying storage would make the data processing faster, especially for larger data-sets.
suggest to:
presignedStorageUrl
parameterpresignedStorageUrl
to data-embed, ideally using aPUT
1.json
directly in the storage using thepresignedStorageUrl
307
2, including alocation
header to the location of the stored object (if possible)1 I'm not sure about using
PUT
orGET
, but writing content onGET
feels wrong 2 I'm not sure about the redirect response. maybe a200
when usingPUT
is better.