eclipse-tractusx / digital-product-pass

digital product pass
https://github.com/eclipse-tractusx/digital-product-pass
Apache License 2.0
21 stars 11 forks source link

Update EDC version to v0.7.0 #265

Closed saudkhan116 closed 1 month ago

saudkhan116 commented 2 months ago

Description

The EDCs must be updated to the version v0.7.0, in order to fulfill the release 24.05 requirements. Adjust the dpp backend (if necessary) and update documentation.

Affected components

Acceptance Criteria

Additional Information

EDC Repository: https://github.com/eclipse-tractusx/tractusx-edc Open API swagger: https://app.swaggerhub.com/apis/eclipse-tractusx-bot/tractusx-edc

saudkhan116 commented 2 months ago

There is a new configuration introduced in edc version 0.7.0, which require DIM settings and bdrs server configurations.

iatp:
  # Decentralized IDentifier
  id: "did:web:changeme"
  sts:
    dim:
      url: "https://somewhere.dim.org"
    oauth:
      token_url: "https://changeme.org"
      client:
        id: "test-client-id"
        secret_alias: "test-alias"
controlplane:
  bdrs:
      server:
        url: "https://bdrs.test.org"
matbmoser commented 2 months ago

Flagged because we are waiting for the credentials when the E2E Test starts

matbmoser commented 2 months ago

Here there is a migration guide: https://github.com/eclipse-tractusx/tractusx-edc/blob/main/docs/migration/Version_0.5.x_0.7.x.md

matbmoser commented 2 months ago

This needs to be changed:

https://github.com/catenax-ng/tx-digital-product-pass/blob/a4441186eca9007645d2c05ec1ff9a6cc44b22ad/dpp-backend/digitalproductpass/src/main/java/org/eclipse/tractusx/digitalproductpass/services/DataTransferService.java#L1150-L1166

matbmoser commented 2 months ago

Work done by @saudkhan116 : Latest Status:

Flagged:

matbmoser commented 2 months ago

Working in this branch: https://github.com/catenax-ng/tx-digital-product-pass/tree/feature/edc7-integration

matbmoser commented 1 month ago

image Bug related to policy configuration selection solved. For new edc the actions are under odrl:type

matbmoser commented 1 month ago

image First step worked!

matbmoser commented 1 month ago

Image

Working on INT with the new edc!