Skip to content

swethan1718/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 PMS Revamp UI Partner-management UI github repo

Partnermanagement 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 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

Config

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}/

Test

Automated functional 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

About

contains services for partner management

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 90.3%
  • Handlebars 6.1%
  • HTML 2.1%
  • Other 1.5%