Skip to content

Latest commit

 

History

History
42 lines (34 loc) · 2.3 KB

configuration.md

File metadata and controls

42 lines (34 loc) · 2.3 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 properties, then refer to the files listed below.

Configuration

Print service uses the following configuration files that are accessible in this repository. Please refer to the required released tagged version for configuration.

  1. Configuration-Application
  2. Configuration-Print
  3. Configuration-RegProcPrintTextFile
  4. Configuration-IdMapping

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