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

PMSH issue Monitoring policy schema validation fails marking all nfFilter properties mandatory.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • Istanbul Release
    • Istanbul Release
    • None

      PMSH issue Monitoring policy schema validation fails marking all nfFilter properties mandatory.

      All nfFilter properties are marked mandatory which should not be the case in monitoring policy atlest one nfFilter.property  should be present for to create subscription.

      At present due to below required schema containing requied tag for all 4 attributes, nfFilter property are marked mandatory.

      "nfFilter":{
         "type":"object",
         "properties":{
            "nfNames":{
               "type":"array",
               "items":{
                  "type":"string"
               }
            },
            "modelInvariantIDs":{
               "type":"array",
               "items":{
                  "type":"string"
               }
            },
            "modelVersionIDs":{
               "type":"array",
               "items":{
                  "type":"string"
               }
            },
            "modelNames":{
               "type":"array",
               "items":{
                  "type":"string"
               }
            }
         },
         "required":[
            "nfNames",
            "modelInvariantIDs",
            "modelVersionIDs",
            "modelNames"
         ]
      }
      

       

            ajay_dp001 ajay_dp001
            ajay_dp001 ajay_dp001
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: