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

Local deployment Issue #242

Closed tanweersalah closed 3 months ago

tanweersalah commented 4 months ago

Hi,

I am trying to run the Product pass application locally,

I have deployed below services required for Catena X locally for testing Product Pass:

  1. MIW
  2. KeyCloak
  3. Vault
  4. Consumer EDC both dataplane and control plane
  5. Provider EDC both dataplane and control plane
  6. Registry
  7. BPN Finder
  8. Discovery Finder

I am able to communicate between consumer and provider EDC, and request the Registry Catalog.

image

but when initiating transfer, status remains as STARTED. it does not change. which result in product pass getting timed out.

I need some assistance here,

Is there any backend service required ?

matbmoser commented 4 months ago

Hi! Thanks for the issue ;) That's actually a problem from the EDC 0.5.3 >= and EDC 0.6.0 unfortunately. Our Digital Product Pass application in v2.1.3 is just compatible with the version 0.5.0.

In the next Digital Product Pass version we are implementing an workaround to solve this by not waiting for the transfer to be COMPLETED: https://github.com/eclipse-tractusx/digital-product-pass/pull/246

The first transfer is done to retrieve the Digital Twin from the Registry through the EDC.

But for the asset transfer, yes you need to store you DPP Aspects somewhen in a "Submodel Server"/Backend Service which stores json files. We have an option for you already in our repo for that: https://github.com/eclipse-tractusx/digital-product-pass/tree/main/deployment/infrastructure/edc-provider/data-service

Please let me know if it helped you 👍🏻

matbmoser commented 3 months ago

I am closing this ticket since I dont see any further action.