Skip to content
/ print Public

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

License

Notifications You must be signed in to change notification settings

mosip/print

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 customized 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 published 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

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages