-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathregistration-processor-mz.properties
398 lines (336 loc) · 16.8 KB
/
registration-processor-mz.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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
# Database Host name
mosip.registration.processor.database.hostname=postgres
# Database Port
mosip.registration.processor.database.port=80
registration.processor.zone=mz
#-----------Health checker--------------
management.endpoint.health.show-details=always
management.endpoints.web.exposure.include=info,health,refresh
#------registration-processor-filesystem-adapter-hdfs-------
mosip.kernel.fsadapter.hdfs.user-name=regprocessor
#------packet-bio-dedupe-service--------
#Biometric reference url to get cbeff file
registration.processor.biometric.reference.url=http://regproc-bio-dedupe-service/v1/bio-dedupe/biometricfile
#Maximum abis records to be fetched at a time
registration.processor.abis.maxResults=30
#Dummy Tag for face in cbeff file
registration.processor.abis.targetFPIR=30
#Dummy Tag for fingerprint in cbeff file
TESTFINGERPRINT=ns2:TestFinger
#Dummy Tag for iris in cbeff file
TESTIRIS=ns2:TestIris
#Dummy Tag for face in cbeff file
TESTFACE=ns2:TestFace
# ---------DB connection---------------
#Driver name
javax.persistence.jdbc.driver=org.postgresql.Driver
# Database connection URL
javax.persistence.jdbc.url=jdbc:postgresql://${mosip.registration.processor.database.hostname}:${mosip.registration.processor.database.port}/mosip_regprc?currentSchema=regprc
javax.persistence.jdbc.user=regprcuser
# TODO: user cipher below
javax.persistence.jdbc.password=Mosip@dev123
#Hibernate properties
hibernate.hbm2ddl.auto=none
hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
hibernate.jdbc.lob.non_contextual_creation=true
hibernate.show_sql=false
#-----packet-manager----------
registration.processor.LANDING_ZONE = /mnt/regproc/landing
#Location to store the file which is consumed from the print and postal queue
registration.processor.PRINT_POSTAL_SERVICE=/home/ftp1/PRINIT_POSTAL_SERVICE
#-----packet-utility----------
# The known packet sources. Should be set as all fieldCategory present in idschema
# (NOTE : if fieldCategory is set as pvt then the source should be id)
registration.processor.sourcepackets=id,evidence,optional
# The mandatory default source packet.(In default configuration this is thd id packet)
packet.default.source=id
# the default schema field cagegory (ex - private)
schema.default.fieldCategory=pvt,none
# The IDSchemaVersion used to create packets in reg-proc
IDSchema.Version=0.1
#---------registration-processor-camel-bridge------------
#Url to cluster manager to enable this stage for joining the cluster in secure zone
cluster.manager.file.name=hazelcast_mz.xml
#workel pool size to process multiple requests parallely
worker.pool.size=10
#Route files corresponding to the secure flow
camel.secure.active.flows.file.names=registration-processor-camel-routes-new-mz.xml,registration-processor-camel-routes-update-mz.xml,registration-processor-camel-routes-activate-mz.xml,registration-processor-camel-routes-res-update-mz.xml,registration-processor-camel-routes-deactivate-mz.xml,registration-processor-camel-routes-lost-mz.xml,registration-processor-camel-routes-res-reprint-mz.xml
#-------------TOKEN GENERATION----------------
#Token generation request id
token.request.id=io.mosip.registration.processor
#Token generation app id
token.request.appid=regproc
#Token generation username
token.request.username=registrationprocessor
#Token generation password
token.request.password={cipher}AQABt4aBjlC2OxQNy04L3OtJm8KaTDwSJhV3lEpUh6xBM2xGVnY3M1DIeKGFAeBNfi6jH5qgj1KCUmFONLwSmfcrPx9m6MYXXQMYwyAeq13Msy1fcG1AtZQASKeLbuMCaRwinwdt7C/WYzvVVv47NojD+VmHHVTY3qBXJ4dwZ0/BqmUBPXyYrJPKTcdouxT76bgm5+fXXNcT7lciXgD1aCnWKziL5nDa6Y9dhc+ZPyM0d+I0JfS+emsByt7tWgcZukQkOEx8JWfcCR4eVpERYVa/ps/EAuQRXmxIvnr54GSCc/KKpwnYnjLtKIx/75I6pezBdKU/BBJG1syjQp9VQC9adSI5fdsn3ijkxJjC9TSIFJKDlTHqNCnJaxQXcSBWL4Y=
#Token generation version
token.request.version=1.0
#Token generation Client Id
token.request.clientId=mosip-regproc-client
#Token generation secret key
token.request.secretKey=abc123
#Token generation issuer url
token.request.issuerUrl=http://keycloak/auth/realms/mosip
#--------Registration processor rest client API's--------------
#Audit Service
AUDIT=http://kernel-auditmanager-service/v1/auditmanager/audits
#Auth Service
authmanager.base.url=http://kernel-auth-service
PASSWORDBASEDTOKENAPI=${authmanager.base.url}/v1/authmanager/authenticate/useridPwd
KEYBASEDTOKENAPI=${authmanager.base.url}/v1/authmanager/authenticate/clientidsecretkey
TOKENVALIDATE=${authmanager.base.url}/v1/authmanager/authorize/admin/validateToken
GETRIDFROMUSERID=${authmanager.base.url}/v1/authmanager/rid
INTERNALAUTH=http://ida-internal-service/idauthentication/v1/internal/auth
#Master Data Services
MASTER=http://kernel-masterdata-service/v1/masterdata
MACHINEHISTORY=${MASTER}/machineshistories
CENTERHISTORY=${MASTER}/registrationcentershistory
CENTERUSERMACHINEHISTORY=${MASTER}/getregistrationmachineusermappinghistory
REVERSEDATASYNC=http://prereg-datasync-service/preregistration/v1/sync/consumedPreRegIds
CENTERDETAILS=${MASTER}/registrationcenters
MACHINEDETAILS=${MASTER}/machines
DEVICESHISTORIES=${MASTER}/deviceshistories
REGISTRATIONCENTERDEVICEHISTORY=${MASTER}/registrationcenterdevicehistory
REGISTRATIONCENTERTIMESTAMP=${MASTER}/registrationcenters/validate
GENDER=${MASTER}/gendertypes/validate
REGION=${MASTER}/locations/validate
CITY=${MASTER}/locations/validate
POSTALCODE=${MASTER}/locations/validate
PROVINCE=${MASTER}/locations/validate
USERDETAILS=${MASTER}/users
TEMPLATES=${MASTER}/templates
DEVICEVALIDATEHISTORY=${MASTER}/deviceprovidermanagement/validate/history
#ID Repository Services
IDREPOSITORY=http://idrepo-identity-service/idrepository/v1/identity/
IDREPOGETIDBYUIN=http://idrepo-identity-service/idrepository/v1/identity/uin
UINGENERATOR=http://kernel-idgenerator-service/v1/idgenerator/uin
RETRIEVEIDENTITYFROMRID=http://idrepo-identity-service/idrepository/v1/identity/rid
RETRIEVEIDENTITY=http://idrepo-identity-service/idrepository/v1/identity/uin
CREATEVID=http://idrepo-vid-service/idrepository/v1/vid
GETUINBYVID=http://idrepo-vid-service/idrepository/v1/vid
#BioDedupe Services
BIODEDUPE=http://regproc-bio-dedupe-service/registrationprocessor/v1/bio-dedupe/biometricfile
#Encrypt Services
ENCRYPTURL=http://kernel-keymanager-service/v1/keymanager/encrypt
ENCRYPTIONSERVICE=http://kernel-keymanager-service/v1/keymanager/publickey
PDFSIGN=http://kernel-keymanager-service/v1/keymanager/pdf/sign
#Digital Signature Service
DIGITALSIGNATURE=http://kernel-keymanager-service/v1/keymanager/sign
#Digital Signature Id
mosip.registration.processor.digital.signature.id=io.mosip.registration.processor
# Url from where packets need to be picked up DMZ (landing zone)
NGINXDMZURL=http://161.97.120.81:30080/registrationprocessor/v1/dmzpacketserver
#--------Registration Processor Rest Client API's-----------
CRYPTOMANAGERDECRYPT=http://kernel-keymanager-service/v1/keymanager/decrypt
#External Service
EISERVICE=http://regproc-external-integration-service/registrationprocessor/v1/eis/registration-processor/external-integration-service/v1.0
#RID Generation Service
RIDGENERATION=http://kernel-ridgenerator-service/v1/ridgenerator/generate/rid
#Registration Processor Status Services
# We specify Ingress location for dmz which is any worker node and a ingress port
SYNCSERVICE=http://161.97.120.81:30080/registrationprocessor/v1/registrationstatus/sync
PACKETRECEIVER=http://161.97.120.81:30080/registrationprocessor/v1/packetreceiver/registrationpackets
#SMS and EMAIL notification services
SMSNOTIFIER=http://kernel-notification-service/v1/notifier/sms/send
EMAILNOTIFIER=http://kernel-notification-service/v1/notifier/email/send
#To get the idschema from masterdata db
IDSCHEMA=http://kernel-syncdata-service/v1/syncdata/latestidschema
#---------Registration Status---------
#Maximum retry count for packet
registration.processor.max.retry=3
#Registration Status Id
mosip.registration.processor.registration.status.id=mosip.registration.status
#Registration Sync Id
mosip.registration.processor.registration.sync.id=mosip.registration.sync
#Registration Transaction Id
mosip.registration.processor.registration.transaction.id=mosip.registration.transaction
#Registration Sync Version
mosip.registration.processor.sync.version=1.0
#Registration Status Version
mosip.registration.processor.registration.status.version=1.0
#Registration Transaction Version
mosip.registration.processor.transaction.version=1.0
#--------Demo Dedupe Stage---------
application.id=REGISTRATION
#Status for matched records in demo dedupe stage
registration.processor.demodedupe.manualverification.status=REJECTED
#configuration parameter to disable or enable Demographic Deduplication
mosip.registration.processor.demographic.deduplication.enable=true
#-----------Manual Verification Stage------------
#Manual verification assignment request Id
mosip.registration.processor.manual.verification.assignment.id=mosip.manual.verification.assignment
#Manual verification decision request Id
mosip.registration.processor.manual.verification.decision.id=mosip.manual.verification.decision
#Manual verification biometric request Id
mosip.registration.processor.manual.verification.biometric.id=mosip.manual.verification.biometric
#Manual verification demographic request Id
mosip.registration.processor.manual.verification.demographic.id=mosip.manual.verification.demographic
#Manual verification packetinfo request Id
mosip.registration.processor.manual.verification.packetinfo.id=mosip.manual.verification.packetinfo
#--------OSI Validation Stage----------
#To enable or disable the Center working hour validation
mosip.workinghour.validation.required=true
#Applicant date of birth format
registration.processor.applicant.dob.format=yyyy/MM/dd
#Internal Auth request id
mosip.identity.auth.internal.requestid=mosip.identity.auth.internal
registration.processor.validate.introducer=true
mosip.kernel.device.validate.history.id=""
#UMC configuarble
mosip.registartion.processor.validateUMC=true
#---------Packet Receiver Stage------------
#Maximum file size to be upload from packet receiver
registration.processor.max.file.size=5
#Packet receiver application version
mosip.registration.processor.application.version=1.0
#Request Date Time format
mosip.registration.processor.datetime.pattern=yyyy-MM-dd'T'HH:mm:ss.SSS'Z'
#Request Date Timezone
mosip.registration.processor.timezone=GMT
#Packet Receiver request Id
mosip.registration.processor.packet.id=mosip.registration.packet
#Request time grace period
mosip.registration.processor.grace.period=10800
#-----------Retry Stage-----------
registration.processor.wait.period=1
#----------Uin Generator Stage------------
#Idrepo create request Id
registration.processor.id.repo.create=mosip.id.create
#Idrepo read request Id
registration.processor.id.repo.read=mosip.id.read
#Idrepo update request Id
registration.processor.id.repo.update=mosip.id.update
#Idrepo vidType request Id
registration.processor.id.repo.vidType=Perpetual
#Idrepo generate request Id
registration.processor.id.repo.generate=mosip.vid.create
#Idrepo vid version
registration.processor.id.repo.vidVersion=v1
#---------Virus Scanner Stage---------
#Virus scanner packet extension
registration.processor.packet.ext=.zip
#Virus scanner server host
mosip.kernel.virus-scanner.host=clamav
#Virus scanner port
mosip.kernel.virus-scanner.port=80
#Virus scanner application request id
registration.processor.application.id=REGISTRATION
registration.processor.rid.machineidsubstring=10
#---------Message Sender Stage----------------------
#Mapping Identity json to map with the applicant id json
registration.processor.identityjson=registration-processor-identity.json
#create text print text file
registration.processor.print.textfile=registration-processor-print-text-file.json
#Abis queue configuration json
registration.processor.abis.json=registration-processor-abis.json
#Demographic identity label
registration.processor.demographic.identity=identity
registration.processor.notification.emails=
#Email subjects for success & failure scenario
#Uin generated subject
registration.processor.uin.generated.subject=UIN Generated
#Duplicate Uin subject
registration.processor.duplicate.uin.subject=Registration Failed because you have already Registered
#Applicant re-register subject
registration.processor.reregister.subject=Re-Register because there was a Technical Issue
#Uin activated subject
registration.processor.uin.activated.subject=Uin is activated successfully
#Uin deactivated subject
registration.processor.uin.deactivated.subject=Uin is deactivated
#Uin details updated subject
registration.processor.updated.subject=UIN Details Updated
#------------Queue-----------------------
#Queue username
registration.processor.queue.username=admin
#Queue Password
registration.processor.queue.password=admin
#Queue Url
registration.processor.queue.url=tcp://activemq:80
#Type of the Queue
registration.processor.queue.typeOfQueue=ACTIVEMQ
#Print Service address
registration.processor.queue.address = print-service-qa
#Post Service address
registration.processor.queue.printpostaladdress = postal-service-qa
# Enable proxy postal service response for test environments where actual postal service wont be available
# IMPORTANT : This should always be set as false in actual production environment
registration.processor.enable.proxy.postalservice=true
#------------Packet Validator Stage-----------
#Attributes to be validated in master data validation
registration.processor.masterdata.validation.attributes = gender,region,province,city
registration.processor.validateSchema=true
registration.processor.validateFile=true
registration.processor.validateChecksum=true
registration.processor.validateApplicantDocument=true
registration.processor.validateMasterData=true
registration-processor.validatemandotary=true
registration.processor.document.category=idobject-document-category-mapping.json
registration.processor.applicant.type=applicanttype-document-mapping.json
#------------Packet Generator-----------------
#Audit request id for packet generator
registration.processor.audit.applicationId=PACGEN
#Audit request application name for packet generator
registration.processor.audit.applicationName=PACKET_GENERATOR
#Packet generator request id
mosip.registration.processor.registration.packetgenerator.id=mosip.registration.packetgenerator
#Uin Card RePrint request id
mosip.registration.processor.uincard.reprint.id = mosip.uincard.reprint
#Packet generator request version
mosip.registration.processor.packetgenerator.version=1.0
#resident update service id
mosip.registration.processor.resident.service.id=mosip.registration.update
#resident lost service id
mosip.registration.processor.lost.id=mosip.registration.lost
#-------------Printing Service--------------------
mosip.registration.processor.print.service.id=mosip.registration.print
#unmasked uin length
registration.processor.unMaskedUin.length=4
#UIN card password
mosip.registration.processor.print.service.uincard.password=postalCode|fullName
#header length to be removed from iso image to get actual image
mosip.print.uin.header.length=73
#Rectangle coordinates for pfd signataured data
mosip.registration.processor.print.service.uincard.lowerleftx=73
mosip.registration.processor.print.service.uincard.lowerlefty=100
mosip.registration.processor.print.service.uincard.upperrightx=300
mosip.registration.processor.print.service.uincard.upperrighty=300
mosip.registration.processor.print.service.uincard.signature.reason="signing"
#--------------Reprocessor stage----------------
#Number of the reprocess records to be fetched at a time
registration.processor.reprocess.fetchsize=100
# The reprocessor scheduler configurations
# The elapse time beyond which the rids will be considered for reprocessing
registration.processor.reprocess.elapse.time=300
# The maximum reprocess count. Beyond this the rid will not be considered for reprocessing.
registration.processor.reprocess.attempt.count=300
# Reprocess type
registration.processor.reprocess.type=cron
#schedular seconds configuration
registration.processor.reprocess.seconds=*
#schedular minutes configuration
registration.processor.reprocess.minutes=15
#schedular hours configuration
registration.processor.reprocess.hours=*
#schedular days configuration
registration.processor.reprocess.days_of_month=*
#schedular months configuration
registration.processor.reprocess.months=*
#schedular weeks configuration
registration.processor.reprocess.days_of_week=*
#Service Ids
#Audit request id
mosip.registration.processor.audit.id=mosip.applicanttype.getApplicantType
#Cryptomanager decrypt request id
mosip.registration.processor.crypto.decrypt.id=mosip.cryptomanager.decrypt
#SMS notification request id
mosip.registration.processor.sms.id=mosip.sms.send
#Email notification request id
mosip.registration.processor.email.id=mosip.email.send
#Kernel Crypto signature
registration.processor.signature.isEnabled=true
#BioDedupe stage
registration.processor.infant.dedupe=N
# ID Authentication
IDAUTHENCRYPTION=http://ida-internal-service/idauthentication/v1/internal/encrypt
IDAUTHPUBLICKEY=http://ida-internal-service/idauthentication/v1/internal/publickey