Skip to content

Commit 2736da9

Browse files
authored
Merge pull request #35 from datopian/fix/s3-config
Aircan dagrun payload updated with s3 ckan configs
2 parents c981bf1 + 8d902e6 commit 2736da9

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

ckanext/aircan_connector/logic/action.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,13 @@ def aircan_submit(context, data_dict):
131131
"ckan_config": {
132132
"api_key": ckan_api_key,
133133
"site_url": config.get('ckan.site_url'),
134+
'ckan_s3_access_key_id': config.get('ckanext.s3filestore.aws_access_key_id', ''),
135+
'ckan_s3_secret_access_key': config.get('ckanext.s3filestore.aws_secret_access_key', ''),
136+
'ckan_s3_bucket_name': config.get('ckanext.s3filestore.aws_bucket_name', ''),
137+
'ckan_s3_storage_path': config.get('ckanext.s3filestore.aws_storage_path', ''),
138+
'ckan_s3_host_name': config.get('ckanext.s3filestore.host_name', ''),
139+
'ckan_s3_region_name': config.get('ckanext.s3filestore.region_name', ''),
140+
'ckan_s3_signature_version': config.get('ckanext.s3filestore.signature_version','s3v4'),
134141
"ckan_datastore_postgres_url": config.get('ckan.datastore.write_url'),
135142
"aircan_load_with_postgres_copy": config.get('ckanext.aircan.load_with_postgres_copy', False),
136143
"aircan_datastore_chunk_insert_rows_size": config.get('ckanext.aircan.datastore_chunk_insert_rows_size', 250),

0 commit comments

Comments
 (0)