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

More than 1 schema is valid. (code: 1023)

XMLWordPrintable

      Greetings for O-RAN-SC OAM highly depended on ONAP VES-Collector

      Story

      We are validation the O-RAN Alliance OAM Interface specification which defines that for fault notifications the VES stndDefined format plus 3GPP TS 28.532 should be used to send fault-notifications from network-function to a VES-Collector.

      https://forge.3gpp.org/rep/sa5/MnS/-/raw/Rel-16/OpenAPI/TS28532_FaultMnS.yaml#components/schemas/NotifyNewAlarm

      The type definition of "observedValue" is one of "integer"/"float".

      So when sending the value 123 or 123.0 it can be interpreted as integer or as float.

      The VES collector logs are correctly stating:

      More than 1 schema is valid. (code: 1023)

       

      The question is - why is it considered as an "ERROR"?

      https://www.jsonschemavalidator.net/s/I8VO0tOX

      Wouldn't it be fair enough to throw a warning and continue processing the message?

      ... or shall we consider it as an specification error and need to create a CR against 3GPP TS R16?

       

      used image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.ves.vescollector:1.11.1

       

       

            vv770d vv770d
            demx8as6 demx8as6
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: