From 7bd727a143498df0a3ad763a527a8e050f2f5fcc Mon Sep 17 00:00:00 2001 From: Gurpreet41082 Date: Tue, 21 Jan 2025 09:56:49 +0530 Subject: [PATCH] Update develop from release (#561) * [INJIMOB-1349] add data-share and minio service as part of docker compose Signed-off-by: Abhishek Paul * [MOSIP-38411] rename main to master (#553) Signed-off-by: Chandra Keshav Mishra * [INJIWEB-1349] removed endpoint /issuers/{issuer-id}/credentialTypes Signed-off-by: Gurpreet41082 * [INJIWEB-1349] updated mimoto image in docker file Signed-off-by: Gurpreet41082 * [DSD-7079] Updated action/upload artifact version push-trigger.yml (#559) * [DSD-] Updated action/upload artifact version push-trigger.yml Signed-off-by: Praful Rakhade * Updated push-trigger.yml Signed-off-by: Praful Rakhade --------- Signed-off-by: Praful Rakhade --------- Signed-off-by: Abhishek Paul Signed-off-by: Chandra Keshav Mishra Signed-off-by: Gurpreet41082 Signed-off-by: Praful Rakhade Co-authored-by: Abhishek Paul Co-authored-by: Chandra Keshav Mishra Co-authored-by: Praful Rakhade --- docker-compose/docker-compose.yml | 2 +- docs/api-documentation-openapi.json | 458 ---------------------------- 2 files changed, 1 insertion(+), 459 deletions(-) diff --git a/docker-compose/docker-compose.yml b/docker-compose/docker-compose.yml index 375c611e..6f676106 100644 --- a/docker-compose/docker-compose.yml +++ b/docker-compose/docker-compose.yml @@ -39,7 +39,7 @@ services: - ./nginx.conf:/etc/nginx/nginx.conf mimoto-service: container_name: 'Mimoto-Service' - image: 'mosipid/mimoto:0.14.0' + image: 'mosipqa/mimoto:0.15.x' user: root ports: - '8099:8099' diff --git a/docs/api-documentation-openapi.json b/docs/api-documentation-openapi.json index 810a278d..5fd38afd 100644 --- a/docs/api-documentation-openapi.json +++ b/docs/api-documentation-openapi.json @@ -1875,464 +1875,6 @@ } } }, - "/issuers/{issuer-id}/credentialTypes": { - "get": { - "operationId": "getCredentialTypes", - "parameters": [ - { - "name": "issuer-id", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "search", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - } - ], - "tags": [ - "Trusted Issuers" - ], - "description": "This API fetches and allows searching for Credential Types offered by the issuer, all sourced from the issuer's well-known configuration.", - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "supportedCredentials": [ - { - "format": "string", - "id": "string", - "scope": "string", - "display": [ - { - "name": "string", - "logo": { - "url": "string", - "alt_text": "string" - }, - "locale": "string", - "background_color": "string", - "text_color": "string" - } - ], - "proof_types_supported": [ - "string" - ], - "credential_definition": { - "type": [ - "string" - ], - "credentialSubject": { - "additionalProp1": { - "display": [ - { - "name": "string", - "locale": "string" - } - ] - }, - "additionalProp2": { - "display": [ - { - "name": "string", - "locale": "string" - } - ] - }, - "additionalProp3": { - "display": [ - { - "name": "string", - "locale": "string" - } - ] - } - } - } - } - ], - "authorization_endpoint": "string" - }, - "errors": { - "type": "null" - } - }, - "x-examples": { - "Example 1": { - "supportedCredentials": [ - { - "format": "ldp_vc", - "id": "InsuranceCredential", - "scope": "sunbird_rc_insurance_vc_ldp", - "display": [ - { - "name": "MOSIP Insurance", - "logo": { - "url": "https://api.collab.mosip.net/inji/mosip-logo.png", - "alt_text": "insurance logo" - }, - "locale": "en", - "background_color": "#fafcff", - "text_color": "#00284d" - } - ], - "proof_types_supported": [ - "jwt" - ], - "credential_definition": { - "type": [ - "VerifiableCredential", - "InsuranceCredential" - ], - "credentialSubject": { - "fullName": { - "display": [ - { - "name": "Full Name", - "locale": "en" - } - ] - }, - "policyName": { - "display": [ - { - "name": "Policy Name", - "locale": "en" - } - ] - }, - "policyNumber": { - "display": [ - { - "name": "Policy Number", - "locale": "en" - } - ] - }, - "gender": { - "display": [ - { - "name": "Gender", - "locale": "en" - } - ] - }, - "expiresOn": { - "display": [ - { - "name": "Expiry Date", - "locale": "en" - } - ] - }, - "dob": { - "display": [ - { - "name": "Date Of Birth", - "locale": "en" - } - ] - } - } - } - }, - { - "format": "ldp_vc", - "id": "LifeInsuranceCredential_ldp", - "scope": "life_insurance_vc_ldp", - "display": [ - { - "name": "Sunbird Life Insurance", - "logo": { - "url": "https://sunbird.org/images/sunbird-logo-new.png", - "alt_text": "Sunbird life insurance logo" - }, - "locale": "en", - "background_color": "#fefcfa", - "text_color": "#7C4616" - } - ], - "proof_types_supported": [ - "jwt" - ], - "credential_definition": { - "type": [ - "VerifiableCredential", - "LifeInsuranceCredential" - ], - "credentialSubject": { - "fullName": { - "display": [ - { - "name": "Full Name", - "locale": "en" - } - ] - }, - "policyName": { - "display": [ - { - "name": "Policy Name", - "locale": "en" - } - ] - }, - "policyNumber": { - "display": [ - { - "name": "Policy Number", - "locale": "en" - } - ] - }, - "gender": { - "display": [ - { - "name": "Gender", - "locale": "en" - } - ] - }, - "policyExpiresOn": { - "display": [ - { - "name": "Expiry Date", - "locale": "en" - } - ] - }, - "dob": { - "display": [ - { - "name": "Date Of Birth", - "locale": "en" - } - ] - } - } - } - } - ], - "authorization_endpoint": "http://localhost:8088/authorize" - } - }, - "examples": { - "Success response": { - "value": { - "id": "mosip.resident.vid", - "version": "v1", - "str": null, - "responsetime": "2022-10-31T05:08:14.846Z", - "metadata": null, - "response": { - "supportedCredentials": [ - { - "format": "ldp_vc", - "id": "InsuranceCredential", - "scope": "sunbird_rc_insurance_vc_ldp", - "display": [ - { - "name": "MOSIP Insurance", - "logo": { - "url": "https://api.collab.mosip.net/inji/mosip-logo.png", - "alt_text": "insurance logo" - }, - "locale": "en", - "background_color": "#fafcff", - "text_color": "#00284d" - } - ], - "proof_types_supported": [ - "jwt" - ], - "credential_definition": { - "type": [ - "VerifiableCredential", - "InsuranceCredential" - ], - "credentialSubject": { - "fullName": { - "display": [ - { - "name": "Full Name", - "locale": "en" - } - ] - }, - "policyName": { - "display": [ - { - "name": "Policy Name", - "locale": "en" - } - ] - }, - "policyNumber": { - "display": [ - { - "name": "Policy Number", - "locale": "en" - } - ] - }, - "gender": { - "display": [ - { - "name": "Gender", - "locale": "en" - } - ] - }, - "expiresOn": { - "display": [ - { - "name": "Expiry Date", - "locale": "en" - } - ] - }, - "dob": { - "display": [ - { - "name": "Date Of Birth", - "locale": "en" - } - ] - } - } - } - }, - { - "format": "ldp_vc", - "id": "LifeInsuranceCredential_ldp", - "scope": "life_insurance_vc_ldp", - "display": [ - { - "name": "Sunbird Life Insurance", - "logo": { - "url": "https://sunbird.org/images/sunbird-logo-new.png", - "alt_text": "Sunbird life insurance logo" - }, - "locale": "en", - "background_color": "#fefcfa", - "text_color": "#7C4616" - } - ], - "proof_types_supported": [ - "jwt" - ], - "credential_definition": { - "type": [ - "VerifiableCredential", - "LifeInsuranceCredential" - ], - "credentialSubject": { - "fullName": { - "display": [ - { - "name": "Full Name", - "locale": "en" - } - ] - }, - "policyName": { - "display": [ - { - "name": "Policy Name", - "locale": "en" - } - ] - }, - "policyNumber": { - "display": [ - { - "name": "Policy Number", - "locale": "en" - } - ] - }, - "gender": { - "display": [ - { - "name": "Gender", - "locale": "en" - } - ] - }, - "policyExpiresOn": { - "display": [ - { - "name": "Expiry Date", - "locale": "en" - } - ] - }, - "dob": { - "display": [ - { - "name": "Date Of Birth", - "locale": "en" - } - ] - } - } - } - } - ], - "authorization_endpoint": "http://localhost:8088/authorize" - }, - "errors": null - } - }, - "Failure response": { - "value": { - "id": null, - "version": "v1", - "str": null, - "responsetime": "2022-10-31T05:07:34.789Z", - "metadata": null, - "response": null, - "errors": [ - { - "errorCode": "RESIDENT-APP-026", - "errorMessage": "Api not accessible failure" - } - ] - } - }, - "Failure response 2": { - "value": { - "id": null, - "version": "v1", - "str": null, - "responsetime": "2022-10-31T05:07:34.789Z", - "metadata": null, - "response": null, - "errors": [ - { - "errorCode": "RESIDENT-APP-035", - "errorMessage": "Invalid issuer ID" - } - ] - } - } - } - } - } - } - } - } - }, "/issuers/{issuer-id}/well-known-proxy": { "get": { "operationId": "getCredentialWellknown",