Closed
Description
Expected behavior
Given this style cloudconfig.json
file, as specified in order_request (here) and validated in specs (here) I expect to be able to receive a zipped file delivered my GCS bucket.
{
"google_cloud_storage": {
"bucket": "pfed_external_share",
"path_prefix": "zip_test",
"credentials": "my-creds"
},
"archive_type": "zip"
}
Untested, but this might be a global issue (i.e., an issue with AWS, GCS, Azure, etc.).
Actual behavior (describe the problem)
My order is not delivered zipped.
Related Issues
N/A
Workaround
N/A
Minimum, Complete, Viable Code Sample
Apparently, one must also set a "archive_filename"
(e.g. "archive_filename": "{{name}}_{{order_id}}.zip"
) or use "single_archive": true
to actually get zipped deliveries.
{
"google_cloud_storage": {
"bucket": "pfed_external_share",
"path_prefix": "zip_test",
"credentials": "my-creds"
},
"archive_type": "zip",
"archive_filename": "{{name}}_{{order_id}}.zip"
}
or
{
"google_cloud_storage": {
"bucket": "pfed_external_share",
"path_prefix": "zip_test",
"credentials": "my-creds"
},
"archive_type": "zip",
"single_archive": true
}