summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Shatov <alexs@att.com>2018-01-10 12:14:09 -0500
committerAlex Shatov <alexs@att.com>2018-01-10 12:14:09 -0500
commit9e47acd65fa8745f31cb405cb2862c98d172326b (patch)
treecf04dd38cf6d270f88ced0c683db7afe99d7c7e5
parent00a0cd1ed5bb06b2ecd9588175e84b1ac15ba9b7 (diff)
blueprint for policy-handler 2.0.0 healthcheck
Change-Id: Idd0477a84409404f0054d82af473d73d978bf33c Issue-ID: DCAEGEN2-250 Signed-off-by: Alex Shatov <alexs@att.com>
-rw-r--r--blueprints/policy_handler.yaml-template8
1 files changed, 7 insertions, 1 deletions
diff --git a/blueprints/policy_handler.yaml-template b/blueprints/policy_handler.yaml-template
index 7e28cc2..f3f2b42 100644
--- a/blueprints/policy_handler.yaml-template
+++ b/blueprints/policy_handler.yaml-template
@@ -41,7 +41,7 @@ inputs:
policy_handler_image:
description: Docker image for policy_handler
- default: '{{ ONAPTEMPLATE_DOCKERREGURL_org_onap_dcaegen2_releases }}/onap/org.onap.dcaegen2.platform.policy-handler:v1.1.0'
+ default: '{{ ONAPTEMPLATE_DOCKERREGURL_org_onap_dcaegen2_releases }}/onap/org.onap.dcaegen2.platform.policy-handler:v2.0.0'
application_config:
description: policy handler application configuration - requires info on policy-engine
@@ -54,6 +54,12 @@ node_templates:
name: 'policy_handler'
image: { get_input: policy_handler_image }
application_config: { get_input: application_config }
+ docker_config:
+ healthcheck:
+ type: 'http'
+ interval: '300s'
+ timeout: '25s'
+ endpoint: '/healthcheck'
relationships:
- type: dcae.relationships.component_contained_in
target: docker_host