blueprint for 4.5.0 policy-handler 01/74301/1
authorAlex Shatov <alexs@att.com>
Wed, 5 Dec 2018 20:30:24 +0000 (15:30 -0500)
committerAlex Shatov <alexs@att.com>
Wed, 5 Dec 2018 20:30:24 +0000 (15:30 -0500)
DCAEGEN2-853:
- stop reporting the absence of policies or updates
  as error - this is an expected result == INFO or WARNING

DCAEGEN2-930:
- configurable timeouts for http requests from policy-handler
- added configurable pinging on the web-socket to PDP

Change-Id: I5104eb6c7c044a3bdaf111839593a7e96fa04fa2
Signed-off-by: Alex Shatov <alexs@att.com>
Issue-ID: DCAEGEN2-853
Issue-ID: DCAEGEN2-930

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

index b6c5f9e..0e37734 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:4.4.0'
+    default: '{{ ONAPTEMPLATE_DOCKERREGURL_org_onap_dcaegen2_releases }}/onap/org.onap.dcaegen2.platform.policy-handler:4.5.0'
 
   application_config:
     description: policy handler application configuration - requires info on policy-engine
index 48302c4..c9d09b3 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:4.4.0'
+    default: '{{ ONAPTEMPLATE_DOCKERREGURL_org_onap_dcaegen2_releases }}/onap/org.onap.dcaegen2.platform.policy-handler:4.5.0'
 
   application_config:
     description: policy handler application configuration - requires info on policy-engine
index 50b90b2..89a3de5 100644 (file)
@@ -68,6 +68,10 @@ application_config:
         tls_ca_mode : "cert_directory"
         # optional tls_wss_ca_mode specifies the same for the tls based web-socket
         tls_wss_ca_mode : "cert_directory"
+        # 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
     # deploy_handler config
     #    changed from string "deployment_handler" in 2.3.1 to structure in 2.4.0
     deploy_handler :
@@ -93,3 +97,5 @@ application_config:
         #
         #       "do_not_verify"  - special hack to turn off the verification by cacert and hostname
         tls_ca_mode : "cert_directory"
+        # optional timeout_in_secs specifies the timeout for the http requests
+        timeout_in_secs: 60