Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redis cache fixes #161

Open
wants to merge 15 commits into
base: cbrelease-4.0.1
Choose a base branch
from
Open

Redis cache fixes #161

wants to merge 15 commits into from

Conversation

juhiagl8
Copy link

No description provided.

ArpithaSureshappa added a commit to ArpithaSureshappa/sunbird-cb-ext that referenced this pull request Dec 30, 2024
* 4.8.18 dev v5 (sunbird-cb#146)

* commiting for file uploading and downloading cios logs (sunbird-cb#142)

* commiting for file uploading and downloading cios logs

* commiting for deleting temp file directly in download api.

* "Resolved Security Hotspots by adding proper logging" (sunbird-cb#145)

* "Resolved Security Hotspots by adding proper logging"

* "Resolved bugs raised by SonarQube"

* "Resolved bugs raised by SonarQube"

---------

Co-authored-by: pathiktarento1089 <123535830+pathiktarento1089@users.noreply.github.com>
Co-authored-by: vikrantbipin <118338417+vikrantbipin@users.noreply.github.com>

* 4.8.18 merged (sunbird-cb#148)

* 4.8.17 dev v5 (sunbird-cb#44)

* KB-6678 - if assessment is submitted without selecting any option then same questions are repeating in each attempt (in question weightage)

1. Getting NaN if both correct and incorrect are 0 , So added a check.

* added api for to show V6 competencies (sunbird-cb#40)

* added api for to show V6 competencies

* worked on code review comments

* worked on code review comments

* Update application.properties removed spaces between the values

---------

Co-authored-by: anilkumar <anilkumar.kammlapalli@tarento.com>

---------

Co-authored-by: SaipradeepR <53404427+SaipradeepR@users.noreply.github.com>
Co-authored-by: tarentomaheshvakkund <139739142+tarentomaheshvakkund@users.noreply.github.com>
Co-authored-by: anilkumarkammalapalli <121931293+anilkumarkammalapalli@users.noreply.github.com>
Co-authored-by: anilkumar <anilkumar.kammlapalli@tarento.com>

* public link generation and calling email sending api

* public link generation and calling email sending api (sunbird-cb#112)

* convertToPng code added

* png and email encryption method added (sunbird-cb#114)

* public link generation and calling email sending api

* convertToPng code added

* pull from upstream

* Cbrelease 4.8.17 (sunbird-cb#115)

* public link generation and calling email sending api

* convertToPng code added

* pull from upstream

* svg issue resolved

* svg issue resolved (sunbird-cb#118)

* public link generation and calling email sending api

* convertToPng code added

* pull from upstream

* svg issue resolved

* 4.8.17 report fix (sunbird-cb#107)

* Adding impl for report download (sunbird-cb#101)

* 4.8.17 mdo report fix (sunbird-cb#105)

* Adding impl for report download

* Adding impl for report download

* Adding impl for report download (sunbird-cb#106)

* upload issue resolved

* Cbrelease 4.8.17 (sunbird-cb#119)

* public link generation and calling email sending api

* convertToPng code added

* pull from upstream

* svg issue resolved

* upload issue resolved

* certificateId hardCode removed

* CertificateId hard code removed (sunbird-cb#120)

* public link generation and calling email sending api

* convertToPng code added

* pull from upstream

* svg issue resolved

* upload issue resolved

* certificateId hardCode removed

* producer code added

* producer code added

* MAde the impl changes for pdf generator (sunbird-cb#122)

* Remove unused impl and adding null check (sunbird-cb#123)

* Remove unused impl and update the check (sunbird-cb#124)

* Remove unused impl (sunbird-cb#125)

* Update the property (sunbird-cb#126)

* Adding the impl changes for pdf issue (sunbird-cb#127)

* Added the check for the kafka event process

* Integerating content progress update along with assessment submit API - KAR-788 (sunbird-cb#129) (sunbird-cb#133)

Co-authored-by: sreerag-tarento <sreerag.sajeesh@tarento.com>

* Integerating content progress API with all v4,v5 & v6 version of assessment submit API - KAR-788 (sunbird-cb#135) (sunbird-cb#139)

* Integerating content progress update along with assessment submit API - KAR-788

* Integerating content progress APi with all v4,v5 & v6 version of assessment submit API

Co-authored-by: sreerag-tarento <sreerag.sajeesh@tarento.com>

* Fixed build issues

* Creating v2 API to fetch l1, l2 child from postgres (sunbird-cb#147)

---------

Co-authored-by: Karthikeyan Rajendran <70887864+karthik-tarento@users.noreply.github.com>
Co-authored-by: SaipradeepR <53404427+SaipradeepR@users.noreply.github.com>
Co-authored-by: tarentomaheshvakkund <139739142+tarentomaheshvakkund@users.noreply.github.com>
Co-authored-by: anilkumarkammalapalli <121931293+anilkumarkammalapalli@users.noreply.github.com>
Co-authored-by: anilkumar <anilkumar.kammlapalli@tarento.com>
Co-authored-by: arpithasureshappa <arpitha.sureshappa@tarento.com>
Co-authored-by: Sharath Prasad <sharaths.kashyap@gmail.com>
Co-authored-by: sreerag-tarento <sreerag.sajeesh@tarento.com>
Co-authored-by: karthik-tarento <karthikeyan.rajendran@tarento.com>

* For ticket https://karmayogibharat.atlassian.net/browse/KAR-818 (sunbird-cb#149)

* 4.8.18 merged v1 (sunbird-cb#151)

* 4.8.17 dev v5 (sunbird-cb#44)

* KB-6678 - if assessment is submitted without selecting any option then same questions are repeating in each attempt (in question weightage)

1. Getting NaN if both correct and incorrect are 0 , So added a check.

* added api for to show V6 competencies (sunbird-cb#40)

* added api for to show V6 competencies

* worked on code review comments

* worked on code review comments

* Update application.properties removed spaces between the values

---------

Co-authored-by: anilkumar <anilkumar.kammlapalli@tarento.com>

---------

Co-authored-by: SaipradeepR <53404427+SaipradeepR@users.noreply.github.com>
Co-authored-by: tarentomaheshvakkund <139739142+tarentomaheshvakkund@users.noreply.github.com>
Co-authored-by: anilkumarkammalapalli <121931293+anilkumarkammalapalli@users.noreply.github.com>
Co-authored-by: anilkumar <anilkumar.kammlapalli@tarento.com>

* public link generation and calling email sending api

* public link generation and calling email sending api (sunbird-cb#112)

* convertToPng code added

* png and email encryption method added (sunbird-cb#114)

* public link generation and calling email sending api

* convertToPng code added

* pull from upstream

* Cbrelease 4.8.17 (sunbird-cb#115)

* public link generation and calling email sending api

* convertToPng code added

* pull from upstream

* svg issue resolved

* svg issue resolved (sunbird-cb#118)

* public link generation and calling email sending api

* convertToPng code added

* pull from upstream

* svg issue resolved

* 4.8.17 report fix (sunbird-cb#107)

* Adding impl for report download (sunbird-cb#101)

* 4.8.17 mdo report fix (sunbird-cb#105)

* Adding impl for report download

* Adding impl for report download

* Adding impl for report download (sunbird-cb#106)

* upload issue resolved

* Cbrelease 4.8.17 (sunbird-cb#119)

* public link generation and calling email sending api

* convertToPng code added

* pull from upstream

* svg issue resolved

* upload issue resolved

* certificateId hardCode removed

* CertificateId hard code removed (sunbird-cb#120)

* public link generation and calling email sending api

* convertToPng code added

* pull from upstream

* svg issue resolved

* upload issue resolved

* certificateId hardCode removed

* producer code added

* producer code added

* MAde the impl changes for pdf generator (sunbird-cb#122)

* Remove unused impl and adding null check (sunbird-cb#123)

* Remove unused impl and update the check (sunbird-cb#124)

* Remove unused impl (sunbird-cb#125)

* Update the property (sunbird-cb#126)

* Adding the impl changes for pdf issue (sunbird-cb#127)

* Added the check for the kafka event process

* Integerating content progress update along with assessment submit API - KAR-788 (sunbird-cb#129) (sunbird-cb#133)

Co-authored-by: sreerag-tarento <sreerag.sajeesh@tarento.com>

* Integerating content progress API with all v4,v5 & v6 version of assessment submit API - KAR-788 (sunbird-cb#135) (sunbird-cb#139)

* Integerating content progress update along with assessment submit API - KAR-788

* Integerating content progress APi with all v4,v5 & v6 version of assessment submit API

Co-authored-by: sreerag-tarento <sreerag.sajeesh@tarento.com>

* Fixed build issues

* Creating v2 API to fetch l1, l2 child from postgres (sunbird-cb#147)

* Adding the check for childrenId's (sunbird-cb#150)

---------

Co-authored-by: Karthikeyan Rajendran <70887864+karthik-tarento@users.noreply.github.com>
Co-authored-by: SaipradeepR <53404427+SaipradeepR@users.noreply.github.com>
Co-authored-by: tarentomaheshvakkund <139739142+tarentomaheshvakkund@users.noreply.github.com>
Co-authored-by: anilkumarkammalapalli <121931293+anilkumarkammalapalli@users.noreply.github.com>
Co-authored-by: anilkumar <anilkumar.kammlapalli@tarento.com>
Co-authored-by: arpithasureshappa <arpitha.sureshappa@tarento.com>
Co-authored-by: Sharath Prasad <sharaths.kashyap@gmail.com>
Co-authored-by: sreerag-tarento <sreerag.sajeesh@tarento.com>
Co-authored-by: karthik-tarento <karthikeyan.rajendran@tarento.com>

* 4.8.18 fix bulk upload (sunbird-cb#153)

* Doing the impl changes for User Bulk Upload csv Impl

* Doing the impl changes for User Bulk Upload csv Impl

* Update HallOfFameServiceImpl.java

Added "XS" to National Learning Week

* 4.8.18 dev (sunbird-cb#155)

* "Public User Event Bulk Onboard Feature" (sunbird-cb#152)

* "Public user event bulk onboard - Bug Fix" (sunbird-cb#154)

* "Public user event bulk onboard - Bug Fix"

* Review changes

---------

Co-authored-by: vikrantbipin <118338417+vikrantbipin@users.noreply.github.com>
Co-authored-by: sreerag-tarento <sreerag.sajeesh@tarento.com>

* Added default status,progress and comletion percentage for public event bulk onboard (sunbird-cb#156)

* "Public User Event Bulk Onboard Feature"

* "Public User Event Bulk Onboard Feature-bug fix"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* PublicUserEventBulkOnboard: Added claim event karma points, fixed bugs and enhanced code (sunbird-cb#157)

* "Public User Event Bulk Onboard Feature"

* "Public User Event Bulk Onboard Feature-bug fix"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "PublicUserEventBulkOnboard:Added claim event karma points, fixed bugs and enhanced code"

* "Commented karma points event triggering because  Karma points are generated inside event-cert generator flink job"

* Claim karma point event and corrected ets time (sunbird-cb#158)

* "Public User Event Bulk Onboard Feature"

* "Public User Event Bulk Onboard Feature-bug fix"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "PublicUserEventBulkOnboard:Added claim event karma points, fixed bugs and enhanced code"

* "Commented karma points event triggering because  Karma points are generated inside event-cert generator flink job"

* "Claim karma point event and corrected ets time"

* LearnerLeaderBoard API returning empty when no data instead of not-found (sunbird-cb#159)

* added lrc_progressdetails for offline event enrolment (sunbird-cb#160)

* "Public User Event Bulk Onboard Feature"

* "Public User Event Bulk Onboard Feature-bug fix"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "PublicUserEventBulkOnboard:Added claim event karma points, fixed bugs and enhanced code"

* "Commented karma points event triggering because  Karma points are generated inside event-cert generator flink job"

* "Claim karma point event and corrected ets time"

* "added lrc_progressdetails"

* Fixed class cast exception for event duration (sunbird-cb#162)

* "Public User Event Bulk Onboard Feature"

* "Public User Event Bulk Onboard Feature-bug fix"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "PublicUserEventBulkOnboard:Added claim event karma points, fixed bugs and enhanced code"

* "Commented karma points event triggering because  Karma points are generated inside event-cert generator flink job"

* "Claim karma point event and corrected ets time"

* "added lrc_progressdetails"

* "Fixed class cast exception for event duration"

* Corrected karma point event format (sunbird-cb#163)

* "Public User Event Bulk Onboard Feature"

* "Public User Event Bulk Onboard Feature-bug fix"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "PublicUserEventBulkOnboard:Added claim event karma points, fixed bugs and enhanced code"

* "Commented karma points event triggering because  Karma points are generated inside event-cert generator flink job"

* "Claim karma point event and corrected ets time"

* "added lrc_progressdetails"

* "Fixed class cast exception for event duration"

* "Corrected karma point event format"

* Added validation for invalid event details (sunbird-cb#165)

* "Public User Event Bulk Onboard Feature"

* "Public User Event Bulk Onboard Feature-bug fix"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "PublicUserEventBulkOnboard:Added claim event karma points, fixed bugs and enhanced code"

* "Commented karma points event triggering because  Karma points are generated inside event-cert generator flink job"

* "Claim karma point event and corrected ets time"

* "added lrc_progressdetails"

* "Fixed class cast exception for event duration"

* "Corrected karma point event format"

* "Added validation for invalid event details"

* Added condition to update the existing enrollment and trigger the kafka event (sunbird-cb#166)

* "Public User Event Bulk Onboard Feature"

* "Public User Event Bulk Onboard Feature-bug fix"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "PublicUserEventBulkOnboard:Added claim event karma points, fixed bugs and enhanced code"

* "Commented karma points event triggering because  Karma points are generated inside event-cert generator flink job"

* "Claim karma point event and corrected ets time"

* "added lrc_progressdetails"

* "Fixed class cast exception for event duration"

* "Corrected karma point event format"

* "Added validation for invalid event details"

* "Added condition to update the enrollment and trigger the kafka event"

* 4.8.18 dev v8 (sunbird-cb#169)

* Events to be generated based on the data recieved in CSV File. (sunbird-cb#161)

* LearnerLeaderBoard API returning empty when no data instead of not-found

* Events to be generated based on the data recieved in CSV File.

1. If the user have consumed the event more than 180 seconds we need to generate the event  for karma points and certificate generation.
2. Input would be csv file.

---------

Co-authored-by: karthik-tarento <karthikeyan.rajendran@tarento.com>

* worked on user event consumption (sunbird-cb#164)

* worked on user event consumption

* worked on code review comments

---------

Co-authored-by: anilkumar <anilkumar.kammlapalli@tarento.com>

* removed date from csv (sunbird-cb#168)

Co-authored-by: anilkumar <anilkumar.kammlapalli@tarento.com>

---------

Co-authored-by: tarentomaheshvakkund <139739142+tarentomaheshvakkund@users.noreply.github.com>
Co-authored-by: anilkumarkammalapalli <121931293+anilkumarkammalapalli@users.noreply.github.com>
Co-authored-by: anilkumar <anilkumar.kammlapalli@tarento.com>

* Added comments for user event enrolment updates

* User event enrolment: fixed typo in event message

* Fix for updating completedOn column value

* Created new APIs to fetch status of offline event bulkonboard and download the processed csv file (sunbird-cb#170)

* "Public User Event Bulk Onboard Feature"

* "Public User Event Bulk Onboard Feature-bug fix"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "PublicUserEventBulkOnboard:Added claim event karma points, fixed bugs and enhanced code"

* "Commented karma points event triggering because  Karma points are generated inside event-cert generator flink job"

* "Claim karma point event and corrected ets time"

* "added lrc_progressdetails"

* "Fixed class cast exception for event duration"

* "Corrected karma point event format"

* "Added validation for invalid event details"

* "Added condition to update the enrollment and trigger the kafka event"

* "Created new APIs to fetch status of offline event bulkonboard and download the processed csv file"

* Updated logic for event cert generation script

* Handling invalid records

* Reading event duration from event_batch table

* Added max_size while updating record

* Handling completed user event enrolment in script

* Added condition to skip status 0

* Added parsing for edge cases

* Added API to update event enrolment status value

* Updated code to check issueCertificates

* Updated code to check issueCertificates

* Updated code to check issueCertificates

---------

Co-authored-by: Karthikeyan Rajendran <70887864+karthik-tarento@users.noreply.github.com>
Co-authored-by: pathiktarento1089 <123535830+pathiktarento1089@users.noreply.github.com>
Co-authored-by: vikrantbipin <118338417+vikrantbipin@users.noreply.github.com>
Co-authored-by: SaipradeepR <53404427+SaipradeepR@users.noreply.github.com>
Co-authored-by: tarentomaheshvakkund <139739142+tarentomaheshvakkund@users.noreply.github.com>
Co-authored-by: anilkumarkammalapalli <121931293+anilkumarkammalapalli@users.noreply.github.com>
Co-authored-by: anilkumar <anilkumar.kammlapalli@tarento.com>
Co-authored-by: arpithasureshappa <arpitha.sureshappa@tarento.com>
Co-authored-by: Sharath Prasad <sharaths.kashyap@gmail.com>
Co-authored-by: sreerag-tarento <sreerag.sajeesh@tarento.com>
Co-authored-by: karthik-tarento <karthikeyan.rajendran@tarento.com>
Co-authored-by: sureshece16 <80331286+sureshece16@users.noreply.github.com>
ArpithaSureshappa added a commit to ArpithaSureshappa/sunbird-cb-ext that referenced this pull request Dec 30, 2024
* 4.8.19 fix org designation (sunbird-cb#173)

* Cbrelease 4.8.18 (sunbird-cb#171)

* 4.8.18 dev v5 (sunbird-cb#146)

* commiting for file uploading and downloading cios logs (sunbird-cb#142)

* commiting for file uploading and downloading cios logs

* commiting for deleting temp file directly in download api.

* "Resolved Security Hotspots by adding proper logging" (sunbird-cb#145)

* "Resolved Security Hotspots by adding proper logging"

* "Resolved bugs raised by SonarQube"

* "Resolved bugs raised by SonarQube"

---------

Co-authored-by: pathiktarento1089 <123535830+pathiktarento1089@users.noreply.github.com>
Co-authored-by: vikrantbipin <118338417+vikrantbipin@users.noreply.github.com>

* 4.8.18 merged (sunbird-cb#148)

* 4.8.17 dev v5 (sunbird-cb#44)

* KB-6678 - if assessment is submitted without selecting any option then same questions are repeating in each attempt (in question weightage)

1. Getting NaN if both correct and incorrect are 0 , So added a check.

* added api for to show V6 competencies (sunbird-cb#40)

* added api for to show V6 competencies

* worked on code review comments

* worked on code review comments

* Update application.properties removed spaces between the values

---------

Co-authored-by: anilkumar <anilkumar.kammlapalli@tarento.com>

---------

Co-authored-by: SaipradeepR <53404427+SaipradeepR@users.noreply.github.com>
Co-authored-by: tarentomaheshvakkund <139739142+tarentomaheshvakkund@users.noreply.github.com>
Co-authored-by: anilkumarkammalapalli <121931293+anilkumarkammalapalli@users.noreply.github.com>
Co-authored-by: anilkumar <anilkumar.kammlapalli@tarento.com>

* public link generation and calling email sending api

* public link generation and calling email sending api (sunbird-cb#112)

* convertToPng code added

* png and email encryption method added (sunbird-cb#114)

* public link generation and calling email sending api

* convertToPng code added

* pull from upstream

* Cbrelease 4.8.17 (sunbird-cb#115)

* public link generation and calling email sending api

* convertToPng code added

* pull from upstream

* svg issue resolved

* svg issue resolved (sunbird-cb#118)

* public link generation and calling email sending api

* convertToPng code added

* pull from upstream

* svg issue resolved

* 4.8.17 report fix (sunbird-cb#107)

* Adding impl for report download (sunbird-cb#101)

* 4.8.17 mdo report fix (sunbird-cb#105)

* Adding impl for report download

* Adding impl for report download

* Adding impl for report download (sunbird-cb#106)

* upload issue resolved

* Cbrelease 4.8.17 (sunbird-cb#119)

* public link generation and calling email sending api

* convertToPng code added

* pull from upstream

* svg issue resolved

* upload issue resolved

* certificateId hardCode removed

* CertificateId hard code removed (sunbird-cb#120)

* public link generation and calling email sending api

* convertToPng code added

* pull from upstream

* svg issue resolved

* upload issue resolved

* certificateId hardCode removed

* producer code added

* producer code added

* MAde the impl changes for pdf generator (sunbird-cb#122)

* Remove unused impl and adding null check (sunbird-cb#123)

* Remove unused impl and update the check (sunbird-cb#124)

* Remove unused impl (sunbird-cb#125)

* Update the property (sunbird-cb#126)

* Adding the impl changes for pdf issue (sunbird-cb#127)

* Added the check for the kafka event process

* Integerating content progress update along with assessment submit API - KAR-788 (sunbird-cb#129) (sunbird-cb#133)

Co-authored-by: sreerag-tarento <sreerag.sajeesh@tarento.com>

* Integerating content progress API with all v4,v5 & v6 version of assessment submit API - KAR-788 (sunbird-cb#135) (sunbird-cb#139)

* Integerating content progress update along with assessment submit API - KAR-788

* Integerating content progress APi with all v4,v5 & v6 version of assessment submit API

Co-authored-by: sreerag-tarento <sreerag.sajeesh@tarento.com>

* Fixed build issues

* Creating v2 API to fetch l1, l2 child from postgres (sunbird-cb#147)

---------

Co-authored-by: Karthikeyan Rajendran <70887864+karthik-tarento@users.noreply.github.com>
Co-authored-by: SaipradeepR <53404427+SaipradeepR@users.noreply.github.com>
Co-authored-by: tarentomaheshvakkund <139739142+tarentomaheshvakkund@users.noreply.github.com>
Co-authored-by: anilkumarkammalapalli <121931293+anilkumarkammalapalli@users.noreply.github.com>
Co-authored-by: anilkumar <anilkumar.kammlapalli@tarento.com>
Co-authored-by: arpithasureshappa <arpitha.sureshappa@tarento.com>
Co-authored-by: Sharath Prasad <sharaths.kashyap@gmail.com>
Co-authored-by: sreerag-tarento <sreerag.sajeesh@tarento.com>
Co-authored-by: karthik-tarento <karthikeyan.rajendran@tarento.com>

* For ticket https://karmayogibharat.atlassian.net/browse/KAR-818 (sunbird-cb#149)

* 4.8.18 merged v1 (sunbird-cb#151)

* 4.8.17 dev v5 (sunbird-cb#44)

* KB-6678 - if assessment is submitted without selecting any option then same questions are repeating in each attempt (in question weightage)

1. Getting NaN if both correct and incorrect are 0 , So added a check.

* added api for to show V6 competencies (sunbird-cb#40)

* added api for to show V6 competencies

* worked on code review comments

* worked on code review comments

* Update application.properties removed spaces between the values

---------

Co-authored-by: anilkumar <anilkumar.kammlapalli@tarento.com>

---------

Co-authored-by: SaipradeepR <53404427+SaipradeepR@users.noreply.github.com>
Co-authored-by: tarentomaheshvakkund <139739142+tarentomaheshvakkund@users.noreply.github.com>
Co-authored-by: anilkumarkammalapalli <121931293+anilkumarkammalapalli@users.noreply.github.com>
Co-authored-by: anilkumar <anilkumar.kammlapalli@tarento.com>

* public link generation and calling email sending api

* public link generation and calling email sending api (sunbird-cb#112)

* convertToPng code added

* png and email encryption method added (sunbird-cb#114)

* public link generation and calling email sending api

* convertToPng code added

* pull from upstream

* Cbrelease 4.8.17 (sunbird-cb#115)

* public link generation and calling email sending api

* convertToPng code added

* pull from upstream

* svg issue resolved

* svg issue resolved (sunbird-cb#118)

* public link generation and calling email sending api

* convertToPng code added

* pull from upstream

* svg issue resolved

* 4.8.17 report fix (sunbird-cb#107)

* Adding impl for report download (sunbird-cb#101)

* 4.8.17 mdo report fix (sunbird-cb#105)

* Adding impl for report download

* Adding impl for report download

* Adding impl for report download (sunbird-cb#106)

* upload issue resolved

* Cbrelease 4.8.17 (sunbird-cb#119)

* public link generation and calling email sending api

* convertToPng code added

* pull from upstream

* svg issue resolved

* upload issue resolved

* certificateId hardCode removed

* CertificateId hard code removed (sunbird-cb#120)

* public link generation and calling email sending api

* convertToPng code added

* pull from upstream

* svg issue resolved

* upload issue resolved

* certificateId hardCode removed

* producer code added

* producer code added

* MAde the impl changes for pdf generator (sunbird-cb#122)

* Remove unused impl and adding null check (sunbird-cb#123)

* Remove unused impl and update the check (sunbird-cb#124)

* Remove unused impl (sunbird-cb#125)

* Update the property (sunbird-cb#126)

* Adding the impl changes for pdf issue (sunbird-cb#127)

* Added the check for the kafka event process

* Integerating content progress update along with assessment submit API - KAR-788 (sunbird-cb#129) (sunbird-cb#133)

Co-authored-by: sreerag-tarento <sreerag.sajeesh@tarento.com>

* Integerating content progress API with all v4,v5 & v6 version of assessment submit API - KAR-788 (sunbird-cb#135) (sunbird-cb#139)

* Integerating content progress update along with assessment submit API - KAR-788

* Integerating content progress APi with all v4,v5 & v6 version of assessment submit API

Co-authored-by: sreerag-tarento <sreerag.sajeesh@tarento.com>

* Fixed build issues

* Creating v2 API to fetch l1, l2 child from postgres (sunbird-cb#147)

* Adding the check for childrenId's (sunbird-cb#150)

---------

Co-authored-by: Karthikeyan Rajendran <70887864+karthik-tarento@users.noreply.github.com>
Co-authored-by: SaipradeepR <53404427+SaipradeepR@users.noreply.github.com>
Co-authored-by: tarentomaheshvakkund <139739142+tarentomaheshvakkund@users.noreply.github.com>
Co-authored-by: anilkumarkammalapalli <121931293+anilkumarkammalapalli@users.noreply.github.com>
Co-authored-by: anilkumar <anilkumar.kammlapalli@tarento.com>
Co-authored-by: arpithasureshappa <arpitha.sureshappa@tarento.com>
Co-authored-by: Sharath Prasad <sharaths.kashyap@gmail.com>
Co-authored-by: sreerag-tarento <sreerag.sajeesh@tarento.com>
Co-authored-by: karthik-tarento <karthikeyan.rajendran@tarento.com>

* 4.8.18 fix bulk upload (sunbird-cb#153)

* Doing the impl changes for User Bulk Upload csv Impl

* Doing the impl changes for User Bulk Upload csv Impl

* Update HallOfFameServiceImpl.java

Added "XS" to National Learning Week

* 4.8.18 dev (sunbird-cb#155)

* "Public User Event Bulk Onboard Feature" (sunbird-cb#152)

* "Public user event bulk onboard - Bug Fix" (sunbird-cb#154)

* "Public user event bulk onboard - Bug Fix"

* Review changes

---------

Co-authored-by: vikrantbipin <118338417+vikrantbipin@users.noreply.github.com>
Co-authored-by: sreerag-tarento <sreerag.sajeesh@tarento.com>

* Added default status,progress and comletion percentage for public event bulk onboard (sunbird-cb#156)

* "Public User Event Bulk Onboard Feature"

* "Public User Event Bulk Onboard Feature-bug fix"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* PublicUserEventBulkOnboard: Added claim event karma points, fixed bugs and enhanced code (sunbird-cb#157)

* "Public User Event Bulk Onboard Feature"

* "Public User Event Bulk Onboard Feature-bug fix"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "PublicUserEventBulkOnboard:Added claim event karma points, fixed bugs and enhanced code"

* "Commented karma points event triggering because  Karma points are generated inside event-cert generator flink job"

* Claim karma point event and corrected ets time (sunbird-cb#158)

* "Public User Event Bulk Onboard Feature"

* "Public User Event Bulk Onboard Feature-bug fix"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "PublicUserEventBulkOnboard:Added claim event karma points, fixed bugs and enhanced code"

* "Commented karma points event triggering because  Karma points are generated inside event-cert generator flink job"

* "Claim karma point event and corrected ets time"

* LearnerLeaderBoard API returning empty when no data instead of not-found (sunbird-cb#159)

* added lrc_progressdetails for offline event enrolment (sunbird-cb#160)

* "Public User Event Bulk Onboard Feature"

* "Public User Event Bulk Onboard Feature-bug fix"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "PublicUserEventBulkOnboard:Added claim event karma points, fixed bugs and enhanced code"

* "Commented karma points event triggering because  Karma points are generated inside event-cert generator flink job"

* "Claim karma point event and corrected ets time"

* "added lrc_progressdetails"

* Fixed class cast exception for event duration (sunbird-cb#162)

* "Public User Event Bulk Onboard Feature"

* "Public User Event Bulk Onboard Feature-bug fix"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "PublicUserEventBulkOnboard:Added claim event karma points, fixed bugs and enhanced code"

* "Commented karma points event triggering because  Karma points are generated inside event-cert generator flink job"

* "Claim karma point event and corrected ets time"

* "added lrc_progressdetails"

* "Fixed class cast exception for event duration"

* Corrected karma point event format (sunbird-cb#163)

* "Public User Event Bulk Onboard Feature"

* "Public User Event Bulk Onboard Feature-bug fix"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "PublicUserEventBulkOnboard:Added claim event karma points, fixed bugs and enhanced code"

* "Commented karma points event triggering because  Karma points are generated inside event-cert generator flink job"

* "Claim karma point event and corrected ets time"

* "added lrc_progressdetails"

* "Fixed class cast exception for event duration"

* "Corrected karma point event format"

* Added validation for invalid event details (sunbird-cb#165)

* "Public User Event Bulk Onboard Feature"

* "Public User Event Bulk Onboard Feature-bug fix"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "PublicUserEventBulkOnboard:Added claim event karma points, fixed bugs and enhanced code"

* "Commented karma points event triggering because  Karma points are generated inside event-cert generator flink job"

* "Claim karma point event and corrected ets time"

* "added lrc_progressdetails"

* "Fixed class cast exception for event duration"

* "Corrected karma point event format"

* "Added validation for invalid event details"

* Added condition to update the existing enrollment and trigger the kafka event (sunbird-cb#166)

* "Public User Event Bulk Onboard Feature"

* "Public User Event Bulk Onboard Feature-bug fix"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "PublicUserEventBulkOnboard:Added claim event karma points, fixed bugs and enhanced code"

* "Commented karma points event triggering because  Karma points are generated inside event-cert generator flink job"

* "Claim karma point event and corrected ets time"

* "added lrc_progressdetails"

* "Fixed class cast exception for event duration"

* "Corrected karma point event format"

* "Added validation for invalid event details"

* "Added condition to update the enrollment and trigger the kafka event"

* 4.8.18 dev v8 (sunbird-cb#169)

* Events to be generated based on the data recieved in CSV File. (sunbird-cb#161)

* LearnerLeaderBoard API returning empty when no data instead of not-found

* Events to be generated based on the data recieved in CSV File.

1. If the user have consumed the event more than 180 seconds we need to generate the event  for karma points and certificate generation.
2. Input would be csv file.

---------

Co-authored-by: karthik-tarento <karthikeyan.rajendran@tarento.com>

* worked on user event consumption (sunbird-cb#164)

* worked on user event consumption

* worked on code review comments

---------

Co-authored-by: anilkumar <anilkumar.kammlapalli@tarento.com>

* removed date from csv (sunbird-cb#168)

Co-authored-by: anilkumar <anilkumar.kammlapalli@tarento.com>

---------

Co-authored-by: tarentomaheshvakkund <139739142+tarentomaheshvakkund@users.noreply.github.com>
Co-authored-by: anilkumarkammalapalli <121931293+anilkumarkammalapalli@users.noreply.github.com>
Co-authored-by: anilkumar <anilkumar.kammlapalli@tarento.com>

* Added comments for user event enrolment updates

* User event enrolment: fixed typo in event message

* Fix for updating completedOn column value

* Created new APIs to fetch status of offline event bulkonboard and download the processed csv file (sunbird-cb#170)

* "Public User Event Bulk Onboard Feature"

* "Public User Event Bulk Onboard Feature-bug fix"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "PublicUserEventBulkOnboard:Added claim event karma points, fixed bugs and enhanced code"

* "Commented karma points event triggering because  Karma points are generated inside event-cert generator flink job"

* "Claim karma point event and corrected ets time"

* "added lrc_progressdetails"

* "Fixed class cast exception for event duration"

* "Corrected karma point event format"

* "Added validation for invalid event details"

* "Added condition to update the enrollment and trigger the kafka event"

* "Created new APIs to fetch status of offline event bulkonboard and download the processed csv file"

* Updated logic for event cert generation script

* Handling invalid records

* Reading event duration from event_batch table

* Added max_size while updating record

* Handling completed user event enrolment in script

* Added condition to skip status 0

* Added parsing for edge cases

* Added API to update event enrolment status value

* Updated code to check issueCertificates

* Updated code to check issueCertificates

* Updated code to check issueCertificates

---------

Co-authored-by: Karthikeyan Rajendran <70887864+karthik-tarento@users.noreply.github.com>
Co-authored-by: pathiktarento1089 <123535830+pathiktarento1089@users.noreply.github.com>
Co-authored-by: vikrantbipin <118338417+vikrantbipin@users.noreply.github.com>
Co-authored-by: SaipradeepR <53404427+SaipradeepR@users.noreply.github.com>
Co-authored-by: tarentomaheshvakkund <139739142+tarentomaheshvakkund@users.noreply.github.com>
Co-authored-by: anilkumarkammalapalli <121931293+anilkumarkammalapalli@users.noreply.github.com>
Co-authored-by: anilkumar <anilkumar.kammlapalli@tarento.com>
Co-authored-by: arpithasureshappa <arpitha.sureshappa@tarento.com>
Co-authored-by: Sharath Prasad <sharaths.kashyap@gmail.com>
Co-authored-by: sreerag-tarento <sreerag.sajeesh@tarento.com>
Co-authored-by: karthik-tarento <karthikeyan.rajendran@tarento.com>
Co-authored-by: sureshece16 <80331286+sureshece16@users.noreply.github.com>

* Update the orgDesignation Bug Fixes

---------

Co-authored-by: Karthikeyan Rajendran <70887864+karthik-tarento@users.noreply.github.com>
Co-authored-by: pathiktarento1089 <123535830+pathiktarento1089@users.noreply.github.com>
Co-authored-by: vikrantbipin <118338417+vikrantbipin@users.noreply.github.com>
Co-authored-by: SaipradeepR <53404427+SaipradeepR@users.noreply.github.com>
Co-authored-by: tarentomaheshvakkund <139739142+tarentomaheshvakkund@users.noreply.github.com>
Co-authored-by: anilkumarkammalapalli <121931293+anilkumarkammalapalli@users.noreply.github.com>
Co-authored-by: anilkumar <anilkumar.kammlapalli@tarento.com>
Co-authored-by: arpithasureshappa <arpitha.sureshappa@tarento.com>
Co-authored-by: Sharath Prasad <sharaths.kashyap@gmail.com>
Co-authored-by: sreerag-tarento <sreerag.sajeesh@tarento.com>
Co-authored-by: karthik-tarento <karthikeyan.rajendran@tarento.com>
Co-authored-by: sureshece16 <80331286+sureshece16@users.noreply.github.com>

* Revert "4.8.19 fix org designation (sunbird-cb#173)" (sunbird-cb#174)

This reverts commit 40f54b0.

* 4.8.19 dev fix1 (sunbird-cb#175)

* Update the orgDesignation Bug Fixes

* Update the orgDesignation Bug Fixes

* Update the orgDesignation Bug Fixes (sunbird-cb#176)

---------

Co-authored-by: Karthikeyan Rajendran <70887864+karthik-tarento@users.noreply.github.com>
Co-authored-by: pathiktarento1089 <123535830+pathiktarento1089@users.noreply.github.com>
Co-authored-by: vikrantbipin <118338417+vikrantbipin@users.noreply.github.com>
Co-authored-by: SaipradeepR <53404427+SaipradeepR@users.noreply.github.com>
Co-authored-by: tarentomaheshvakkund <139739142+tarentomaheshvakkund@users.noreply.github.com>
Co-authored-by: anilkumarkammalapalli <121931293+anilkumarkammalapalli@users.noreply.github.com>
Co-authored-by: anilkumar <anilkumar.kammlapalli@tarento.com>
Co-authored-by: arpithasureshappa <arpitha.sureshappa@tarento.com>
Co-authored-by: Sharath Prasad <sharaths.kashyap@gmail.com>
Co-authored-by: sreerag-tarento <sreerag.sajeesh@tarento.com>
Co-authored-by: karthik-tarento <karthikeyan.rajendran@tarento.com>
Co-authored-by: sureshece16 <80331286+sureshece16@users.noreply.github.com>
ArpithaSureshappa added a commit to ArpithaSureshappa/sunbird-cb-ext that referenced this pull request Dec 30, 2024
* 4.8.18 dev v5 (sunbird-cb#146)

* commiting for file uploading and downloading cios logs (sunbird-cb#142)

* commiting for file uploading and downloading cios logs

* commiting for deleting temp file directly in download api.

* "Resolved Security Hotspots by adding proper logging" (sunbird-cb#145)

* "Resolved Security Hotspots by adding proper logging"

* "Resolved bugs raised by SonarQube"

* "Resolved bugs raised by SonarQube"

---------

Co-authored-by: pathiktarento1089 <123535830+pathiktarento1089@users.noreply.github.com>
Co-authored-by: vikrantbipin <118338417+vikrantbipin@users.noreply.github.com>

* 4.8.18 merged (sunbird-cb#148)

* 4.8.17 dev v5 (sunbird-cb#44)

* KB-6678 - if assessment is submitted without selecting any option then same questions are repeating in each attempt (in question weightage)

1. Getting NaN if both correct and incorrect are 0 , So added a check.

* added api for to show V6 competencies (sunbird-cb#40)

* added api for to show V6 competencies

* worked on code review comments

* worked on code review comments

* Update application.properties removed spaces between the values

---------

Co-authored-by: anilkumar <anilkumar.kammlapalli@tarento.com>

---------

Co-authored-by: SaipradeepR <53404427+SaipradeepR@users.noreply.github.com>
Co-authored-by: tarentomaheshvakkund <139739142+tarentomaheshvakkund@users.noreply.github.com>
Co-authored-by: anilkumarkammalapalli <121931293+anilkumarkammalapalli@users.noreply.github.com>
Co-authored-by: anilkumar <anilkumar.kammlapalli@tarento.com>

* public link generation and calling email sending api

* public link generation and calling email sending api (sunbird-cb#112)

* convertToPng code added

* png and email encryption method added (sunbird-cb#114)

* public link generation and calling email sending api

* convertToPng code added

* pull from upstream

* Cbrelease 4.8.17 (sunbird-cb#115)

* public link generation and calling email sending api

* convertToPng code added

* pull from upstream

* svg issue resolved

* svg issue resolved (sunbird-cb#118)

* public link generation and calling email sending api

* convertToPng code added

* pull from upstream

* svg issue resolved

* 4.8.17 report fix (sunbird-cb#107)

* Adding impl for report download (sunbird-cb#101)

* 4.8.17 mdo report fix (sunbird-cb#105)

* Adding impl for report download

* Adding impl for report download

* Adding impl for report download (sunbird-cb#106)

* upload issue resolved

* Cbrelease 4.8.17 (sunbird-cb#119)

* public link generation and calling email sending api

* convertToPng code added

* pull from upstream

* svg issue resolved

* upload issue resolved

* certificateId hardCode removed

* CertificateId hard code removed (sunbird-cb#120)

* public link generation and calling email sending api

* convertToPng code added

* pull from upstream

* svg issue resolved

* upload issue resolved

* certificateId hardCode removed

* producer code added

* producer code added

* MAde the impl changes for pdf generator (sunbird-cb#122)

* Remove unused impl and adding null check (sunbird-cb#123)

* Remove unused impl and update the check (sunbird-cb#124)

* Remove unused impl (sunbird-cb#125)

* Update the property (sunbird-cb#126)

* Adding the impl changes for pdf issue (sunbird-cb#127)

* Added the check for the kafka event process

* Integerating content progress update along with assessment submit API - KAR-788 (sunbird-cb#129) (sunbird-cb#133)

Co-authored-by: sreerag-tarento <sreerag.sajeesh@tarento.com>

* Integerating content progress API with all v4,v5 & v6 version of assessment submit API - KAR-788 (sunbird-cb#135) (sunbird-cb#139)

* Integerating content progress update along with assessment submit API - KAR-788

* Integerating content progress APi with all v4,v5 & v6 version of assessment submit API

Co-authored-by: sreerag-tarento <sreerag.sajeesh@tarento.com>

* Fixed build issues

* Creating v2 API to fetch l1, l2 child from postgres (sunbird-cb#147)

---------

Co-authored-by: Karthikeyan Rajendran <70887864+karthik-tarento@users.noreply.github.com>
Co-authored-by: SaipradeepR <53404427+SaipradeepR@users.noreply.github.com>
Co-authored-by: tarentomaheshvakkund <139739142+tarentomaheshvakkund@users.noreply.github.com>
Co-authored-by: anilkumarkammalapalli <121931293+anilkumarkammalapalli@users.noreply.github.com>
Co-authored-by: anilkumar <anilkumar.kammlapalli@tarento.com>
Co-authored-by: arpithasureshappa <arpitha.sureshappa@tarento.com>
Co-authored-by: Sharath Prasad <sharaths.kashyap@gmail.com>
Co-authored-by: sreerag-tarento <sreerag.sajeesh@tarento.com>
Co-authored-by: karthik-tarento <karthikeyan.rajendran@tarento.com>

* For ticket https://karmayogibharat.atlassian.net/browse/KAR-818 (sunbird-cb#149)

* 4.8.18 merged v1 (sunbird-cb#151)

* 4.8.17 dev v5 (sunbird-cb#44)

* KB-6678 - if assessment is submitted without selecting any option then same questions are repeating in each attempt (in question weightage)

1. Getting NaN if both correct and incorrect are 0 , So added a check.

* added api for to show V6 competencies (sunbird-cb#40)

* added api for to show V6 competencies

* worked on code review comments

* worked on code review comments

* Update application.properties removed spaces between the values

---------

Co-authored-by: anilkumar <anilkumar.kammlapalli@tarento.com>

---------

Co-authored-by: SaipradeepR <53404427+SaipradeepR@users.noreply.github.com>
Co-authored-by: tarentomaheshvakkund <139739142+tarentomaheshvakkund@users.noreply.github.com>
Co-authored-by: anilkumarkammalapalli <121931293+anilkumarkammalapalli@users.noreply.github.com>
Co-authored-by: anilkumar <anilkumar.kammlapalli@tarento.com>

* public link generation and calling email sending api

* public link generation and calling email sending api (sunbird-cb#112)

* convertToPng code added

* png and email encryption method added (sunbird-cb#114)

* public link generation and calling email sending api

* convertToPng code added

* pull from upstream

* Cbrelease 4.8.17 (sunbird-cb#115)

* public link generation and calling email sending api

* convertToPng code added

* pull from upstream

* svg issue resolved

* svg issue resolved (sunbird-cb#118)

* public link generation and calling email sending api

* convertToPng code added

* pull from upstream

* svg issue resolved

* 4.8.17 report fix (sunbird-cb#107)

* Adding impl for report download (sunbird-cb#101)

* 4.8.17 mdo report fix (sunbird-cb#105)

* Adding impl for report download

* Adding impl for report download

* Adding impl for report download (sunbird-cb#106)

* upload issue resolved

* Cbrelease 4.8.17 (sunbird-cb#119)

* public link generation and calling email sending api

* convertToPng code added

* pull from upstream

* svg issue resolved

* upload issue resolved

* certificateId hardCode removed

* CertificateId hard code removed (sunbird-cb#120)

* public link generation and calling email sending api

* convertToPng code added

* pull from upstream

* svg issue resolved

* upload issue resolved

* certificateId hardCode removed

* producer code added

* producer code added

* MAde the impl changes for pdf generator (sunbird-cb#122)

* Remove unused impl and adding null check (sunbird-cb#123)

* Remove unused impl and update the check (sunbird-cb#124)

* Remove unused impl (sunbird-cb#125)

* Update the property (sunbird-cb#126)

* Adding the impl changes for pdf issue (sunbird-cb#127)

* Added the check for the kafka event process

* Integerating content progress update along with assessment submit API - KAR-788 (sunbird-cb#129) (sunbird-cb#133)

Co-authored-by: sreerag-tarento <sreerag.sajeesh@tarento.com>

* Integerating content progress API with all v4,v5 & v6 version of assessment submit API - KAR-788 (sunbird-cb#135) (sunbird-cb#139)

* Integerating content progress update along with assessment submit API - KAR-788

* Integerating content progress APi with all v4,v5 & v6 version of assessment submit API

Co-authored-by: sreerag-tarento <sreerag.sajeesh@tarento.com>

* Fixed build issues

* Creating v2 API to fetch l1, l2 child from postgres (sunbird-cb#147)

* Adding the check for childrenId's (sunbird-cb#150)

---------

Co-authored-by: Karthikeyan Rajendran <70887864+karthik-tarento@users.noreply.github.com>
Co-authored-by: SaipradeepR <53404427+SaipradeepR@users.noreply.github.com>
Co-authored-by: tarentomaheshvakkund <139739142+tarentomaheshvakkund@users.noreply.github.com>
Co-authored-by: anilkumarkammalapalli <121931293+anilkumarkammalapalli@users.noreply.github.com>
Co-authored-by: anilkumar <anilkumar.kammlapalli@tarento.com>
Co-authored-by: arpithasureshappa <arpitha.sureshappa@tarento.com>
Co-authored-by: Sharath Prasad <sharaths.kashyap@gmail.com>
Co-authored-by: sreerag-tarento <sreerag.sajeesh@tarento.com>
Co-authored-by: karthik-tarento <karthikeyan.rajendran@tarento.com>

* 4.8.18 fix bulk upload (sunbird-cb#153)

* Doing the impl changes for User Bulk Upload csv Impl

* Doing the impl changes for User Bulk Upload csv Impl

* Update HallOfFameServiceImpl.java

Added "XS" to National Learning Week

* 4.8.18 dev (sunbird-cb#155)

* "Public User Event Bulk Onboard Feature" (sunbird-cb#152)

* "Public user event bulk onboard - Bug Fix" (sunbird-cb#154)

* "Public user event bulk onboard - Bug Fix"

* Review changes

---------

Co-authored-by: vikrantbipin <118338417+vikrantbipin@users.noreply.github.com>
Co-authored-by: sreerag-tarento <sreerag.sajeesh@tarento.com>

* Added default status,progress and comletion percentage for public event bulk onboard (sunbird-cb#156)

* "Public User Event Bulk Onboard Feature"

* "Public User Event Bulk Onboard Feature-bug fix"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* PublicUserEventBulkOnboard: Added claim event karma points, fixed bugs and enhanced code (sunbird-cb#157)

* "Public User Event Bulk Onboard Feature"

* "Public User Event Bulk Onboard Feature-bug fix"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "PublicUserEventBulkOnboard:Added claim event karma points, fixed bugs and enhanced code"

* "Commented karma points event triggering because  Karma points are generated inside event-cert generator flink job"

* Claim karma point event and corrected ets time (sunbird-cb#158)

* "Public User Event Bulk Onboard Feature"

* "Public User Event Bulk Onboard Feature-bug fix"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "PublicUserEventBulkOnboard:Added claim event karma points, fixed bugs and enhanced code"

* "Commented karma points event triggering because  Karma points are generated inside event-cert generator flink job"

* "Claim karma point event and corrected ets time"

* LearnerLeaderBoard API returning empty when no data instead of not-found (sunbird-cb#159)

* added lrc_progressdetails for offline event enrolment (sunbird-cb#160)

* "Public User Event Bulk Onboard Feature"

* "Public User Event Bulk Onboard Feature-bug fix"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "PublicUserEventBulkOnboard:Added claim event karma points, fixed bugs and enhanced code"

* "Commented karma points event triggering because  Karma points are generated inside event-cert generator flink job"

* "Claim karma point event and corrected ets time"

* "added lrc_progressdetails"

* Fixed class cast exception for event duration (sunbird-cb#162)

* "Public User Event Bulk Onboard Feature"

* "Public User Event Bulk Onboard Feature-bug fix"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "PublicUserEventBulkOnboard:Added claim event karma points, fixed bugs and enhanced code"

* "Commented karma points event triggering because  Karma points are generated inside event-cert generator flink job"

* "Claim karma point event and corrected ets time"

* "added lrc_progressdetails"

* "Fixed class cast exception for event duration"

* Corrected karma point event format (sunbird-cb#163)

* "Public User Event Bulk Onboard Feature"

* "Public User Event Bulk Onboard Feature-bug fix"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "PublicUserEventBulkOnboard:Added claim event karma points, fixed bugs and enhanced code"

* "Commented karma points event triggering because  Karma points are generated inside event-cert generator flink job"

* "Claim karma point event and corrected ets time"

* "added lrc_progressdetails"

* "Fixed class cast exception for event duration"

* "Corrected karma point event format"

* Added validation for invalid event details (sunbird-cb#165)

* "Public User Event Bulk Onboard Feature"

* "Public User Event Bulk Onboard Feature-bug fix"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "PublicUserEventBulkOnboard:Added claim event karma points, fixed bugs and enhanced code"

* "Commented karma points event triggering because  Karma points are generated inside event-cert generator flink job"

* "Claim karma point event and corrected ets time"

* "added lrc_progressdetails"

* "Fixed class cast exception for event duration"

* "Corrected karma point event format"

* "Added validation for invalid event details"

* Added condition to update the existing enrollment and trigger the kafka event (sunbird-cb#166)

* "Public User Event Bulk Onboard Feature"

* "Public User Event Bulk Onboard Feature-bug fix"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "PublicUserEventBulkOnboard:Added claim event karma points, fixed bugs and enhanced code"

* "Commented karma points event triggering because  Karma points are generated inside event-cert generator flink job"

* "Claim karma point event and corrected ets time"

* "added lrc_progressdetails"

* "Fixed class cast exception for event duration"

* "Corrected karma point event format"

* "Added validation for invalid event details"

* "Added condition to update the enrollment and trigger the kafka event"

* 4.8.18 dev v8 (sunbird-cb#169)

* Events to be generated based on the data recieved in CSV File. (sunbird-cb#161)

* LearnerLeaderBoard API returning empty when no data instead of not-found

* Events to be generated based on the data recieved in CSV File.

1. If the user have consumed the event more than 180 seconds we need to generate the event  for karma points and certificate generation.
2. Input would be csv file.

---------

Co-authored-by: karthik-tarento <karthikeyan.rajendran@tarento.com>

* worked on user event consumption (sunbird-cb#164)

* worked on user event consumption

* worked on code review comments

---------

Co-authored-by: anilkumar <anilkumar.kammlapalli@tarento.com>

* removed date from csv (sunbird-cb#168)

Co-authored-by: anilkumar <anilkumar.kammlapalli@tarento.com>

---------

Co-authored-by: tarentomaheshvakkund <139739142+tarentomaheshvakkund@users.noreply.github.com>
Co-authored-by: anilkumarkammalapalli <121931293+anilkumarkammalapalli@users.noreply.github.com>
Co-authored-by: anilkumar <anilkumar.kammlapalli@tarento.com>

* Added comments for user event enrolment updates

* User event enrolment: fixed typo in event message

* Fix for updating completedOn column value

* Created new APIs to fetch status of offline event bulkonboard and download the processed csv file (sunbird-cb#170)

* "Public User Event Bulk Onboard Feature"

* "Public User Event Bulk Onboard Feature-bug fix"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "PublicUserEventBulkOnboard:Added claim event karma points, fixed bugs and enhanced code"

* "Commented karma points event triggering because  Karma points are generated inside event-cert generator flink job"

* "Claim karma point event and corrected ets time"

* "added lrc_progressdetails"

* "Fixed class cast exception for event duration"

* "Corrected karma point event format"

* "Added validation for invalid event details"

* "Added condition to update the enrollment and trigger the kafka event"

* "Created new APIs to fetch status of offline event bulkonboard and download the processed csv file"

* Updated logic for event cert generation script

* Handling invalid records

* Reading event duration from event_batch table

* Added max_size while updating record

* Handling completed user event enrolment in script

* Added condition to skip status 0

* Added parsing for edge cases

* Added API to update event enrolment status value

* Updated code to check issueCertificates

* Updated code to check issueCertificates

* Updated code to check issueCertificates

* "Public user event bulkonboard-> Added logic to reissue the certificate if already exist"

* "Modified Physical Event certificate issue feature to support generate certificate for user consumed more than 4 hours"

* "Modified Physical Event certificate issue feature to support generate certificate for user consumed more than 4 hours"

* "Modified Physical Event certificate issue feature to support generate certificate for user consumed more than 4 hours"

* "Modified Physical Event certificate issue feature to support generate certificate for user consumed more than 4 hours and also added certificate reissue"

* "Modified Physical Event certificate issue feature to support generate certificate for user consumed more than 4 hours and also added certificate reissue"

* Removed unnecessary changes

---------

Co-authored-by: pathiktarento1089 <123535830+pathiktarento1089@users.noreply.github.com>
Co-authored-by: vikrantbipin <118338417+vikrantbipin@users.noreply.github.com>
Co-authored-by: Sahil-tarento <140611066+Sahil-tarento@users.noreply.github.com>
Co-authored-by: SaipradeepR <53404427+SaipradeepR@users.noreply.github.com>
Co-authored-by: tarentomaheshvakkund <139739142+tarentomaheshvakkund@users.noreply.github.com>
Co-authored-by: anilkumarkammalapalli <121931293+anilkumarkammalapalli@users.noreply.github.com>
Co-authored-by: anilkumar <anilkumar.kammlapalli@tarento.com>
Co-authored-by: arpithasureshappa <arpitha.sureshappa@tarento.com>
Co-authored-by: Sharath Prasad <sharaths.kashyap@gmail.com>
Co-authored-by: sreerag-tarento <sreerag.sajeesh@tarento.com>
Co-authored-by: sureshece16 <80331286+sureshece16@users.noreply.github.com>
Co-authored-by: vikrantsingh <vikrant.bipin@tarento.com>
ArpithaSureshappa added a commit to ArpithaSureshappa/sunbird-cb-ext that referenced this pull request Dec 30, 2024
* KB-7297 | DEV | BE | Self Registration | QR Code generation and registration link generation. (sunbird-cb#183)

* 4.8.19 fix org designation (sunbird-cb#173)

* Cbrelease 4.8.18 (sunbird-cb#171)

* 4.8.18 dev v5 (sunbird-cb#146)

* commiting for file uploading and downloading cios logs (sunbird-cb#142)

* commiting for file uploading and downloading cios logs

* commiting for deleting temp file directly in download api.

* "Resolved Security Hotspots by adding proper logging" (sunbird-cb#145)

* "Resolved Security Hotspots by adding proper logging"

* "Resolved bugs raised by SonarQube"

* "Resolved bugs raised by SonarQube"

---------

Co-authored-by: pathiktarento1089 <123535830+pathiktarento1089@users.noreply.github.com>
Co-authored-by: vikrantbipin <118338417+vikrantbipin@users.noreply.github.com>

* 4.8.18 merged (sunbird-cb#148)

* 4.8.17 dev v5 (sunbird-cb#44)

* KB-6678 - if assessment is submitted without selecting any option then same questions are repeating in each attempt (in question weightage)

1. Getting NaN if both correct and incorrect are 0 , So added a check.

* added api for to show V6 competencies (sunbird-cb#40)

* added api for to show V6 competencies

* worked on code review comments

* worked on code review comments

* Update application.properties removed spaces between the values

---------

Co-authored-by: anilkumar <anilkumar.kammlapalli@tarento.com>

---------

Co-authored-by: SaipradeepR <53404427+SaipradeepR@users.noreply.github.com>
Co-authored-by: tarentomaheshvakkund <139739142+tarentomaheshvakkund@users.noreply.github.com>
Co-authored-by: anilkumarkammalapalli <121931293+anilkumarkammalapalli@users.noreply.github.com>
Co-authored-by: anilkumar <anilkumar.kammlapalli@tarento.com>

* public link generation and calling email sending api

* public link generation and calling email sending api (sunbird-cb#112)

* convertToPng code added

* png and email encryption method added (sunbird-cb#114)

* public link generation and calling email sending api

* convertToPng code added

* pull from upstream

* Cbrelease 4.8.17 (sunbird-cb#115)

* public link generation and calling email sending api

* convertToPng code added

* pull from upstream

* svg issue resolved

* svg issue resolved (sunbird-cb#118)

* public link generation and calling email sending api

* convertToPng code added

* pull from upstream

* svg issue resolved

* 4.8.17 report fix (sunbird-cb#107)

* Adding impl for report download (sunbird-cb#101)

* 4.8.17 mdo report fix (sunbird-cb#105)

* Adding impl for report download

* Adding impl for report download

* Adding impl for report download (sunbird-cb#106)

* upload issue resolved

* Cbrelease 4.8.17 (sunbird-cb#119)

* public link generation and calling email sending api

* convertToPng code added

* pull from upstream

* svg issue resolved

* upload issue resolved

* certificateId hardCode removed

* CertificateId hard code removed (sunbird-cb#120)

* public link generation and calling email sending api

* convertToPng code added

* pull from upstream

* svg issue resolved

* upload issue resolved

* certificateId hardCode removed

* producer code added

* producer code added

* MAde the impl changes for pdf generator (sunbird-cb#122)

* Remove unused impl and adding null check (sunbird-cb#123)

* Remove unused impl and update the check (sunbird-cb#124)

* Remove unused impl (sunbird-cb#125)

* Update the property (sunbird-cb#126)

* Adding the impl changes for pdf issue (sunbird-cb#127)

* Added the check for the kafka event process

* Integerating content progress update along with assessment submit API - KAR-788 (sunbird-cb#129) (sunbird-cb#133)

Co-authored-by: sreerag-tarento <sreerag.sajeesh@tarento.com>

* Integerating content progress API with all v4,v5 & v6 version of assessment submit API - KAR-788 (sunbird-cb#135) (sunbird-cb#139)

* Integerating content progress update along with assessment submit API - KAR-788

* Integerating content progress APi with all v4,v5 & v6 version of assessment submit API

Co-authored-by: sreerag-tarento <sreerag.sajeesh@tarento.com>

* Fixed build issues

* Creating v2 API to fetch l1, l2 child from postgres (sunbird-cb#147)

---------

Co-authored-by: Karthikeyan Rajendran <70887864+karthik-tarento@users.noreply.github.com>
Co-authored-by: SaipradeepR <53404427+SaipradeepR@users.noreply.github.com>
Co-authored-by: tarentomaheshvakkund <139739142+tarentomaheshvakkund@users.noreply.github.com>
Co-authored-by: anilkumarkammalapalli <121931293+anilkumarkammalapalli@users.noreply.github.com>
Co-authored-by: anilkumar <anilkumar.kammlapalli@tarento.com>
Co-authored-by: arpithasureshappa <arpitha.sureshappa@tarento.com>
Co-authored-by: Sharath Prasad <sharaths.kashyap@gmail.com>
Co-authored-by: sreerag-tarento <sreerag.sajeesh@tarento.com>
Co-authored-by: karthik-tarento <karthikeyan.rajendran@tarento.com>

* For ticket https://karmayogibharat.atlassian.net/browse/KAR-818 (sunbird-cb#149)

* 4.8.18 merged v1 (sunbird-cb#151)

* 4.8.17 dev v5 (sunbird-cb#44)

* KB-6678 - if assessment is submitted without selecting any option then same questions are repeating in each attempt (in question weightage)

1. Getting NaN if both correct and incorrect are 0 , So added a check.

* added api for to show V6 competencies (sunbird-cb#40)

* added api for to show V6 competencies

* worked on code review comments

* worked on code review comments

* Update application.properties removed spaces between the values

---------

Co-authored-by: anilkumar <anilkumar.kammlapalli@tarento.com>

---------

Co-authored-by: SaipradeepR <53404427+SaipradeepR@users.noreply.github.com>
Co-authored-by: tarentomaheshvakkund <139739142+tarentomaheshvakkund@users.noreply.github.com>
Co-authored-by: anilkumarkammalapalli <121931293+anilkumarkammalapalli@users.noreply.github.com>
Co-authored-by: anilkumar <anilkumar.kammlapalli@tarento.com>

* public link generation and calling email sending api

* public link generation and calling email sending api (sunbird-cb#112)

* convertToPng code added

* png and email encryption method added (sunbird-cb#114)

* public link generation and calling email sending api

* convertToPng code added

* pull from upstream

* Cbrelease 4.8.17 (sunbird-cb#115)

* public link generation and calling email sending api

* convertToPng code added

* pull from upstream

* svg issue resolved

* svg issue resolved (sunbird-cb#118)

* public link generation and calling email sending api

* convertToPng code added

* pull from upstream

* svg issue resolved

* 4.8.17 report fix (sunbird-cb#107)

* Adding impl for report download (sunbird-cb#101)

* 4.8.17 mdo report fix (sunbird-cb#105)

* Adding impl for report download

* Adding impl for report download

* Adding impl for report download (sunbird-cb#106)

* upload issue resolved

* Cbrelease 4.8.17 (sunbird-cb#119)

* public link generation and calling email sending api

* convertToPng code added

* pull from upstream

* svg issue resolved

* upload issue resolved

* certificateId hardCode removed

* CertificateId hard code removed (sunbird-cb#120)

* public link generation and calling email sending api

* convertToPng code added

* pull from upstream

* svg issue resolved

* upload issue resolved

* certificateId hardCode removed

* producer code added

* producer code added

* MAde the impl changes for pdf generator (sunbird-cb#122)

* Remove unused impl and adding null check (sunbird-cb#123)

* Remove unused impl and update the check (sunbird-cb#124)

* Remove unused impl (sunbird-cb#125)

* Update the property (sunbird-cb#126)

* Adding the impl changes for pdf issue (sunbird-cb#127)

* Added the check for the kafka event process

* Integerating content progress update along with assessment submit API - KAR-788 (sunbird-cb#129) (sunbird-cb#133)

Co-authored-by: sreerag-tarento <sreerag.sajeesh@tarento.com>

* Integerating content progress API with all v4,v5 & v6 version of assessment submit API - KAR-788 (sunbird-cb#135) (sunbird-cb#139)

* Integerating content progress update along with assessment submit API - KAR-788

* Integerating content progress APi with all v4,v5 & v6 version of assessment submit API

Co-authored-by: sreerag-tarento <sreerag.sajeesh@tarento.com>

* Fixed build issues

* Creating v2 API to fetch l1, l2 child from postgres (sunbird-cb#147)

* Adding the check for childrenId's (sunbird-cb#150)

---------

Co-authored-by: Karthikeyan Rajendran <70887864+karthik-tarento@users.noreply.github.com>
Co-authored-by: SaipradeepR <53404427+SaipradeepR@users.noreply.github.com>
Co-authored-by: tarentomaheshvakkund <139739142+tarentomaheshvakkund@users.noreply.github.com>
Co-authored-by: anilkumarkammalapalli <121931293+anilkumarkammalapalli@users.noreply.github.com>
Co-authored-by: anilkumar <anilkumar.kammlapalli@tarento.com>
Co-authored-by: arpithasureshappa <arpitha.sureshappa@tarento.com>
Co-authored-by: Sharath Prasad <sharaths.kashyap@gmail.com>
Co-authored-by: sreerag-tarento <sreerag.sajeesh@tarento.com>
Co-authored-by: karthik-tarento <karthikeyan.rajendran@tarento.com>

* 4.8.18 fix bulk upload (sunbird-cb#153)

* Doing the impl changes for User Bulk Upload csv Impl

* Doing the impl changes for User Bulk Upload csv Impl

* Update HallOfFameServiceImpl.java

Added "XS" to National Learning Week

* 4.8.18 dev (sunbird-cb#155)

* "Public User Event Bulk Onboard Feature" (sunbird-cb#152)

* "Public user event bulk onboard - Bug Fix" (sunbird-cb#154)

* "Public user event bulk onboard - Bug Fix"

* Review changes

---------

Co-authored-by: vikrantbipin <118338417+vikrantbipin@users.noreply.github.com>
Co-authored-by: sreerag-tarento <sreerag.sajeesh@tarento.com>

* Added default status,progress and comletion percentage for public event bulk onboard (sunbird-cb#156)

* "Public User Event Bulk Onboard Feature"

* "Public User Event Bulk Onboard Feature-bug fix"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* PublicUserEventBulkOnboard: Added claim event karma points, fixed bugs and enhanced code (sunbird-cb#157)

* "Public User Event Bulk Onboard Feature"

* "Public User Event Bulk Onboard Feature-bug fix"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "PublicUserEventBulkOnboard:Added claim event karma points, fixed bugs and enhanced code"

* "Commented karma points event triggering because  Karma points are generated inside event-cert generator flink job"

* Claim karma point event and corrected ets time (sunbird-cb#158)

* "Public User Event Bulk Onboard Feature"

* "Public User Event Bulk Onboard Feature-bug fix"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "PublicUserEventBulkOnboard:Added claim event karma points, fixed bugs and enhanced code"

* "Commented karma points event triggering because  Karma points are generated inside event-cert generator flink job"

* "Claim karma point event and corrected ets time"

* LearnerLeaderBoard API returning empty when no data instead of not-found (sunbird-cb#159)

* added lrc_progressdetails for offline event enrolment (sunbird-cb#160)

* "Public User Event Bulk Onboard Feature"

* "Public User Event Bulk Onboard Feature-bug fix"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "PublicUserEventBulkOnboard:Added claim event karma points, fixed bugs and enhanced code"

* "Commented karma points event triggering because  Karma points are generated inside event-cert generator flink job"

* "Claim karma point event and corrected ets time"

* "added lrc_progressdetails"

* Fixed class cast exception for event duration (sunbird-cb#162)

* "Public User Event Bulk Onboard Feature"

* "Public User Event Bulk Onboard Feature-bug fix"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "PublicUserEventBulkOnboard:Added claim event karma points, fixed bugs and enhanced code"

* "Commented karma points event triggering because  Karma points are generated inside event-cert generator flink job"

* "Claim karma point event and corrected ets time"

* "added lrc_progressdetails"

* "Fixed class cast exception for event duration"

* Corrected karma point event format (sunbird-cb#163)

* "Public User Event Bulk Onboard Feature"

* "Public User Event Bulk Onboard Feature-bug fix"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "PublicUserEventBulkOnboard:Added claim event karma points, fixed bugs and enhanced code"

* "Commented karma points event triggering because  Karma points are generated inside event-cert generator flink job"

* "Claim karma point event and corrected ets time"

* "added lrc_progressdetails"

* "Fixed class cast exception for event duration"

* "Corrected karma point event format"

* Added validation for invalid event details (sunbird-cb#165)

* "Public User Event Bulk Onboard Feature"

* "Public User Event Bulk Onboard Feature-bug fix"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "PublicUserEventBulkOnboard:Added claim event karma points, fixed bugs and enhanced code"

* "Commented karma points event triggering because  Karma points are generated inside event-cert generator flink job"

* "Claim karma point event and corrected ets time"

* "added lrc_progressdetails"

* "Fixed class cast exception for event duration"

* "Corrected karma point event format"

* "Added validation for invalid event details"

* Added condition to update the existing enrollment and trigger the kafka event (sunbird-cb#166)

* "Public User Event Bulk Onboard Feature"

* "Public User Event Bulk Onboard Feature-bug fix"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "PublicUserEventBulkOnboard:Added claim event karma points, fixed bugs and enhanced code"

* "Commented karma points event triggering because  Karma points are generated inside event-cert generator flink job"

* "Claim karma point event and corrected ets time"

* "added lrc_progressdetails"

* "Fixed class cast exception for event duration"

* "Corrected karma point event format"

* "Added validation for invalid event details"

* "Added condition to update the enrollment and trigger the kafka event"

* 4.8.18 dev v8 (sunbird-cb#169)

* Events to be generated based on the data recieved in CSV File. (sunbird-cb#161)

* LearnerLeaderBoard API returning empty when no data instead of not-found

* Events to be generated based on the data recieved in CSV File.

1. If the user have consumed the event more than 180 seconds we need to generate the event  for karma points and certificate generation.
2. Input would be csv file.

---------

Co-authored-by: karthik-tarento <karthikeyan.rajendran@tarento.com>

* worked on user event consumption (sunbird-cb#164)

* worked on user event consumption

* worked on code review comments

---------

Co-authored-by: anilkumar <anilkumar.kammlapalli@tarento.com>

* removed date from csv (sunbird-cb#168)

Co-authored-by: anilkumar <anilkumar.kammlapalli@tarento.com>

---------

Co-authored-by: tarentomaheshvakkund <139739142+tarentomaheshvakkund@users.noreply.github.com>
Co-authored-by: anilkumarkammalapalli <121931293+anilkumarkammalapalli@users.noreply.github.com>
Co-authored-by: anilkumar <anilkumar.kammlapalli@tarento.com>

* Added comments for user event enrolment updates

* User event enrolment: fixed typo in event message

* Fix for updating completedOn column value

* Created new APIs to fetch status of offline event bulkonboard and download the processed csv file (sunbird-cb#170)

* "Public User Event Bulk Onboard Feature"

* "Public User Event Bulk Onboard Feature-bug fix"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "Added default status,progress and comletion percentage for public event bulk onboard"

* "PublicUserEventBulkOnboard:Added claim event karma points, fixed bugs and enhanced code"

* "Commented karma points event triggering because  Karma points are generated inside event-cert generator flink job"

* "Claim karma point event and corrected ets time"

* "added lrc_progressdetails"

* "Fixed class cast exception for event duration"

* "Corrected karma point event format"

* "Added validation for invalid event details"

* "Added condition to update the enrollment and trigger the kafka event"

* "Created new APIs to fetch status of offline event bulkonboard and download the processed csv file"

* Updated logic for event cert generation script

* Handling invalid records

* Reading event duration from event_batch table

* Added max_size while updating record

* Handling completed user event enrolment in script

* Added condition to skip status 0

* Added parsing for edge cases

* Added API to update event enrolment status value

* Updated code to check issueCertificates

* Updated code to check issueCertificates

* Updated code to check issueCertificates

---------

Co-authored-by: Karthikeyan Rajendran <70887864+karthik-tarento@users.noreply.github.com>
Co-authored-by: pathiktarento1089 <123535830+pathiktarento1089@users.noreply.github.com>
Co-authored-by: vikrantbipin <118338417+vikrantbipin@users.noreply.github.com>
Co-authored-by: SaipradeepR <53404427+SaipradeepR@users.noreply.github.com>
Co-authored-by: tarentomaheshvakkund <139739142+tarentomaheshvakkund@users.noreply.github.com>
Co-authored-by: anilkumarkammalapalli <121931293+anilkumarkammalapalli@users.noreply.github.com>
Co-authored-by: anilkumar <anilkumar.kammlapalli@tarento.com>
Co-authored-by: arpithasureshappa <arpitha.sureshappa@tarento.com>
Co-authored-by: Sharath Prasad <sharaths.kashyap@gmail.com>
Co-authored-by: sreerag-tarento <sreerag.sajeesh@tarento.com>
Co-authored-by: karthik-tarento <karthikeyan.rajendran@tarento.com>
Co-authored-by: sureshece16 <80331286+sureshece16@users.noreply.github.com>

* Update the orgDesignation Bug Fixes

---------

Co-authored-by: Karthikeyan Rajendran <70887864+karthik-tarento@users.noreply.github.com>
Co-authored-by: pathiktarento1089 <123535830+pathiktarento1089@users.noreply.github.com>
Co-authored-by: vikrantbipin <118338417+vikrantbipin@users.noreply.github.com>
Co-authored-by: SaipradeepR <53404427+SaipradeepR@users.noreply.github.com>
Co-authored-by: tarentomaheshvakkund <139739142+tarentomaheshvakkund@users.noreply.github.com>
Co-authored-by: anilkumarkammalapalli <121931293+anilkumarkammalapalli@users.noreply.github.com>
Co-authored-by: anilkumar <anilkumar.kammlapalli@tarento.com>
Co-authored-by: arpithasureshappa <arpitha.sureshappa@tarento.com>
Co-authored-by: Sharath Prasad <sharaths.kashyap@gmail.com>
Co-authored-by: sreerag-tarento <sreerag.sajeesh@tarento.com>
Co-authored-by: karthik-tarento <karthikeyan.rajendran@tarento.com>
Co-authored-by: sureshece16 <80331286+sureshece16@users.noreply.github.com>

* Revert "4.8.19 fix org designation (sunbird-cb#173)" (sunbird-cb#174)

This reverts commit 40f54b0.

* 4.8.19 dev fix1 (sunbird-cb#175)

* Update the orgDesignation Bug Fixes

* Update the orgDesignation Bug Fixes

* KB-7297 | DEV | BE | Self Registration | QR Code generation and registration link generation.

1. Created a new api for customeselfregistration .
2. generatePdfV2 this method is overriten since in earlier case we are returning bytes and not the file.
3. new template for the body is added since the old template is used by the blended program and it was custom.
4. configurations are added for container name and folder name the attribute values need to be updated.

* KB-7297 | DEV | BE | Self Registration | QR Code generation and registration link generation.

1. Attributes updated.

---------

Co-authored-by: Sahil-tarento <140611066+Sahil-tarento@users.noreply.github.com>
Co-authored-by: Karthikeyan Rajendran <70887864+karthik-tarento@users.noreply.github.com>
Co-authored-by: pathiktarento1089 <123535830+pathiktarento1089@users.noreply.github.com>
Co-authored-by: vikrantbipin <118338417+vikrantbipin@users.noreply.github.com>
Co-authored-by: SaipradeepR <53404427+SaipradeepR@users.noreply.github.com>
Co-authored-by: anilkumarkammalapalli <121931293+anilkumarkammalapalli@users.noreply.github.com>
Co-authored-by: anilkumar <anilkumar.kammlapalli@tarento.com>
Co-authored-by: arpithasureshappa <arpitha.sureshappa@tarento.com>
Co-authored-by: Sharath Prasad <sharaths.kashyap@gmail.com>
Co-authored-by: sreerag-tarento <sreerag.sajeesh@tarento.com>
Co-authored-by: karthik-tarento <karthikeyan.rajendran@tarento.com>
Co-authored-by: sureshece16 <80331286+sureshece16@users.noreply.github.com>

* KB-7297 | DEV | BE | Self Registration | QR Code generation and registration link generation. (sunbird-cb#184)

1. Organization id uncomemnted.

* KB-7297 | DEV | BE | Self Registration | QR Code generation and registration link generation. (sunbird-cb#185)

* KB-7297 | DEV | BE | Self Registration | QR Code generation and registration link generation.

1. Organization id uncomemnted.

* KB-7297 | DEV | BE | Self Registration | QR Code generation and registration link generation.

1. Updated response structure.
2. Added few logs.
3. Added attribute values to be updated in the constants file.

* KB-7297 | DEV | BE | Self Registration | QR Code generation and registration link generation.

1. Constant value updated

* KB-7297 | DEV | BE | Self Registration | QR Code generation and registration link generation. (sunbird-cb#186)

1. Getting  406 not acceptable http status code, creating a new object for processing final result.
2. Added real time values in the application.properties.

* KB-7297 | DEV | BE | Self Registration | QR Code generation and registration link generation. (sunbird-cb#187)

1. Return response statement added.

* KB-7333 - DEV | BE | Self Registration | Validation of the desgination for an organization. (sunbird-cb#190)

1.Validation of the designation for the organization based on frameworks.

* KB-7333 - DEV | BE | Self Registration | Validation of the desgination for an organization. (sunbird-cb#191)

1.Refractored the code
2. produces = MediaType.APPLICATION_JSON_VALUE changed from PDF to JSON

* KB-7297 | DEV | BE | Self Registration | QR Code generation and registration link generation. (sunbird-cb#196)

1. New attributes added to be showed in the pdf file.
2. OrgId is read from the request body sent, orgname is fetched using cassandra query to the organisation table.
3. Constants added for string attributes.

* KB-7297 | DEV | BE | Self Registration | QR Code generation and registration link generation. (sunbird-cb#197)

1. Added log in the method for printing session information.
2. Added a break parameter in the template

* KB-7297 | DEV | BE | Self Registration | QR Code generation and registration link generation. (sunbird-cb#198)

1. The Key should be in lower case to fetch result from the cassandra response.

* KB-7297 | DEV | BE | Self Registration | QR Code generation and registration link generation. (sunbird-cb#199)

* KB-7297 | DEV | BE | Self Registration | QR Code generation and registration link generation.

1. The Key should be in lower case to fetch result from the cassandra response.

* KB-7297 | DEV | BE | Self Registration | QR Code generation and registration link generation.

1. orgName was throwing nullpointer exception due to wrong casting to lower case - fixed by creating new constant and passing it.
2. New method is implemented in PdfGeneratorServiceImpl to convert the html file data to png.
3. New property added to store the tempImage files.

---------

Co-authored-by: SaipradeepR <53404427+SaipradeepR@users.noreply.github.com>

* KB-7297 | DEV | BE | Self Registration | QR Code generation and registration link generation. (sunbird-cb#200)

1. _body.pdf.png was the file name generated , configured it to png.

* KB-7297 | DEV | BE | Self Registration | QR Code generation and registration link generation. (sunbird-cb#202)

1. Enhancement of the png images increased the quality.
2. Set the height and width.
3. Increased the dots per inch - default is 96 so set it to 300.
4. Increased the zoom for clearity.

* KB-7297 | DEV | BE | Self Registration | QR Code generation and registration link generation. (sunbird-cb#204)

1. Removed the dpi parameter since it is not supported by the wkhtmltoimage version used.

* KB-7361 | Testing and Enhancements | BE | Self Registration | QR Code generation and registration link generation. (sunbird-cb#205)

1. Increased the resolutions and zoom size.

* KB-7361 | Testing and Enhancements | BE | Self Registration | QR Code generation and registration link generation. (sunbird-cb#206)

* KB-7361 | Testing and Enhancements | BE | Self Registration | QR Code generation and registration link generation.

1. Increased the resolutions and zoom size.

* KB-7361  - Testing and Enhancements | BE | Self Registration | QR Code generation and registration link generation.

1. Increased the resolution while generating the qrcode.

* KB-7361 | Testing and Enhancements | BE | Self Registration | QR Code generation and registration link generation.

1. Removed the resolutions while generating image .

* KB-7361 | Testing and Enhancements | BE | Self Registration | QR Code generation and registration link generation.

removed the resolutions

* KB-7361 | Testing and Enhancements | BE | Self Registration | QR Code generation and registration link generation. (sunbird-cb#207)

1. Added Jpeg file creation in the pdfgenerator service.
2. Passing only the link while generating the qr not the object link.

* KB-7361 | Testing and Enhancements | BE | Self Registration | QR Code generation and registration link generation.  (sunbird-cb#208)

* KB-7361 | Testing and Enhancements | BE | Self Registration | QR Code generation and registration link generation.

1. Added Jpeg file creation in the pdfgenerator service.
2. Passing only the link while generating the qr not the object link.

* KB-7361 | Testing and Enhancements | BE | Self Registration | QR Code generation and registration link generation.

1. Saving as a jpeg which was earlier png.
2. format issues were there fixed it.

* Compilation error fix (sunbird-cb#209)

* KB-7361 | Testing and Enhancements | BE | Self Registration | QR Code generation and registration link generation. (sunbird-cb#211)

* KB-7361 | Testing and Enhancements | BE | Self Registration | QR Code generation and registration link generation.

1. Implemented the new template for the qr code.
2. Added the necessary resources also.

* KB-7361 | Testing and Enhancements | BE | Self Registration | QR Code generation and registration link generation.

1. Removed unecessary attribute.

* KB-7361 | Testing and Enhancements | BE | Self Registration | QR Code generation and registration link generation. (sunbird-cb#212)

1. Image is not getting picked from the template path,  so added base64 string to test.

* KB-7361 | Testing and Enhancements | BE | Self Registration | QR Code generation and registration link generation. (sunbird-cb#213)

1. Increased the width resolution.

* KB-7399 | DEV | BE | Self Registration | New Attributes additon while QR Code and registration link generation. (sunbird-cb#214)

* KB-7399 | DEV | BE | Self Registration | New Attributes additon while QR Code and registration link generation.

1. Added New model class to handle the attributes from the request body.
2. Added registrationenddate, registrationstartdate, description, logo  attributes - this attributes will be added to the orgUpdate params before calling the orgupdate API.
3. Added new method in the User registration which validates if the user is registering in the provided time period -else it will throw an error.

* KB-7399 | DEV | BE | Self Registration | New Attributes additon while QR Code and registration link generation.

1. Added validation of the request body for the new parameters.

* KB-7399 | DEV | BE | Self Registration | New Attributes additon while QR Code and registration link generation.

1. Type of date changed.

* KB-7399 | DEV | BE | Self Registration | New Attributes additon while QR Code and registration link generation. (sunbird-cb#215)

1. The method which was doing validation of the fields that were added for registrationstartdate, registrationenddate was inverted so corrected it.
2. Registrationstartdate and registrationenddate should be long value so doing direct typecasting instead of doing string type casting.
4. SInce registrationdate details is expected to be long - removed the string validation.

* KB-7399 | DEV | BE | Self Registration | New Attributes additon while QR Code and registration link generation. (sunbird-cb#216)

1. Converting to string the values.

* KB-7399 | DEV | BE | Self Registration | New Attributes additon while QR Code and registration link generation. sunbird-cb#216 (sunbird-cb#217)

1. Removed the logo and description attributes while generating the qr code.

* KB-7426 | DEV | BE | Self Registration | Wrapper API to update the orgname and other details. (sunbird-cb#220)

1. Added new API org update .
2. It fetches the data from postgres by passing sborgid and checks if the sborgsubtype is board if it is then allows to update the orgname.
3. The orgname update is only applicable for organisation , its not allowed for the ministry,state and department.
4. Once the data is updated we call the learner service orgupdate to update the data in cassandra and sync back data to elastic search.
5. Apart from updating orgname we can update the logo and description field if its available in the request body else it is skipped.
6. Changed the attribute name in the self registration api and the date format also - changed wrt KB-7399

* KB-7427 | DEV | BE | Self Registration | Creating new entity for persisting the QR data and other meta. (sunbird-cb#223)

1. Created a new entity registration_qr_code which persists the qr data and other meta data.
2. We check if there is a active qrcode link if its active then we will restrict to generate new qr.
3. One new configuration is there which allows to generate new qr code even if there is a active qr code - by default its set to false .
4. Removed the registration date updates to the organisation table- this update was done using learner service.

* KB-6422 | Q6 | Self registration | SPV | Create custom registration link (sunbird-cb#224)

* KB-6422 | Q6 | Self registration | SPV | Create custom registration link

KB-7427 | DEV | BE | Self Registration | Creating new entity for persisting the QR data and other meta.

1.  Response of the cassandra db was not handled properly - fixed it.
2.  In link generation of the url appending  timestamp as string , made changes to the code. example: https://portal.dev.karmayogibharat.net/1732391175371/crp?id=0140788510336040962 -> 1732391175371 is time stamp appended dynamically.

KB-7430 | DEV | BE | Self Registration | Validation of user while doing registration.
1. Based on the registrationlink fetching the unique code in the above case its 1732391175371, getting the data from the registrationqr entity and performing the necessary validation.
2. Checking if the current date lies between the startdate and endate.

* KB-6422 | Q6 | Self registration | SPV | Create custom registration link sunbird-cb#224

1. Constants and logs added.

* KB-6422 |Q6 | Self registration | SPV | Create custom registration link

1. MIgrated the RegistrationQR Entity from cassandra to postgres.
2. Created new API for getting the list of the qrcode based on the organisation.
3. Internal API to expired the qr code.

* KB-7427 | DEV | BE | Self Registration | Creating new entity for persisting the QR data and other meta. (sunbird-cb#226)

1. Removed validation - startdate and enddate validation removed the the url is also modified.
2. Removed the validation while registering the user .

* KB-7427 | DEV | BE | Self Registration | Creating new entity for persisting the QR data and other meta. (sunbird-cb#227)

* KB-7427 | DEV | BE | Self Registration | Creating new entity for persisting the QR data and other meta.

1. Removed validation - startdate and enddate validation removed the the url is also modified.
2. Removed the validation while registering the user .

* KB-7427 | DEV | BE | Self Registration | Creating new entity for persisting the QR data and other meta.

1.  removed update to database

* KB-7427 | DEV | BE | Self Registration | Creating new entity for persisting the QR data and other meta.  (sunbird-cb#228)

* KB-7427 | DEV | BE | Self Registration | Creating new entity for persisting the QR data and other meta.

1. Removed validation - startdate and enddate validation removed the the url is also modified.
2. Removed the validation while registering the user .

* KB-7427 | DEV | BE | Self Registration | Creating new entity for persisting the QR data and other meta.

1.  removed update to database

* KB-7427 | DEV | BE | Self Registration | Creating new entity for persisting the QR data and other meta.

1. Removed the construction of startdate and enddate  attribute while generating the model class.

* KB-7482 | DEV | BE | Self Registration | Enhancements of logo upload while organisation creation (sunbird-cb#229)

1. Created a generic method for uploading image in storage service.
2. Calling the method from a new api in custom self registration for uploading image.

* KB-7482 |DEV | BE | Self Registration | Enhancements of logo upload while organisation creation  (sunbird-cb#230)

* KB-7482 | DEV | BE | Self Registration | Enhancements of logo upload while organisation creation

1. Created a generic method for uploading image in storage service.
2. Calling the method from a new api in custom self registration for uploading image.

* KB-7482 | DEV | BE | Self Registration | Enhancements of logo upload while organisation creation

1. Contstructed the public path of the image uploaded and sending in the response.

* KB-7482 | DEV | BE | Self Registration | Enhancements of logo upload while organisation creation and adding other attributes to the orgtable. (sunbird-cb#231)

1. Validation of the parentMapId while creating the organisation.
2. We Validate the parentMapId only for the organisationsubtype as board.
3. We fetch the deptDetails based on the parentMapid ie. by passing the mapid data with parentmapid and similiarily the ministry details and state details and construct the request body.
4. After constructing the request body the request goes to the learner service for the organistation creation

* KB-7427 | DEV | BE | Self Registration | Creating new entity for persisting the QR data and other meta. (sunbird-cb#233)

1.While generating the qr code we save the registration metadata to the new table in the postres i.e registration_qr_code.
2. Added new method to update the count of the onboarded user based on the org and the unique code.
3.Checking If the org is created under ministry/state or department and fetching the details accordingly.
4. Renamed the attribute uniqueCodeRegistration to registrationLink.
5. Updating the user count in the consumer topic of the user registration.
6. Validation of the user on the registration api.

* KB-7427 | DEV | BE | Self Registration | Creating new entity for persisting the QR data and other meta. (sunbird-cb#234)

1. Request body structure was wrong while validation - fixed it.

* KB-7427 | DEV | BE | Self Registration | Creating new entity for persisting the QR data and other meta. (sunbird-cb#235)

1. endate was formed using startdate - corrected it.

---------

Co-authored-by: tarentomaheshvakkund <139739142+tarentomaheshvakkund@users.noreply.github.com>
Co-authored-by: Sahil-tarento <140611066+Sahil-tarento@users.noreply.github.com>
Co-authored-by: Karthikeyan Rajendran <70887864+karthik-tarento@users.noreply.github.com>
Co-authored-by: pathiktarento1089 <123535830+pathiktarento1089@users.noreply.github.com>
Co-authored-by: vikrantbipin <118338417+vikrantbipin@users.noreply.github.com>
Co-authored-by: anilkumarkammalapalli <121931293+anilkumarkammalapalli@users.noreply.github.com>
Co-authored-by: anilkumar <anilkumar.kammlapalli@tarento.com>
Co-authored-by: arpithasureshappa <arpitha.sureshappa@tarento.com>
Co-authored-by: Sharath Prasad <sharaths.kashyap@gmail.com>
Co-authored-by: sreerag-tarento <sreerag.sajeesh@tarento.com>
Co-authored-by: karthik-tarento <karthikeyan.rajendran@tarento.com>
Co-authored-by: sureshece16 <80331286+sureshece16@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants