pre-registration-document-service

Parent project of MOSIP Pre-Registration

License

License

GroupId

GroupId

io.mosip.preregistration
ArtifactId

ArtifactId

pre-registration-document-service
Last Version

Last Version

1.0.9
Release Date

Release Date

Type

Type

jar
Description

Description

pre-registration-document-service
Parent project of MOSIP Pre-Registration

Download pre-registration-document-service

How to add to project

<!-- https://jarcasting.com/artifacts/io.mosip.preregistration/pre-registration-document-service/ -->
<dependency>
    <groupId>io.mosip.preregistration</groupId>
    <artifactId>pre-registration-document-service</artifactId>
    <version>1.0.9</version>
</dependency>
// https://jarcasting.com/artifacts/io.mosip.preregistration/pre-registration-document-service/
implementation 'io.mosip.preregistration:pre-registration-document-service:1.0.9'
// https://jarcasting.com/artifacts/io.mosip.preregistration/pre-registration-document-service/
implementation ("io.mosip.preregistration:pre-registration-document-service:1.0.9")
'io.mosip.preregistration:pre-registration-document-service:jar:1.0.9'
<dependency org="io.mosip.preregistration" name="pre-registration-document-service" rev="1.0.9">
  <artifact name="pre-registration-document-service" type="jar" />
</dependency>
@Grapes(
@Grab(group='io.mosip.preregistration', module='pre-registration-document-service', version='1.0.9')
)
libraryDependencies += "io.mosip.preregistration" % "pre-registration-document-service" % "1.0.9"
[io.mosip.preregistration/pre-registration-document-service "1.0.9"]

Dependencies

compile (14)

Group / Artifact Type Version
org.springframework.boot : spring-boot-starter-web jar
io.mosip.kernel : kernel-core jar 1.0.9
io.mosip.kernel : kernel-fsadapter-hdfs jar 1.0.6
org.springframework.boot : spring-boot-starter-test jar
org.springframework.cloud : spring-cloud-starter-config jar 2.0.0.RELEASE
io.mosip.preregistration : pre-registration-core jar 1.0.9
com.h2database : h2 jar
io.mosip.kernel : kernel-virusscanner-clamav jar 1.0.6
io.mosip.kernel : kernel-idobjectvalidator jar 1.0.9
io.mosip.kernel : kernel-auth-adapter jar 1.0.6
org.springframework.boot : spring-boot-starter-security jar
io.mosip.preregistration : pre-registration-application-service-impl jar 1.0.9
io.micrometer : micrometer-core jar 1.4.2
io.micrometer : micrometer-registry-prometheus jar 1.4.2

runtime (1)

Group / Artifact Type Version
org.springframework.boot : spring-boot-devtools jar

test (1)

Group / Artifact Type Version
org.springframework.security : spring-security-test jar

Project Modules

There are no modules declared in this project.

Build Status Quality Gate Status Join the chat at https://gitter.im/mosip-community/Pre-registration

Quality Gate Status

Join the chat at https://gitter.im/mosip-community/Pre-registration

Pre-Registration

This repository contains the source code and design documents for MOSIP Pre-Registration module.

Build

The project requires JDK 1.8.

  1. To build jars:
    $ cd pre-registration
    $ mvn clean install 
    
  2. To skip JUnit tests and Java Docs:
    $ mvn install -DskipTests=true -Dmaven.javadoc.skip=true
    
  3. To build Docker for a service:
    $ cd <service folder>
    $ docker build -f Dockerfile
    

Deploy

  1. To run all services as Dockers using MiniKube run sandbox installer scripts.

  2. To run a Service jar individually:

    `java -Dspring.profiles.active=<profile> -Dspring.cloud.config.uri=<config-url> -Dspring.cloud.config.label=<config-label> -jar <jar-name>.jar`
    

    Example:
    profile: env (extension used on configuration property files*)
    config_label: master (git branch of config repo*)
    config-url: http://localhost:51000 (Url of the config server*)

    * Refer to kernel-config-server for details

  3. Note that you will have to run the dependent services like kernel-config-server to run any service successfully.

  4. To run a Docker image individually:

    $ docker run -it -p <host-port>:<container-port> -e active_profile_env={profile} -e spring_config_label_env= {branch} -e spring_config_url_env={config_server_url} <docker-registry-IP:docker-registry-port/<dcker-image>`
    

Test

Automated functaionl tests available in Functional Tests repo

APIs

API documentation available on Wiki: Pre-Registration APIs

Documentation

MOSIP documentation is available on Wiki

License

This project is licensed under the terms of Mozilla Public License 2.0

io.mosip.preregistration

Modular Open Source Identity Platform

An open source platform on which national foundational IDs are built

Versions

Version
1.0.9
1.0.7
1.0.6
1.0.5