From 86bd0e33b934852d4fdc89dd135d98d83f7af707 Mon Sep 17 00:00:00 2001 From: Sahil-tarento <140611066+Sahil-tarento@users.noreply.github.com> Date: Tue, 5 Dec 2023 12:06:01 +0530 Subject: [PATCH] Added the configuration for file-info (#347) --- .../java/org/sunbird/storage/service/StorageServiceImpl.java | 2 ++ src/main/resources/application.properties | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/sunbird/storage/service/StorageServiceImpl.java b/src/main/java/org/sunbird/storage/service/StorageServiceImpl.java index 8dc4442a6..9f83b8ad8 100644 --- a/src/main/java/org/sunbird/storage/service/StorageServiceImpl.java +++ b/src/main/java/org/sunbird/storage/service/StorageServiceImpl.java @@ -192,6 +192,8 @@ public ResponseEntity>> getFileInfo(String orgId put("course-report", "CBPReport.csv"); put("cba-report", "UserAssessmentReport.csv"); put("user-assessment-report-cbp", "StandaloneAssessmentReport.csv"); + put("blended-program-report-mdo", "BlendedProgramReport.csv"); + put("blended-program-report-cbp", "BlendedProgramReport.csv"); }}; Map> reportTypeInfo = new HashMap<>(); for (String reportType : serverProperties.getReportTypeGetFileInfo()) { diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index dd4fe0e69..6faba851a 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -317,7 +317,7 @@ progress.api.update.endpoint=/v1/content/state/admin/update user.registration.welcome.email.signinLink=https://karmayogibm.nic.in/protected/v8/resource user.registration.welcome.email.discoverLink=https://karmayogibm.nic.in/page/learn user.registration.welcome.email.meetingLink=https://teams.microsoft.com/l/meetup-join/19%3ameeting_M2Y3ZDE2ZDMtMWQwYS00OWQzLWE3NDctNDRkNTdjOGI4Yzll%40thread.v2/0?context=%7b%22Tid%22%3a%2240cfb65c-9b71-435f-8bc2-bc2c69df1aca%22%2c%22Oid%22%3a%22cbd37bc9-5c33-401f-b590-9decb3c370f8%22%7d -report.type.get.file.info=user-report,course-report,user-assessment-report-cbp,user-enrollment-report,cba-report +report.type.get.file.info=user-report,course-report,user-assessment-report-cbp,user-enrollment-report,cba-report,blended-program-report-mdo,blended-program-report-cbp redis.questions.read.timeout=3600 read.assess.questions.from.redis=true