Skip to content

Latest commit

 

History

History
177 lines (94 loc) · 20.5 KB

release-5.7.0-latest.md

File metadata and controls

177 lines (94 loc) · 20.5 KB

Release - 5.7.0

Hot-fix 5.7.0 (06-05-2024)

  1. Not able to download QR-codes from published collection. KN-1057
ComponentService to be BuildTagDeploy JobDeployment TagComment
Knowledge-platformBuild/Core/Contentrelease-5.7.0_RC11Deploy/Kubernetes/Contentrelease-5.6.0-knowlg_RC1
Knowledge-platform-jobsBuild/KnowledgePlatform/FlinkJobsrelease-5.7.0_RC3Deploy/KnowledgePlatform/FlinkJobsrelease-5.7.0_RC4Jobs to be deployed:
1. post-publish-processor

Hot-fix 5.7.0 (17-04-2024)

  1. Removing inQuiry schemas from Knowlg repo (IQ-750)

Release Tags:

ComponentService to be BuildTagDeploy JobDeployment TagComment
Schema uploadNANADeploy/Kubernetes/UploadSchemarelease-5.7.0_RC9

Hot-fix 5.7.0 (20-03-2024)

Bug:

  1. cloud storage SDK values pass in build time in search-service: KN-1033
  2. Question & Question Set objects image nodes issue

Release Tags:

API Services:

ComponentService to be BuildTagDeploy JobDeployment TagComment
Search-serviceBuild/Core/searchrelease-5.7.0_RC8Deploy/Kubernetes/Searchrelease-5.6.0-knowlg_RC1Deploy Tag is given for reference only. Please do not use directly for deployment.

Hot-fix 5.7.0 (07-03-2024)

Bugs:

  1. CLONE - Imported Questionset is not playing in staging - IQ-682

Release Tags:

API Services:

ComponentService to be BuildTagDeploy JobDeployment TagComment
Knowledge-platform-jobsBuild/KnowledgePlatform/FlinkJobsrelease-5.7.0_RC2Deploy/KnowledgePlatform/FlinkJobsrelease-5.5.0_RC1Jobs to be deployed:
1. auto-creator-v2

Hot-fix 5.7.0 (27-02-2024)

Bugs:

  1. CLONE - New framework category values are not getting saved while creating resource content - KN-972

Release Tags:

API Services:

ComponentService to be BuildTagDeploy JobDeployment TagComment
Knowledge-platform-jobsBuild/KnowledgePlatform/FlinkJobsrelease-5.7.0_RC1Deploy/KnowledgePlatform/FlinkJobsrelease-5.5.0_RC1Jobs to be deployed:
1. content-publish

Sunbird Content Editor:

Please build and deploy using blow content-editor and content-plugin tags for above bug fix.

Content Editor:

Tag: release-5.2.1_RC4

Content Plugins:

Tag: release-5.2.1_RC4

Hot-fix 5.7.0 (14-02-2024)

Bugs:

  1. Portal: When content creator TN tried to save course, its throwing error "Something went wrong" -KN-973
  2. [Mobile][SSO]: After accepting the Global Consent pop up, the user navigates to the 'Edit Profile' screen, where the user is unable to select the fields. - KN-974
ComponentService to be BuildTagDeploy JobDeployment TagComment
Knowledge-platformBuild/Core/Contentrelease-5.7.0_RC7Deploy/Kubernetes/Contentrelease-5.6.0-knowlg_RC1
Build/Core/Taxonomyrelease-5.7.0_RC7Deploy/Kubernetes/Taxonomyrelease-5.6.0-knowlg_RC1

Configurations:

As part of this release, we moved retire API to content service. So, please update/add below kafka topic as a configuration.

kafka.topics.graph.event = "<ENV>.learning.graph.events"

Example: dev.knowlg.learning.graph.events

Hot-fix 5.7.0 (12-02-2024)

Bugs:

  1. Configured Category values are not coming for the Draft and Published Text Book - KN-966
  2. [SHALLOW COPY]: User is able to delete the Shallow copy created book where user should not be able to delete the Book. - KN-970
ComponentService to be BuildTagDeploy JobDeployment TagComment
Knowledge-platformBuild/Core/Contentrelease-5.7.0_RC6Deploy/Kubernetes/Contentrelease-5.6.0-knowlg_RC1

5.7.0 (13-09-2023)

Discussion thread: https://github.com/orgs/Sunbird-Knowlg/discussions/146

Release timeline:

Start dateEnd date
Planning phase3-Jul, 202314-Jul, 2023
Sprint 117-Jul, 20234-Aug, 2023
Sprint 27-Aug, 202325-Aug, 2023
PPV28-Aug, 20238-Sept, 2023
Prod13-Sept, 2023 (delayed 2 days)

5.7.0 total scope: Link

Document Release Version

ProjectRelease VersionDate
Sunbird KnowlgR5.7.013-Sept, 2023

1. Summary of the changes

This document contains information about the new features and enhancements planned to the Knowlg building block as part of release 5.7.0:

Enhancements: Click here to view the list. (CSP changes was Hotfix taken as part of previous release, ticket updated for this release)

Bug Fixes - click here to see the list of bugs fixed in this release.

Test Scenarios: NA

Following are the Planned Tickets of R 5.7.0

New Features:

None

Enhancements / Technical tasks::

S.noJIRA IDDescription
1KN-502Learning service deprecation
2KN-920Knowlg: CSP changes
3KN-906Refresh Lock API refactoring
4KN-907Retire Lock API refactoring
5KN-908List Lock API refactoring
6KN-880Create Lock API refactoring

Release Tags:

Upgrade Knowlg From 5.6.0 to 5.7.0

API Services:

ComponentService to be BuildTagDeploy JobDeployment TagComment
Schema uploadNANADeploy/Kubernetes/UploadSchemarelease-5.7.0_RC4
Knowledge-platformBuild/Core/Contentrelease-5.7.0_RC4Deploy/Kubernetes/Contentrelease-5.6.0-knowlg_RC1
Build/Core/Taxonomyrelease-5.7.0_RC4Deploy/Kubernetes/Taxonomyrelease-5.6.0-knowlg_RC1

user-pii-data-updater:

We can utilize the Flink job created by the inquiry team to update user PII data in Knowlg, along with the necessary configuration changes. The details are provided below for your reference:

Component Service to be Build Tag Deploy Job Deployment Tag Comment
Flink Job Build/job/KnowledgePlatform/job/InquiryFlinkJob release-7.0.0_RC3 Deploy/job/dev/job/KnowledgePlatform/job/InquiryFlinkJob/ release-7.0.0_RC3

A New Flink Job user-pii-data-updater is added. This job is used to cleanup Personal Identifiable Information (PII) of deleted user from Asset metadata. (e.g: Content/Collection metadata).
This job need pii configuration in each target object type configured.
Ref for PII Config Sample: https://github.com/Sunbird-inQuiry/inquiry-api-service/blob/1e57d014004f4c515c50fa8af6fb0d0de6c0cb2d/schemas/question/1.1/config.json#L74
Config File Reference For Above Job:
https://github.com/Sunbird-inQuiry/data-pipeline/blob/2297fe1288654283f586d1802d458f4238c1e3f6/kubernetes/helm_charts/datapipeline_jobs/values.j2#L264

Variables Added For user-pii-data-updater Flink job:

Variable Name Description Default Value
user_pii_updater_kafka_topic_name Input Kafka Topic Name {{ env_name }}.delete.user
user_pii_updater_group Group Name For The Flink Job {{ env_name }}-user-pii-updater-group
user_pii_target_object_types

Target Object Type and Schema Version should be configured as value .
e.g: If you want to process 5 different objects for deleted user, then all 5 object types should be part of this configuration along with corresponding schema versions.

'{ "Content": ["1.0"], "Collection": ["1.0"] }'
user_pii_replacement_value The value which need to be inserted for target pii fields. "Deleted User"
admin_email_notification_enable This falg is used to enable/disable email notification for admin true
user_org_service_base_url Base Url of userorg service for sending notification "http://{{private_ingressgateway_ip}}/userorg"
email_notification_subject Subject Line for Email Notification "User Account Deletion Notification"
email_notification_regards Value For Regards in Email Notification "Team"

NOTE: If any adopter is deploying Knowlg alone, they should extract this specific job from the inQuiry codebase and include the mentioned configurations. Alternatively, if they are using both Knowlg and inQuiry, they only need to update the configuration values for user_pii_target_object_types that encompass both Knowlg and inQuiry objects.

Configuration/Environment variable changes:

In this release, we have deprecated the Sunbird Learning service, including an API that was previously served by this service. We have relocated this API to the Sunbird content service. Consequently, we need to update the Kong file to ensure that the upstream URL for the license validation API (asset/v3/validate) points to the Content service instead of the Learning service.

Breaking changes (The existing features will break the if we don’t do the below actions):

During the upgrade to version 5.7.0, it is essential to ensure that the mentioned services and environments are properly updated. Previously, the APIs mentioned were part of the sunbird-learning-service, but now they have been moved to the content-service without altering the API contract. Additionally, changes have been made to ensure that these APIs are no longer served from the sunbird-learning-service.

Therefore, it is crucial to verify that the necessary updates are implemented correctly for a smooth transition to version 5.7.0.

List of APIs moved to Content Service:

S.NoAPI
1/asset/v3/validate