-
Notifications
You must be signed in to change notification settings - Fork 13
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
Telemetry fixes #55
base: dev-4.8.4
Are you sure you want to change the base?
Telemetry fixes #55
Conversation
course-mw/course-actors-common/src/main/java/org/sunbird/learner/constants/CourseJsonKey.java
Outdated
Show resolved
Hide resolved
public Map<String, Object> getBatchAttributes() { | ||
return batchAttributes; | ||
} | ||
|
||
public void setBatchAttributes(Map<String, Object> batchAttributes) { | ||
this.batchAttributes = batchAttributes; | ||
} | ||
|
||
public Integer getCurrentBatchSize() { | ||
return currentBatchSize; | ||
} | ||
|
||
public void setCurrentBatchSize(Integer currentBatchSize) { | ||
this.currentBatchSize = currentBatchSize; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is poor design... you have batchAttriubtes then why you need currentBatchSize as additional attribute in the object??
the request body you can add the batchSize inside the batchAttributes -- so that it is easy in future to add more parameters...
...-actors/src/main/java/org/sunbird/learner/actors/coursebatch/CourseBatchManagementActor.java
Outdated
Show resolved
Hide resolved
...-actors/src/main/java/org/sunbird/learner/actors/coursebatch/CourseBatchManagementActor.java
Outdated
Show resolved
Hide resolved
...-actors/src/main/java/org/sunbird/learner/actors/coursebatch/CourseBatchManagementActor.java
Outdated
Show resolved
Hide resolved
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Type of change
Please choose appropriate options.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes in the below checkboxes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Test Configuration:
Checklist: