From 9e47acd65fa8745f31cb405cb2862c98d172326b Mon Sep 17 00:00:00 2001 From: Alex Shatov Date: Wed, 10 Jan 2018 12:14:09 -0500 Subject: blueprint for policy-handler 2.0.0 healthcheck Change-Id: Idd0477a84409404f0054d82af473d73d978bf33c Issue-ID: DCAEGEN2-250 Signed-off-by: Alex Shatov --- blueprints/policy_handler.yaml-template | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 -- cgit 1.2.3-korg