Skip to content

Certificate issue api - #5

Merged
maheshkumargangula merged 9 commits into
Sunbird-Lern:release-2.3.0from
rahul-tarento:certificate-issue-api
Aug 13, 2019
Merged

Certificate issue api#5
maheshkumargangula merged 9 commits into
Sunbird-Lern:release-2.3.0from
rahul-tarento:certificate-issue-api

Conversation

@rahul-tarento

Copy link
Copy Markdown
Contributor

No description provided.

(Map<String, Object>) ElasticSearchHelper.getResponseFromFuture(resultF);
if (MapUtils.isNotEmpty(result)) {
esContents = (List<Map<String, Object>>) result.get(JsonKey.CONTENT);
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

From line 82 to 99 move to a method called getEnrollments().

userCourse -> {
String userId = (String) userCourse.get(JsonKey.USER_ID);
try {
pushInstructionEvent(userId, batchId, courseId, certificateName, reIssue);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Check is there any API to bulk insert events to Kafka.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Kafka batching is an internal implementation of kafka producer with property linger.ms, which is configured in below utils PR
https://github.com/project-sunbird/sunbird-utils/pull/587/files

@maheshkumargangula
maheshkumargangula merged commit 60d6e97 into Sunbird-Lern:release-2.3.0 Aug 13, 2019
mahesh-maney pushed a commit to mahesh-maney/sunbird-course-service that referenced this pull request Mar 29, 2023
…e_certificate

Added code to issue certificate for the PIAA users
reshmi-nair pushed a commit to reshmi-nair/sunbird-course-service that referenced this pull request Dec 29, 2023
…comment_issue

5026- added logs for checking response
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