Skip to content

Commit e03ad5d

Browse files
authored
Merge branch 'main' into feature/eja-eli-385-remove-wildcard-resource-and-passrole-permissions
2 parents 38e2133 + b9ef4d4 commit e03ad5d

415 files changed

Lines changed: 22230 additions & 1632 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.

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,5 @@ sandbox/specification/*
4848
/specification/tmp/*
4949
/tests/e2e/data/out*
5050
/tests/e2e/reports/*
51+
/tests/e2e/.temp/
52+
/tests/e2e/certs/

.tool-versions

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33
terraform 1.12.1
44
pre-commit 4.2.0
55
vale 3.11.2
6-
poetry 2.1.3
6+
poetry 2.1.4
77
act 0.2.77
8+
nodejs 22.18.0
89

910
# ==============================================================================
1011
# The section below is reserved for Docker image versions.

poetry.lock

Lines changed: 105 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ jsonschema = "^4.24.0"
6363
behave = "^1.2.6"
6464
boto3 = "^1.38.42"
6565
python-dotenv = "^1.1.1"
66+
openapi-spec-validator = "^0.7.2"
6667

6768
[tool.poetry-plugin-lambda-build]
6869
docker-image = "public.ecr.aws/sam/build-python3.13:1.139-x86_64" # See https://gallery.ecr.aws/search?searchTerm=%22python%22&architecture=x86-64&popularRegistries=amazon&verified=verified&operatingSystems=Linux

pytest.ini

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
[pytest]
22
python_files = *_tests.py test_*.py
33
norecursedirs = .venv .eggs build dist utils
4-
addopts = --strict-markers
4+
#addopts = --strict-markers
55
markers =
66
e2e: end to end tests
77
smoketest: suitable to run against all environments even production
8+
functionale2eregression: functional regression tests
9+
sandboxtests: tests to replicate example sandbox responses agreed with vita

tests/e2e/.env.example

Lines changed: 0 additions & 27 deletions
This file was deleted.

tests/e2e/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,5 @@ assets/
4242
# Logs
4343
*.log
4444
/helpers/output/
45+
/.hypothesis/unicode_data/15.1.0/charmap.json.gz
46+
/tests/.hypothesis/unicode_data/15.1.0/charmap.json.gz
21.2 KB
Binary file not shown.
Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
{
2+
"request": {
3+
"requestTimestamp": "2025-08-11 07:43:12.954767+00:00",
4+
"headers": {
5+
"xRequestId": null,
6+
"xCorrelationId": null,
7+
"nhsdEndUserOrganisationOds": null,
8+
"nhsdApplicationId": null
9+
},
10+
"queryParams": {
11+
"category": null,
12+
"conditions": null,
13+
"includeActions": null
14+
},
15+
"nhsNumber": "9900376001"
16+
},
17+
"response": {
18+
"responseId": "0300f1e8-6004-4229-a972-29220f08b8e9",
19+
"lastUpdated": "2025-08-11 07:43:13.267973+00:00",
20+
"condition": [
21+
{
22+
"campaignId": "AUTO_RSV_ELI-376-01-Campaign-ID",
23+
"campaignVersion": 1,
24+
"iterationId": "AUTO_RSV_ELI-376-01-Iteration-ID",
25+
"iterationVersion": 1,
26+
"conditionName": "RSV",
27+
"status": "actionable",
28+
"statusText": "You should have the RSV vaccine",
29+
"eligibilityCohorts": [
30+
{
31+
"cohortCode": "rsv_eli_376_cohort_1",
32+
"cohortStatus": "actionable"
33+
},
34+
{
35+
"cohortCode": "rsv_eli_376_cohort_2",
36+
"cohortStatus": "actionable"
37+
},
38+
{
39+
"cohortCode": "rsv_eli_376_cohort_3",
40+
"cohortStatus": "actionable"
41+
},
42+
{
43+
"cohortCode": "rsv_eli_376_cohort_4",
44+
"cohortStatus": "actionable"
45+
}
46+
],
47+
"eligibilityCohortGroups": [
48+
{
49+
"cohortCode": "rsv_eli_376_cohort_group",
50+
"cohortText": "are a member of eli_376_cohort_group_0",
51+
"cohortStatus": "actionable"
52+
},
53+
{
54+
"cohortCode": "rsv_eli_376_cohort_group",
55+
"cohortText": "are a member of eli_376_cohort_group_10",
56+
"cohortStatus": "actionable"
57+
},
58+
{
59+
"cohortCode": "rsv_eli_376_cohort_group",
60+
"cohortText": "are a member of eli_376_cohort_group_20",
61+
"cohortStatus": "actionable"
62+
},
63+
{
64+
"cohortCode": "rsv_eli_376_cohort_group_other",
65+
"cohortText": "are a member of eli_376_cohort_group_other",
66+
"cohortStatus": "actionable"
67+
}
68+
],
69+
"filterRules": null,
70+
"suitabilityRules": null,
71+
"actionRule": null,
72+
"actions": [
73+
{
74+
"internalActionCode": "TEST_ACTION",
75+
"actionType": "ButtonWithAuthLink",
76+
"actionCode": "TestAction",
77+
"actionDescription": "TestAction Description",
78+
"actionUrl": "http://www.nhs.uk/book-rsv",
79+
"actionUrlLabel": "Continue to booking"
80+
}
81+
]
82+
}
83+
]
84+
}
85+
}

0 commit comments

Comments
 (0)