-
Notifications
You must be signed in to change notification settings - Fork 0
CODE RUB: Updates for Product 3 #181
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
CODE RUB: Updates for Product 3 #181
Conversation
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.
Pull request overview
This PR updates the codebase to incorporate DecisionType retrieval in the consumer adoption workflow and optimizes batch processing queries for better performance.
- Adds DecisionType service dependency to ConsumerOrchestrationService to fetch and populate DecisionType data
- Refactors batch query logic in ConsumerAdoptionService to use separate ID lists with Contains instead of composite key matching with Any
- Removes unused test constant
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| ConsumerOrchestrationService.cs | Added DecisionTypeService dependency and logic to retrieve and assign DecisionType to decisions |
| ConsumerAdoptionService.cs | Refactored batch filtering to use separate ID lists with Contains for improved query performance |
| PatientOrchestrationServiceTests.cs | Removed unused notificationRequestCountdownSeconds constant |
| ConsumerOrchestrationServiceTests.cs | Added DecisionTypeService mock to support new dependency |
| ConsumerAdoptionServiceTests.BulkAddOrModifyBatch.Logic.cs | Updated test logic to match refactored batch filtering approach |
...nDataServices.IDecide.Core/Services/Orchestrations/Consumers/ConsumerOrchestrationService.cs
Show resolved
Hide resolved
...nDataServices.IDecide.Core/Services/Foundations/ConsumerAdoptions/ConsumerAdoptionService.cs
Outdated
Show resolved
Hide resolved
...ces/Foundations/ConsumerAdoptions/ConsumerAdoptionServiceTests.BulkAddOrModifyBatch.Logic.cs
Outdated
Show resolved
Hide resolved
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.
Pull request overview
Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.
Closes AB#25839