blueprint for 4.6.0 policy-handler active-passive 75/77675/1
authorAlex Shatov <alexs@att.com>
Thu, 31 Jan 2019 21:15:08 +0000 (16:15 -0500)
committerAlex Shatov <alexs@att.com>
Thu, 31 Jan 2019 21:15:08 +0000 (16:15 -0500)
commit65cb347393869a0e38649bd175fd49ef28b42060
tree3d1cd05da6686fa26a413cb77ffe662be2e11739
parent99cdec225e8f86646715d56748daa412e9488ce7
blueprint for 4.6.0 policy-handler active-passive

DCAEGEN2-932:
- mode_of_operation: active or passive
  = active is as before this change
  = in passive mode the policy-handler
    * closes the web-socket to PDP
    * skips the periodic catch_ups
    * still periodically checks for reconfigure
    * still allows usig the web-server to retrieve policies from PDP
- default is active

- when mode_of_operation changes from passive to active,
  the policy-handler invokes the catch_up right away

- config-kv contains the optional override field mode_of_operation
  = changing the mode_of_operation in config-kv and invoking
    POST /reconfigure will bring the new value and change the
    mode of operation of the policy-handler if no service_activator
    section is provided in consul-kv record

- reduced the default web-socket ping interval from 180 to 30
  seconds because PDP changed its default timeout on the web-socket
  from 400 seconds to 50 seconds

Change-Id: Iae93746336a38af4248a1c77fdcf98e31ce956bd
Signed-off-by: Alex Shatov <alexs@att.com>
Issue-ID: DCAEGEN2-932
blueprints/k8s-policy_handler.yaml-template
blueprints/policy_handler.yaml-template
input-templates/phinputs.yaml