Repository navigation
MOSIP-45750: Upgrade apitest-commons to Java 25 - #2015
Open
mohanachandran-s wants to merge 2 commits into
Open
mohanachandran-s wants to merge 2 commits into
mohanachandran-s wants to merge 2 commits into
Conversation
- Version 1.8.0-java25-SNAPSHOT, so modules on 1.8.0-SNAPSHOT (Java 21) are unaffected - maven.compiler.release 25; maven-compiler-plugin 3.16.0 with <release> - Pin Lombok 1.18.48 (kernel-bom's 1.18.30 crashes javac 25) plus an explicit annotationProcessorPaths (JDK 23+ no longer runs classpath processors) - jar 3.5.1, shade 3.6.2, javadoc 3.12.0, sonar 5.8.0.7211 - shade createDependencyReducedPom=false: shade 3.6.2 otherwise installs a reduced POM (7 deps) and consumers lose the transitive dependencies CI (kattu master-java21) and Docker images stay on Java 21 until a Java 25 ref exists. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Mohanachandran S <mohanachandran.s@technoforte.co.in>
Contributor
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
This was referenced Nov 11, 2026
Member
|
🔗 Linked PR
|
Member
|
🔗 Linked PR
|
Member
|
🔗 Linked PR
|
…eg template
generateHbsForPrereg (schema-driven since MOSIP-37651) changed two things
pre-registration depends on:
- residenceStatus was only added when the schema lists it as required.
Without it pre-registration keeps the application incomplete and booking
fails (PRG_BOOK_RCI_036). Add it whenever the schema defines it as a
simpleType, even when not required.
- phone was "{{phone}}", so the YAML literal was sent while the prereg
scripts store the number they generate for $PHONENUMBERFORIDENTITY$ and
compare responses against it. Use $PHONENUMBERFORIDENTITY$ again (plain
and TaggedListType branches), as commons 1.6 did.
Only pre-registration calls generateHbsForPrereg. Verified with prereg smoke
on api-internal.released (JDK 25 build of this change): 121 cases identical
to the commons 1.6.0 baseline, 110 passed, 11 pre-existing failures.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Mohanachandran S <mohanachandran.s@technoforte.co.in>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Jira: MOSIP-45750
What
Moves
apitest-commonsfrom Java 21 to Java 25.1.8.0-java25-SNAPSHOT, so modules pinned to1.8.0-SNAPSHOTkeep getting Java 21 bytecode and are not affected.maven.compiler.releaseis 25, with maven-compiler-plugin 3.16.0 using<release>.annotationProcessorPaths, since JDK 23+ no longer runs processors found on the classpath.createDependencyReducedPom=false. Without it, shade 3.6.2 installs a reduced POM with 7 dependencies, and consumers lose their transitive dependencies (masterdata failed to compile because of this).Verification
mvn clean installpasses on JDK 25.0.5. Everyio/mosip/testrigclass is class file 69, and the Lombok accessors are generated.apitest-masterdata(companion PR in mosip/admin-services) builds against this version. Its smoke suite on api-internal.released has no PASS->FAIL against develop in any of the 6 languages.Known gaps (not in this PR)
mosip/kattuworkflows that exist only atmaster-java21, with java-version 21 hardcoded, so this branch's CI build will fail until a Java 25 kattu ref exists.mosipidJRE 25 base image yet.Merge order: this PR first, then the admin-services masterdata PR.
Prereg template fix (MOSIP-45785)
The second commit, 876c107, carries the same
generateHbsForPreregfix that goes todevelopin a separate PR (MOSIP-45785):residenceStatusis now sent whenever the schema defines it as asimpleType. Before, it was sent only when the schema required it, and without it prereg booking fails.$PHONENUMBERFORIDENTITY$again instead of{{phone}}.Only pre-registration calls this method. With this commit, prereg's Java 25 change (mosip/pre-registration#1104) is pom-only, and its released smoke run gives the same result as
developfor every case: 121 cases, 110 passed, 11 already failing. This partly reverts 26a349d (MOSIP-37651) and eedd78d (MOSIP-45003), for prereg only.🤖 Generated with Claude Code