summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVijay Venkatesh Kumar <vv770d@att.com>2019-02-02 06:16:30 +0000
committerGerrit Code Review <gerrit@onap.org>2019-02-02 06:16:30 +0000
commitfc3d73e393a3e9e0b6f9def33b5fb7245b0e3280 (patch)
tree68d34a13c1bacbcb626e9f667da7567b6ace6efa
parent5ba300ae425d1cddf622117e5f5af48457b9061e (diff)
parent65cb347393869a0e38649bd175fd49ef28b42060 (diff)
Merge "blueprint for 4.6.0 policy-handler active-passive"
-rw-r--r--blueprints/k8s-policy_handler.yaml-template2
-rw-r--r--blueprints/policy_handler.yaml-template2
-rw-r--r--input-templates/phinputs.yaml8
3 files changed, 9 insertions, 3 deletions
diff --git a/blueprints/k8s-policy_handler.yaml-template b/blueprints/k8s-policy_handler.yaml-template
index 0e37734..2302e0c 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:4.5.0'
+ default: '{{ ONAPTEMPLATE_DOCKERREGURL_org_onap_dcaegen2_releases }}/onap/org.onap.dcaegen2.platform.policy-handler:4.6.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 c9d09b3..51976a0 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:4.5.0'
+ default: '{{ ONAPTEMPLATE_DOCKERREGURL_org_onap_dcaegen2_releases }}/onap/org.onap.dcaegen2.platform.policy-handler:4.6.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 89a3de5..4078208 100644
--- a/input-templates/phinputs.yaml
+++ b/input-templates/phinputs.yaml
@@ -28,6 +28,12 @@ application_config:
policy_retry_count : 5
policy_retry_sleep : 5
+ # mode of operation for the policy-handler
+ # either active or passive
+ # in passive mode the policy-hanlder will not listen to
+ # and will not bring the policy-updates from policy-engine
+ mode_of_operation : "active"
+
# config of automatic catch_up for resiliency
catch_up :
# interval in seconds on how often to call automatic catch_up
@@ -71,7 +77,7 @@ application_config:
# optional timeout_in_secs specifies the timeout for the http requests
timeout_in_secs: 60
# optional ws_ping_interval_in_secs specifies the ping interval for the web-socket connection
- ws_ping_interval_in_secs: 180
+ ws_ping_interval_in_secs: 30
# deploy_handler config
# changed from string "deployment_handler" in 2.3.1 to structure in 2.4.0
deploy_handler :