diff --git a/ansible/roles/stack-sunbird/templates/assessment-service_application.conf b/ansible/roles/stack-sunbird/templates/assessment-service_application.conf index d5e7723a19..5cdfd1fe14 100644 --- a/ansible/roles/stack-sunbird/templates/assessment-service_application.conf +++ b/ansible/roles/stack-sunbird/templates/assessment-service_application.conf @@ -428,7 +428,7 @@ cloudstorage { metadata.list={{ cloudstorage_metadata_list }} relative_path_prefix="{{ cloudstorage_relative_path_prefix | default('CLOUD_STORAGE_BASE_PATH') }}" read_base_path="{{ cloudstorage_base_path }}" - write_base_path={{ valid_cloudstorage_base_urls }} + write_base_path=["{{ valid_cloudstorage_base_urls }}"] } #Inquiry-release-5.6.0 diff --git a/ansible/roles/stack-sunbird/templates/content-service_application.conf b/ansible/roles/stack-sunbird/templates/content-service_application.conf index 8e8fa56f35..d1f2ce781b 100644 --- a/ansible/roles/stack-sunbird/templates/content-service_application.conf +++ b/ansible/roles/stack-sunbird/templates/content-service_application.conf @@ -654,5 +654,5 @@ cloudstorage { relative_path_prefix={{ cloudstorage_relative_path_prefix_content }} metadata.list={{ cloudstorage_metadata_list }} read_base_path="{{ cloudstorage_base_path }}" - write_base_path={{ valid_cloudstorage_base_urls }} + write_base_path=["{{ valid_cloudstorage_base_urls }}"] } diff --git a/ansible/roles/stack-sunbird/templates/taxonomy-service_application.conf b/ansible/roles/stack-sunbird/templates/taxonomy-service_application.conf index 332206c502..c47a2b9d01 100644 --- a/ansible/roles/stack-sunbird/templates/taxonomy-service_application.conf +++ b/ansible/roles/stack-sunbird/templates/taxonomy-service_application.conf @@ -404,5 +404,5 @@ cloudstorage { relative_path_prefix={{ cloudstorage_relative_path_prefix_content }} metadata.list={{ cloudstorage_metadata_list }} read_base_path="{{ cloudstorage_base_path }}" - write_base_path={{ valid_cloudstorage_base_urls }} + write_base_path=["{{ valid_cloudstorage_base_urls }}"] } diff --git a/private_repo/ansible/inventory/dev/Core/common.yml b/private_repo/ansible/inventory/dev/Core/common.yml index 9092c3cc9d..fc856c2b23 100644 --- a/private_repo/ansible/inventory/dev/Core/common.yml +++ b/private_repo/ansible/inventory/dev/Core/common.yml @@ -277,7 +277,7 @@ cloud_artifact_storage_project: "{{ cloud_public_storage_project }}" # Building block vars cloud_storage_base_url: "{{ cloud_storage_url }}" cloudstorage_base_path: "{{ cloud_storage_url }}" -valid_cloudstorage_base_urls: '["{{cloud_storage_url}}"]' +valid_cloudstorage_base_urls: "{{cloud_storage_url}}" cloudstorage_relative_path_prefix: "CONTENT_STORAGE_BASE_PATH" # Provide the admin-api consumer access to all API's - The public repo restricts this for security reasons diff --git a/private_repo/ansible/inventory/dev/DataPipeline/common.yml b/private_repo/ansible/inventory/dev/DataPipeline/common.yml index 40f9469f21..b2c04d0665 100644 --- a/private_repo/ansible/inventory/dev/DataPipeline/common.yml +++ b/private_repo/ansible/inventory/dev/DataPipeline/common.yml @@ -181,7 +181,7 @@ cloud_artifact_storage_project: "{{ cloud_public_storage_project }}" # Building block vars cloud_storage_base_url: "{{ cloud_storage_url }}" cloudstorage_base_path: "{{ cloud_storage_url }}" -valid_cloudstorage_base_urls: '["{{ cloud_storage_url }}"]' +valid_cloudstorage_base_urls: "{{ cloud_storage_url }}" cloudstorage_relative_path_prefix: "CONTENT_STORAGE_BASE_PATH" # The below sets the kafka topics retention time to 1 day, if you use the defaults from the public repo, it will be 7 days diff --git a/private_repo/ansible/inventory/dev/KnowledgePlatform/common.yml b/private_repo/ansible/inventory/dev/KnowledgePlatform/common.yml index 62eb1996e2..cebc60f7f8 100644 --- a/private_repo/ansible/inventory/dev/KnowledgePlatform/common.yml +++ b/private_repo/ansible/inventory/dev/KnowledgePlatform/common.yml @@ -184,7 +184,7 @@ cloud_artifact_storage_namespace: "{{ cloud_public_storage_namespace }}" # Building block vars cloud_storage_base_url: "{{ cloud_storage_url }}" cloudstorage_base_path: "{{ cloud_storage_url }}" -valid_cloudstorage_base_urls: '["{{ cloud_storage_url }}"]' +valid_cloudstorage_base_urls: "{{ cloud_storage_url }}" cloudstorage_relative_path_prefix: "CONTENT_STORAGE_BASE_PATH" cloud_storage_pathstyle_access: true cloud_storage_cname_url: "{{ cloud_storage_url }}" # overide if you have seperate url for cname