...
Context
This document details about integration points for on how to enable any new CSP provider with Sunbird-Knowledge platform. (latest as on Dec, 2022. Sunbird-Knowlg release-5.2.0)
...
Sunbird-Knowlg has verified with Azure, AWS and GCP(GCP MediaService integration is pending).
...
for Manage Learn capabilities which is part of Sunbird Ed
Manage Learn capabilities currently support Azure, AWS, OCI and GCP
ML Core Service interacts with cloud storage for upload/download operation:
asset-enrichment
content-publish
qrcode-image-generator
live-node-publisher
knowlg-api-service transforms cloud related metadata (e.g: downloadUrl, appIcon, etc) but doesn't interact with cloud storage.
e.g: the service convert cloud specific path (absolute path) to cloud neutral path (relative path) and vice versa, and all other services(Survey, Projects and Reports) as well as mobile app and portal use these APIs for their needs:
Get Signed URL (To upload assets to cloud)
Get Downloadable URL
In Mongo DB where all the transactions of projects, and observations are stored, only the relative path of the evidences of assets uploaded by users are captured. Bucket and CSP details are provided via config to the ML Core service.
In order to add support for any other cloud storage (e.g: OCIDigital Ocean) under Knowlg components, below steps need to be followed:
...
ml-
...
core-service:
Git Repos:
https://github.com/project-sunbird/knowledge-platform
...