Skip to content

Commit 5cd9d0d

Browse files
level0 for PRs
1 parent 93e5796 commit 5cd9d0d

File tree

6 files changed

+10
-4
lines changed

6 files changed

+10
-4
lines changed

.github/actions/build-proxies/action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ runs:
5959
make build-json-oas-spec APIM_ENV=dev
6060
else
6161
make build-json-oas-spec APIM_ENV=dev-pr
62+
jq '.security = [{"app-level0": []}]' build/notify-supplier.json > build/notify-supplier_target.json && mv build/notify-supplier_target.json build/notify-supplier.json
6263
fi
6364
6465
- name: Set target
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
[]
1+
- title: Application Restricted
2+
grants:
3+
app-level0: []
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
$ref: access-dev-pr.yml
1+
$ref: access-sandbox.yml

specification/api/components/x-nhsd-apim/target-dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ healthcheck: /_status
33
url: https://suppliers.dev.nhsnotify.national.nhs.uk
44
security:
55
type: apikey
6-
header: Authorization
6+
header: nhsd-apim-apikey
77
secret: nhs-notify-supplier-key
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
$ref: target-dev-pr.yml
1+
$ref: target-sandbox.yml

specification/api/notify-supplier-phase1.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ components:
5757
securitySchemes:
5858
app-level3:
5959
$ref: https://proxygen.ptl.api.platform.nhs.uk/components/securitySchemes/app-level3
60+
app-level0:
61+
$ref: https://proxygen.ptl.api.platform.nhs.uk/components/securitySchemes/app-level0
62+
6063
tags:
6164
- name: letter
6265
description: ''

0 commit comments

Comments
 (0)