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

Cbrelease 4.8.6 #101

Open
wants to merge 6 commits into
base: cbrelease-4.8.6_hotfix
Choose a base branch
from

Conversation

dkttarento
Copy link

Hi , @karthik-tarento,

  1. Changes in BatchUserDao -> readById return type changed to list to get the no. of users.
    2)Added in BatchUserDaoImpl -> userDetail & batchUser .
    3)Added in CourseBatchManagementActor -> Methods added .
    4)Added in CourseBatchNotificationActor .
    5)Constants were added in Constants.java.
    6)Added in ActorOperations -> delete event & course Notification.
    7)Added on Json.key -> Host, batchupdatenotifications, regards, subject, path

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for requested batchId there will be only one batch record , why we changed the signature to List ?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@SaipradeepR , for single batchid , we can have multiple users enrolled in a batch(keyspace name =sunbird_courses) table name enrollment_batch_lookup.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't refactor the method readById at Dao level , it should provide all details needed. Based on need modify the response received at service level.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sendEmailNotificationMailForBatchDatesUpdate shld be Async , req cannot wait till all notifications sent to all the users of the batch

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update request is handled by CourseBatchManagementActor, and mail is send by CourseBatchNotificationActor, this itself will be async call to CourseBatchNotificationActor this is flow i think correct me if i am wrong.

Added host of lms.service.host=http://learner-service:9000/
@sonarcloud
Copy link

sonarcloud bot commented Oct 31, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@SaipradeepR SaipradeepR changed the base branch from cbrelease-4.8.6 to cbrelease-4.8.6_hotfix November 1, 2023 01:14
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