Commit be42db4 1 parent 5e04eb0 commit be42db4 Copy full SHA for be42db4
File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 1
1
FROM stoplight/prism:5
2
2
3
3
4
- RUN apk add --no-cache jq
4
+ RUN apk add --no-cache curl jq
5
5
RUN npm install -g @apidevtools/swagger-cli
6
6
COPY src/main/kotlin/uk/gov/justice/digital/hmpps/hmppsintegrationapi/prismMocks /prismMocks
7
7
ADD https://ministryofjustice.github.io/hmpps-probation-integration-services/tech-docs/projects/external-api-and-delius/api-docs.json /prismMocks/ndelius.json
Original file line number Diff line number Diff line change @@ -33,7 +33,8 @@ services:
33
33
dockerfile : Dockerfile.prism
34
34
container_name : prism
35
35
healthcheck :
36
- test : ' wget --header="Authorization: Bearer abc" http://127.0.0.1:4017/prisoner/A1234AL -O /dev/null'
36
+ test : ' curl -H "Authorization: Bearer abc" http://127.0.0.1:4017/prisoner/A1234AL &&
37
+ curl -H "Authorization: Bearer abc" http://127.0.0.1:4018/case-details/officiis/1134670863'
37
38
ports :
38
39
- ' 4010:4010'
39
40
- ' 4011:4011'
You can’t perform that action at this time.
0 commit comments