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

requestID issue on TCAgen2 CL output

XMLWordPrintable

      Current Tca-gen2 output

      ["{\"closedLoopEventClient\":\"dcae-tcagen2\",\"policyVersion\":\"v0.0.1\",\"policyName\":\"DCAE.Config_tca-hi-lo\",\"policyScope\":\"DCAE\",\"target_type\":\"VM\",\"AAI\":

      {\"vserver.vserver-name\":\"zdfw1fwl01fwl01\"}

      ,\"closedLoopAlarmStart\":1507750704126521,\"closedLoopEventStatus\":\"ONSET\",\"closedLoopControlName\":\"ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a\",\"version\":\"1.0.2\",\"target\":\"vserver.vserver-name\",\"requestID\":\"f2286906-1400-49fd-85fa-18eaab9880c7:0:0\",\"from\":\"DCAE\"}"]

       

      Below from Policy team

      that we need a change, is the request id in the ONSET  should be an UUID.   The problem right now is that we drop the message when mapped to a class, since the class expects an UUID, and the request id is not.   The request id looks like:

       "requestID":"a8bdc315-83ca-411a-b3eb-8141df68947c:0:0"

       

      The trailing “0:0" need to be removed

            lukai lukai
            vv770d vv770d
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: