forked from mosip/mosip-config
-
Notifications
You must be signed in to change notification settings - Fork 0
/
print-default.properties
133 lines (107 loc) · 5.22 KB
/
print-default.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
# Follow properites have their values assigned via 'overrides' environment variables of config server docker.
# DO NOT define these in any of the property files. They must be passed as env variables. Refer to config-server
# helm chart:
# mosip.mosip.regproc.client.secret
# keycloak.host
# print.websub.hub.secret
## Websub
mosip.event.hubURL=${mosip.websub.url}/hub/
mosip.partner.id=mpartner-default-print
mosip.datashare.partner.id=mpartner-default-resident
mosip.datashare.policy.id=mpolicy-default-resident
mosip.event.callBackUrl=${mosip.api.internal.url}/${server.servlet.context-path}/print/callback/notifyPrint
mosip.event.topic=${mosip.partner.id}/CREDENTIAL_ISSUED
mosip.event.secret=${print.websub.hub.secret}
csrf.disabled=true
mosip.event.delay-millisecs=120000
print-websub-resubscription-delay-millisecs=21600000
registration.processor.print.textfile=registration-processor-print-text-file.json
## Token
token.request.id=io.mosip.registration.processor
token.request.appid=regproc
token.request.username=registrationprocessor
token.request.password={cipher}AQABt4aBjlC2OxQNy04L3OtJm8KaTDwSJhV3lEpUh6xBM2xGVnY3M1DIeKGFAeBNfi6jH5qgj1KCUmFONLwSmfcrPx9m6MYXXQMYwyAeq13Msy1fcG1AtZQASKeLbuMCaRwinwdt7C/WYzvVVv47NojD+VmHHVTY3qBXJ4dwZ0/BqmUBPXyYrJPKTcdouxT76bgm5+fXXNcT7lciXgD1aCnWKziL5nDa6Y9dhc+ZPyM0d+I0JfS+emsByt7tWgcZukQkOEx8JWfcCR4eVpERYVa/ps/EAuQRXmxIvnr54GSCc/KKpwnYnjLtKIx/75I6pezBdKU/BBJG1syjQp9VQC9adSI5fdsn3ijkxJjC9TSIFJKDlTHqNCnJaxQXcSBWL4Y=
token.request.version=1.0
token.request.clientId=mosip-regproc-client
token.request.secretKey= ${mosip.mosip.regproc.client.secret}
token.request.issuerUrl=${keycloak.external.host}/auth/realms/mosip
# Audit service
AUDIT=${mosip.kernel-auditmanager-service.url}/v1/auditmanager/audits
mosip.kernel.pdf_owner_password=123456
## Auth service
authmanager.base.url=${mosip.kernel-auth-service.url}
KEYBASEDTOKENAPI=${authmanager.base.url}/v1/authmanager/authenticate/clientidsecretkey
## Master data services
MASTER=${mosip.kernel-masterdata-service.url}/v1/masterdata
TEMPLATES=${MASTER}/templates
mosip.print.audit.id=mosip.applicanttype.getApplicantType
mosip.print.application.version=1.0
mosip.print.datetime.pattern=yyyy-MM-dd'T'HH:mm:ss.SSS'Z'
## Encrypt services
PDFSIGN=${mosip.kernel-keymanager-service.url}/v1/keymanager/pdf/sign
mosip.print.service.id=mosip.print
mosip.print.service.uincard.password=postalCode|fullName
mosip.print.uin.header.length=75
## Rectangle coordinates for pfd signataured data
mosip.print.service.uincard.lowerleftx=73
mosip.print.service.uincard.lowerlefty=100
mosip.print.service.uincard.upperrightx=300
mosip.print.service.uincard.upperrighty=300
mosip.print.service.uincard.signature.reason="signing"
# #Audit request id
mosip.print.audit.id=mosip.applicanttype.getApplicantType
## Kernel Crypto signature
registration.processor.signature.isEnabled=true
## Country specific
mosip.country.code=MOR
mosip.supported-languages=eng,fra
mosip.template-language=eng
mosip.optional-languages=fra,ara
mosip.mandatory-languages=eng
## CBEFF util
# Cbeff XSD file name in config server
mosip.kernel.xsdfile=mosip-cbeff.xsd
mosip.kernel.applicant.type.age.limit=5
mosip.kernel.pin.length=6
## Token id
## length of the token id
mosip.kernel.tokenid.length=36
## log level
logging.level.root=WARN
logging.level.io.mosip=INFO
logging.level.io.mosip.kernel.auth.defaultadapter.filter=INFO
## tomcat access logs
server.tomcat.accesslog.enabled=true
server.tomcat.accesslog.directory=/dev
server.tomcat.accesslog.prefix=stdout
server.tomcat.accesslog.buffered=false
server.tomcat.accesslog.suffix=
server.tomcat.accesslog.file-date-format=
server.tomcat.accesslog.pattern={"@timestamp":"%{yyyy-MM-dd'T'HH:mm:ss.SSS'Z'}t","level":"ACCESS","level_value":70000,"traceId":"%{X-B3-TraceId}i","statusCode":%s,"req.requestURI":"%U","bytesSent":%b,"timeTaken":%T,"appName":"${spring.application.name}"}
server.tomcat.accesslog.className=io.mosip.kernel.core.logger.config.SleuthValve
registration.processor.unMaskedUin.length=5
IDSchema.Version=1.0
registration.processor.identityjson=identity-mapping.json
registration.processor.demographic.identity=identity
CREATEDATASHARE=http://${mosip.datashare-service.url}/v1/datashare/create
DECRYPTPINBASSED=${mosip.kernel-keymanager-service.url}/v1/keymanager/decryptWithPin
mosip.print.prependThumbprint=true
# websub authentication
mosip.iam.adapter.clientid=mpartner-default-print
mosip.iam.adapter.clientsecret=${mosip.mosip.mpartner-default-print.client.secret}
mosip.iam.adapter.appid=admin
mosip.iam.adapter.issuerURL=${mosip.api.internal.url}/keycloak/auth/realms/mosip
mosip.authmanager.base-url=http://kernel-auth-service/v1/authmanager
mosip.authmanager.client-token-endpoint=${mosip.authmanager.base-url}/authenticate/clientidsecretkey
# in minutes
mosip.iam.adapter.validate-expiry-check-rate=1440
# in minutes
mosip.iam.adapter.renewal-before-expiry-interval=1440
#this should be false if you don?t use this restTemplate true if you do
mosip.iam.adapter.self-token-renewal-enable=true
mosip.auth.filter_disable=false
mosip.auth.adapter.impl.basepackage=io.mosip.kernel.auth.defaultadapter
# p12 file
mosip.print.crypto.p12.filename=partner.p12
mosip.print.crypto.p12.password={cipher}714cd7ff4c1aa550e7371fabcce089bf6411d69709e6c19aae808eb612c9d31e
mosip.print.crypto.p12.alias=partner