Skip to content

Latest commit

 

History

History
42 lines (35 loc) · 1.83 KB

configuration.md

File metadata and controls

42 lines (35 loc) · 1.83 KB

Print Service Configuration Guide

Overview

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 properites, then refer to the files listed below.

Configuration files

Print service uses the following configuration files:

application-default.properties
print-default.properties
registration-processor-print-text-file.json
identity-mapping.json

Refer Module Configuration for location of these files.

Template

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.

WebSub

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 

Datashare

mosip.datashare.partner.id = /your partner id from partner portal
mosip.datashare.policy.id = /your policy id from partner portal
CREATEDATASHARE = //datashare url