The guide here lists down some of the important properties that may be customised for a given installation. Note that the listing here is not exhaustive, but a checklist to review properties that are likely to be different from default. If you would like to see all the properties, then refer to the files listed below.
Print service uses the following configuration files that are accessible in this repository. Please refer to the required released tagged version for configuration.
- Configuration-Application
- Configuration-Print
- Configuration-RegProcPrintTextFile
- Configuration-IdMapping
Refer Module Configuration for location of these files.
The HTML template RPR_UIN_CARD_TEMPLATE
used for printing is present in the master data. You can alter the same for any look and feel change. Key name in master data for template. The template located in template
table of mosip_master
DB.
Specify the language of the template in the following property
mosip.template-language=eng
Refer to PrintServiceImpl.java to understand the PDF implementation.
mosip.event.hubURL = //WebSub url
mosip.partner.id = //your partner id from partner portal
mosip.event.callBackUrl = //call back url for WebSub so upon a credential issued event the WebSub will call this url. eg: https://dev.mosip.net/v1/print/print/callback/notifyPrint
mosip.event.topic = // event topic
mosip.event.delay-millisecs = // subscription delay time.
print-WebSub-resubscription-delay-millisecs = // resubscription delay time.
mosip.event.secret = //secret key
mosip.datashare.partner.id = /your partner id from partner portal
mosip.datashare.policy.id = /your policy id from partner portal
CREATEDATASHARE = //datashare url