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.
- Receives events from WebSub.
- Fetches templates from Masterdata.
- After creating PDF card print service upload the same to Datashare.
- 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.
Refer Build and Run.
The deploy print service in production follow the given steps:
- Onboard your organisation as Credential Partner.
- Place your
.p12
file in../src/main/resources
folder. - Set configuration as in given here.
- Build and run as given here.
Refer to the configuration guide.
Automated functaionl tests available in Functional Tests repo.
This project is licensed under the terms of Mozilla Public License 2.0.