The Class GeoportalHealth.
Service check.
| media type | data type | description |
|---|---|---|
| application/json | object (JSON) | the response compliant to `microprofile-health` specification. 200 if is OK. Otherwise it fails. |
GET /srv/health
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
...
Database check.
| name | type | description |
|---|---|---|
| context | query | the gcube context |
| media type | data type | description |
|---|---|---|
| application/json | object (JSON) | the response compliant to `microprofile-health` specification |
GET /srv/health/database
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
...
Mongo check.
| name | type | description | default | constraints |
|---|---|---|---|---|
| context | query | the gcube context | ||
| include_collections | query | false | boolean |
| media type | data type | description |
|---|---|---|
| application/json | object (JSON) | the response compliant to `microprofile-health` specification |
GET /srv/health/mongo
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
...