Skip to content

After embedding the connector into IdentityHub, the dcp.v1.0.jsonld file is overwritten. #5134

@cycle2zhou

Description

@cycle2zhou

Bug Report

Describe the Bug

gradle dependency:

    runtimeOnly(libs.edc.bom.controlplane)
    runtimeOnly(libs.edc.bom.dataplane) {
        exclude(group = "org.eclipse.edc", module = "data-plane-selector-client")
    }
    runtimeOnly(libs.edc.bom.controlplane.sql)
    runtimeOnly(libs.edc.bom.dataplane.sql)
    implementation(libs.edc.ih.spi.credentials)
    implementation(libs.edc.ih.spi)
    runtimeOnly(libs.edc.bom.identityhub)
    runtimeOnly(libs.edc.bom.identityhub.sql)
    runtimeOnly(libs.edc.vault.hashicorp)
Image jsonLd.expand(credentialMessageJson).orElseThrow(InvalidRequestException::new); After execution, the issuerPid will be lost because the paths of dcp.v1.0.jsonld in the loaded identity-trust-core and common-core are the same. The common-core's version will be overwritten, and the final effective one is the jsonld in identity-trust-core, which results in the inability to parse the issuerPid attribute.

Expected Behavior

Correctly parse the value of issuerPid

Observed Behavior

Issuer PID is missing.

Steps to Reproduce

Context Information

  • Used version [e.g. EDC 0.14.0-SNAPSHOT]
  • OS: [e.g. macos]
  • jdk21

Detailed Description

If applicable, add screenshots and logs to help explain your problem.

Possible Implementation

You already know the root cause of the erroneous state and how to fix it? Feel free to share your thoughts.

Metadata

Metadata

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions