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:
- Partner management service
- Policy management service
Refer to SQL scripts.
The project requires JDK 1.11.
-
Build and install:
$ cd partner $ mvn install -DskipTests=true -Dmaven.javadoc.skip=true -Dgpg.skip=true
-
Build Docker for a service:
$ cd <service folder> $ docker build -f Dockerfile
To deploy PMS on Kubernetes cluster using Dockers refer to Sandbox Deployment.
partner-management-default.properties
application-default.properties
defined here.
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
- Set KUBECONFIG variable to point to existing K8 cluster kubeconfig file:
export KUBECONFIG=~/.kube/<k8s-cluster.config>
$ cd deploy
$ ./install.sh
$ cd deploy
$ ./delete.sh
$ cd deploy
$ ./restart.sh
Automated functional tests available in Functional Tests.
API documentation is available here.
This project is licensed under the terms of Mozilla Public License 2.0