Skip to content

Better naming of methods - #5681

Open
johnsimons wants to merge 1 commit into
john/GroupsDataStorefrom
john/refactors_renames
Open

Better naming of methods#5681
johnsimons wants to merge 1 commit into
john/GroupsDataStorefrom
john/refactors_renames

Conversation

@johnsimons

Copy link
Copy Markdown
Member

The two by-id lookups differed only in that one reads unresolved groups and the other archived ones, which neither the names nor the signatures showed.
The four status-scoped members are now named after what they return: GetUnresolvedGroupsByClassifier, GetArchivedGroupsByClassifier, GetUnresolvedGroup and GetArchivedGroup.

GetUnresolvedGroup returns a single view like its archived twin, so neither controller picks the first result off a list any more.

GetCurrentForwardingBatch moves to IRetryDocumentDataStore, where the NowForwarding pointer it reads already lives. QueryFailureGroupViewOnGroupId is deleted because it ran the same query as GetUnresolvedGroup, so RetryAllInGroupHandler calls that instead.

Both group-by-id endpoints now return 404 for an unknown group instead of an empty 204, matching GetErrorByIdController. ServicePulse reads these only to label a group, and its client already fails on the empty 204, so this gives it a status it can actually handle.

@johnsimons johnsimons self-assigned this Jul 31, 2026
The two by-id lookups differed only in that one reads unresolved groups and the other archived ones, which neither the names nor the signatures showed.
The four status-scoped members are now named after what they return: GetUnresolvedGroupsByClassifier, GetArchivedGroupsByClassifier,
GetUnresolvedGroup and GetArchivedGroup.

GetUnresolvedGroup returns a single view like its archived twin, so neither controller picks the first result off a list any more.

GetCurrentForwardingBatch moves to IRetryDocumentDataStore, where the NowForwarding pointer it reads already lives. QueryFailureGroupViewOnGroupId is deleted because it ran the same query as GetUnresolvedGroup, so RetryAllInGroupHandler calls that instead.

Both group-by-id endpoints now return 404 for an unknown group instead of an empty 204, matching GetErrorByIdController. ServicePulse reads these only to label a group, and its client already fails on the empty 204, so this gives it a status it can actually handle.
@johnsimons
johnsimons force-pushed the john/refactors_renames branch from 425a657 to 44043cf Compare July 31, 2026 23:43
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.

1 participant