As the name suggests, Commons refers to all the common services (also called "kernel") that are used by other modules of MOSIP.
Refer to SQL scripts.
The project requires JDK 21.0.3. and mvn version - 3.9.6
- 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
- Set KUBECONFIG variable to point to existing K8 cluster kubeconfig file:
-
export KUBECONFIG=~/.kube/<my-cluster.config>
-
$ cd deploy
$ ./install.sh
$ cd deploy
$ ./delete.sh
$ cd deploy
$ ./restart.sh
To deploy Commons-Services on Kubernetes cluster using Dockers refer to Sandbox Deployment.
Automated functional tests available in Functional Tests repo.
API documentation is available here.
This project is licensed under the terms of Mozilla Public License 2.0.