Skip to content

Commit 187b704

Browse files
VIA-345 SB & AS README tweaks.
1 parent 6aa941a commit 187b704

File tree

1 file changed

+9
-1
lines changed
  • infrastructure/environments/test/fake-api

1 file changed

+9
-1
lines changed

infrastructure/environments/test/fake-api/readme.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ aws ecr get-login-password --region eu-west-2 --profile vita-test | docker login
7171
docker tag fake-api:latest "$fake_api_ecr_repository_url":latest
7272

7373
docker 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:
8183
fake_api_url="http://"$(aws elbv2 describe-load-balancers --profile vita-test | jq -r '.LoadBalancers[] | select(.LoadBalancerName == "fake-api-project-alb") | .DNSName')
8284

8385
curl -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+
8589
curl -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

0 commit comments

Comments
 (0)