Release - 5.5.0
KN-902: CSP changes
The current iteration of this library has been developed with a primary focus on facilitating operations within the Azure cloud environment. Should you have the intention of expanding its capabilities to encompass additional Cloud Service Providers (CSPs) such as AWS, GCP, or Oracle, I highly recommend referring to the accompanying documentation. This document offers a comprehensive and detailed guide, providing step-by-step instructions and valuable insights on how to successfully extend the library's functionality to these other CSPs, ensuring seamless integration and compatibility.
Install: npm i @email@example.com
Please build and deploy using blow content-editor and content-plugin tags for new CSP changes.
Please build and deploy using blow genric-editor and content-plugin tags for new CSP changes.
At present, all editors are utilizing the default file upload library, which is designed to support the Azure CSP provider. However, if an adopter wishes to extend this library to incorporate new CSPs such as AWS or GCP, the following modifications need to be made in both Editors and Plugins to ensure their functionality:
- 1.The editor anticipates the inclusion of the
providername within the configuration. Please ensure that the provider name is added to the configuration as specified in the readme.md file.
- 2.Update the package.json file with the new version of the File Upload library. It's important to note that the Collection editor relies on the File Upload library, so this update is crucial.
- 3.In order to incorporate the new version of the File Upload library, make the following changes to the specified plugins, and subsequently perform the build and deployment for both the Content editor and Generic editor. It's essential to replace the mentioned file at the following location:
editor/libs/sunbird-file-upload-library.js, ensuring that the filename remains unchanged.
Set the variables CLOUD_STORE_GROUP_ID, CLOUD_STORE_ARTIFACT_ID and CLOUD_STORE_VERSION with appropriate values in Jenkins, either at the global level or for each individual service in the build job's configuration. For above-mentioned build jobs, configure like as we mentioned below.
This document contains information about the new features and enhancements planned to the Knowlg building block as part of release 5.5.0:
Test Scenarios: NA
In this release, we have published NPM package for the below editor and players web components. These NPM web components can help simplify web development by providing a standardized way to use editors and players in any UI framework, and which can save time and effort eventually.
And also we have introduced a oneclick-installation feature using Terraform,allowing easy provisioning of all services,databases and jobs .The installation process has been optimized to reduce manual configuration steps and simplify setup for new users.
npm i @project-sunbird/sunbird-collection-editor-web-component
npm i @project-sunbird/sunbird-pdf-player-web-component
npm i @project-sunbird/sunbird-video-player-web-component
npm i @project-sunbird/sunbird-epub-player-web-component
Note: All the player angular libraries are updated with angular version 14 and published to npm with version 5.5.0. From the next release, the web component will be the primary export that is recommended way to use the players.
- Terraform scripts have been implemented to automate the provisioning process, ensuring consistent and reliable deployments.
- Terraform variables and templates have been added, providing users with the ability to customize the deployment according to their specific requirements.
Follow the README.md file from the below link for any specific configuration steps or considerations. https://github.com/aimansharief/knowledge-platform/blob/knowlg-oneclick/knowlg-automation/README.md