-
Notifications
You must be signed in to change notification settings - Fork 1
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
R1007 breaks use cases with multiple Subscriptions #297
Comments
SDPi Friday 2024.06.28 Review - Need to investigate whether or not this is a true problem and if so, what the priority and change should be. @d-gregorczyk will investigate. |
Confirm, is a minor issue. The requirement can be rephrased such that it is more concise. Proposal:
|
SDPi Workshop #4 - @d-gregorczyk Status of this change? |
Should be fixed in 2.0. |
Section Number
Section 3:8.3.2.12.1
Priority
Issue
Requirement R1007 ensures that a SOMDS Provider will never send two Reports (of the listed ReportTypes) with the same mdibVersion. However, to the best of my understanding, the BICEPS standard does not limit the subscriptions a Consumer can make.
Consider the following case:
A Consumer connects to a Provider using the SDC protocol and makes 2 subscriptions for the same ReportType (say: msg:EpisodicMetricReport). Now, an AbstractMetricState in the Providers Mdib changes. As far as I understand, the Provider is now required to send the same Report (the one updating the AbstractMetricState) to the Consumer twice - one for each Subscription.
However, this behaviour violates the Requirement R1007.
What is the Provider supposed to do in this case?
Proposed Change
An elegant way of solving this issue would be to adapt the Requirement R1007 to clearly state that the mdibVersion shall be strictly increasing within each subscription - this would still allow the Provider to send the same Report twice when the two Reports belong to different subscriptions.
The text was updated successfully, but these errors were encountered: