Skip to content
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

feat: register default PublicEndpointGenerator fct #3991

Conversation

paullatzelsperger
Copy link
Member

What this PR changes/adds

This PR adds an optional config property edc.dataplane.api.public.baseurl that configures the base URL (including host, port) of the DataPlanePublicApiController.

If that config value is not provided, a fallback http://<HOST>:<PORT>/<PATH> is constructed dynamically, and is determined by the following config properties:

  • HOST: determined by the injected Hostname, defaulting to localhost
  • PORT: determined by web.http.public.port , defaulting to 8185
  • PATH: determined by web.http.public.path, defaulting to /api/v1/public

Why it does that

Every dataplane should be able to represent itself as Endpoint

Further notes

List other areas of code that have changed but are not necessarily linked to the main feature. This could be method
signature changes, package declarations, bugs that were encountered and were fixed inline, etc.

Linked Issue(s)

Closes # <-- insert Issue number if one exists

Please be sure to take a look at the contributing guidelines and our etiquette for pull requests.

@paullatzelsperger paullatzelsperger added enhancement New feature or request dpf Feature related to the Data Plane Framework labels Mar 11, 2024
@paullatzelsperger paullatzelsperger force-pushed the feat/add_default_endpointgenerator branch from c5a8a64 to 439907f Compare March 11, 2024 16:27
@paullatzelsperger paullatzelsperger force-pushed the feat/add_default_endpointgenerator branch from 439907f to e6ea851 Compare March 11, 2024 16:46
@paullatzelsperger paullatzelsperger merged commit 20bb0a4 into eclipse-edc:main Mar 12, 2024
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dpf Feature related to the Data Plane Framework enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants