Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: [AEA-4040] - ensure API gateway changes are deployed properly #187

Merged
merged 19 commits into from
May 1, 2024
Merged
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
e64b841
Revert "Fix: [AEA-0000] - fix int sandbox deployment (#186)"
anthony-nhs Apr 30, 2024
9e6b181
Revert "Fix: [AEA-4027] - Invalid NHS Numbers accepted in PSU (#165)"
anthony-nhs Apr 30, 2024
87e37fc
Revert "Upgrade: [dependabot] - bump @typescript-eslint/parser from 7…
anthony-nhs Apr 30, 2024
f86967b
Revert "Upgrade: [dependabot] - bump @typescript-eslint/eslint-plugin…
anthony-nhs Apr 30, 2024
08e1eb7
Revert "Upgrade: [dependabot] - bump pytest from 7.4.4 to 8.2.0 (#171)"
anthony-nhs Apr 30, 2024
ac9bdf5
Revert "Fix: [AEA-0000] - fix deployment following adding status endp…
anthony-nhs Apr 30, 2024
db76dd5
Revert "Upgrade: [dependabot] - bump boto3 from 1.34.93 to 1.34.94 (#…
anthony-nhs Apr 30, 2024
f713397
Revert "Update: [AEA-3901] - Create status lambda for PSU API (#105)"
anthony-nhs Apr 30, 2024
b419302
Revert "Revert "Update: [AEA-3901] - Create status lambda for PSU API…
anthony-nhs Apr 30, 2024
6bb1ea9
Revert "Revert "Upgrade: [dependabot] - bump boto3 from 1.34.93 to 1.…
anthony-nhs Apr 30, 2024
37219bc
Revert "Revert "Fix: [AEA-0000] - fix deployment following adding sta…
anthony-nhs Apr 30, 2024
6047bb2
Revert "Revert "Upgrade: [dependabot] - bump pytest from 7.4.4 to 8.2…
anthony-nhs Apr 30, 2024
ce8e9fb
Revert "Revert "Upgrade: [dependabot] - bump @typescript-eslint/eslin…
anthony-nhs Apr 30, 2024
15d09e1
Revert "Revert "Upgrade: [dependabot] - bump @typescript-eslint/parse…
anthony-nhs Apr 30, 2024
e033b15
Revert "Revert "Fix: [AEA-4027] - Invalid NHS Numbers accepted in PSU…
anthony-nhs Apr 30, 2024
5c0f889
Revert "Revert "Fix: [AEA-0000] - fix int sandbox deployment (#186)""
anthony-nhs Apr 30, 2024
10bea35
Revert "Fix: [AEA-0000] - fix int sandbox deployment (#186)"
anthony-nhs Apr 30, 2024
e53401b
Revert "Revert "Fix: [AEA-0000] - fix int sandbox deployment (#186)""
anthony-nhs Apr 30, 2024
51d1a49
change name of deployment
anthony-nhs Apr 30, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
change name of deployment
anthony-nhs committed Apr 30, 2024
commit 51d1a49a513b4755360309fc450ece6abbe33707
12 changes: 8 additions & 4 deletions SAMtemplates/apis/main.yaml
Original file line number Diff line number Diff line change
@@ -226,21 +226,25 @@ Resources:
IntegrationHttpMethod: POST
Uri: !Sub arn:aws:apigateway:${AWS::Region}:lambda:path/2015-03-31/functions/${StatusLambdaFunctionArn}/invocations

# if you add a new endpoint, then need to manually force a deployment
# aws apigateway create-deployment --rest-api-id <CHANGE ME> --stage-name prod --description 'Deployed from CLI'
RestApiGatewayDeployment:
# *********************************************************************
# if you add a new endpoint, then change the name of this resource
# also need to change it in RestApiGatewayStage.Properties.DeploymentId
# *********************************************************************
RestApiGatewayDeploymentV1:
Type: AWS::ApiGateway::Deployment
DependsOn:
# see note above if you add something in here when you add a new endpoint
- UpdatePrescriptionStatusMethod
- StatusLambdaMethod
# see note above if you add something in here when you add a new endpoint
Properties:
RestApiId: !Ref RestApiGateway

RestApiGatewayStage:
Type: AWS::ApiGateway::Stage
Properties:
RestApiId: !Ref RestApiGateway
DeploymentId: !Ref RestApiGatewayDeployment
DeploymentId: !Ref RestApiGatewayDeploymentV1
StageName: prod
TracingEnabled: true
AccessLogSetting: