Release V 5.0.1
Document Release Version
Lern
29 Nov 22
V 5.0.1
Details of Released Tag
Batch Service
Build/Core/Lms
release-5.1.0_RC1
Batch Service
Build/Core/Cert
release-5.1.0_RC1
Batch Service
Build/job/Lern/job/FlinkJobs
release-5.0.1_RC5
Collection-cert-pre-processor, Collection-certificate-generator jobs need to be deployed
User&Org Service
Build/Core/Learner
release-5.1.0_RC1
Data Products
Build/job/Lern/job/LernDataProducts/
release-5.0.1_RC4
Summary of the Changes
Making SB Lern Cloud agnostic
Affected Areas:
Textbook upload and download
QRCode list download from workspace
Old certificate download
New certificate generation and download
Exhaust Reports - UserInfo, Progress and Reponse Exhausts
OrgAdmin Reports - Org Consent Report and Geo Reports
Details of the Changes
LR-262 OCI and Open stack support analysis
LR-263 CSP integration testing in Non-Ed env
LR-254 BatchService: CSP Data migration for certificate obj data in RC
Env Configurations (Needs to be done before service deployment):
The below environment variable needs to be configured in the devops repo.
cloud_storage_base_url
https://sunbirddev.blob.core.windows.net
To store the CSP base path
cloud_storage_cname_url
https://obj.dev.sunbirded.org
To store the cname url of the CSP
Data Migrations: (Run these scripts after service deployment)
This script is to update the variable based relative url for cloud resources to course_batch(cassandra) and job_request(postgres) database tables.
Verification Steps after migration:
Check few records in course_batch table to see whether the certificate template cloud url is changed to variable format and also check in job_request table to see whether the report url is in relative path format.
Update blob URL or CNAME URL in ES ad RC DB
To change actual URL to CNAME URL or In case of opting new CSP provider, to change to new blob URL execute below scripts :
RC PostgreSQL DB table V_TrainingCertificate data migration: https://project-sunbird.atlassian.net/wiki/spaces/UM/pages/3256877067/Training+certificate+migration
ES Migrations(course-batch index, trainingcertificate index) : https://project-sunbird.atlassian.net/wiki/spaces/UM/pages/3231449089/CSP+Changes+for+Course+Batch+and+RC
Verification Steps after migration:
Check ES course_batch index and TrainingCertificate index to see whether the certificate template cloud url is changed to new csp blob url or cname url.
Also check in postgres V_TrainingCertificate table to see whether the certificate template url is changed to new csp blob url or cname url.
Update system settings values for sunbird
Run the system-setting for setting the sunbird id value and the read the api
Last updated
Was this helpful?