From 7c1144411e67ceb435338a39a75b0edcc1b94aba Mon Sep 17 00:00:00 2001
From: Jayaprakash8887 <jayaprakash.n@tarento.com>
Date: Tue, 12 Jul 2022 11:25:45 +0530
Subject: [PATCH] Issue #SB-28316 feat: Dialcode reserve API code refactor.
 (#3408)

Co-authored-by: Jayaprakash8887 <Jayaprakash.narayanaswamy@tarento.com>
---
 .../templates/content-service_application.conf            | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/ansible/roles/stack-sunbird/templates/content-service_application.conf b/ansible/roles/stack-sunbird/templates/content-service_application.conf
index cd7dfc69a..54827320d 100644
--- a/ansible/roles/stack-sunbird/templates/content-service_application.conf
+++ b/ansible/roles/stack-sunbird/templates/content-service_application.conf
@@ -501,9 +501,15 @@ dial_service {
     base_url : "http://dial-service.{{namespace}}.svc.cluster.local:9000"
     auth_key : "{{ sunbird_dial_repo_api_key }}"
     search   : "/dialcode/v3/search"
-    generate_url : "/dialcode/v3/generate"
+    generate : "/dialcode/v3/generate"
   }
 }
+
+reserve_dialcode {
+    mimeType : ["application/vnd.ekstep.content-collection"]
+    max_count : 250
+}
+
 content.link_dialcode.validation=true
 content.link_dialcode.max_limit=10
 
-- 
GitLab