![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=mosip_commons&metric=alert_status)
Commons
Overview
As the name suggests, Commons refers to all the common services (also called "kernel") that are used by other modules of MOSIP.
Databases
Refer to SQL scripts.
Build & run (for developers)
The project requires JDK 1.11.
- Build and install:
$ cd kernel
$ mvn install -DskipTests=true -Dmaven.javadoc.skip=true -Dgpg.skip=true
- Build Docker for a service:
$ cd <service folder>
$ docker build -f Dockerfile
Deployment in K8 cluster with other MOSIP services:
Pre-requisites
- Set KUBECONFIG variable to point to existing K8 cluster kubeconfig file:
Install
$ cd deploy
$ ./install.sh
Delete
$ cd deploy
$ ./delete.sh
Restart
$ cd deploy
$ ./restart.sh
Test
Automated functaionl tests available in Functional Tests repo.
APIs
API documentation is available here.
License
This project is licensed under the terms of Mozilla Public License 2.0.