Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

24.08. conformity: supported credential types #190

Closed
jjeroch opened this issue Jul 4, 2024 · 3 comments · Fixed by #198
Closed

24.08. conformity: supported credential types #190

jjeroch opened this issue Jul 4, 2024 · 3 comments · Fixed by #198
Assignees
Labels
enhancement New feature or request

Comments

@jjeroch
Copy link
Contributor

jjeroch commented Jul 4, 2024

Description:
We need to update the seeding release data to align with the new 24.08 standard. The current implementation supports the 24.05 standard, which includes an enhanced set of credentials within the release image file. The new requirement is to move these credentials to the test data file. Going forward, the release image will only contain the "Framework" credential, specifically the "Framework Exchange Governance Credential".

Tasks:

  1. Remove the enhanced set of credentials from the release image file which are available under "Framework" Credential.
  2. Move the credentials to the test data file, ensuring proper security and access controls are in place.
  3. Update the release image to only include the "Framework Exchange Governance Credential" as per the 24.08 standard.
  4. Ensure that the credential is linked to all useCases; start date 16th of Oct. 2024 (for the release image file) ++ add additionally the same type inside the testDate file with the start date 16th of June 2024. Please be aware that no expiry date is defined currently
  5. Ensure that the new credential schema is strictly followed, as defined below:
{
    "id": "uuid",
    "@context": [
        "https://www.w3.org/2018/credentials/v1",
        "https://w3id.org/catenax/credentials/v1.0.0"
        ],
    "type": ["VerifiableCredential", "{DataExchangeGovernanceCredential}"],
    "issuanceDate": "{issuance date - format: 2024-10-16T00:00:00Z}",
    "expirationDate": "{expiration date - format: 2025-10-15T00:00:00Z}",
    "issuer": "{did issuer}",
    "credentialSubject": {
        "id": "{did holder}",
        "holderIdentifier": "{bpn}",
        "group": "UseCaseFramework",
        "useCase": "DataExchangeGovernance",
        "contractTemplate": "{URL OF AGREEMENT/CONTRACT TEMPLATE}",
        "contractVersion": "{VERSION OF THE AGREEMENT TEMPLATE; format: x.x}"
    }
} 

**contractTemplateURL: https://catena-x.net/fileadmin/user_upload/04_Einfuehren_und_umsetzen/How_To_Conclude_Data_Exchange_Contracts.pdf

To be updated seeding files:

  • use_cases.json
  • verified_credential_external_type_detail_versions.consortia.json
  • verified_credential_external_type_detail_versions.json
  • verified_credential_type_assigned_external_types.consortia.json
  • verified_credential_type_assigned_external_types.json
  • verified_credential_type_assigned_kinds.consortia.json
  • verified_credential_type_assigned_kinds.json
  • verified_credential_type_assigned_use_cases.consortia.json
  • verified_credential_type_assigned_use_cases.json
@jjeroch jjeroch added the enhancement New feature or request label Jul 4, 2024
@jjeroch jjeroch added this to the Release 1.1.0 milestone Jul 4, 2024
@jjeroch jjeroch added this to Portal Jul 4, 2024
@github-project-automation github-project-automation bot moved this to NEW USER REQUEST in Portal Jul 4, 2024
@jjeroch jjeroch moved this from NEW USER REQUEST to BACKLOG in Portal Jul 4, 2024
@jjeroch
Copy link
Contributor Author

jjeroch commented Jul 9, 2024

The current issuer component supports the following framework agreement credentials:

  • "TRACEABILITY_CREDENTIAL"
  • "PCF_CREDENTIAL"
  • "BEHAVIOR_TWIN_CREDENTIAL"
  • "CIRCULAR_ECONOMY"
  • "DEMAND_AND_CAPACITY_MANAGEMENT"
  • "DEMAND_AND_CAPACITY_MANAGEMENT_PURIS"
  • "BUSINESS_PARTNER_DATA_MANAGEMENT"
  • "QUALITY_CREDENTIAL"

Those need to get set to inactive by setting the "expiry date" to 16th of October 2024.
Beside that, a new credential is needed:

When creating the credential, it must look like defined below:

{
    "id": "{uuid}",
    "@context": [
        "https://www.w3.org/2018/credentials/v1",
        "https://w3id.org/catenax/credentials/v1.0.0"
        ],
    "type": ["VerifiableCredential", "DataExchangeGovernanceCredential"],
    "issuanceDate": "{issuance date - format: 2024-10-16T00:00:00Z}",
    "expirationDate": "{expiration date - format: 2025-10-15T00:00:00Z}",
    "issuer": "{did issuer}",
    "credentialSubject": {
        "id": "{did holder}",
        "holderIdentifier": "{bpn}",
        "group": "UseCaseFramework",
        "useCase": "DataExchangeGovernance",
        "contractTemplate": "https://catena-x.net/fileadmin/user_upload/04_Einfuehren_und_umsetzen/How_To_Conclude_Data_Exchange_Contracts.pdf",
        "contractVersion": "1.0"
    }
} 

@ntruchsess ntruchsess self-assigned this Jul 9, 2024
@lavanya-bmw lavanya-bmw moved this from BACKLOG to IN PROGRESS in Portal Jul 11, 2024
@ntruchsess ntruchsess linked a pull request Jul 11, 2024 that will close this issue
5 tasks
@Phil91 Phil91 moved this from IN PROGRESS to IN REVIEW in Portal Jul 17, 2024
@Sebastian-Wurm
Copy link

@jjeroch: is this already done?

@evegufy
Copy link
Contributor

evegufy commented Oct 18, 2024

@Sebastian-Wurm yes, it was part of the 24.08 release

@evegufy evegufy closed this as completed Oct 18, 2024
@github-project-automation github-project-automation bot moved this from IN REVIEW to USER READY in Portal Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

5 participants