diff --git a/AGENTS.md b/AGENTS.md index 436eff5cf0..3e94775dc2 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -15,8 +15,8 @@ mosip-ref-impl/ ├── keycloak/ login FTL → AGENTS.md ├── pre-registration-booking-service/ /appointment/** → AGENTS.md ├── registration-processor/ registration-processor-ref-parent → AGENTS.md -│ ├── registration-processor-external-stage/ → AGENTS.md -│ └── registration-processor-external-integration-service/ → AGENTS.md +│ ├── registration-processor-external-stage/ Vert.x → EIS → AGENTS.md +│ └── registration-processor-external-integration-service/ EIS stub REST → AGENTS.md ├── helm/prereg-booking/ javaOpts → JDK_JAVA_OPTIONS → AGENTS.md ├── licenses/ NOTICE texts ├── .github/ CI; never read keys/ → AGENTS.md diff --git a/cache-provider-hazelcast/AGENTS.md b/cache-provider-hazelcast/AGENTS.md index c55d27d442..e9d1fae008 100644 --- a/cache-provider-hazelcast/AGENTS.md +++ b/cache-provider-hazelcast/AGENTS.md @@ -1,10 +1,12 @@ # cache-provider-hazelcast -`PacketCacheProvider` + health. Standalone. Pins in `pom.xml`. +`PacketCacheProvider` + Boot 4 health. Standalone pom. Pins in `pom.xml`. ``` cache-provider-hazelcast/ ├── pom.xml README.md AGENTS.md -├── src/main/java/.../hazelcast/config/HazelcastHealthIndicator.java -└── src/test/java/.../config/HazelcastHealthIndicatorTest.java +├── src/main/java/io/mosip/commons/packet/cache/provider/hazelcast/config/ +│ └── HazelcastHealthIndicator.java # packetmanager.hazelcast.disable.health.check +└── src/test/java/.../config/ + └── HazelcastHealthIndicatorTest.java ``` diff --git a/cache-provider-hazelcast/README.md b/cache-provider-hazelcast/README.md index b042dc691e..ee7e816d9c 100644 --- a/cache-provider-hazelcast/README.md +++ b/cache-provider-hazelcast/README.md @@ -2,9 +2,9 @@ MOSIP `PacketCacheProvider` SPI backed by Hazelcast, plus an Actuator health indicator. -- **Artifact**: `io.mosip.cacheprovider:cache-provider-hazelcast:1.4.1-SNAPSHOT` -- **Parent**: `spring-boot-starter-parent` **4.1.1** -- **Hazelcast**: 5.7.0 +Pins (Boot parent, Hazelcast, plugins, JaCoCo gate) live in [`pom.xml`](pom.xml) — not here. + +- **Artifact**: `io.mosip.cacheprovider:cache-provider-hazelcast` - **Health**: `HazelcastHealthIndicator` (`org.springframework.boot.health.contributor` — Boot 4) - **Git info**: `service-git.properties` @@ -21,7 +21,7 @@ Drop the JAR on the packet-manager classpath (scope of `spring-boot-starter` / a mvn clean verify -Dmaven.javadoc.skip=true -Dgpg.skip=true ``` -JaCoCo LINE covered ratio **0.90** (`target/site/jacoco/index.html`). +JaCoCo LINE covered ratio is gated in `pom.xml` (`target/site/jacoco/index.html`). ## Health diff --git a/cache-provider-hazelcast/pom.xml b/cache-provider-hazelcast/pom.xml index ee13b97cbd..d55d0b6d3f 100644 --- a/cache-provider-hazelcast/pom.xml +++ b/cache-provider-hazelcast/pom.xml @@ -4,6 +4,10 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 + org.springframework.boot spring-boot-starter-parent @@ -16,18 +20,27 @@ 1.4.1-SNAPSHOT cache-provider-hazelcast - MOSIP PacketCacheProvider SPI backed by Hazelcast (Spring Boot 4.1.1, Java 21). - No kernel-bom. Module version and third-party pins live in this pom — not in README.md. + MOSIP PacketCacheProvider SPI backed by Hazelcast IMDG, plus Boot 4 Actuator + health (HazelcastHealthIndicator on org.springframework.boot.health.contributor). + Spring Boot 4.1.1 parent, Java 21. Standalone — no kernel-bom and no + kernel-ref-parent. Module, plugin, and third-party pins live in this pom — + not in README.md or AGENTS.md. Fat JAR (assembly jar-with-dependencies, + appendAssemblyId false) is dropped onto the packet-manager classpath; + spring-boot-starter and actuator are provided by that host. https://github.com/mosip/mosip-ref-impl 21 + false + + 3.16.0 3.6.0 0.8.15 + 0.90 ${project.build.directory}/site/jacoco/jacoco.xml 5.8.0.7211 @@ -37,36 +50,18 @@ 3.2.0 4.9.10 0.11.0 + 3.8.0 - + + + 5.7.0 - - - MPL 2.0 - https://www.mozilla.org/en-US/MPL/2.0/ - repo - - - - scm:git:git://github.com/mosip/mosip-ref-impl.git - scm:git:ssh://github.com:mosip/mosip-ref-impl.git - https://github.com/mosip/mosip-ref-impl - HEAD - - - - MOSIP - mosip.emailnotifier@gmail.com - io.mosip - https://github.com/mosip - - - org.springframework.boot @@ -74,8 +69,9 @@ provided org.springframework.boot @@ -83,13 +79,18 @@ provided com.hazelcast hazelcast ${hazelcast.version} + org.springframework.boot spring-boot-starter-test @@ -110,6 +111,11 @@ + org.apache.maven.plugins maven-assembly-plugin @@ -130,6 +136,10 @@ + org.apache.maven.plugins maven-compiler-plugin @@ -139,6 +149,10 @@ true + org.apache.maven.plugins maven-surefire-plugin @@ -148,6 +162,10 @@ @{argLine} --add-opens java.xml/jdk.xml.internal=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED + org.jacoco jacoco-maven-plugin @@ -187,6 +205,7 @@ + org.apache.maven.plugins maven-source-plugin @@ -200,6 +219,7 @@ + org.apache.maven.plugins maven-javadoc-plugin @@ -217,6 +237,7 @@ false + org.apache.maven.plugins maven-gpg-plugin @@ -237,6 +258,10 @@ + pl.project13.maven git-commit-id-plugin @@ -251,7 +276,6 @@ - true ${project.build.outputDirectory}/service-git.properties @@ -262,11 +286,16 @@ ${project.basedir}/.git + org.apache.maven.plugins maven-deploy-plugin ${maven.deploy.plugin.version} + org.sonatype.central central-publishing-maven-plugin @@ -280,6 +309,7 @@ + sonar @@ -309,4 +339,26 @@ + + + + MPL 2.0 + https://www.mozilla.org/en-US/MPL/2.0/ + repo + + + + scm:git:git://github.com/mosip/mosip-ref-impl.git + scm:git:ssh://github.com:mosip/mosip-ref-impl.git + https://github.com/mosip/mosip-ref-impl + HEAD + + + + MOSIP + mosip.emailnotifier@gmail.com + io.mosip + https://github.com/mosip + + diff --git a/cache-provider-redis/AGENTS.md b/cache-provider-redis/AGENTS.md index 7a0af2fff0..be1878dc30 100644 --- a/cache-provider-redis/AGENTS.md +++ b/cache-provider-redis/AGENTS.md @@ -1,10 +1,12 @@ # cache-provider-redis -`PacketCacheProvider` (Jedis). Standalone. Pins in `pom.xml`. +`PacketCacheProvider` (Jedis). Standalone pom. Pins and the module description live in `pom.xml`. ``` cache-provider-redis/ ├── pom.xml README.md AGENTS.md -├── src/main/java/.../redis/config/RedisConfig.java -└── src/test/java/.../config/RedisConfigTest.java +├── src/main/java/io/mosip/commons/packet/cache/provider/redis/config/ +│ └── RedisConfig.java # redis.cache.hostname|port|password +└── src/test/java/.../config/ + └── RedisConfigTest.java ``` diff --git a/cache-provider-redis/README.md b/cache-provider-redis/README.md index 40878de73e..45770a062a 100644 --- a/cache-provider-redis/README.md +++ b/cache-provider-redis/README.md @@ -2,8 +2,9 @@ MOSIP `PacketCacheProvider` SPI backed by Redis (Jedis; Lettuce excluded). -- **Artifact**: `io.mosip.cacheprovider:cache-provider-redis:1.4.1-SNAPSHOT` -- **Parent**: `spring-boot-starter-parent` **4.1.1** +Pins (Boot parent, plugins, JaCoCo gate) and the module description live in [`pom.xml`](pom.xml) — not here. + +- **Artifact**: `io.mosip.cacheprovider:cache-provider-redis` - **Config**: `RedisConfig` (`redis.cache.hostname`, `port`, `password`, pool timeouts) - **Git info**: `service-git.properties` @@ -20,7 +21,7 @@ Drop the JAR on the packet-manager classpath. mvn clean verify -Dmaven.javadoc.skip=true -Dgpg.skip=true ``` -JaCoCo LINE covered ratio **0.90** (`target/site/jacoco/index.html`). Redis: `redis.cache.hostname`, `port`, `password`, pool timeouts (see `RedisConfig`). Lettuce is excluded in favor of Jedis. +JaCoCo LINE covered ratio is gated in `pom.xml` (`target/site/jacoco/index.html`). Redis: `redis.cache.hostname`, `port`, `password`, pool timeouts (see `RedisConfig`). Lettuce is excluded in favor of Jedis. ## License diff --git a/cache-provider-redis/pom.xml b/cache-provider-redis/pom.xml index 466de136e8..d74b9f14f0 100644 --- a/cache-provider-redis/pom.xml +++ b/cache-provider-redis/pom.xml @@ -4,6 +4,10 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 + org.springframework.boot spring-boot-starter-parent @@ -16,18 +20,29 @@ 1.4.1-SNAPSHOT cache-provider-redis - MOSIP PacketCacheProvider SPI backed by Redis/Jedis (Spring Boot 4.1.1, Java 21). - No kernel-bom. Module version and third-party pins live in this pom — not in README.md. + MOSIP PacketCacheProvider SPI backed by Redis via Jedis. Lettuce is excluded from + spring-boot-starter-data-redis. RedisConfig builds a pooled JedisConnectionFactory + and RedisTemplate from redis.cache.hostname, port, password, database, ssl, and + pool settings (max total/idle, connect and read timeouts, max wait, eviction, + test-on-borrow off, JMX off). Spring Boot 4.1.1 parent, Java 21. Standalone — + no kernel-bom and no kernel-ref-parent. Module and plugin pins live in this pom — + not in README.md or AGENTS.md. Jedis is version-managed by the Boot parent. + Fat JAR (assembly jar-with-dependencies, appendAssemblyId false) is dropped onto + the packet-manager classpath; spring-boot-starter and actuator are provided by that host. https://github.com/mosip/mosip-ref-impl 21 + false + + 3.16.0 3.6.0 0.8.15 + 0.90 ${project.build.directory}/site/jacoco/jacoco.xml 5.8.0.7211 @@ -37,34 +52,14 @@ 3.2.0 4.9.10 0.11.0 + 3.8.0 - - - MPL 2.0 - https://www.mozilla.org/en-US/MPL/2.0/ - repo - - - - scm:git:git://github.com/mosip/mosip-ref-impl.git - scm:git:ssh://github.com:mosip/mosip-ref-impl.git - https://github.com/mosip/mosip-ref-impl - HEAD - - - - MOSIP - mosip.emailnotifier@gmail.com - io.mosip - https://github.com/mosip - - - org.springframework.boot @@ -72,7 +67,9 @@ provided org.springframework.boot @@ -80,8 +77,8 @@ provided org.springframework.boot @@ -94,14 +91,16 @@ redis.clients jedis org.springframework.boot @@ -123,6 +122,11 @@ + org.apache.maven.plugins maven-assembly-plugin @@ -143,6 +147,10 @@ + org.apache.maven.plugins maven-compiler-plugin @@ -152,6 +160,10 @@ true + org.apache.maven.plugins maven-surefire-plugin @@ -161,6 +173,10 @@ @{argLine} --add-opens java.xml/jdk.xml.internal=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED + org.jacoco jacoco-maven-plugin @@ -200,6 +216,7 @@ + org.apache.maven.plugins maven-source-plugin @@ -213,6 +230,7 @@ + org.apache.maven.plugins maven-javadoc-plugin @@ -230,6 +248,7 @@ false + org.apache.maven.plugins maven-gpg-plugin @@ -250,6 +269,10 @@ + pl.project13.maven git-commit-id-plugin @@ -264,7 +287,6 @@ - true ${project.build.outputDirectory}/service-git.properties @@ -275,11 +297,16 @@ ${project.basedir}/.git + org.apache.maven.plugins maven-deploy-plugin ${maven.deploy.plugin.version} + org.sonatype.central central-publishing-maven-plugin @@ -293,6 +320,7 @@ + sonar @@ -322,4 +350,25 @@ + + + MPL 2.0 + https://www.mozilla.org/en-US/MPL/2.0/ + repo + + + + scm:git:git://github.com/mosip/mosip-ref-impl.git + scm:git:ssh://github.com:mosip/mosip-ref-impl.git + https://github.com/mosip/mosip-ref-impl + HEAD + + + + MOSIP + mosip.emailnotifier@gmail.com + io.mosip + https://github.com/mosip + + diff --git a/kernel/AGENTS.md b/kernel/AGENTS.md index 69a64bf2ce..0a842dce8b 100644 --- a/kernel/AGENTS.md +++ b/kernel/AGENTS.md @@ -1,11 +1,15 @@ # kernel -`kernel-ref-parent` (`packaging=pom`). Child → that `AGENTS.md`. Pins in `pom.xml`. +`kernel-ref-parent` (`packaging=pom`). No `kernel-bom`. Child → that folder’s `AGENTS.md`. Pins in `pom.xml`. ``` kernel/ -├── pom.xml AGENTS.md -├── kernel-ref-idobjectvalidator/ → AGENTS.md -├── kernel-smsserviceprovider-msg91/ → AGENTS.md -└── kernel-virusscanner-clamav/ → AGENTS.md +├── pom.xml README.md AGENTS.md +├── kernel-ref-idobjectvalidator/ IdObjectValidator → AGENTS.md +├── kernel-smsserviceprovider-msg91/ SMS SPI (MSG91) → AGENTS.md +└── kernel-virusscanner-clamav/ VirusScanner + ClamAV → AGENTS.md +``` + +```bash +mvn -f kernel/pom.xml -pl clean install -Dmaven.javadoc.skip=true -Dgpg.skip=true ``` diff --git a/kernel/README.md b/kernel/README.md index 39152f4455..a36c148a63 100644 --- a/kernel/README.md +++ b/kernel/README.md @@ -1,30 +1,36 @@ # kernel -Parent **`kernel-ref-parent`** (`packaging=pom`). Spring Boot **4.1.1**, Java 21, no `kernel-bom`. Logging comes from `kernel-core` (commons); do not add `kernel-logger-logback`. MOSIP versions are in `kernel/pom.xml`. +Parent `kernel-ref-parent` (`packaging=pom`) for three MOSIP kernel SPI reference implementations. + +Pins (Boot parent, MOSIP jars, plugins, JaCoCo gate) and the module description live in [`pom.xml`](pom.xml) — not here. + +- **Artifact**: `io.mosip.kernel:kernel-ref-parent` +- **Logging**: `kernel-core` (commons) — do not add `kernel-logger-logback` +- **Git info**: `service-git.properties` ## Modules -| Module | SPI / role | README | -|---|---|---| -| [kernel-ref-idobjectvalidator](kernel-ref-idobjectvalidator) | `IdObjectValidator` — identity JSON vs schema + masterdata | [README](kernel-ref-idobjectvalidator/README.md) | -| [kernel-smsserviceprovider-msg91](kernel-smsserviceprovider-msg91) | `SMSServiceProvider` — MSG91 HTTP | [README](kernel-smsserviceprovider-msg91/README.md) | -| [kernel-virusscanner-clamav](kernel-virusscanner-clamav) | `VirusScanner` — ClamAV | [README](kernel-virusscanner-clamav/README.md) | +| Module | SPI / role | +|---|---| +| [kernel-ref-idobjectvalidator](kernel-ref-idobjectvalidator) | `IdObjectValidator` — identity JSON vs schema + masterdata | +| [kernel-smsserviceprovider-msg91](kernel-smsserviceprovider-msg91) | `SMSServiceProvider` — MSG91 HTTP | +| [kernel-virusscanner-clamav](kernel-virusscanner-clamav) | `VirusScanner` — ClamAV | Swap implementation = swap the JAR. SPIs auto-load from `META-INF/spring.factories`. ## Build -From this directory: - ```text +cd kernel mvn clean install -Dmaven.javadoc.skip=true -Dgpg.skip=true +``` + +```text mvn -pl kernel-ref-idobjectvalidator clean install -Dmaven.javadoc.skip=true -Dgpg.skip=true mvn clean verify -Dmaven.javadoc.skip=true -Dgpg.skip=true ``` -JaCoCo LINE covered ratio **0.90** on `verify` (`target/site/jacoco/index.html` per child). `kernel-ref-idobjectvalidator` tests use `--enable-preview`. - -Git commit plugin writes `service-git.properties` (not `git.properties`). +JaCoCo LINE covered ratio is gated in `pom.xml` (`target/site/jacoco/index.html` per child). `kernel-ref-idobjectvalidator` tests use `--enable-preview`. ## License diff --git a/kernel/kernel-ref-idobjectvalidator/AGENTS.md b/kernel/kernel-ref-idobjectvalidator/AGENTS.md index b2b03cb353..89b253fbb4 100644 --- a/kernel/kernel-ref-idobjectvalidator/AGENTS.md +++ b/kernel/kernel-ref-idobjectvalidator/AGENTS.md @@ -1,6 +1,6 @@ # kernel-ref-idobjectvalidator -`IdObjectValidator` SPI. Tests `--enable-preview`. Pins in `kernel/pom.xml`. +`IdObjectValidator` SPI. Tests: `--enable-preview`. Pins in parent `kernel/pom.xml`. ``` kernel-ref-idobjectvalidator/ @@ -8,10 +8,13 @@ kernel-ref-idobjectvalidator/ └── src/ ├── main/java/io/mosip/kernel/idobjectvalidator/ │ ├── impl/IdObjectReferenceValidator.java - │ └── constant/IdObjectReferenceValidatorConstant.java - │ IdObjectReferenceValidatorDocumentMapping.java - │ IdObjectReferenceValidatorLocationMapping.java + │ └── constant/ + │ ├── IdObjectReferenceValidatorConstant.java + │ ├── IdObjectReferenceValidatorDocumentMapping.java + │ └── IdObjectReferenceValidatorLocationMapping.java └── test/ - ├── java/.../test/IdObjectReferenceValidatorTest.java TestConfig.java + ├── java/.../idobjectvalidator/test/ + │ ├── IdObjectReferenceValidatorTest.java + │ └── TestConfig.java └── resources/ application-test.properties schema.json ``` diff --git a/kernel/kernel-ref-idobjectvalidator/README.md b/kernel/kernel-ref-idobjectvalidator/README.md index f07995854f..fe8006638c 100644 --- a/kernel/kernel-ref-idobjectvalidator/README.md +++ b/kernel/kernel-ref-idobjectvalidator/README.md @@ -1,11 +1,13 @@ # kernel-ref-idobjectvalidator -Reference `IdObjectValidator` that checks identity JSON against schema and masterdata (documents, locations, gender, etc.). +Reference `IdObjectValidator` that checks identity JSON against schema and masterdata (documents, locations, gender, languages). -- **Artifact**: `io.mosip.kernel:kernel-ref-idobjectvalidator:1.4.1-SNAPSHOT` -- **Parent**: `kernel-ref-parent` (Boot **4.1.1**, `kernel-core` supplies logging) +Pins live in parent [`kernel/pom.xml`](../pom.xml). Module description lives in [`pom.xml`](pom.xml) — not here. + +- **Artifact**: `io.mosip.kernel:kernel-ref-idobjectvalidator` +- **Impl**: `IdObjectReferenceValidator` - **Preview**: tests use `--enable-preview` -- **Config**: `mosip.idobjectvalidator.scheduler.reset-cache.cron-job-pattern` and masterdata URI properties +- **Config**: `mosip.idobjectvalidator.masterdata.rest.uri`, `mosip.idobjectvalidator.scheduler.reset-cache.cron-job-pattern` ## Build @@ -14,13 +16,11 @@ cd kernel mvn -pl kernel-ref-idobjectvalidator clean install -Dmaven.javadoc.skip=true -Dgpg.skip=true ``` -Runtime consumers (booking, registration client) add this JAR plus `kernel-auth-adapter` as needed. - ```text mvn -pl kernel-ref-idobjectvalidator clean verify -Dmaven.javadoc.skip=true -Dgpg.skip=true ``` -JaCoCo LINE covered ratio **0.90**. `json-path` / `json-smart` are compile dependencies (identity JSON queries). +JaCoCo LINE covered ratio is gated in the parent `pom.xml` (`target/site/jacoco/index.html`). Drop the JAR onto booking / registration-client. ## License diff --git a/kernel/kernel-ref-idobjectvalidator/pom.xml b/kernel/kernel-ref-idobjectvalidator/pom.xml index 91a2577c6c..c91fb93e6e 100644 --- a/kernel/kernel-ref-idobjectvalidator/pom.xml +++ b/kernel/kernel-ref-idobjectvalidator/pom.xml @@ -3,6 +3,12 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 + + io.mosip.kernel kernel-ref-parent @@ -13,9 +19,23 @@ 1.4.1-SNAPSHOT kernel-ref-idobjectvalidator - Reference IdObjectValidator: JSON schema + masterdata validation. - kernel-core (commons) supplies logging; do not add kernel-logger-logback. + Reference IdObjectValidator: identity JSON vs schema and masterdata + (documents, locations, gender, languages). IdObjectReferenceValidator + queries identity with json-path / json-smart, caches masterdata in + commons-collections4 multi-maps, and refreshes via + mosip.idobjectvalidator.masterdata.rest.uri, + mosip.idobjectvalidator.scheduler.reset-cache.cron-job-pattern, and + mosip.idobjectvalidator.refresh-cache-on-unknown-value. Also uses + mosip.mandatory-languages, mosip.optional-languages, and + mosip.kernel.idobjectvalidator identity path / date-format keys. + Tests require surefire --enable-preview. kernel-core (commons) supplies + logging; do not add kernel-logger-logback. Versions from parent + kernel-ref-parent; module description lives in this pom, not in + README.md or AGENTS.md. spring-boot-starter-web (RestTemplate) and + Spring Cloud config/bootstrap are declared here. Drop the JAR onto + booking / registration-client. + https://github.com/mosip/mosip-ref-impl io.mosip.kernel kernel-ref-parent @@ -13,8 +19,18 @@ 1.4.1-SNAPSHOT kernel-smsserviceprovider-msg91 - Reference SMS SPI using MSG91. kernel-core (commons) supplies logging; - do not add kernel-logger-logback. kernel-auth-adapter injects MOSIP tokens. + Reference SMSServiceProvider SPI using the MSG91 HTTP API. + SMSServiceProviderImpl validates mosip.id.validation.identity.phone then + GET-calls mosip.kernel.sms.api with authkey, sender, route, unicode, and + country code (mosip.kernel.sms.enabled, country.code, number min/max + length, api, sender, password, route, authkey, unicode). Auto-loaded via + META-INF/spring.factories (EnableAutoConfiguration to + SMSServiceProviderImpl and ApiExceptionHandler). kernel-core supplies + logging; do not add kernel-logger-logback. kernel-auth-adapter injects + MOSIP tokens on outbound calls. Versions from parent kernel-ref-parent; + module description lives in this pom, not in README.md or AGENTS.md. + Swap vendor by replacing the impl, not the SPI. bootstrap.properties is + excluded from the packaged resources. https://github.com/mosip/mosip-ref-impl @@ -24,7 +40,7 @@ io.mosip.kernel kernel-core - + io.mosip.kernel kernel-auth-adapter @@ -36,6 +52,7 @@ src/main/resources + bootstrap.properties diff --git a/kernel/kernel-virusscanner-clamav/AGENTS.md b/kernel/kernel-virusscanner-clamav/AGENTS.md index 252cd7103a..ecec2e48cd 100644 --- a/kernel/kernel-virusscanner-clamav/AGENTS.md +++ b/kernel/kernel-virusscanner-clamav/AGENTS.md @@ -1,6 +1,6 @@ # kernel-virusscanner-clamav -`VirusScanner`. `spring.factories`. Pins in `kernel/pom.xml`. +`VirusScanner` (`ScanResult.OK` / `VirusFound`). Auto-config: `spring.factories`. Pins in parent `kernel/pom.xml`. ``` kernel-virusscanner-clamav/ @@ -10,7 +10,12 @@ kernel-virusscanner-clamav/ │ ├── java/io/mosip/kernel/virusscanner/clamav/ │ │ ├── impl/VirusScannerImpl.java │ │ └── constant/VirusScannerErrorCodes.java - │ └── resources/META-INF/spring.factories logback.xml - └── test/java/.../test/VirusScannerServiceTest.java VirusScannerExceptionTest.java - resources/ application.properties logback.xml files/test1.docx + │ └── resources/ + │ ├── META-INF/spring.factories + │ └── logback.xml + └── test/ + ├── java/.../clamav/test/ + │ ├── VirusScannerServiceTest.java + │ └── VirusScannerExceptionTest.java + └── resources/ application.properties logback.xml files/test1.docx ``` diff --git a/kernel/kernel-virusscanner-clamav/README.md b/kernel/kernel-virusscanner-clamav/README.md index 242520ab8e..f2dff21911 100644 --- a/kernel/kernel-virusscanner-clamav/README.md +++ b/kernel/kernel-virusscanner-clamav/README.md @@ -1,10 +1,11 @@ -# Kernel Virus Scanner — ClamAV +# kernel-virusscanner-clamav -Reference `VirusScanner` using [ClamAV](https://www.clamav.net/) via `xyz.capybara:clamav-client` **2.1.2**. +Reference `VirusScanner` using [ClamAV](https://www.clamav.net/). -- **Artifact**: `io.mosip.kernel:kernel-virusscanner-clamav:1.4.1-SNAPSHOT` -- **Parent**: `kernel-ref-parent` (Boot **4.1.1**) -- **Logging**: `kernel-core` (commons) +Pins live in parent [`kernel/pom.xml`](../pom.xml). Module description lives in [`pom.xml`](pom.xml) — not here. + +- **Artifact**: `io.mosip.kernel:kernel-virusscanner-clamav` +- **Impl**: `VirusScannerImpl` via `META-INF/spring.factories` - **Config**: `mosip.kernel.virus-scanner.host`, `mosip.kernel.virus-scanner.port` To integrate another scanner, see [Integrating Virus Scanner](docs/av.md). @@ -17,7 +18,7 @@ mvn -pl kernel-virusscanner-clamav clean install -Dmaven.javadoc.skip=true -Dgpg mvn -pl kernel-virusscanner-clamav clean verify -Dmaven.javadoc.skip=true -Dgpg.skip=true ``` -JaCoCo LINE covered ratio **0.90**. Scan API: `ScanResult.OK` / `VirusFound` (clamav-client 2.1.2). +JaCoCo LINE covered ratio is gated in the parent `pom.xml`. Scan API: `ScanResult.OK` / `VirusFound`. Fat JAR from the assembly plugin (no classifier). ## License diff --git a/kernel/kernel-virusscanner-clamav/pom.xml b/kernel/kernel-virusscanner-clamav/pom.xml index 8c337e38b8..87b9a33e1f 100644 --- a/kernel/kernel-virusscanner-clamav/pom.xml +++ b/kernel/kernel-virusscanner-clamav/pom.xml @@ -3,6 +3,12 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 + + io.mosip.kernel kernel-ref-parent @@ -13,9 +19,19 @@ 1.4.1-SNAPSHOT kernel-virusscanner-clamav - Reference VirusScanner SPI using ClamAV (clamav-client 2.1.2). - kernel-core (commons) supplies logging; do not add kernel-logger-logback. + Reference VirusScanner SPI (Boolean / InputStream) using ClamAV via + xyz.capybara clamav-client. VirusScannerImpl connects lazily to + mosip.kernel.virus-scanner.host and mosip.kernel.virus-scanner.port; + scan returns true on ScanResult.OK and false on VirusFound. Unreachable + daemon or missing files throw VirusScannerException. Auto-loaded via + META-INF/spring.factories. kernel-core supplies logging; do not add + kernel-logger-logback. clamav-client version is pinned on + kernel-ref-parent. Module description lives in this pom, not in + README.md or AGENTS.md. Fat JAR (assembly jar-with-dependencies, + appendAssemblyId false) for drop-in on the consumer classpath. + Another AV: see docs/av.md. + https://github.com/mosip/mosip-ref-impl @@ -32,6 +48,7 @@ + org.apache.maven.plugins maven-assembly-plugin diff --git a/kernel/pom.xml b/kernel/pom.xml index 1e3322b6d7..4b892788a3 100644 --- a/kernel/pom.xml +++ b/kernel/pom.xml @@ -4,6 +4,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 + org.springframework.boot spring-boot-starter-parent @@ -17,8 +24,20 @@ pom kernel - Parent of MOSIP kernel reference implementations (id object validator, MSG91 SMS, ClamAV). - Boot 4.1.1, Java 21, no kernel-bom. MOSIP kernel jars pinned here. + Parent POM (packaging=pom) of MOSIP kernel reference implementations: + IdObjectValidator (identity JSON vs schema and masterdata; tests use + --enable-preview), MSG91 SMSServiceProvider (META-INF/spring.factories, + outbound tokens via kernel-auth-adapter), and ClamAV VirusScanner + (VirusScanner<Boolean, InputStream>, ScanResult.OK / VirusFound). + Spring Boot 4.1.1 parent, Java 21. No kernel-bom — MOSIP jars (kernel-core, + kernel-auth-adapter) and third-party pins (commons-collections4, json-path, + json-smart, clamav-client, JAXB 2.3 javax line) live in this pom, not in + README.md or AGENTS.md. Logging is in kernel-core (commons); do not depend + on kernel-logger-logback. Jackson 2 via spring-boot-jackson2 because Boot 4 + defaults to Jackson 3. Spring Cloud Oakwood is imported for config/bootstrap. + JaCoCo LINE covered-ratio gate and git-commit-id (service-git.properties) + apply to children. Swap an impl by swapping the child JAR on the consumer + classpath. https://github.com/mosip/mosip-ref-impl @@ -49,11 +68,6 @@ 0.11.0 3.8.0 - - - - 1.4.1-SNAPSHOT - 1.4.1-SNAPSHOT 2025.1.3 4.6.0 @@ -68,6 +82,12 @@ ${project.build.directory}/site/jacoco/jacoco.xml 0.90 + + + + + 1.4.1-SNAPSHOT + 1.4.1-SNAPSHOT diff --git a/pre-registration-booking-service/pom.xml b/pre-registration-booking-service/pom.xml index 5f5190dc59..b1553bc8d7 100644 --- a/pre-registration-booking-service/pom.xml +++ b/pre-registration-booking-service/pom.xml @@ -4,6 +4,12 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 + org.springframework.boot spring-boot-starter-parent @@ -16,8 +22,27 @@ 1.4.1-SNAPSHOT pre-registration-booking-service - MOSIP Pre-registration appointment booking REST service (Spring Boot 4.1.1, Java 21). - No kernel-bom. MOSIP versions are pinned here — not in README.md. + MOSIP Pre-registration appointment booking REST service. BookingApplication + scans io.mosip.* (kernel crypto and keymanager packages excluded) and serves + BookingController under /appointment/** on context /preregistration/v1: + slot availability, single and multi book, get by pre-registration id, cancel, + batch cancel, delete, and centre/date queries. Roles come from the + authorizedRoles bean. Slot contention uses BookingLock (registration centre, + date, timeslot). Spring Boot 4.1.1 parent, Java 21. No kernel-bom. MOSIP pins + (pre-registration-core, kernel-core, kernel-auth-adapter, + kernel-ref-idobjectvalidator) and third-party pins (springdoc, jjwt, + json-path, json-smart, JAXB 2.3 javax line, javassist, + logstash-logback-encoder) live in this pom — not in README.md or AGENTS.md. + kernel-auth-adapter and kernel-ref-idobjectvalidator are packaged in the + service JAR; do not wget them at container start. Logging is in kernel-core + (commons); do not depend on kernel-logger-logback. Jackson 2 via + spring-boot-jackson2 because Boot 4 defaults to Jackson 3. Spring Cloud + Oakwood is imported for config/bootstrap (pre-registration properties). + git-commit-id writes service-git.properties. JaCoCo LINE covered-ratio gate. + Tests are JUnit 4 + Mockito (junit-vintage-engine); Surefire adds + --enable-preview. JVM flags come from Helm prereg-booking javaOpts as + JDK_JAVA_OPTIONS, not from the Dockerfile. CI waits for kernel publish + before this module. https://github.com/mosip/mosip-ref-impl @@ -25,13 +50,6 @@ 21 false - - - - 1.4.0-SNAPSHOT - 1.4.1-SNAPSHOT - 1.4.1-SNAPSHOT - 1.4.1-SNAPSHOT 2025.1.3 3.1.1 @@ -60,6 +78,14 @@ **/dto/**,**/entity/**,**/config/** ${project.build.directory}/site/jacoco/jacoco.xml 0.90 + + + + + 1.4.0-SNAPSHOT + 1.4.1-SNAPSHOT + 1.4.1-SNAPSHOT + 1.4.1-SNAPSHOT diff --git a/registration-processor/AGENTS.md b/registration-processor/AGENTS.md index 3f2f578592..431f5f83f0 100644 --- a/registration-processor/AGENTS.md +++ b/registration-processor/AGENTS.md @@ -1,10 +1,14 @@ # registration-processor -`registration-processor-ref-parent` (`packaging=pom`). Child → that `AGENTS.md`. Pins in `pom.xml`. CI artifact: `registration-processor` (both Boot JARs). +`registration-processor-ref-parent` (`packaging=pom`). No `pre-processor`. Child → that folder’s `AGENTS.md`. Pins in `pom.xml`. CI artifact: `registration-processor` (both Boot JARs). ``` registration-processor/ -├── pom.xml AGENTS.md -├── registration-processor-external-stage/ → AGENTS.md -└── registration-processor-external-integration-service/ → AGENTS.md +├── pom.xml README.md AGENTS.md +├── registration-processor-external-stage/ Vert.x → EIS → AGENTS.md +└── registration-processor-external-integration-service/ EIS stub REST → AGENTS.md +``` + +```bash +mvn -f registration-processor/pom.xml -pl clean install -Dmaven.javadoc.skip=true -Dgpg.skip=true ``` diff --git a/registration-processor/README.md b/registration-processor/README.md index 473dec3196..594026c557 100644 --- a/registration-processor/README.md +++ b/registration-processor/README.md @@ -1,6 +1,13 @@ # registration-processor -Parent **`registration-processor-ref-parent`** (`packaging=pom`). Spring Boot **4.1.1**, Java 21. No MOSIP `pre-processor` parent and no `kernel-bom`. MOSIP registration-processor jars are pinned in `registration-processor/pom.xml`. Logging via `kernel-core` (commons). +Parent `registration-processor-ref-parent` (`packaging=pom`) for the MOSIP registration-processor reference implementations (Vert.x external stage and the country EIS stub). + +Pins (Boot parent, MOSIP jars, plugins, JaCoCo gate) and the module description live in [`pom.xml`](pom.xml) — not here. + +- **Artifact**: `io.mosip.registrationprocessor:registration-processor-ref-parent` +- **Logging**: `kernel-core` (commons) — do not add `kernel-logger-logback` +- **Git info**: `service-git.properties` +- **CI**: both Boot JARs publish as artifact `registration-processor` ## Modules @@ -23,7 +30,7 @@ mvn clean verify -Dmaven.javadoc.skip=true -Dgpg.skip=true External-stage needs unpublished MOSIP SNAPSHOTs (`registration-processor-core`, status-service-impl, rest-client) installed locally if they are not on Central snapshots. EIS can be built with `-pl` on its own. -JaCoCo LINE covered ratio **0.90** on `verify`. Git info: `service-git.properties`. +JaCoCo LINE covered ratio is gated in `pom.xml` (`target/site/jacoco/index.html` per child). ## Config diff --git a/registration-processor/pom.xml b/registration-processor/pom.xml index 4f080ad337..d2c9cbeebf 100644 --- a/registration-processor/pom.xml +++ b/registration-processor/pom.xml @@ -4,7 +4,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - + org.springframework.boot spring-boot-starter-parent @@ -18,9 +24,24 @@ pom registration-processor - Parent of MOSIP registration-processor reference implementations (external-stage, EIS stub). - Boot 4.1.1, Java 21, no kernel-bom, no pre-processor parent. - MOSIP registration-processor-* jars pinned here. + Parent POM (packaging=pom) of MOSIP registration-processor reference implementations: + external-stage (Vert.x ExternalStage, EXTERNAL_STAGE_BUS_IN → POST ApiName.EISERVICE + → EXTERNAL_STAGE_BUS_OUT, status via registration-status-service-impl) and + external-integration-service (country EIS stub; POST + /registration-processor/external-integration-service/v1.0 returns true when + MessageRequestDTO.request is non-null; Swagger Authorize = Authorization apiKey). + Spring Boot 4.1.1 parent, Java 21. Independent of the MOSIP registration + pre-processor parent. No kernel-bom — MOSIP jars (registration-processor-core, + registration-processor-registration-status-service-impl, + registration-processor-rest-client, kernel-auth-adapter) and third-party pins + (springdoc-openapi, vertx-unit, javax.inject) live in this pom, not in README.md + or AGENTS.md. Logging is in kernel-core (commons, transitive); do not depend on + kernel-logger-logback. Jackson 2 via spring-boot-jackson2 because Boot 4 defaults + to Jackson 3. Spring Cloud Oakwood is imported for config/bootstrap. JaCoCo LINE + covered-ratio gate and git-commit-id (service-git.properties) apply to children. + kernel-auth-adapter is packaged in the service JAR (not fetched at container + start). CI publishes both Boot JARs as artifact registration-processor. Config: + mosip/mosip-config. Stage property prefix: mosip.regproc.external. https://github.com/mosip/mosip-ref-impl diff --git a/registration-processor/registration-processor-external-integration-service/AGENTS.md b/registration-processor/registration-processor-external-integration-service/AGENTS.md index 496b9821d4..0411347510 100644 --- a/registration-processor/registration-processor-external-integration-service/AGENTS.md +++ b/registration-processor/registration-processor-external-integration-service/AGENTS.md @@ -1,18 +1,21 @@ # registration-processor-external-integration-service -EIS stub REST. Authorize = `Authorization` (`SwaggerConfig`). Pins in parent `pom.xml`. +EIS stub. `POST .../v1.0` → `true` if body non-null. Swagger Authorize = `Authorization` apiKey (`SwaggerConfig`). Pins in parent `registration-processor/pom.xml`. ``` registration-processor-external-integration-service/ ├── pom.xml Dockerfile README.md AGENTS.md └── src/ - ├── main/java/io/mosip/registrationprocessor/eis/ - │ ├── ExternalIntegrationServiceApplication.java - │ ├── controller/ExternalController.java - │ ├── config/SwaggerConfig.java OpenApiProperties.java - │ └── entity/BaseRestRequestDTO.java MessageRequestDTO.java - ├── main/resources/bootstrap.properties - └── test/java/.../ExternalIntegrationControllerTest.java - test/java/.../config/SwaggerConfigTest.java - test/resources/application.properties + ├── main/ + │ ├── java/io/mosip/registrationprocessor/eis/ + │ │ ├── ExternalIntegrationServiceApplication.java + │ │ ├── controller/ExternalController.java + │ │ ├── config/SwaggerConfig.java OpenApiProperties.java + │ │ └── entity/BaseRestRequestDTO.java MessageRequestDTO.java + │ └── resources/bootstrap.properties + └── test/ + ├── java/.../eis/ + │ ├── ExternalIntegrationControllerTest.java + │ └── config/SwaggerConfigTest.java + └── resources/application.properties ``` diff --git a/registration-processor/registration-processor-external-integration-service/README.md b/registration-processor/registration-processor-external-integration-service/README.md index 139a2d1743..e97395f2a5 100644 --- a/registration-processor/registration-processor-external-integration-service/README.md +++ b/registration-processor/registration-processor-external-integration-service/README.md @@ -2,9 +2,10 @@ Country stub REST service that receives POSTs from `registration-processor-external-stage`. Replace the controller body with country-specific integration logic. -- **Artifact**: `io.mosip.registrationprocessor:registration-processor-external-integration-service:1.4.1-SNAPSHOT` -- **Parent**: `registration-processor-ref-parent` (Boot **4.1.1**) -- **Logging**: `kernel-core` (commons) +Pins live in parent [`registration-processor/pom.xml`](../pom.xml). Module description lives in [`pom.xml`](pom.xml) — not here. + +- **Artifact**: `io.mosip.registrationprocessor:registration-processor-external-integration-service` +- **Logging**: `kernel-core` (commons) — do not add `kernel-logger-logback` - **Git info**: `service-git.properties` ## Overview @@ -70,7 +71,7 @@ Click **Authorize**, paste the authmanager token, then Try-it-out. mvn -pl registration-processor-external-integration-service clean verify -Dmaven.javadoc.skip=true -Dgpg.skip=true ``` -JaCoCo LINE covered ratio **0.90**. Boot 4 tests use `org.springframework.boot.webmvc.test.autoconfigure.WebMvcTest`. +JaCoCo LINE covered ratio is gated in the parent `pom.xml`. Boot 4 tests use `org.springframework.boot.webmvc.test.autoconfigure.WebMvcTest`. ## Deployment (Kubernetes) diff --git a/registration-processor/registration-processor-external-integration-service/pom.xml b/registration-processor/registration-processor-external-integration-service/pom.xml index 176dbf2942..d7cb146b89 100644 --- a/registration-processor/registration-processor-external-integration-service/pom.xml +++ b/registration-processor/registration-processor-external-integration-service/pom.xml @@ -3,6 +3,12 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 + + io.mosip.registrationprocessor registration-processor-ref-parent @@ -14,14 +20,23 @@ 1.4.1-SNAPSHOT registration-processor-external-integration-service - MOSIP External Integration Service stub. Spring Boot 4.1.1 via parent - registration-processor-ref-parent. No pre-processor parent. Logging via kernel-core (commons). + Country External Integration Service stub (Boot web). ExternalController + POST /registration-processor/external-integration-service/v1.0 returns HTTP 200 + true when MessageRequestDTO.request is non-null, otherwise false. Replace the + controller body with country-specific logic. bootstrap.properties sets + server.servlet.path=/registrationprocessor/v1/eis. Swagger UI Authorize is an + Authorization header apiKey (SwaggerConfig, OpenApiProperties, springdoc; + openapi.* keys). spring-boot-starter-webmvc-test supplies Boot 4 @WebMvcTest. + Actuator exposes info, health, refresh; git metadata from service-git.properties. + Logging via kernel-core (transitive); do not add kernel-logger-logback. Versions + from parent registration-processor-ref-parent; module description lives in this + pom, not in README.md or AGENTS.md. https://github.com/mosip/mosip-ref-impl org.springframework.boot diff --git a/registration-processor/registration-processor-external-stage/AGENTS.md b/registration-processor/registration-processor-external-stage/AGENTS.md index 44f6c073fc..e88d1cf6af 100644 --- a/registration-processor/registration-processor-external-stage/AGENTS.md +++ b/registration-processor/registration-processor-external-stage/AGENTS.md @@ -1,18 +1,20 @@ # registration-processor-external-stage -Vert.x `ExternalStage` → EIS POST. Adapter in JAR. Pins in parent `pom.xml`. +Vert.x `ExternalStage`. `EXTERNAL_STAGE_BUS_IN` → POST EIS → `EXTERNAL_STAGE_BUS_OUT`. Adapter in JAR. Pins in parent `registration-processor/pom.xml`. ``` registration-processor-external-stage/ ├── pom.xml Dockerfile README.md AGENTS.md └── src/ - ├── main/java/io/mosip/registrationprocessor/externalstage/ - │ ├── ExternalStageApplication.java - │ ├── stage/ExternalStage.java - │ ├── config/Externalconfig.java - │ ├── entity/BaseRestRequestDTO.java MessageRequestDTO.java - │ └── utils/StatusMessage.java - ├── main/resources/ bootstrap.properties logback.xml - └── test/java/.../ExternalStageApplicationTests.java - test/java/.../stage/ExternalStageTest.java + ├── main/ + │ ├── java/io/mosip/registrationprocessor/externalstage/ + │ │ ├── ExternalStageApplication.java + │ │ ├── stage/ExternalStage.java + │ │ ├── config/Externalconfig.java + │ │ ├── entity/BaseRestRequestDTO.java MessageRequestDTO.java + │ │ └── utils/StatusMessage.java + │ └── resources/ bootstrap.properties logback.xml + └── test/java/.../externalstage/ + ├── ExternalStageApplicationTests.java + └── stage/ExternalStageTest.java ``` diff --git a/registration-processor/registration-processor-external-stage/README.md b/registration-processor/registration-processor-external-stage/README.md index cb41cf49e4..2cd2549a32 100644 --- a/registration-processor/registration-processor-external-stage/README.md +++ b/registration-processor/registration-processor-external-stage/README.md @@ -2,9 +2,10 @@ Vert.x stage that reads `EXTERNAL_STAGE_BUS_IN`, POSTs to the External Integration Service, then emits `EXTERNAL_STAGE_BUS_OUT`. -- **Artifact**: `io.mosip.registrationprocessor:registration-processor-external-stage:1.4.1-SNAPSHOT` -- **Parent**: `registration-processor-ref-parent` (Boot **4.1.1**) -- **Logging**: `kernel-core` (commons) +Pins live in parent [`registration-processor/pom.xml`](../pom.xml). Module description lives in [`pom.xml`](pom.xml) — not here. + +- **Artifact**: `io.mosip.registrationprocessor:registration-processor-external-stage` +- **Logging**: `kernel-core` (commons) — do not add `kernel-logger-logback` - **Git info**: `service-git.properties` ## Overview @@ -75,7 +76,7 @@ docker build -t registration-processor-external-stage . ``` -JaCoCo LINE covered ratio **0.90**. Needs MOSIP `registration-processor-core` / status-service-impl / rest-client SNAPSHOTs on the classpath. +JaCoCo LINE covered ratio is gated in the parent `pom.xml`. Needs MOSIP `registration-processor-core` / status-service-impl / rest-client SNAPSHOTs on the classpath. `kernel-auth-adapter` is packaged in the Boot JAR. ## Configuration diff --git a/registration-processor/registration-processor-external-stage/pom.xml b/registration-processor/registration-processor-external-stage/pom.xml index 15391a1c7c..0126eb2511 100644 --- a/registration-processor/registration-processor-external-stage/pom.xml +++ b/registration-processor/registration-processor-external-stage/pom.xml @@ -3,6 +3,12 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 + + io.mosip.registrationprocessor registration-processor-ref-parent @@ -14,15 +20,25 @@ 1.4.1-SNAPSHOT registration-processor-external-stage - MOSIP registration-processor Vert.x stage that POSTs to the External Integration Service. - Spring Boot 4.1.1 via parent registration-processor-ref-parent. No pre-processor parent. - Logging via kernel-core (commons); do not add kernel-logger-logback. + Vert.x registration-processor stage. ExternalStage extends MosipVerticleAPIManager: + consumes EXTERNAL_STAGE_BUS_IN, POSTs registration ids to EIS (ApiName.EISERVICE) + via registration-processor-rest-client, updates status through + registration-processor-registration-status-service-impl, then emits + EXTERNAL_STAGE_BUS_OUT. Property prefix mosip.regproc.external. (message + expiry-time-limit, eventbus kafka commit/poll/group, eventbus port, server port, + servlet path). bootstrap.properties sets eventbus.port, server.port, and + server.servlet.path=/registrationprocessor/v1/external. kernel-auth-adapter is + packaged in the Boot JAR (no container wget). Logging via kernel-core; do not + add kernel-logger-logback. Versions from parent registration-processor-ref-parent; + module description lives in this pom, not in README.md or AGENTS.md. Git info: + service-git.properties. Needs registration-processor-core, status-service-impl, + and rest-client SNAPSHOTs on the classpath. https://github.com/mosip/mosip-ref-impl org.springframework.boot