Git Product home page Git Product logo

partner-management-services's Introduction

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

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
    

Deploy

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

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

partner-management-services's People

Contributors

anadi avatar ase-101 avatar balaji-alluru avatar bhumi46 avatar ckm007 avatar dhanendra06 avatar gaganama avatar gsasikumar avatar harishmejari8496 avatar hosurkrishnan avatar kameshsr avatar loganathansekar7627 avatar mahesh-binayak avatar mandeepdhiman123 avatar monobikashdas avatar nagarjunakuchi avatar nayakrounak avatar pjoshi751 avatar prafulrakhade avatar pramod444 avatar rakshitha650 avatar rakshithb1 avatar rambhatt1591 avatar sadanandegowda avatar sanjeevkumarsrivastava avatar saumyamosip avatar sowmya695 avatar syedsalman3753 avatar tabishkhan7 avatar vishwa-vyom avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

partner-management-services's Issues

BUG: Approving device using the API PATCH partnermanagement/v1/partners/DeviceDetail fails

When sending the request to the API endpoint,
PATCH partnermanagement/v1/partners/DeviceDetail it fails with this error:

{
  "id": null,
  "version": null,
  "responsetime": "2021-01-25T13:04:45.119Z",
  "metadata": null,
  "response": null,
  "errors": {
    "errorCode": null,
    "message": "Null value was assigned to a property [class io.mosip.pmp.regdevice.entity.RegDeviceDetail.isDeleted] of primitive type setter of io.mosip.pmp.regdevice.entity.RegDeviceDetail.isDeleted; nested exception is org.hibernate.PropertyAccessException: Null value was assigned to a property [class io.mosip.pmp.regdevice.entity.RegDeviceDetail.isDeleted] of primitive type setter of io.mosip.pmp.regdevice.entity.RegDeviceDetail.isDeleted"
  }
}

Post digitalcertificate API is not working

When I call the digitalcertificate API it returns the below error in logs, I can see that the signatureValue & responseCookies arre not initialized anywhere in the code which cause the below error.

I have another question, how is this certificate linked to a partner although the API does not accept partner ID as input.

2020-07-29 23:18:18,116 [http-nio-9103-exec-3] INFO [i.m.p.p.s.i.PartnerServiceImpl].uploadDigitalCertificate.570 : Request Preparation for DigitalCertificate
2020-07-29 23:18:18,117 [http-nio-9103-exec-3] INFO [i.m.p.p.s.i.PartnerServiceImpl].uploadDigitalCertificate.579 : Decryption error, Sign Require
2020-07-29 23:18:18,118 [http-nio-9103-exec-3] INFO [i.m.p.p.s.i.PartnerServiceImpl].uploadDigitalCertificate.580 : Signature Require
2020-07-29 23:18:18,118 [http-nio-9103-exec-3] INFO [i.m.p.p.s.i.PartnerServiceImpl].uploadDigitalCertificate.598 : Authentication Failed

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.