Skip to content

Commit 3a4f9d5

Browse files
remove security from sandbox
1 parent 4ace486 commit 3a4f9d5

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@ runs:
2525
run: |
2626
make construct-spec APIM_ENV=sandbox
2727
28+
- name: Remove sandbox security
29+
working-directory: ./build
30+
shell: bash
31+
run: |
32+
jq '.security = []' notify-supplier.json > tmp.json && mv tmp.json notify-supplier.json
33+
2834
2935
- name: Install Proxygen client
3036
shell: bash
@@ -45,7 +51,6 @@ runs:
4551
shell: bash
4652
working-directory: ./sandbox
4753
run: |
48-
docker build -t nhs-notify-supplier:latest .
4954
proxygen docker get-login | bash
5055
docker build -t nhs-notify-supplier:latest .
5156
IMAGE_ID=$(docker images -q nhs-notify-supplier:latest)

sandbox/api/openapi.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ servers:
1212
url: http://127.0.0.1:3000
1313
- description: Public sandbox
1414
url: https://sandbox-server.nhs.uk/nhs-notify-supplier-api
15-
security:
16-
- app-level0: []
15+
security: []
1716
tags:
1817
- description: ""
1918
name: letter

0 commit comments

Comments
 (0)