Skip to content

Commit 6eaca4a

Browse files
Merge branch 'main' into feature/CCM-12185-addGetMiEndpoint
2 parents a2a50c7 + b142808 commit 6eaca4a

81 files changed

Lines changed: 6721 additions & 3284 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.env.template

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Your github Personal Access Token (PAT)
2+
PR_NUMBER=prxx # remove if needs to run against main
23
GITHUB_TOKEN=
34

45
# Apigee proxy name to be used for test execution

.github/workflows/manual-combine-dependabot-prs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
steps:
1616
- name: combine-prs
1717
id: combine-prs
18-
uses: github/combine-prs@2909f404763c3177a456e052bdb7f2e85d3a7cb3 # v5.2.0
18+
uses: NHSDigital/nhs-notify-shared-modules/.github/actions/combine-dependabot-prs@4.0.6
1919
with:
2020
ci_required: false
2121
labels: dependencies

.github/workflows/stage-3-build.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,6 @@ jobs:
189189
--terraformAction "apply" \
190190
--overrideProjectName "nhs" \
191191
--overrideRoleName "nhs-main-acct-supplier-api-github-deploy"
192-
193192
populate-config:
194193
name: "Populate Supplier Config"
195194
runs-on: ubuntu-latest

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ version.json
1313
# Please, add your custom content below!
1414
.idea
1515
.env
16+
.devcontainer/devcontainer-lock.json
1617

1718
# dependencies
1819
node_modules

config/suppliers/letter-variant/client1-campaign2.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"client1-campaign2"
3333
],
3434
"priority": 1,
35-
"status": "INT",
35+
"status": "PROD",
3636
"type": "STANDARD",
37-
"volumeGroupId": "volumeGroup-test3"
37+
"volumeGroupId": "volumeGroup-test4"
3838
}
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"constraints": {
3+
"blackCoveragePercentage": {
4+
"operator": "LESS_THAN",
5+
"value": 20
6+
},
7+
"deliveryDays": {
8+
"operator": "LESS_THAN",
9+
"value": 2
10+
},
11+
"sheets": {
12+
"operator": "LESS_THAN",
13+
"value": 5
14+
},
15+
"sides": {
16+
"operator": "LESS_THAN",
17+
"value": 10
18+
}
19+
},
20+
"description": "Black printing, first class postage tariff",
21+
"id": "notify-first-test",
22+
"name": "First class letter",
23+
"packSpecificationIds": [
24+
"notify-first-test"
25+
],
26+
"priority": 10,
27+
"status": "PROD",
28+
"type": "STANDARD",
29+
"volumeGroupId": "volumeGroup-test5"
30+
}

config/suppliers/letter-variant/notify-standard-test1.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
"id": "notify-standard-test1",
2222
"name": "Dev Happy Path",
2323
"packSpecificationIds": [
24-
"notify-c5"
24+
"notify-c5",
25+
"notify-c4"
2526
],
2627
"priority": 50,
2728
"status": "PROD",

config/suppliers/pack-specification/client1-campaign2.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"maxWeightGrams": 100,
5050
"size": "STANDARD"
5151
},
52-
"status": "INT",
52+
"status": "PROD",
5353
"updatedAt": "2026-04-14T00:00:00.000Z",
5454
"version": 1
5555
}
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
{
2+
"assembly": {
3+
"duplex": true,
4+
"envelopeId": "first-c5",
5+
"paper": {
6+
"colour": "WHITE",
7+
"id": "paper-std-white-80",
8+
"name": "Standard White 80gsm",
9+
"recycled": true,
10+
"size": "A4",
11+
"weightGSM": 80
12+
},
13+
"printColour": "BLACK"
14+
},
15+
"billingId": "notify-first-test",
16+
"constraints": {
17+
"blackCoveragePercentage": {
18+
"operator": "LESS_THAN",
19+
"value": 20
20+
},
21+
"deliveryDays": {
22+
"operator": "LESS_THAN",
23+
"value": 2
24+
},
25+
"sheets": {
26+
"operator": "LESS_THAN",
27+
"value": 5
28+
},
29+
"sides": {
30+
"operator": "LESS_THAN",
31+
"value": 10
32+
}
33+
},
34+
"createdAt": "2026-01-12T00:00:00.000Z",
35+
"description": "First class postage tariff",
36+
"id": "notify-first-test",
37+
"name": "First class",
38+
"postage": {
39+
"deliveryDays": 2,
40+
"id": "first-class",
41+
"maxThicknessMm": 5,
42+
"maxWeightGrams": 100,
43+
"size": "STANDARD"
44+
},
45+
"status": "PROD",
46+
"updatedAt": "2026-01-12T00:00:00.000Z",
47+
"version": 1
48+
}

config/suppliers/supplier-allocation/supplier1-volumeGroup-test3.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"allocationPercentage": 100,
2+
"allocationPercentage": 50,
33
"id": "supplier1-volumeGroup-test3",
44
"status": "PROD",
55
"supplier": "supplier1",

0 commit comments

Comments
 (0)