File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
infrastructure/environments/test/fake-api Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -71,6 +71,8 @@ aws ecr get-login-password --region eu-west-2 --profile vita-test | docker login
7171docker tag fake-api:latest " $fake_api_ecr_repository_url " :latest
7272
7373docker push " $fake_api_ecr_repository_url " :latest
74+
75+ aws ecs update-service --cluster fake-api-ecs-cluster --service fake-api-ecs-service --force-new-deployment --profile vita-dev --region eu-west-2
7476```
7577
7678### Check it's working
@@ -81,8 +83,14 @@ Give it a minute, then:
8183fake_api_url=" http://" $( aws elbv2 describe-load-balancers --profile vita-test | jq -r ' .LoadBalancers[] | select(.LoadBalancerName == "fake-api-project-alb") | .DNSName' )
8284
8385curl -v $fake_api_url /health
84- curl -v $fake_api_url /eligibility-signposting-api/patient-check/9658218989
86+
87+ curl $fake_api_url /eligibility-signposting-api/patient-check/9658218989 | jq
88+
8589curl -v -X POST $fake_api_url /oauth2/token
90+
91+ curl $fake_api_url /.well-known/openid-configuration | jq
92+ curl -v $fake_api_url /authorize? state=sausages
93+ curl -X POST $fake_api_url /token
8694```
8795
8896## Local testing
You can’t perform that action at this time.
0 commit comments