-
Story
-
Resolution: Done
-
Medium
-
None
-
None
-
Policy 8/19-9/2
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" } ] }
- relates to
-
POLICY-2748 Move Actor control from java to rules
- Closed