Skip to content

Feature/cdapi 85#63

Open
nhsd-jack-wainwright wants to merge 26 commits intofeature/CDAPI-78-w-infrafrom
feature/CDAPI-85
Open

Feature/cdapi 85#63
nhsd-jack-wainwright wants to merge 26 commits intofeature/CDAPI-78-w-infrafrom
feature/CDAPI-85

Conversation

@nhsd-jack-wainwright
Copy link
Collaborator

@nhsd-jack-wainwright nhsd-jack-wainwright commented Mar 16, 2026

Description

Implementation of an APIM client implementing the Application-restricted RESTful APIs - signed JWT authentication authentication paradigm.

Context

This change implements an APIM client that can be relied upon as part of subsequent work to integrate with both PDM and MNS.

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 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
  • Exceptions/Exclusions to coding standards (e.g. #noqa or #NOSONAR) are included within this Pull Request.

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.

Initial Introduction of the ApimAuthenticator class, handling authentication with the API Management platform utilising Signed JWT application restricted access.
This commit also includes the creation of a `SessionManager` class handling the creation of a `request.Session` object with appropriate default configuration.
Also included additional logging to support debugging.
Also refactored config.py to better support primitive types.
@github-actions
Copy link

github-actions bot commented Mar 17, 2026

Trivy gate: no Critical/High vulnerabilities.

Trivy Filesystem Scan Summary

Filesystem: /tmp/artifact

Severity Count
CRITICAL 0
HIGH 0
MEDIUM 0
LOW 0
UNKNOWN 0

✅ No vulnerabilities found.

@sonarqubecloud
Copy link

@github-actions
Copy link

Deployment Complete

@nhsd-jack-wainwright nhsd-jack-wainwright marked this pull request as ready for review March 17, 2026 13:19
@nhsd-jack-wainwright nhsd-jack-wainwright requested a review from a team as a code owner March 17, 2026 13:19
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