-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parametrized Backend Calls do not work #452
Comments
It seems that the functionality of querying with parameters isn't supported for routes backends. |
For documentation: @freboy provided detailed logs to @omarsilva1 and me on 22-09-12 16:57 via mail. |
I can confirm that using this workaround works. Is it possible to add querying with parameter to the route based solution? |
We are investigating on how to implement the parametrization into Camel. After investigation, we will provide feedback on how to proceed. |
DataspaceConnector/src/main/java/io/dataspaceconnector/common/routing/RouteDataRetriever.java Line 65 in 1957363
The DataspaceConnector/src/main/java/io/dataspaceconnector/common/routing/RouteDataRetriever.java Lines 70 to 71 in 1957363
Note that the camelDirect ist the routeId with a prefix and not an URL. |
Describe the bug
I have a backend service as data source which takes parameters as input. I tried to use this backend as data source in my provider, following the examples here: https://international-data-spaces-association.github.io/DataspaceConnector/CommunicationGuide/v6/Parametrization but the parameters are not considered
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Consumer DSC adds the additional parameters to the request, provider DSC considers them and returns specified data.
Seen error behavior
Provider DSC always just uses base url and does not consider additional parameters. When the backend URL has mandatory parameters it actually fails during contract negotiation already as the provider DSC seems to query the (invalid) base URL in this step
Screenshots & Logs
Logs available on request
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: