aboutsummaryrefslogtreecommitdiffstats
path: root/tutorials/tutorial-xacml-application/src/main/docker/README.txt
blob: a29a44b26106aca65493966b040b616016d4eaa2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
docker-compose -f docker-compose.yml run --rm start_dependencies

docker-compose -f docker-compose.yml run --rm start_all


curl -X POST http://0.0.0.0:3904/events/POLICY-PDP-PAP

Should return JSON similar to this:
{"serverTimeMs":0,"count":0}


curl -k -u 'healthcheck:zb!XztG34' 'https://0.0.0.0:6969/policy/pdpx/v1/healthcheck'

Should return JSON similar to this:
{"name":"Policy Xacml PDP","url":"self","healthy":true,"code":200,"message":"alive"}


curl -k -u 'healthcheck:zb!XztG34' 'https://0.0.0.0:6767/policy/api/v1/healthcheck'
Should return JSON similar to this:
{
    "name": "Policy API",
    "url": "policy-api",
    "healthy": true,
    "code": 200,
    "message": "alive"
}

curl -k -u 'healthcheck:zb!XztG34' 'https://0.0.0.0:6868/policy/pap/v1/healthcheck'
Should return JSON similar to this:
{
    "name": "Policy PAP",
    "url": "policy-pap",
    "healthy": true,
    "code": 200,
    "message": "alive"
}