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 PMS Revamp UI Partner-management UI github repo
Partnermanagement module contains following services:
- Partner management service
- Policy management service
Refer to SQL scripts.
The project requires JDK 1.11.
- 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
Add below property to partner-management-default.properties
file in mosip-config repository to Deploy PMS Revamp 1.3.0-DP.1 release in your env.
## This property is used by kernel-authcodeflowproxy-api to check request is coming from allowed urls not.
auth.allowed.urls=https://${mosip.pmp.host}/,https://${mosip.pmp.reactjs.ui.host}/
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