-
Notifications
You must be signed in to change notification settings - Fork 21
[ES-2395] Java 21 migration sunbird plugin #178
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
Conversation
Signed-off-by: Md-Humair-KK <mdhumair.kankudti@gmail.com>
WalkthroughProject upgraded to Java 21; Maven compiler, surefire, jacoco, javadoc, and several dependency versions updated; Mockito test dependency added; surefire argLine adjusted; PostConstruct and validation imports migrated from Changes
Sequence Diagram(s)(The changes are configuration and import-only; no control-flow or runtime interaction changes to diagram.) Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (2)
🚧 Files skipped from review as they are similar to previous changes (1)
🔇 Additional comments (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
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.
Actionable comments posted: 1
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
sunbird-rc-plugin/pom.xml (1)
292-292: Resolve maven-surefire-plugin version mismatch.Line 76 defines the property
maven-surefire-plugin.version=3.1.2, but line 292 hardcodes the plugin version to2.22.0. Update line 292 to use the property variable for consistency.Apply this diff:
- <version>2.22.0</version> + <version>${maven-surefire-plugin.version}</version>
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (2)
sunbird-rc-plugin/pom.xml(4 hunks)sunbird-rc-plugin/src/main/java/io/mosip/esignet/plugin/sunbirdrc/service/SunbirdRCAuthenticationService.java(1 hunks)
🔇 Additional comments (1)
sunbird-rc-plugin/pom.xml (1)
160-165: Good: Test dependency added for improved unit testing.Adding Mockito 5.20.0 as a test-scoped dependency is a solid choice for mocking external dependencies in unit tests, especially for the service layer with external calls to registry and signature services.
.../src/main/java/io/mosip/esignet/plugin/sunbirdrc/service/SunbirdRCAuthenticationService.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Md-Humair-KK <mdhumair.kankudti@gmail.com>
Summary by CodeRabbit