summaryrefslogtreecommitdiffstats
path: root/blueprints/inventory.yaml-template
diff options
context:
space:
mode:
authorMichael Hwang <mhwang@research.att.com>2017-10-17 12:14:28 -0400
committerMichael Hwang <mhwang@research.att.com>2017-10-17 12:16:04 -0400
commit68b32f4862e0ce0909ce66c3f6718136988394b7 (patch)
tree08cb896180113f10a6d0496144516981eb116858 /blueprints/inventory.yaml-template
parentf76d9cb0268324188ffde8f2dd7298a0b92bcb79 (diff)
Add health checks for docker host and sch
Change-Id: I055d05e4c8475bd39077ce5df3834fd53641b322 Issue-Id: DCAEGEN2-142 Signed-off-by: Michael Hwang <mhwang@research.att.com>
Diffstat (limited to 'blueprints/inventory.yaml-template')
-rw-r--r--blueprints/inventory.yaml-template6
1 files changed, 6 insertions, 0 deletions
diff --git a/blueprints/inventory.yaml-template b/blueprints/inventory.yaml-template
index e0dbef6..7e209d9 100644
--- a/blueprints/inventory.yaml-template
+++ b/blueprints/inventory.yaml-template
@@ -83,6 +83,12 @@ node_templates:
isFilterInEmptyResources: false
dcaeInventoryClient:
uri: http://inventory:8080
+ docker_config:
+ healthcheck:
+ type: "docker"
+ interval: "30s"
+ timeout: "3s"
+ script: "/opt/health.sh"
image:
{ get_input: service_change_handler_image }
relationships: