From ae60e4701eb3aaffb5fbefb017b6d8e61ada984f Mon Sep 17 00:00:00 2001 From: Alex Shatov Date: Tue, 7 Aug 2018 12:17:16 -0400 Subject: blueprint and inputs for 4.0.0 policy-handler - inputs: = removed scope_prefixes as obsolete with 4.0.0 = removed catch_up.max_skips - obsolete with 4.0.0 = added max_msg_length_mb for data segmentation from policy-handler to deployment handler Change-Id: I555fdbb8a765d77c2cd0437e8729c0249f8062e3 Signed-off-by: Alex Shatov Issue-ID: DCAEGEN2-492 --- blueprints/k8s-policy_handler.yaml-template | 2 +- blueprints/policy_handler.yaml-template | 2 +- input-templates/phinputs.yaml | 15 +++------------ 3 files changed, 5 insertions(+), 14 deletions(-) diff --git a/blueprints/k8s-policy_handler.yaml-template b/blueprints/k8s-policy_handler.yaml-template index 435bd94..aef0162 100644 --- a/blueprints/k8s-policy_handler.yaml-template +++ b/blueprints/k8s-policy_handler.yaml-template @@ -32,7 +32,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:3.0.1' + default: '{{ ONAPTEMPLATE_DOCKERREGURL_org_onap_dcaegen2_releases }}/onap/org.onap.dcaegen2.platform.policy-handler:4.0.0' application_config: description: policy handler application configuration - requires info on policy-engine diff --git a/blueprints/policy_handler.yaml-template b/blueprints/policy_handler.yaml-template index 5827e31..6bef204 100644 --- a/blueprints/policy_handler.yaml-template +++ b/blueprints/policy_handler.yaml-template @@ -39,7 +39,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:3.0.1' + default: '{{ ONAPTEMPLATE_DOCKERREGURL_org_onap_dcaegen2_releases }}/onap/org.onap.dcaegen2.platform.policy-handler:4.0.0' application_config: description: policy handler application configuration - requires info on policy-engine diff --git a/input-templates/phinputs.yaml b/input-templates/phinputs.yaml index d79511d..8fe45dc 100644 --- a/input-templates/phinputs.yaml +++ b/input-templates/phinputs.yaml @@ -24,9 +24,6 @@ application_config: # parallelize requests to policy-engine and keep them alive pool_connections : 20 - # list of policyName prefixes (filters) that DCAE-Controller handles (=ignores any other policyName values) - scope_prefixes : ["DCAE.Config_", "CLAMP"] - # retry to getConfig from policy-engine on policy-update notification policy_retry_count : 5 policy_retry_sleep : 5 @@ -36,15 +33,6 @@ application_config: # interval in seconds on how often to call automatic catch_up # example: 1200 is 20*60 seconds that is 20 minutes interval : 1200 - # max_skips is the maximal number of times the auto catch_up can be skipped - # to reduce sending of identically the same messages to the deployment-handler - # example: if nothing changes in policy-engine - # the policy-handler will still send the identicall cathc_up message - # to deployment handler roughly every (max_skips + 1) * interval seconds - # instead of sending the changed message every interval seconds - # in this case of max_skips = 5 the catch_up message will be sent - # roughly every 2 hours = (5+1) * 1200 = 6 * 20 * 60 seconds = 2 * 60 * 60 - max_skips : 5 # policy-engine config # These are the url of and the auth for the external system, namely the policy-engine (PDP). @@ -70,3 +58,6 @@ application_config: # url of the deployment-handler service for policy-handler to direct the policy-updates to # - expecting dns to resolve the hostname deployment-handler to ip address url : "http://deployment-handler:8188" + # limit the size of a single data segment for policy-update messages + # from policy-handler to deployment-handler in megabytes + max_msg_length_mb : 5 -- cgit 1.2.3-korg