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

Policy notifications are marked as Failure_Guard in case of A&AI lookup failure

XMLWordPrintable

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

      Currently the Policy notifications are marked as Failure_Guard in case of A&AI lookup failure. Which makes it very difficult for the user to understand the actual reason of the failure. Ideally we should be either marking it as Failure_AAI or put relevant failure message in the "message" field of notification.

       Example notification:

      [2020-05-27T19:04:41.287+00:00|Session org.onap.policy.drools-applications.controlloop.common:controller-frankfurt:1.6.3:frankfurt][OUT|DMAAP|POLICY-CL-MGT]
      {
        "AAI": {
          "pnf.pnf-name": "pnf302"
        },
        "closedLoopAlarmStart": 1463679805324,
        "closedLoopControlName": "ControlLoop-pnf-d0a1dfc6-94f5-4fd4-a5b5-4630b438851b",
        "version": "1.0.2",
        "requestId": "c7c6a4aa-bb61-4a15-b831-ba1472dd4a56",
        "closedLoopEventClient": "microservice.pmsh",
        "targetType": "PNF",
        "target": "pnf.pnf-name",
        "from": "policy:frankfurt:[org.onap.policy.drools-applications.controlloop.common:controller-frankfurt:1.6.3:frankfurt]",
        "policyScope": "onap.policies.controlloop.operational.common.Drools:1.0.0",
        "policyName": "operational.pnf.createsubscription.EVENT.MANAGER.FINAL",
        "policyVersion": "1.0.0",
        "notification": "FINAL: FAILURE",
        "notificationTime": "2020-05-27 19:04:41.280554+00:00",
        "history": [
          {
            "actor": "CDS",
            "operation": "create-subscription",
            "target": "Target [type=PNF, resourceId=null]",
            "start": 1590606281267,
            "end": 1590606281268,
            "outcome": "Failure_Guard",
            "message": "Failed"
          }
        ]
      }
      

            jrh3 jrh3
            ramverma ramverma
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: