Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 2.06 KB

README.md

File metadata and controls

34 lines (25 loc) · 2.06 KB

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.