More Documentation on Asset creation #323
-
Feature RequestMore Documentation on Asset creation DescriptionIn a current use case we want to use an Asset and set its "dataAddress": {
"properties": {
"type": "HttpData",
"baseUrl": "https://example.com",
"method": "GET",
"proxyQueryParams": "true",
}
} But how would the consumer now tell the producer which params to proxy to the dataAdress baseUrl ? I tried with the following request data: "dataDestination": {
"properties": {
"type": "HttpData",
"baseUrl": "https://destination-url.com",
"assetId": "asset-id-123",
},
},
"properties" : {
"queryParams": {
"query":"hello",
"id":123
}
} But had no luck. In addition the documentation or openapi.yaml has no information on what could go into the "properties" section on how to control the "dataAdress" or "dataDestination" behaviour. Why Is the Feature Desired?In order to for developers to use the EDC to hook up any data source this part of the documentation is crucial |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 7 replies
-
Thanks for your question! This is a feature of the data-plane-http extension. Please have a look for parameters here and here. You may use additionally ´pathSegments´ and ´queryParams´. In a short search I found following snippet, but need to admit, that we do not support the feature above the current implementation of Core EDC. "properties": {
"pathSegments": "search",
"method": "GET",
"queryParams": "q=sovity"
}, |
Beta Was this translation helpful? Give feedback.
-
Do you also found something about headers passed as they are also required (for auth)? |
Beta Was this translation helpful? Give feedback.
-
For documentation completeness: |
Beta Was this translation helpful? Give feedback.
Thanks for your question! This is a feature of the data-plane-http extension. Please have a look for parameters here and here. You may use additionally ´pathSegments´ and ´queryParams´.
In a short search I found following snippet, but need to admit, that we do not support the feature above the current implementation of Core EDC.