Skip to content

feat: dummy GP code management for servicenow#1434

Closed
Warren-Pitterson wants to merge 7 commits intomainfrom
feat/DTOSS-9614-Add-Dummy-GP
Closed

feat: dummy GP code management for servicenow#1434
Warren-Pitterson wants to merge 7 commits intomainfrom
feat/DTOSS-9614-Add-Dummy-GP

Conversation

@Warren-Pitterson
Copy link
Copy Markdown
Contributor

@Warren-Pitterson Warren-Pitterson commented Aug 7, 2025

Description

  • Implements proper handling of dummy GP codes (ZZZ) in ServiceNow to Cohort Distribution
  • Tests

Context

https://nhsd-jira.digital.nhs.uk/browse/DTOSS-9614

Type of changes

  • Refactoring (non-breaking change)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would change existing functionality)
  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • I am familiar with the contributing guidelines
  • I have followed the code style of the project
  • I have added tests to cover my changes
  • I have updated the documentation accordingly
  • This PR is a result of pair or mob programming

Sensitive Information Declaration

To ensure the utmost confidentiality and protect your and others privacy, we kindly ask you to NOT including PII (Personal Identifiable Information) / PID (Personal Identifiable Data) or any other sensitive data in this PR (Pull Request) and the codebase changes. We will remove any PR that do contain any sensitive information. We really appreciate your cooperation in this matter.

  • I confirm that neither PII/PID nor sensitive data are included in this PR and the codebase changes.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Aug 7, 2025

Unit Test Results

✔️ Tests 744 / 744 - passed in 11.4s
📝 Coverage 56.35%
📏 3960 / 6904 lines covered 🌿 945 / 1800 branches covered
🔍 click here for more details

✏️ updated for commit 5b914c1

@Warren-Pitterson Warren-Pitterson marked this pull request as ready for review August 7, 2025 11:24
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Aug 7, 2025

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.

I think this functionality probably needs to be in the DistributeParticipant function, I'm currently adding a call to that function from ManageServiceNowParticipant and should have a PR up soon.

The problem is that the ManageServiceNowParticipant function won't know if the participant has been distributed yet, since the DistributeParticipant function has a service bus trigger. The ManageServiceNowParticipant function might be prematurely attempting to update the CohortDistribution table.

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