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

Compare with Current View Page History

« Previous Version 2 Next »

POLICY-3252 - Getting issue details... STATUS


Summary:

Develop a solution for storing information when policies are deployed or undeployed through the PDP deploy APIs.

https://docs.onap.org/projects/onap-policy-parent/en/latest/pap/pap.html#Deployments%20Update

https://docs.onap.org/projects/onap-policy-parent/en/latest/pap/pap.html#Deploy%20Policy

https://docs.onap.org/projects/onap-policy-parent/en/latest/pap/pap.html#Undeploy%20Policy


Ongoing proposal:

models:

Have a new entity/table for storing the policy (name and version), pdp group and type, action (DEPLOYMENT/UNDEPLOYMENT) and timestamp of action. User is also added on this for future reference when policy can have more users to access the services.

Have dao methods for creating and retrieving row from aforementioned table.


policy-pap:

have a new endpoint to get the audit on policy (need to confirm which fields would be used for filter - assuming pdp group or policy name/version, and begin/end times)

have the endpoints for deploy/undeploy updated with the call for storing the process for tracking. (what will this be used for?)

  • No labels