Uploaded image for project: 'iotdm'
  1. iotdm
  2. IOTDM-71

Compliance - IoTDM is not doing expected check while configuring "circRegion:accr" for ACP

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • unspecified
    • General
    • None
    • Operating System: All
      Platform: All

    • 7911

      Current Behavior - IoTDM is allowing me to set the ACP having (circRegion:accr) with only one element present. See following o/p -

      {"m2m:acp":{
      "pv":{"acr":[{"acor" : ["admin"],"acop":63,"acco":[{"aclr":{"accr":["1.0"],"accc":["US","NL"]}}]}]},"pvs":{"acr":[{"acor" : ["admin"],"acop":63,"acco":[{"aclr":{"accc":["IN","NL"]}}]}]}
      }
      }

      Expected behavior - As per spec TS-004

      Type Definition of m2m:locationRegion
      ================================================================
      Element Path Element Data Type Multiplicity
      circRegion List of 3 xs:float 0..1
      ================================================================

      Note : The values represent latitude (/-90 degrees), longitude (/-180 degrees), and radius (metres)

      As circRegion is defined list of 3 elements, We should change current IoTDM behavior and impose restriction to set 3 elements in the list.

            Unassigned Unassigned
            anilpand@cisco.com Anil Pandey
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: