mosip / print

reference project to use mosip credential service and print a digital card

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Maven Package upon a push Quality Gate Status

Print Service

Overview

A reference implementation to print euin, reprint, qrcode credential types in PDF format. This service is intended to be custimized and used by a card printing agency who need to onboard onto MOSIP as Credential Partner before deploying the service.

  1. Receives events from WebSub.
  2. Fetches templates from Masterdata.
  3. After creating PDF card print service upload the same to Datashare.
  4. Publishes event to WebSub with updated status and Datashare link.

The card data in JSON format is publised as WebSub event. The print service consumes the data from event, decrypts using partner private key and converts into PDF using a predefined template.

Build and run (for developers)

Refer Build and Run.

Deploy

The deploy print service in production follow the given steps:

  1. Onboard your organisation as Credential Partner.
  2. Place your .p12 file in ../src/main/resources folder.
  3. Set configuration as in given here.
  4. Build and run as given here.

Configuration

Refer to the configuration guide.

Test

Automated functaionl tests available in Functional Tests repo.

License

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

About

reference project to use mosip credential service and print a digital card

License:Mozilla Public License 2.0


Languages

Language:Java 98.6%Language:Dockerfile 1.1%Language:HTML 0.3%Language:Shell 0.1%