Skip to content

Adding from/to parameters to the /messages/list endpoint to filter messages based on date#554

Merged
uhurusurfa merged 3 commits into
OpenAS2:masterfrom
SohamBhambare:master
Jul 7, 2026
Merged

Adding from/to parameters to the /messages/list endpoint to filter messages based on date#554
uhurusurfa merged 3 commits into
OpenAS2:masterfrom
SohamBhambare:master

Conversation

@SohamBhambare

Copy link
Copy Markdown
Contributor

Adding from/to parameters to the /messages/list endpoint to filter messages based on date.

Updated ListMessagesCommand to support date filtering.
Refactored listMessages method to accept optional date bounds for filtering results.
This test class verifies the behavior of the DbTrackingModule's listMessages method to ensure it correctly filters messages based on the specified date range. It includes tests for various scenarios, such as returning rows within the range, no rows when the range matches nothing, and handling open-ended date ranges.

@uhurusurfa uhurusurfa left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nice work. 🚀

@uhurusurfa uhurusurfa merged commit ec38859 into OpenAS2:master Jul 7, 2026
11 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