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

Registering duplicate EDC URLs for the same BPNL in EDC Discovery Service Cause Errors #1409

Open
mkanal opened this issue Dec 17, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@mkanal
Copy link

mkanal commented Dec 17, 2024

In the EDC Discovery Service, it is currently possible to register multiple EDC connectors with the same URL for the same BPNL. This leads to incorrect behavior in business apps. E.g. as notification messages are repeatedly sent to the same EDC URL which causes incorrect states.

Current Behavior

The system allows the registration of multiple EDC connectors with the identical URL for the same BPNL.
As a result, notifications are repeatedly sent to the same URL.

Expected Behavior

The EDC discovery service should not allow multiple registrations of the same URL for a single BPNL. Alternatively, the API should detect and filter out redundant URLs to prevent incorrect processing.

Steps To Reproduce

Register multiple EDC connectors with the same URL for the same BPNL in the EDC Discovery Service.
Trigger the Trace-X notification process.
Observe that notifications are repeatedly sent to the same URL.

Impact:

Redundant notifications create unnecessary overhead and disrupt the Trace-X notification process.
This may lead to inconsistencies, performance issues, or unintended behavior.

Suggested Solutions:

Implement a validation mechanism to prevent the registration of multiple connectors with the same URL for a single BPNL.
Enhance the API to detect and filter duplicate URLs.

@mkanal mkanal added the bug Something isn't working label Dec 17, 2024
@mkanal mkanal added this to Portal Dec 17, 2024
@github-project-automation github-project-automation bot moved this to NEW USER REQUEST in Portal Dec 17, 2024
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: NEW USER REQUEST
Development

No branches or pull requests

1 participant