You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Persist the cache of policy deployment status in the DB so other PAPs can read it.

JIRA:  POLICY-2648 - Getting issue details... STATUS


To satisfy the requirement to generate notifications when policies are fully deployed/undeployed, it is necessary to track the policy deployment/undeployment status for each PDP.  With this in mind, two options present themselves:

  1. Create a new JPA data structure to manage the information; or
  2. Augment the existing PdpGroup data structure to maintain the additional information.  This could be done by changing the list of policies to a list of policy-info structures, where each object contained:
    • policy name and version
    • flag indicating whether the policy is being deployed or undeployed
    • list of PDPs for which PAP is still awaiting the outcome of the PDP-UPDATE message
  • No labels