Uploaded image for project: 'Policy Framework'
  1. Policy Framework
  2. POLICY-2526

Policy deployment API should be enhanced to reflect actual policy deployment status in PDPs

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Medium Medium
    • Honolulu Release
    • None
    • None

      Policy deployment API in PAP is implemented to return 200 response code if the initial checks in PAP were successful and a relevant PDP_UPDATE message was 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.

      One possible Approach - Return 202 Accepted as response of the deployment API. And then expose another API which the clients can keep polling for actual deployment status. One point to note here is that we are increasing complexity for our clients. 

            a.sreekumar a.sreekumar
            ramverma ramverma
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: