From 34f78a54c08091a84e93e96fe6bb94f9fca636bf Mon Sep 17 00:00:00 2001
From: Prasath Sivasubramaniyan <tsprasath91@gmail.com>
Date: Wed, 21 Dec 2022 15:45:17 +0530
Subject: [PATCH] Added key

---
 .../content-service_application.conf          | 19 +++++++++++++++----
 1 file changed, 15 insertions(+), 4 deletions(-)

diff --git a/ansible/roles/stack-sunbird/templates/content-service_application.conf b/ansible/roles/stack-sunbird/templates/content-service_application.conf
index dd0ec183c..596d1e0b1 100644
--- a/ansible/roles/stack-sunbird/templates/content-service_application.conf
+++ b/ansible/roles/stack-sunbird/templates/content-service_application.conf
@@ -512,10 +512,12 @@ MSuKKbxCvOtLYeMOoK8BYusd3iB1gfxhPXO+7y4hC1WhxHsUT2uZe5mLH8xIVW3J
 opfZWibHFcQm6I6FJI3ha73EOB2zyyl3xlBxK9fMQVN8gELdXhA8DBuMD+Qxj6Nr
 bqteFJLCyz7ATtETSb3+hP+G
 -----END PRIVATE KEY-----"""
-cloud_storage_type: "azure"
-azure_storage_key: "{{ sunbird_public_storage_account_name }}"
-azure_storage_secret: "{{ sunbird_public_storage_account_key }}"
-azure_storage_container: "{{ sunbird_content_azure_storage_container }}"
+
+cloud_storage_type: "{{ cloud_service_provider }}"
+cloud_storage_key: "{{ cloud_public_storage_accountname }}"
+cloud_storage_secret: "{{ cloud_public_storage_secret }}"
+cloud_storage_endpoint: "{{ cloud_public_storage_endpoint }}"
+cloud_storage_container: "{{ cloud_storage_content_bucketname }}"
 
 # Google Drive APIKEY
 learning_content_drive_apiKey = "{{ learning_content_drive_apiKey }}"
@@ -524,6 +526,7 @@ kafka {
   urls : "{{ kafka_urls }}"
   topic.send.enable : true
   topics.instruction : "{{ env_name }}.learning.job.request"
+  publish.request.topic : "{{ env_name }}.publish.job.request"
 }
 
 # DIAL Link Config
@@ -667,3 +670,11 @@ collection {
 }
 
 plugin.media.base.url="{{ plugin_media_base_url }}"
+
+cloudstorage {
+  metadata.replace_absolute_path={{ cloudstorage_replace_absolute_path | default('false') }}
+  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 }}
+}
\ No newline at end of file
-- 
GitLab