Skip to content

Conversation

rafaelmag110
Copy link
Contributor

WHAT

Replaces dsp version request delegation from versionService to direct http call.

WHY

The versionService will dispatch the request through the dsp dispatcher, which requires the request to be decorated with a scope. In the case of a version request, no scope exists, hence the request will fail.

Also, the version service has been removed from the main branch on the upstream connector repo, so this its not good to rely on that.

FURTHER NOTES

The API previously responded with 502 Bad Gateway in cases where the metadata endpoint failed to response. This is no longer the case as the API will now always respond with 500 - in case of errors. However, the status code and a message will be passed on to the client for troubleshooting.

Closes #2277

Copy link
Contributor

@lgblaumeiser lgblaumeiser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Copy link

@rafaelmag110 rafaelmag110 merged commit e150dba into eclipse-tractusx:main Sep 29, 2025
38 checks passed
@github-project-automation github-project-automation bot moved this from Open to Merged in EDC PR Board Sep 29, 2025
@rafaelmag110 rafaelmag110 deleted the fix_parameter_discovery branch September 29, 2025 15:48
@rafaelmag110 rafaelmag110 added the bug Something isn't working label Sep 30, 2025
lgblaumeiser pushed a commit that referenced this pull request Sep 30, 2025
…2294)

* fix: remove problematic versionService from dspversionparams request

* fix: formatting
rafaelmag110 added a commit that referenced this pull request Oct 1, 2025
…2294)

* fix: remove problematic versionService from dspversionparams request

* fix: formatting

(cherry picked from commit e150dba)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Merged
Development

Successfully merging this pull request may close these issues.

Connector Discovery throws Unable to obtain credentials exception
2 participants