blueprint and inputs for 4.0.0 policy-handler 87/58987/2
authorAlex Shatov <alexs@att.com>
Tue, 7 Aug 2018 16:17:16 +0000 (12:17 -0400)
committerAlex Shatov <alexs@att.com>
Tue, 7 Aug 2018 16:17:16 +0000 (12:17 -0400)
- 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 <alexs@att.com>
Issue-ID: DCAEGEN2-492

blueprints/k8s-policy_handler.yaml-template
blueprints/policy_handler.yaml-template
input-templates/phinputs.yaml

index 435bd94..aef0162 100644 (file)
@@ -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
index 5827e31..6bef204 100644 (file)
@@ -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
index d79511d..8fe45dc 100644 (file)
@@ -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