Skip to content

fix: Retrieve PDS Demographic - Correct Service Bus connection string handling in configuration#1451

Merged
SamAinsworth-NHS merged 1 commit intomainfrom
Fix/retrieve-pds-demographic-service-bus-configuration
Aug 11, 2025
Merged

fix: Retrieve PDS Demographic - Correct Service Bus connection string handling in configuration#1451
SamAinsworth-NHS merged 1 commit intomainfrom
Fix/retrieve-pds-demographic-service-bus-configuration

Conversation

@SamAinsworth-NHS
Copy link
Copy Markdown
Contributor

Description

This PR updates the Service Bus connection string handling in the RetrievePDSDemographic function to provide more flexible configuration options. The changes add support for an alternative connection string environment variable (ServiceBusConnectionString_client_internal) while maintaining backward compatibility with the existing ServiceBusConnectionString.

Context

The terraform setup explicitly sets the service bus connection string to ServiceBusConnectionString_client_internal - so this was not being picked up in Program.cs and preventing function startup

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.

@SamAinsworth-NHS SamAinsworth-NHS marked this pull request as ready for review August 11, 2025 12:05
@github-actions
Copy link
Copy Markdown

Unit Test Results

✔️ Tests 725 / 725 - passed in 10.9s
📝 Coverage 56.01%
📏 3940 / 6916 lines covered 🌿 931 / 1780 branches covered
🔍 click here for more details

@sonarqubecloud
Copy link
Copy Markdown

@SamAinsworth-NHS SamAinsworth-NHS added this pull request to the merge queue Aug 11, 2025
Merged via the queue into main with commit b766d9a Aug 11, 2025
64 checks passed
@SamAinsworth-NHS SamAinsworth-NHS deleted the Fix/retrieve-pds-demographic-service-bus-configuration branch August 11, 2025 13:24
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.

3 participants