From: Alex Shatov Date: Wed, 10 Jan 2018 17:14:09 +0000 (-0500) Subject: blueprint for policy-handler 2.0.0 healthcheck X-Git-Tag: 2.0.0-ONAP~46 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=9e47acd65fa8745f31cb405cb2862c98d172326b;p=dcaegen2%2Fplatform%2Fblueprints.git blueprint for policy-handler 2.0.0 healthcheck Change-Id: Idd0477a84409404f0054d82af473d73d978bf33c Issue-ID: DCAEGEN2-250 Signed-off-by: Alex Shatov --- 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