-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[INJICERT-695] add docker-compose setup for MDL
Signed-off-by: KiruthikaJeyashankar <[email protected]>
- Loading branch information
1 parent
87097b5
commit a6fa81c
Showing
5 changed files
with
147 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
107 changes: 107 additions & 0 deletions
107
docker-compose/docker-compose-injistack/config/certify-mock-mdl.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,107 @@ | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this | ||
# file, You can obtain one at https://mozilla.org/MPL/2.0/. | ||
|
||
## ------------------------------------------- Plugin enable properties ------------------------------------------------------------ | ||
mosip.certify.integration.scan-base-package=io.mosip.certify.mock.integration | ||
mosip.certify.integration.audit-plugin=LoggerAuditService | ||
mosip.certify.integration.vci-plugin=MDocMockVCIssuancePlugin | ||
mosip.certify.plugin-mode=VCIssuance | ||
|
||
##commons | ||
mosip.certify.data-provider-plugin.issuer.vc-sign-algo=Ed25519Signature2018 | ||
mosip.certify.data-provider-plugin.issuer-public-key-uri= | ||
|
||
## ------------------------------------------- Plugin specific usecase properties ------------------------------------------------------------ | ||
mosip.certify.cache.secure.individual-id=false | ||
mosip.certify.cache.store.individual-id=false | ||
mosip.certify.cache.security.algorithm-name=AES/ECB/PKCS5Padding | ||
#TODO:Onboard issuer key and certificate data here format - "$base64EncodedPrivateKey||$base64EncodedCertificate" | ||
mosip.certify.mock.mdoc.issuer-key-cert= | ||
mosip.certify.mock.vciplugin.mdoc.issuer-key-cert=${mosip.certify.mock.mdoc.issuer-key-cert} | ||
|
||
## ------------------------------------------- Host values of connected services ------------------------------------------------------------ | ||
#TODO: Add esignet host and api public host | ||
mosip.esignet.mock.host= | ||
mosip.injicertify.mock.host=localhost:8090/ | ||
mosip.api.public.host= | ||
|
||
## ------------------------------------------- UseCase specific default overriding properties ------------------------------------------------------------ | ||
mosip.certify.domain.url=https://${mosip.injicertify.mock.host} | ||
mosip.certify.identifier=${mosip.certify.domain.url} | ||
mosip.certify.authorization.url=https://${mosip.esignet.mock.host} | ||
mosip.certify.database.name=inji_certify_mock | ||
|
||
|
||
mosip.certify.key-values={\ | ||
'vd11' : { \ | ||
'credential_issuer': '${mosip.certify.identifier}', \ | ||
'credential_endpoint': '${mosip.certify.domain.url}${server.servlet.path}/issuance/vd11/credential', \ | ||
'credentials_supported': {\ | ||
{\ | ||
'format': 'mso_mdoc',\ | ||
'id': 'DrivingLicenseCredential', \ | ||
'scope' : 'sample_vc_mdoc',\ | ||
'cryptographic_suites_supported': {'ES256'},\ | ||
'proof_types_supported': {'jwt'},\ | ||
'claims': {\ | ||
'org.iso.18013.5.1': {'given_name': {'display': {{'name': 'Given Name','locale': 'en'}}},'family_name': {'display': {{'name': 'Family Name','locale': 'en'}}},'issue_date': {'display': {{'name': 'Issue Date','locale': 'en'}}},'expiry_date': {'display': {{'name': 'Expiry Date','locale': 'en'}}},'birth_date': {'display': {{'name': 'Birth Date','locale': 'en'}}},'issuing_country': {'display': {{'name': 'Issuing Country','locale': 'en'}}},'document_number': {'display': {{'name': 'Document Number','locale': 'en'}}}}},\ | ||
'display': {{'name': 'Mobile Driving License', \ | ||
'locale': 'en', \ | ||
'background_image': { 'uri': 'https://${mosip.api.public.host}/inji/mosip-logo.png' }, \ | ||
'logo': {'url': 'https://${mosip.api.public.host}/inji/mosip-logo.png','alt_text': 'a square logo of MOSIP'},\ | ||
'background_color': '#5F8A8B',\ | ||
'text_color': '#7C4616'}},\ | ||
'order' : {'org.iso.18013.5.1~family_name','org.iso.18013.5.1~given_name','org.iso.18013.5.1~document_number','org.iso.18013.5.1~issuing_country','org.iso.18013.5.1~issue_date','org.iso.18013.5.1~expiry_date','org.iso.18013.5.1~birth_date'}\ | ||
}\ | ||
}\ | ||
},\ | ||
'vd12' : {\ | ||
'credential_issuer': '${mosip.certify.identifier}', \ | ||
'authorization_servers': {'${mosip.certify.authorization.url}'}, \ | ||
'credential_endpoint': '${mosip.certify.domain.url}${server.servlet.path}/issuance/vd12/credential', \ | ||
'display': {{'name': 'Mock Mobile Driving License', 'locale': 'en'}},\ | ||
'credentials_supported' : { \ | ||
"DrivingLicenseCredential":{\ | ||
'format': 'mso_mdoc',\ | ||
'doctype': 'org.iso.18013.5.1.mDL',\ | ||
'scope' : 'sample_vc_mdoc',\ | ||
'cryptographic_binding_methods_supported': {'cose_key'},\ | ||
'credential_signing_alg_values_supported': {'ES256'},\ | ||
'proof_types_supported': {'jwt': {'proof_signing_alg_values_supported': {'ES256'}}},\ | ||
'claims': {\ | ||
'org.iso.18013.5.1': {'given_name': {'display': {{'name': 'Given Name','locale': 'en'}}},'family_name': {'display': {{'name': 'Family Name','locale': 'en'}}},'issue_date': {'display': {{'name': 'Issue Date','locale': 'en'}}},'expiry_date': {'display': {{'name': 'Expiry Date','locale': 'en'}}},'birth_date': {'display': {{'name': 'Birth Date','locale': 'en'}}},'issuing_country': {'display': {{'name': 'Issuing Country','locale': 'en'}}},'document_number': {'display': {{'name': 'Document Number','locale': 'en'}}}}},\ | ||
'display': {{'name': 'Mobile Driving License', \ | ||
'locale': 'en', \ | ||
'background_image': { 'uri': 'https://${mosip.api.public.host}/inji/mosip-logo.png' }, \ | ||
'logo': {'url': 'https://${mosip.api.public.host}/inji/mosip-logo.png','alt_text': 'a square logo of MOSIP'},\ | ||
'background_color': '#5F8A8B',\ | ||
'text_color': '#7C4616'}},\ | ||
'order' : {'org.iso.18013.5.1~family_name','org.iso.18013.5.1~given_name','org.iso.18013.5.1~document_number','org.iso.18013.5.1~issuing_country','org.iso.18013.5.1~issue_date','org.iso.18013.5.1~expiry_date','org.iso.18013.5.1~birth_date'}\ | ||
}}\ | ||
},\ | ||
'latest' : {\ | ||
'credential_issuer': '${mosip.certify.identifier}', \ | ||
'authorization_servers': {'${mosip.certify.authorization.url}'}, \ | ||
'credential_endpoint': '${mosip.certify.domain.url}${server.servlet.path}/issuance/credential', \ | ||
'display': {{'name': 'Mock Mobile Driving License', 'locale': 'en'}},\ | ||
'credential_configurations_supported' : { \ | ||
"DrivingLicenseCredential":{\ | ||
'format': 'mso_mdoc',\ | ||
'doctype': 'org.iso.18013.5.1.mDL',\ | ||
'scope' : 'sample_vc_mdoc',\ | ||
'cryptographic_binding_methods_supported': {'cose_key'},\ | ||
'credential_signing_alg_values_supported': {'ES256'},\ | ||
'proof_types_supported': {'jwt': {'proof_signing_alg_values_supported': {'ES256'}}},\ | ||
'claims': {\ | ||
'org.iso.18013.5.1': {'given_name': {'display': {{'name': 'Given Name','locale': 'en'}}},'family_name': {'display': {{'name': 'Family Name','locale': 'en'}}},'issue_date': {'display': {{'name': 'Issue Date','locale': 'en'}}},'expiry_date': {'display': {{'name': 'Expiry Date','locale': 'en'}}},'birth_date': {'display': {{'name': 'Birth Date','locale': 'en'}}},'issuing_country': {'display': {{'name': 'Issuing Country','locale': 'en'}}},'document_number': {'display': {{'name': 'Document Number','locale': 'en'}}}}},\ | ||
'display': {{'name': 'Mobile Driving License', \ | ||
'locale': 'en', \ | ||
'background_image': { 'uri': 'https://${mosip.api.public.host}/inji/mosip-logo.png' }, \ | ||
'logo': {'url': 'https://${mosip.api.public.host}/inji/mosip-logo.png','alt_text': 'a square logo of MOSIP'},\ | ||
'background_color': '#5F8A8B',\ | ||
'text_color': '#7C4616'}},\ | ||
'order' : {'org.iso.18013.5.1~family_name','org.iso.18013.5.1~given_name','org.iso.18013.5.1~document_number','org.iso.18013.5.1~issuing_country','org.iso.18013.5.1~issue_date','org.iso.18013.5.1~expiry_date','org.iso.18013.5.1~birth_date'}\ | ||
}}\ | ||
}\ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters