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

[dss][scd] DSS0210,A2-7-2,4d: Consider expired subscriptions as deleted #1013

Merged

Conversation

barroco
Copy link
Contributor

@barroco barroco commented Mar 26, 2024

DSS0210,A2-7-2,4d requires that expired subscriptions should be automatically deleted. This PR adapts the querySubscription according to tsc investigation (option 2) to filter out expired records.
Note that following the model of RID, a future PR will need to add a garbage collection job. (Option 1)

@barroco barroco force-pushed the DSS0210-A2-7-2-4d-deleted-subscription branch 6 times, most recently from e609824 to 04c2747 Compare March 27, 2024 16:43
@mickmis mickmis marked this pull request as ready for review March 27, 2024 16:47
@mickmis mickmis marked this pull request as draft March 27, 2024 16:48
@barroco barroco force-pushed the DSS0210-A2-7-2-4d-deleted-subscription branch from 04c2747 to 9f7ddae Compare March 27, 2024 16:49
@barroco barroco force-pushed the DSS0210-A2-7-2-4d-deleted-subscription branch from 9f7ddae to 0ac22c2 Compare March 27, 2024 16:49
Copy link
Contributor

@mickmis mickmis left a comment

Choose a reason for hiding this comment

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

LGTM

@barroco barroco marked this pull request as ready for review March 28, 2024 08:37
Copy link
Contributor

@mickmis mickmis left a comment

Choose a reason for hiding this comment

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

FYI I tested the changes locally, all tests pass fine with additional tests from interuss/monitoring#605.

@barroco barroco merged commit 8e3f849 into interuss:master Mar 28, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants