Ansible: updates to refactored USER_STORAGES setting
@@ -120,9 +120,17 @@ AIRAVATA_API_SECURE = True
AIRAVATA_API_PORT = {{ api_server_port }}
AIRAVATA_API_SECURE = False
{% endif %}
-GATEWAY_DATA_STORE_RESOURCE_ID = '{{ gateway_data_store_resource_id }}'
-GATEWAY_DATA_STORE_DIR = '{{ experiment_data_dir }}'
-GATEWAY_DATA_STORE_HOSTNAME = '{{ gateway_data_store_hostname }}'
+
+USER_STORAGES = {
+ 'default': {
+ 'BACKEND': 'airavata_django_portal_sdk.user_storage.backends.DjangoFileSystemProvider',
+ 'STORAGE_RESOURCE_ID': '{{ gateway_data_store_resource_id }}',
+ 'OPTIONS': {
+ 'directory': '{{ experiment_data_dir }}',
+ }
+ }
+}
+
FILE_UPLOAD_TEMP_DIR = "{{ file_upload_tmp_dir }}"
# Profile Service Configuration
