Skip to content
/ commons Public

This repository contains common utilities and services used by other MOSIP modules

License

Notifications You must be signed in to change notification settings

mosip/commons

Repository files navigation

Maven Package upon a push Quality Gate 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.

  1. Build and install:
    $ cd kernel
    $ mvn install -DskipTests=true -Dmaven.javadoc.skip=true -Dgpg.skip=true
    
  2. 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:
    •    export KUBECONFIG=~/.kube/<my-cluster.config>
      

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.