Git Product home page Git Product logo

mosip-compliance-toolkit's Introduction

Maven Package upon a push Quality Gate Status

Mosip-compliance-toolkit

This repository contains the source code for MOSIP Compliance-toolkit services. For an overview refer here. The modules exposes API endpoints. For a reference front-end UI implementation refer to Compliance-toolkit UI github repo

Mosip-compliance-toolkit is used to test following biometric components:

  1. Biomtric devices
  2. Biometric SDK

Database

See DB guide.

Config-Server

To run Compliance-toolkit services, run Config Server. All properties mentioned is mosip-compliance-toolkit/src/main/resources/application.properties can be overwritten in config server file compliance-toolkit-default.properties

Build & run (for developers)

Prerequisites:

  1. Config Server
  2. JDK 1.11
  3. Build and install:
    $ cd mosip-compliance-toolkit
    $ mvn clean install -Dgpg.skip=true
    
  4. Build Docker for a service:
    $ cd <service folder>
    $ docker build -f Dockerfile
    

Installing in k8s cluster using helm

Pre-requisites

  1. Set the kube config file of the Mosip cluster having dependent services is set correctly in PC.
  2. Make sure DB setup is done.
  3. Add compliance-toolkit-default.properties in required branch of config repo.
  4. Below are the dependent services required for compliance toolkit service:
    Chart Chart version
    Clamav 2.4.1
    Keycloak 7.1.18
    Keycloak-init 12.0.1-beta
    Postgres 10.16.2
    Postgres Init 12.0.1-beta
    Minio 10.1.6
    Config-server 12.0.1-beta
    Artifactory server 12.0.1-beta
    Auditmanager service 12.0.1-beta
    Authmanager service 12.0.1-beta
    Keymanager service 12.0.1-beta
    Notifier service 12.0.1-beta
    Partner manager service 12.0.1-beta

Install

  • Install kubectl and helm utilities.
  • Run the keycloak-init.sh script to create the mosip-toolkit-client keycloak client. You can skip this step if you have already done it.
  • Keycloak-init.sh will create a user 'mpartner-default-abis' and its temporary password is 'abcd1234'.
    cd helm
    ./keycloak-init.sh
    
  • Run the install.sh to deploy complaince-toolkit.
    cd helm
    ./install.sh [cluster-kubeconfig-file]
    

Restart

cd helm
./restart.sh [cluster-kubeconfig-file]

Delete

cd helm
./delete.sh [cluster-kubeconfig-file]

License

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

mosip-compliance-toolkit's People

Contributors

akilalakshmanan avatar ckm007 avatar gsasikumar avatar janardhanbs-syncbyte avatar mahesh-binayak avatar mayuradesh avatar mohanraj209 avatar nayakrounak avatar nikhil1reddy avatar prafulrakhade avatar pramod444 avatar rakshitha650 avatar rakshithb1 avatar shubham17998 avatar srinivas-mosip avatar sudeep7353 avatar swethakrish4 avatar syedsalman3753 avatar vipuldhurve02 avatar vsivakalyan avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.