This page describes the changes that will be made to REST API's exposed by PAP (Policy Administration Component) in Honolulu release of ONAP.
Policy deployment API in PAP is implemented to return 200 response code if the initial checks in PAP are successful and a relevant PDP_UPDATE message is added to the dmaap topic for PDP's to consume. This way in case of error while performing the deployment in PDP engine, the client might still have the perception that the policy deployment went fine.
Hence, the deployment API needs to be enhanced to reflect actual policy deployment status in PDP engine.
Change the following API's to return "202 Accepted" instead of "200 Success":
Add the following API's to return the actual deployment or undeployment status: