Uploaded image for project: 'Data Collection, Analytics, and Events'
  1. Data Collection, Analytics, and Events
  2. DCAEGEN2-3147

Fix message content sending to Policy and suppress exceptions in test code

XMLWordPrintable

      1) Adding missing info in message that sends down to Policy

      {

        "AAI":

      {     *"generic-vnf.prov-status": "ACTIVE",*     *"generic-vnf.vnf-name": "76543",*     *"generic-vnf.is-closed-loop-disabled": "true",*     *"generic-vnf.vnf-id": "3f2f23fa-c567-4dd8-8f15-f95ae3e6fd82"*   }

      ,

        "closedLoopAlarmStart": 1605691996370,

        "closedLoopControlName": "ControlLoop-CCVPN-CLL-227e8b00-dbeb-4d03-8719-d0a658fb846c",

        "version": "1.0.2",

        "requestId": "1e946480-1232-46d4-a39b-614ac534400f",

        "closedLoopEventClient": "microservice.sliceAnalysisMS",

        "targetType": "VNF",

        "target": "generic-vnf.vnf-id",

        "from": "null:usecases:[org.onap.policy.drools-applications.controlloop.common:controller-usecases:1.10.2:usecases]",

        "policyScope": "EVENT",

        "policyName": "operational.modifycll",

        "policyVersion": "1.0.0",

        "notification": "REJECTED",

        "message": "Exception occurred: is-closed-loop-disabled is set to true on VServer or VNF",

        "notificationTime": "2022-04-25 01:41:44.266402+00:00",

        "history": []

      }

      2) Suppress building warnings by fix issues in test code and test resource file

            dzhang2020huawei dzhang2020huawei
            dzhang2020huawei dzhang2020huawei
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: