Error message during transferprocesses (Unknown provision type/ DataSource default could not be resolved) #230
Replies: 2 comments 1 reply
-
The Pull request https://github.com/eclipse-tractusx/tutorial-resources/pull/232 will fix the error above, but then I get the next error Output as result of the transfer request.
fetch data with
Error mesage:
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Hello,
I have set up a local mxd environment to test the Tractus-X EDC. However, I get an error message during the transfer.
Alice Log reports:
java.util.concurrent.CompletionException: org.eclipse.edc.spi.EdcException: Unknown provision type org.eclipse.tractusx.edc.provision.additionalheaders.AdditionalHeadersProvisionedResource
Bob Log reports
org.eclipse.edc.spi.EdcException: DataSource default could not be resolved
Attached the port mapping, the json files, the curl commands and an extract of the log messages. Does anyone have any ideas about the cause of the error?
Port Mapping
vi create-asset.json
curl -d @create-asset.json -H "x-api-key: password" -H "content-type: application/json" http://localhost:19193/management/v3/assets -s | jq
vi create-policy.json
curl -d @create-policy.json -H "x-api-key: password" -H "content-type: application/json" http://localhost:19193/management/v2/policydefinitions -s | jq
vi create-contract-definition.json
curl -d @create-contract-definition.json -H "x-api-key: password" -H "content-type: application/json" http://localhost:19193/management/v2/contractdefinitions -s | jq
vi fetch-catalog.json
curl -d @fetch-catalog.json -H "x-api-key: password" -H "content-type: application/json" http://localhost:29193/management/v2/catalog/request -s | jq
vi negotiate-contract.json
curl -d @negotiate-contract.json -X POST -H "x-api-key: password" -H "content-type: application/json" http://localhost:29193/management/v2/contractnegotiations -s | jq
curl http://localhost:29193/management/v2/contractnegotiations/7a6408a0-47e3-46d9-b78c-dc84eae44544 -H "x-api-key: password" -s | jq
vi start-transfer.json
curl -d @start-transfer.json -X POST "http://localhost:29193/management/v2/transferprocesses" -H "x-api-key: password" -H "content-type: application/json" -s | jq
Alice Log
Bob log
Does anyone have any ideas about the cause of the error?
Beta Was this translation helpful? Give feedback.
All reactions