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.
- 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 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.
Refer Build and Run.
To 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 functional tests available in Functional Tests repo.
This project is licensed under the terms of Mozilla Public License 2.0.