-
Notifications
You must be signed in to change notification settings - Fork 29
[uss_qualifier] cleanup subscription CRUD fragments #1070
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
Conversation
46217ed to
c0a5125
Compare
mickmis
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Few minor comments and one thing that looks strange.
Otherwise LGTM
monitoring/uss_qualifier/scenarios/astm/utm/dss/fragments/sub/validate/positive_index.md
Outdated
Show resolved
Hide resolved
monitoring/uss_qualifier/scenarios/astm/utm/dss/fragments/sub/validate/zero_index.md
Outdated
Show resolved
Hide resolved
monitoring/uss_qualifier/scenarios/astm/utm/dss/synchronization/subscription_synchronization.md
Show resolved
Hide resolved
monitoring/uss_qualifier/scenarios/astm/utm/dss/synchronization/subscription_synchronization.md
Show resolved
Hide resolved
monitoring/uss_qualifier/scenarios/astm/utm/dss/synchronization/subscription_synchronization.md
Show resolved
Hide resolved
|
|
||
| If the version of the subscription is updated without there having been any mutation of the subscription, the DSS is in violation of **[astm.f3548.v21.DSS0005,5](../../../../../../../requirements/astm/f3548/v21.md)**. | ||
|
|
||
| ## [Positive index](positive_index.md) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why does the 'non-mutated' step fragment should necessarily expected a positive notification index?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also: make it more explicit that this is about the notification index.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The index may change for reasons outside of uss_qualifier's control or awareness, therefore the only thing we can reliably verify with regard to the notification index is that:
- it should be there
- on creation of the entity it should be 0
- after creation, it should be 0 or greater
(I'll basically add the above to the relevant fragments)
monitoring/uss_qualifier/scenarios/astm/utm/dss/fragments/sub/validate/mutated.md
Outdated
Show resolved
Hide resolved
c0a5125 to
11039ec
Compare
Some subscription CRUD-related fragments were containing too many checks depending on the context in which they were used.
This PR ensures that only the checks actually being run are documented for some subscription scenarios.
Progress on #975