aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/consul/resources/config/consul-agent-config/policy-health.json
blob: 9cad9dc1d55cd1f3ce4094b6c4f2daf413008d8d (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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
{
  "service": {
  "name": "Health Check: Policy",
  "checks": [
  {
    "id": "Policy-mariadb-healthcheck",
    "name": "Policy Mariadb Health Check",
    "script": "/consul/scripts/policy-mariadb-script.sh",
    "interval": "10s",
    "timeout": "1s"
  },
  {
    "id": "policy-nexus-local-status",
    "name": "Policy Nexus Local Status",
    "http": "http://nexus:8081/nexus/service/local/status",
    "method": "GET",
    "header": {
      "Authorization": ["Basic YWRtaW46YWRtaW4xMjM="],
      "Cache-Control": ["no-cache"],
      "Content-Type": ["application/json"],
      "Accept": ["application/json"]
    },
    "tls_skip_verify": true,
    "interval": "15s",
    "timeout": "1s"
  },
  {
    "id": "policy-nexus-internal-metrics",
    "name": "Policy Nexus Internal Metrics",
    "http": "http://nexus:8081/nexus/internal/metrics",
    "method": "GET",
    "header": {
      "Authorization": ["Basic YWRtaW46YWRtaW4xMjM="],
      "Cache-Control": ["no-cache"],
      "Content-Type": ["application/json"],
      "Accept": ["application/json"]
    },
    "tls_skip_verify": true,
    "interval": "15s",
    "timeout": "1s"
  },
  {
    "id": "policy-nexus-internal-healthcheck",
    "name": "Policy Nexus Internal Healthcheck",
    "http": "http://nexus:8081/nexus/internal/healthcheck",
    "method": "GET",
    "header": {
      "Authorization": ["Basic YWRtaW46YWRtaW4xMjM="],
      "Cache-Control": ["no-cache"],
      "Content-Type": ["application/json"],
      "Accept": ["application/json"]
    },
    "tls_skip_verify": true,
    "interval": "15s",
    "timeout": "1s"
  },
  {
    "id": "brmsgw-tcp",
    "name": "BRMSGW Health Check",
    "tcp": "brmsgw:9989",
    "interval": "15s",
    "timeout": "1s"
  },
  {
    "id": "drools",
    "name": "Drools Health Check",
    "http": "https://drools:6969/healthcheck",
    "method": "GET",
    "header": {
      "Authorization": ["Basic ZGVtb0BwZW9wbGUub3NhYWYub3JnOmRlbW8xMjM0NTYh"],
      "Cache-Control": ["no-cache"],
      "Content-Type": ["application/json"],
      "Accept": ["application/json"]
    },
    "tls_skip_verify": true,
    "interval": "15s",
    "timeout": "1s"
  },
  {
    "id": "pap",
    "name": "PAP Health Check",
    "http": "https://pap:9091/pap/test",
    "method": "GET",
    "header": {
      "Authorization": ["Basic dGVzdHBhcDphbHBoYTEyMw=="],
      "Cache-Control": ["no-cache"],
      "Content-Type": ["application/json"],
      "Accept": ["application/json"]
    },
    "tls_skip_verify": true,
    "interval": "15s",
    "timeout": "1s"
  },
  {
    "id": "pdp",
    "name": "PDP Health Check",
    "http": "https://pdp:8081/pdp/test",
    "method": "GET",
    "header": {
      "Authorization": ["Basic dGVzdHBkcDphbHBoYTEyMw=="],
      "Cache-Control": ["no-cache"],
      "Content-Type": ["application/json"],
      "Accept": ["application/json"]
    },
    "tls_skip_verify": true,
    "interval": "15s",
    "timeout": "1s"
   }
  ]
 }
}