Skip to content

CCD-6861 Enhance and Test Payload Validation Middleware (payloadGuard)#765

Open
jenedgar wants to merge 28 commits into
CCD-7337from
CCD-6861-esm-updates
Open

CCD-6861 Enhance and Test Payload Validation Middleware (payloadGuard)#765
jenedgar wants to merge 28 commits into
CCD-7337from
CCD-6861-esm-updates

Conversation

@jenedgar

Copy link
Copy Markdown

JIRA link (if applicable)

https://tools.hmcts.net/jira/browse/CCD-6861

Change description

Updated with master, upgraded from commonjs to esm and updated to use esmock. Also, updated tests.

Does this PR introduce a breaking change? (check one with "x")

[ ] Yes
[ ] No

@jenedgar jenedgar changed the title Ccd 6861 esm updates CCD-6861 Enhance and Test Payload Validation Middleware (payloadGuard) Jun 25, 2026
Comment thread config/default.yaml Outdated
appInsights:
enabled: true
roleName: "ccd-api-gateway"
secrets:

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.

Can you please remove the secrets from the default config

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If I remove that, I get - Error: Configuration property "secrets.ccd.microservicekey-ccd-gw" is not defined

@lang-ben lang-ben changed the base branch from master to CCD-7337 June 26, 2026 13:29

@lang-ben lang-ben left a comment

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.

pending the comments, approved

Comment thread package.json Outdated
@hmcts-jenkins-a-to-c hmcts-jenkins-a-to-c Bot requested a deployment to preview June 26, 2026 14:18 Abandoned
@hmcts-jenkins-a-to-c hmcts-jenkins-a-to-c Bot requested a deployment to preview June 26, 2026 15:10 Abandoned
@hmcts-jenkins-a-to-c hmcts-jenkins-a-to-c Bot requested a deployment to preview June 26, 2026 15:50 Abandoned
@hmcts-jenkins-a-to-c hmcts-jenkins-a-to-c Bot requested a deployment to preview June 26, 2026 17:04 Abandoned
@hmcts-jenkins-a-to-c hmcts-jenkins-a-to-c Bot requested a deployment to preview June 26, 2026 17:45 Abandoned
@hmcts-jenkins-a-to-c hmcts-jenkins-a-to-c Bot requested a deployment to preview June 29, 2026 08:19 Abandoned
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants