HttpData source and HttpProxy destination #1934
Replies: 6 comments
-
@dilipdhankecha2530 Could you please provide a complete bug report (referring to the template) covering the used version, used extensions, executed API calls etc.? |
Beta Was this translation helpful? Give feedback.
-
@juliapampus But now the use case is the consumer wants to pass the data to the provider so here I am confused about how to do this part with HttpData. We are using the latest code from the master branch in EDC. |
Beta Was this translation helpful? Give feedback.
-
Hello, First, the consumer does not pass data to the provider. It is the other way around. Also this is the provider who creates the Asset, not the consumer. If you want to use the Data Plane as a http proxy to query the data, which is typically what you want to do when the provider exposes its data through a REST API, then the consumer will have to set the data type as This type of data exchange is covered in this integration test: https://github.com/eclipse-dataspaceconnector/DataSpaceConnector/blob/cebe2cf3295796255d81239247009ca7706ec1c2/system-tests/e2e-transfer-test/runner/src/test/java/org/eclipse/dataspaceconnector/test/e2e/AbstractEndToEndTransfer.java#L48 |
Beta Was this translation helpful? Give feedback.
-
@bscholtes1A |
Beta Was this translation helpful? Give feedback.
-
I am going to convert this to a discussion as it is not an issue.
Please ask more specific questions so that we can try and answer them. General "how-do-things-work" questions can usually be answered by looking at the documentation, samples, or tests. In your case, set a breakpoint on where the error is happening and perform some investigation so you can provide us with more detail and make it easier for us to help you. |
Beta Was this translation helpful? Give feedback.
-
I wrote something that could help: #2107 (comment) |
Beta Was this translation helpful? Give feedback.
-
Bug Report
Describe the Bug
We want to pass data from consumer to provider the case is consumer create an asset with policy and contract details and during asset creation the type of data address is HTTPDATA. Now provider want to send some data to consumer and doing the contarct negotiation process and initiate the transfer process with data address type HTTPPROXY.
During the transfer process initiate we face the below error.
Expected Behavior
Data must be pass to Consumer to provider.
Beta Was this translation helpful? Give feedback.
All reactions