-
Sub-task
-
Resolution: Done
-
Medium
-
None
-
None
-
None
-
None
- Healtcheck (Needs to be defined in BP also)
- Get All Subscriptions
Alternative to health check endpoint is to have a script within the container. If this script returns 0, the container is deemed healthy by the DCAE Health check. This can be defined in the MS blueprint as follows:
docker_config:
healthcheck:
type: script
script: "/opt/app/pmih/healthcheck.sh"
interval: 15s
timeout: 2s
Examples of this can be seen in HV-VES Collector and SNMP Trap Collector