This repository contains source code and design documents for MOSIP ID Repository which is the server-side module to manage ID lifecycle. The modules exposes API endpoints.
See DB guide
The project requires JDK 1.11.
-
To build jars:
$ cd id-repository $ mvn clean install
-
To skip JUnit tests and Java Docs:
$ mvn install -DskipTests=true -Dmaven.javadoc.skip=true
-
To build Docker for a service:
$ cd <service folder> $ docker build -f Dockerfile
-
As a developer, 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
-
kernel-auth-adapter.jar needs to added to the build path to run the service.
NOTE: To run identity service, Biometric SDK implementation jar or Mock SDK needs to be added to the build path.
To deploy ID Repository on Kubernetes cluster using Dockers refer to mosip-infra
Refer to the configuration guide.
Automated functaionl tests available in Functional Tests repo
API documentation is available here.
This project is licensed under the terms of Mozilla Public License 2.0