summaryrefslogtreecommitdiffstats
path: root/healthcheck-container/healthcheck.js
AgeCommit message (Collapse)AuthorFilesLines
2021-12-09[HEALTHCHECK] Add healthcheck for dynamically-deployed microservices2.4.0Jack Lucas1-14/+22
Add health checks for DCAE microservices deployed after the initial installation of dcaegen2-services. Issue-ID: DCAEGEN2-2959 Signed-off-by: Jack Lucas <jflos@sonoris.net> Change-Id: I9da0216db695f65ed520b509db183170977fce51
2021-11-16[HEALTHCHECK] Enhance healthcheck loggingJack Lucas1-5/+8
Add a timestamp to every log entry Make a log entry when the application starts Make a single log entry (instead of 2) for the outbound HTTP requests to the k8s API Update node.js base image to the 16.x.x LTS release (from 14.x.x). Issue-ID: DCAEGEN2-2958 Issue-ID: DCAEGEN2-2983 Signed-off-by: Jack Lucas <jflos@sonoris.net> Change-Id: Ib275afbd0c871d4e82dda269606d243f3b6d89e4
2020-06-15Make healthcheck fully dynamic3.0.0Jack Lucas1-28/+24
Support health checks for DCAE and DCAE MOD Issue-ID: DCAEGEN2-1864 Signed-off-by: Jack Lucas <jflucas@research.att.com> Change-Id: Idcf127a591ff3b926a5af0281c591d8da18355f1
2020-03-27Update health list of expected deployments1.3.1Jack Lucas1-2/+3
Issue-ID: DCAEGEN2-2174 Signed-off-by: Jack Lucas <jflucas@research.att.com> Change-Id: I6d4912bd9bb251dc74c66b6920a30d2d6e44fdea
2020-02-11Change health check to run as non-root user1.3.0Jack Lucas1-2/+2
Requires change to listening port for health check server (from 80 to 8080). Also update nodejs version. Issue-ID: DCAEGEN2-2071 Signed-off-by: Jack Lucas <jflucas@research.att.com> Change-Id: I5e85cc2184cfab845a70905edabad4699f0ef411
2019-07-25Treat dashboard as Helm-deployed component5.0.0-ONAPJack Lucas1-3/+3
Health check looked for dashboard as a Cloudify-deployed component, but in El Alto Early Drop, dashboard is deployed by Helm. This commit changes how the health check looks for the dashboard k8s deployment. Issue-ID: DCAEGEN2-1688 Change-Id: Ie3d87e8083d35fa689ea17f6d8cb20a59bf66271 Signed-off-by: Jack Lucas <jflucas@research.att.com>
2019-04-08Bulk update to deploymentVijay Venkatesh Kumar1-2/+2
1) Removed pnda folder (moved to pnda repo) 2) Moved older R3 - heat repo into archive folder 3) Added Dmaap plugin 4) Added new blueprints for Dashboard/helm Change-Id: I82cb8c482a0a35fe8094da825e7403b0fc4ee33b Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com> Issue-ID: DCAEGEN2-1270 Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com>
2019-02-15Move ph and dh to HelmJack Lucas1-3/+3
-- Helm charts for ph and dh -- New container to do Consul k-v storage and service reg -- Bootstrap container no longer deploys ph and dh -- Healthcheck looks for ph and dh as Helm deployments -- Updated/added licensing information Issue-ID: DCAEGEN2-1091 Issue-ID: DCAEGEN2-1092 Change-Id: I5340bee6fba1340d4c05b0f37ddfb539c543469e Signed-off-by: Jack Lucas <jflucas@research.att.com>
2019-01-28Move inventory deployment to HelmJack Lucas1-3/+3
Issue-ID: DCAEGEN2-1089 Change-Id: Ideb129885e8774e7578eea8291889b232097862e Signed-off-by: Jack Lucas <jflucas@research.att.com>
2019-01-17Move CBS to Helm deploymentJack Lucas1-2/+2
Stop including CBS blueprint in bootstrap container Stop deploying the CBS blueprint in the bootstrap script Change healthcheck so that it looks for Helm-deployed CBS Issue-ID: DCAEGEN2-1090 Change-Id: Ifeba9768374045831e4d1f3f06a77ec9a79753c7 Signed-off-by: Jack Lucas <jflucas@research.att.com>
2018-12-13Restore list of expected CM deploymentsJack Lucas1-30/+49
Remove unneeded npm install from Dockerfile Add README Change-Id: I671217e7e30c041759effbe173a9b28a8f4a8f29 Issue-ID: DCAEGEN2-988 Signed-off-by: Jack Lucas <jflucas@research.att.com>
2018-12-12Add healthcheck for after-boot deploymentsJack Lucas1-25/+8
Update node to v 10.14.1 Remove dependency on 'request' package Issue-ID: DCAEGEN2-988 Change-Id: Icc68f8271d22b5ffbdac124e109c0273c05682c2 Signed-off-by: Jack Lucas <jflucas@research.att.com>
2018-09-30add DataFilecollector for DCAE healthcheck1.4.31.4.11.1.21.0.0Vijay Venkatesh Kumar1-1/+2
Change-Id: I02ed6d260df3c319f407e853d70e83b190554100 Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com> Issue-ID: DCAEGEN2-772
2018-10-02Healthcheck for PRH and HV-VESroot1-1/+3
It cover healthcheck requirments for issue INT-650 and INT-651 Issue-ID: INT-651 Change-Id: If4382e552a22b213e838275d1fa835b6020123a9 Signed-off-by: root <root@kosmos-ranczer.novalocal>
2018-05-10Fix healthcheck to check specific deploymentsJack Lucas1-28/+37
Change-Id: Idc6a3eece4e3aaba83a0b2388f2ae6c2407471a5 Issue-ID: DCAEGEN2-493 Signed-off-by: Jack Lucas <jflucas@research.att.com>
2018-04-20Add healthcheck container for OOMJack Lucas1-0/+80
Change-Id: Ie4719a0e4705901fd9d0fa3504696fbefc6c704a Issue-ID: DCAEGEN2-461 Signed-off-by: Jack Lucas <jflucas@research.att.com>