Skip to content

mosip/partner-management-services

Repository files navigation

Partner Management Services (PMS)

Maven Package upon a push Quality Gate Status

Overview

This repository contains the source code MOSIP Partner Management module. For an overview refer here. The module exposes API endpoints. For a reference front-end UI implementation refer to Partner-management UI GitHub repo Partner management module contains following services:

  1. Partner management service
  2. Policy management service

Databases

Refer to SQL scripts.

Build & run (for developers)

The project requires JDK 1.11.

  1. Build and install:

    $ cd partner
    $ mvn install -DskipTests=true -Dmaven.javadoc.skip=true -Dgpg.skip=true
    
  2. Build Docker for a service:

    $ cd <service folder>
    $ docker build -f Dockerfile
    

Deploy

To deploy PMS on Kubernetes cluster using Dockers refer to Sandbox Deployment.

Configuration

partner-management-default.properties

application-default.properties

defined here.

Configuration for PMS Revamp with different Keymanager versions

These properties control the availability of features in the PMS system, depending on the Keymanager version. Features are enabled or disabled based on the specific Keymanager version in use. Please refer here for more details

mosip.pms.ca.signed.partner.certificate.available=true
mosip.pms.oidc.client.available=true
mosip.pms.root.and.intermediate.certificates.available=true

Deployment in K8 cluster with other MOSIP services:

Pre-requisites

  • Set KUBECONFIG variable to point to existing K8 cluster kubeconfig file:
    export KUBECONFIG=~/.kube/<k8s-cluster.config>
    

Install

  $ cd deploy
  $ ./install.sh

Delete

  $ cd deploy
  $ ./delete.sh

Restart

  $ cd deploy
  $ ./restart.sh

Test

Automated functional tests available in Functional Tests.

APIs

API documentation is available here.

License

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

About

contains services for partner management

Resources

License

Stars

Watchers

Forks

Packages

No packages published