Skip to content

Commit

Permalink
Merge pull request #3677 from syedsalman3753/1.2.0.1-v3
Browse files Browse the repository at this point in the history
[ DSD-2455 ] updated 1.2.0.1-v3 from qatriple
  • Loading branch information
syedsalman3753 authored Apr 11, 2023
2 parents 3035fd2 + 661e6f8 commit c510d2e
Show file tree
Hide file tree
Showing 28 changed files with 1,956 additions and 2,974 deletions.
15 changes: 12 additions & 3 deletions application-default.properties
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ mosip.recommended.centers.locCode=5
## Common properties used across different modules
mosipbox.public.url=${mosip.api.internal.url}
mosip.api.internal.url=https://${mosip.api.internal.host}
mosip.api.public.url=https://${mosip.api.public.host}
mosip.kernel.authmanager.url=http://authmanager.kernel
mosip.kernel.masterdata.url=http://masterdata.kernel
mosip.kernel.keymanager.url=http://keymanager.keymanager
Expand Down Expand Up @@ -55,7 +56,7 @@ mosip.resident.url=http://resident.resident
mosip.artifactory.url=http://artifactory.artifactory
kafka.profile=kafka.svc.cluster.local
kafka.port=9092

mosip.digitalcard.service.url=http://digitalcard.digitalcard

config.server.file.storage.uri=${spring.cloud.config.uri}/${spring.application.name}/${spring.profiles.active}/${spring.cloud.config.label}/

Expand Down Expand Up @@ -94,7 +95,7 @@ mosip.country.code=MOR
## Language supported by platform
mosip.supported-languages=eng,ara,fra
mosip.right_to_left_orientation=ara
mosip.left_to_right_orientation=eng
mosip.left_to_right_orientation=eng,fra

## Application IDs
mosip.prereg.app-id=PRE_REGISTRATION
Expand Down Expand Up @@ -413,7 +414,7 @@ websub.publish.url=${mosip.websub.url}/hub/

mosip.mandatory-languages=eng
## Leave blank if no optional langauges
mosip.optional-languages=ara
mosip.optional-languages=ara,fra
mosip.min-languages.count=2
mosip.max-languages.count=3

Expand All @@ -436,3 +437,11 @@ openapi.service.servers[0].url=${mosip.api.internal.url}${server.servlet.context
openapi.service.servers[0].description=For Swagger

mosip.auth.filter_disable=false

# PDF Digital card is protected with password using below property based on define attribute it will encrypt by taking first 4 character.
mosip.digitalcard.uincard.password=fullName|dateOfBirth
mosip.digitalcard.pdf.password.enable.flag=true
mosip.access_token.subject.claim-name=sub

# It is used as a suffix for creating credential request ID using the RID.
mosip.registration.processor.rid.delimiter=-PDF
12 changes: 6 additions & 6 deletions compliance-toolkit-default.properties
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ server.servlet.context-path=/v1/toolkit

## Security properties
mosip.security.csrf-enable=false
mosip.security.cors-enable=false
mosip.security.origins=localhost:8099
mosip.security.cors-enable=true
mosip.security.origins=http://localhost
mosip.security.secure-cookie=false

#iam
Expand All @@ -62,7 +62,7 @@ mosip.iam.adapter.clientid=mosip-toolkit-client
mosip.iam.adapter.clientsecret=${mosip.toolkit.client.secret}

auth.server.admin.issuer.uri=${keycloak.external.url}/auth/realms/
auth.server.admin.allowed.audience=mosip-toolkit-client
auth.server.admin.allowed.audience=mosip-toolkit-client,mosip-toolkit-android-client
auth.allowed.urls=https://${mosip.compliance.host}/
mosip.iam.certs_endpoint=${keycloak.external.url}/auth/realms/mosip/protocol/openid-connect/certs

Expand Down Expand Up @@ -192,6 +192,6 @@ springdoc.swagger-ui.tagsSorter=alpha
springdoc.swagger-ui.operationsSorter=alpha

#SBI BiometricsQualityCheckValidator
mosip.toolkit.sbi.qualitycheck.finger.sdk.urls=[{"name": "Mock SDK","url": "http://localhost:9099/biosdk-service","healthUrl": "http://localhost:9099/biosdk-service/actuator/health", "includeInResults":false},{"name": "Mock SDK Dev Env","url": "https://api-internal.dev.mosip.net/biosdk-service","healthUrl": "https://api-internal.dev.mosip.net/biosdk-service/actuator/health", "includeInResults":true}]
mosip.toolkit.sbi.qualitycheck.face.sdk.urls=[{"name": "Mock SDK","url": "http://localhost:9099/biosdk-service","healthUrl": "http://localhost:9099/biosdk-service/actuator/health", "includeInResults":false},{"name": "Mock SDK Dev Env","url": "https://api-internal.dev.mosip.net/biosdk-service","healthUrl": "https://api-internal.dev.mosip.net/biosdk-service/actuator/health", "includeInResults":true}]
mosip.toolkit.sbi.qualitycheck.iris.sdk.urls=[{"name": "Mock SDK","url": "http://localhost:9099/biosdk-service","healthUrl": "http://localhost:9099/biosdk-service/actuator/health", "includeInResults":false},{"name": "Mock SDK Dev Env","url": "https://api-internal.dev.mosip.net/biosdk-service","healthUrl": "https://api-internal.dev.mosip.net/biosdk-service/actuator/health", "includeInResults":true}]
mosip.toolkit.sbi.qualitycheck.finger.sdk.urls=[{"name": "Mock SDK","url": "http://localhost:9099/biosdk-service","healthUrl": "http://localhost:9099/biosdk-service/actuator/health", "includeInResults":false},{"name": "Mock SDK ${mosip.api.internal.host} Env","url": "${mosip.api.internal.url}/biosdk-service","healthUrl": "${mosip.api.internal.url}/biosdk-service/actuator/health", "includeInResults":true},{"name": "Mock SDK ${mosip.api.internal.host} Env","url": "${mosip.api.internal.url}/biosdk-service","healthUrl": "${mosip.api.internal.url}/biosdk-service/actuator/health", "includeInResults":true}]
mosip.toolkit.sbi.qualitycheck.face.sdk.urls=[{"name": "Mock SDK ${mosip.api.internal.host} Env","url": "${mosip.api.internal.url}/biosdk-service","healthUrl": "${mosip.api.internal.url}/biosdk-service/actuator/health", "includeInResults":false}]
mosip.toolkit.sbi.qualitycheck.iris.sdk.urls=[{"name": "Mock SDK ${mosip.api.internal.host} Env","url": "${mosip.api.internal.url}/biosdk-service","healthUrl": "${mosip.api.internal.url}/biosdk-service/actuator/health", "includeInResults":true}]
4 changes: 4 additions & 0 deletions credential-service-default.properties
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,7 @@ mosip.credential.service.vercred.proof.verificationmethod=https://${mosip.api.pu

KEYMANAGER_VERCRED_SIGN=${mosip.kernel.keymanager.url}/v1/keymanager/jwsSign
credentialType.formatter.VERCRED=VerCredProvider
credentialType.formatter.PDFCARD=VerCredProvider
GENERATE_VID=${mosip.idrepo.vid.url}/idrepository/v1/vid
RETRIEVE_VID=${mosip.idrepo.vid.url}/idrepository/v1/vid/uin
credential.service.default.vid.type=PERPETUAL
122 changes: 122 additions & 0 deletions digital-card-default.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
## Database properties
# Database hostname below is assuming postgres is running inside cluster in 'postgres' namespace
# If database is external to production, provide the DNS or ip of the host and port
mosip.digitalcard.database.hostname=postgres-postgresql.postgres
mosip.digitalcard.database.port=5432

# Websub
## webusb properties that used to subscribe and publish event based on specified topic
mosip.digitalcard.websub.secret=test
mosip.digitalcard.credential.request.partner.id=mpartner-default-digitalcard
mosip.digitalcard.websub.publish.topic=CREDENTIAL_STATUS_UPDATE
mosip.digitalcard.subscription-delay-millisecs=120000
mosip.digitalcard.resubscription-delay-millisecs=1000000
mosip.digitalcard.generate.identity.create.websub.topic=IDENTITY_CREATED
mosip.digitalcard.generate.identity.update.websub.topic=IDENTITY_UPDATED
mosip.digitalcard.partner.id=mpartner-default-digitalcard
mosip.digitalcard.generate.credential.websub.topic=${mosip.digitalcard.partner.id}/CREDENTIAL_ISSUED
mosip.digitalcard.generate.identity.create.callbackurl=${mosipbox.public.url}/v1/digitalcard/idCreateEventHandle/callback/notifyStatus
mosip.digitalcard.generate.identity.update.callbackurl=${mosipbox.public.url}/v1/digitalcard/idUpdateEventHandle/callback/notifyStatus
mosip.digitalcard.generate.credential.callbackurl=${mosipbox.public.url}/v1/digitalcard/credential/callback/notifyStatus

# Based on credentialType we are sending credential request
mosip.digitalcard.credential.type=PDFCard

#Token generator properties Digital Card Service
digitalcard.token.request.appid=admin
digitalcard.token.request.clientId=mpartner-default-digitalcard
digitalcard.token.request.secretKey=${mpartner.default.digitalcard.secret}
digitalcard.token.request.version=1.0
digitalcard.token.request.id=io.mosip.digitalcard
digitalcard.token.request.issuerUrl=${mosip.keycloak.issuerUrl}
KEYBASEDTOKENAPI=${mosip.kernel.authmanager.url}/v1/authmanager/authenticate/clientidsecretkey
mosip.digitalcard.service.datetime.pattern=yyyy-MM-dd'T'HH:mm:ss.SSS'Z'

#----------------------- DB--------------------------------------------------
javax.persistence.jdbc.driver=org.postgresql.Driver
javax.persistence.jdbc.url=jdbc:postgresql://${mosip.digitalcard.database.hostname}:${mosip.digitalcard.database.port}/mosip_digitalcard
javax.persistence.jdbc.user=digitalcarduser
javax.persistence.jdbc.password=${db.dbuser.password}
hibernate.dialect=org.hibernate.dialect.PostgreSQL95Dialect
hibernate.jdbc.lob.non_contextual_creation=true
hibernate.hbm2ddl.auto=none
hibernate.show_sql=false
hibernate.format_sql=false
hibernate.connection.charSet=utf8
hibernate.cache.use_second_level_cache=false
hibernate.cache.use_query_cache=false
hibernate.cache.use_structured_entries=false
hibernate.generate_statistics=false


#----------------------- CBEFF Util--------------------------------------------------
# Cbeff XSD file name in config server
mosip.kernel.xsdfile=mosip-cbeff.xsd
mosip.digitalcard.demographic.identity=identity
mosip.digitalcard.identityjson=identity-mapping.json

#----------------------- Crypto property for encryption and decryption--------------------------------------------------
mosip.digitalcard.crypto.partner.id=mpartner-default-digitalcard
mosip.digitalcard.crypto.application.id=DIGITAL_CARD
CRYPTOMANAGER_ENCRYPT=${mosip.kernel.keymanager.url}/v1/keymanager/encrypt
CRYPTOMANAGER_DECRYPT=${mosip.kernel.keymanager.url}/v1/keymanager/decrypt


#----------------------- dataShare property to create dataShareUrl--------------------------------------------------
mosip.digitalcard.datashare.partner.id=mpartner-default-digitalcard
mosip.digitalcard.datashare.policy.id=mpolicy-default-digitalcard
CREATEDATASHARE=${mosip.datashare.url}/v1/datashare/create

#header length to be removed from iso image to get actual image
mosip.digitalcard.uin.header.length=75

#Rectangle coordinates for pfd signataured data
mosip.digitalcard.service.uincard.lowerleftx=73
mosip.digitalcard.service.uincard.lowerlefty=100
mosip.digitalcard.service.uincard.upperrightx=300
mosip.digitalcard.service.uincard.upperrighty=300
mosip.digitalcard.service.uincard.signature.reason="signing"

#Digital card template language and templateType code that used to generate pdf card.
mosip.template-language=eng
mosip.digitalcard.templateTypeCode=RPR_UIN_CARD_TEMPLATE
TEMPLATES=${mosip.kernel.masterdata.url}/v1/masterdata/templates

# Credential api that used to created credential and get the credential details
CREDENTIAL_REQ_URL=${mosip.idrepo.credrequest.generator.url}/v1/credentialrequest/requestgenerator
CREDENTIAL_STATUS_URL=${mosip.idrepo.credrequest.generator.url}/v1/credentialrequest/get
IDREPOGETIDBYUIN=${mosip.idrepo.identity.url}/idrepository/v1/identity/idvid

# PDFSIGN to signed the pdf card
PDFSIGN=${mosip.kernel.keymanager.url}/v1/keymanager/pdf/sign


# PDF Digital card is protected with password using below property based on define attribute it will encrypt by taking first 4 character.
mosip.digitalcard.uincard.password=fullName|dateOfBirth
mosip.digitalcard.pdf.password.enable.flag=true

#verifiable credential property that used to enable vc check.
mosip.digitalcard.verify.credentials.flag=true

mosip.digitalcard.credentials.request.initiate.flag=true
logging.level.io.mosip=INFO

# websub authentication
mosip.iam.adapter.clientid=mpartner-default-digitalcard
mosip.iam.adapter.clientsecret=${mpartner.default.digitalcard.secret}
mosip.iam.adapter.appid=admin
mosip.iam.adapter.issuerURL=${keycloak.internal.url}/auth/realms/mosip
mosip.authmanager.base-url=${mosip.kernel.authmanager.url}/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
auth.server.admin.allowed.audience=mosip-admin-client,mosip-resident-client
Loading

0 comments on commit c510d2e

Please sign in to comment.