Skip to content

Commit 2ff9359

Browse files
authoredMar 7, 2023
[DSD-2238] Added config changes for idrepo service
1 parent 38e1ede commit 2ff9359

File tree

2 files changed

+20
-20
lines changed

2 files changed

+20
-20
lines changed
 

‎credential-service-default.properties

+1-9
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,7 @@ mosip.credential.service.vercred.proof.verificationmethod=https://${mosip.api.pu
2727

2828
KEYMANAGER_VERCRED_SIGN=${mosip.kernel.keymanager.url}/v1/keymanager/jwsSign
2929
credentialType.formatter.VERCRED=VerCredProvider
30-
31-
32-
mosip.mask.function.identityAttributes=convertToMaskDataFormat
33-
mosip.mask.function.date=convertToMaskDate
34-
mosip.format.function.address=formatAddress
35-
mosip.format.function.name=formatName
36-
mosip.format.function.dateTimeFormat=convertDateFormat
37-
3830
credentialType.formatter.PDFCARD=VerCredProvider
3931
GENERATE_VID=${mosip.idrepo.vid.url}/idrepository/v1/vid
4032
RETRIEVE_VID=${mosip.idrepo.vid.url}/idrepository/v1/vid/uin
41-
33+
credential.service.default.vid.type=PERPETUAL

‎id-repository-default.properties

+19-11
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ mosip.idrepo.db.vid.db-name=mosip_idmap
2626
mosip.idrepo.db.vid.username=idmapuser
2727
mosip.idrepo.db.vid.password=${db.dbuser.password}
2828
mosip.idrepo.objectstore.account-name=idrepo
29-
mosip.idrepo.objectstore.bucket-name=qa-1201-test-idrepo
29+
mosip.idrepo.objectstore.bucket-name=idrepo
3030
mosip.idrepo.objectstore.adapter-name=s3Adapter
3131

3232
#IDRepo identity/vid service authentication details
@@ -65,7 +65,7 @@ kernel.retry.exponential.backoff.max.interval.millisecs=1000
6565
# Whether to traverse to the root cause exception from the exception thrown and use the same root cause to decide whether to retry or not. Default is true.
6666
kernel.retry.traverse.root.cause.enabled=false
6767
#Comma separated List of fully qualified Exceptions which are retryable (inclusion list). Their subclasses will also be considered in the evaluation.
68-
kernel.retry.retryable.exceptions=io.mosip.idrepository.core.exception.IdRepoRetryException,org.springframework.dao.DataIntegrityViolationException,org.hibernate.exception.ConstraintViolationException,org.springframework.orm.ObjectOptimisticLockingFailureException
68+
kernel.retry.retryable.exceptions=io.mosip.idrepository.core.exception.IdRepoRetryException
6969
#Comma separated List of fully qualified Exceptions which are not-retryable (exclusion list). Their subclasses will also be considered in the evaluation.
7070
kernel.retry.nonretryable.exceptions=
7171

@@ -120,6 +120,12 @@ mosip.idrepo.vid.deactive-status=DEACTIVATED
120120
# VID status value which is stored in database for reactivated VIDs. Used in reactivate-all-vids api.
121121
mosip.idrepo.vid.reactive-status=ACTIVE
122122

123+
#RID
124+
# Application version expected in the request
125+
mosip.idrepo.rid.get.version=1.0
126+
# Application ids expected in the requests
127+
mosip.idrepo.rid.get.id=mosip.idrepo.rid.get
128+
123129
# Config server url
124130
mosip.idrepo.mosip-config-url=${spring.cloud.config.uri}/${spring.application.name}/${spring.profiles.active}/${spring.cloud.config.label}/
125131
# VID policy schema against which VID policy is validated
@@ -163,7 +169,7 @@ mosip.iam.adapter.renewal-before-expiry-interval=15
163169
mosip.iam.adapter.self-token-renewal-enable=true
164170
mosip.auth.filter_disable=false
165171

166-
mosip.idrepo.bio-extractor-service.rest.uri=${mosip.idrepo.biosdk.url}/biosdk-service/{extractionFormat}/extracttemplates
172+
mosip.idrepo.bio-extractor-service.rest.uri=${mosip.mock.biosdk.url}/biosdk-service/{extractionFormat}/extracttemplates
167173
mosip.idrepo.bio-extractor-service.rest.httpMethod=POST
168174
mosip.idrepo.bio-extractor-service.rest.headers.mediaType=application/json
169175
mosip.idrepo.bio-extractor-service.rest.timeout=100
@@ -265,17 +271,13 @@ mosip.credential.request.crypto-ref-id=credential_request
265271
mosip.credential.request.job.timedelay=15000
266272
#Reprocessing job timeintervel in miliseconds
267273
mosip.credential.request.reprocess.job.timedelay=1200000
268-
# This property can be set to auth,print or keep it empty so batch will pick up all records#
269274
credential.request.type=auth
270275
credential.request.retry.max.count=10
271276
credential.request.reprocess.statuscodes=FAILED,RETRY
272-
credential.batch.core.pool.size=10
273-
credential.batch.max.pool.size=10
274-
credential.batch.queue.capacity=10
275277
credential.batch.page.size=10
276-
credential.batch.chunk.size=10
277278
credential.request.process.locktimeout=60000
278279
credential.request.reprocess.locktimeout=60000
280+
credential.batch.status=NEW
279281

280282
## Rest services
281283
CRDENTIALSERVICE=${mosip.idrepo.credential.service.url}/v1/credentialservice/issue
@@ -316,6 +318,8 @@ credentialType.formatter.QRCODE=QrCodeProvider
316318
credentialType.formatter.MOSIP=CredentialProvider
317319
credentialType.formatter.EUIN=QrCodeProvider
318320
credentialType.formatter.REPRINT=QrCodeProvider
321+
credentialType.formatter.EUIN_WITH_QR=QrCodeProvider
322+
credentialType.formatter.EUIN_WITH_FACEQR=QrCodeProvider
319323
mosip.credential.service.format.id=http://mosip.io/credentials/
320324
mosip.credential.service.format.issuer=https://mosip.io/issuers/
321325
mosip.credential.service.application.id=PARTNER
@@ -330,7 +334,6 @@ IDREPOGETIDBYID=${mosip.idrepo.identity.url}/idrepository/v1/identity/idvid
330334
mosip.data.share.protocol=http
331335
mosip.data.share.internal.domain.name=datashare.datashare
332336
CREATEDATASHARE=/v1/datashare/create
333-
KEYBASEDTOKENAPI=${mosip.kernel.authmanager.url}/v1/authmanager/authenticate/clientidsecretkey
334337
KEYMANAGER_JWTSIGN=${mosip.kernel.keymanager.url}/v1/keymanager/jwtSign
335338
KEYMANAGER_ENCRYPT_PIN=${mosip.kernel.keymanager.url}/v1/keymanager/encryptWithPin
336339
KEYMANAGER_ENCRYPT_ZK=${mosip.kernel.keymanager.url}/v1/keymanager/zkEncrypt
@@ -339,7 +342,7 @@ PARTNER_EXTRACTION_POLICY=${mosip.pms.partnermanager.url}/v1/partnermanager/part
339342
credential.service.token.request.issuerUrl=${keycloak.internal.url}/auth/realms/mosip
340343

341344
# BioSDK service
342-
mosip.biosdk.default.service.url=${mosip.idrepo.biosdk.url}/biosdk-service
345+
mosip.biosdk.default.service.url=${mosip.mock.biosdk.url}/biosdk-service
343346
# The fully qualified Class Name of the BIO SDK API implemented for Finger modality
344347
# This class will be loaded in runtime, the containing jar should be available in classpath
345348
mosip.biometric.sdk.providers.finger.mosip-ref-impl-sdk-client.classname=io.mosip.biosdk.client.impl.spec_1_0.Client_V_1_0
@@ -378,7 +381,7 @@ mosip.kernel.tokenid.partnercode.salt=${mosip.kernel.partnercode.salt}
378381
# Enabling below property will start logging performance logs in identity and vid service
379382
mosip.idrepo.aspect-logging.enabled=false
380383

381-
auth.server.admin.allowed.audience=mosip-regproc-client,mosip-prereg-client,mosip-admin-client,mosip-partner-client,mosip-crereq-client,mosip-creser-client,mosip-datsha-client,mosip-ida-client,mosip-resident-client,mosip-reg-client,mpartner-default-print,mosip-idrepo-client,mpartner-default-auth,mosip-syncdata-client,mosip-masterdata-client,mosip-idrepo-client,mosip-pms-client,mosip-hotlist-client,opencrvs-partner
384+
auth.server.admin.allowed.audience=mosip-regproc-client,mosip-prereg-client,mosip-admin-client,mosip-crereq-client,mosip-creser-client,mosip-datsha-client,mosip-ida-client,mosip-resident-client,mosip-reg-client,mpartner-default-print,mosip-idrepo-client,mpartner-default-auth,mosip-syncdata-client,mosip-masterdata-client,mosip-idrepo-client,mosip-pms-client,mosip-hotlist-client,opencrvs-partner,mpartner-default-digitalcard
382385
#openapi properties to sort tag and operations of id-repository services
383386
springdoc.swagger-ui.tagsSorter=alpha
384387
springdoc.swagger-ui.operationsSorter=alpha
@@ -411,6 +414,8 @@ mosip.role.idrepo.identity.deletedraftdiscardregistrationId=REGISTRATION_PROCESS
411414
mosip.role.idrepo.identity.draftregistrationId=REGISTRATION_PROCESSOR,ID_REPOSITORY
412415
mosip.role.idrepo.identity.getdraftregistrationId=REGISTRATION_PROCESSOR,ID_REPOSITORY
413416
mosip.role.idrepo.identity.putdraftextractbiometricsregistrationId=REGISTRATION_PROCESSOR,ID_REPOSITORY
417+
mosip.role.idrepo.identity.remainingUpdateCountByIndividualId=RESIDENT,ID_REPOSITORY
418+
mosip.role.idrepo.identity.getRidByIndividualId=RESIDENT,ID_REPOSITORY
414419
mosip.role.idrepo.vid.postvid=RESIDENT,REGISTRATION_PROCESSOR,ID_REPOSITORY
415420
mosip.role.idrepo.vid.getvid=REGISTRATION_PROCESSOR,ID_AUTHENTICATION,RESIDENT,ID_REPOSITORY
416421
mosip.role.idrepo.vid.getviduin=REGISTRATION_PROCESSOR,ID_REPOSITORY,RESIDENT
@@ -419,3 +424,6 @@ mosip.role.idrepo.vid.postvidregenerate=RESIDENT,ID_REPOSITORY
419424
mosip.role.idrepo.vid.postviddeactivate=RESIDENT,ID_REPOSITORY
420425
mosip.role.idrepo.vid.postvidreactivate=RESIDENT,ID_REPOSITORY
421426
mosip.role.idrepo.vid.postdraftvid=REGISTRATION_PROCESSOR,ID_REPOSITORY
427+
mosip.mask.function.identityAttributes=convertToMaskDataFormat
428+
429+
mosip.role.idrepo.credentialrequest.postv2requestgeneratorrid=CREDENTIAL_REQUEST,ID_REPOSITORY

0 commit comments

Comments
 (0)
Please sign in to comment.