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

Compliance - IoTDM is allowing to set both [accc|accr] under acp/acco/aclr

XMLWordPrintable

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

    • 7908

      Current behavior - I am able to configure both the countrycode and circRegion elements under ACP. Both "acp:acco/aclr/accc" & "acp:acco/aclr/accr"

      Following is the o/p of the created ACP. We are able to see accr and accc under acp.

      {"m2m:acp":{"ct":"20170306T150447","ty":1,"pv":{"acr":[{"acco":[{"aclr":{"accr":["1.0","2.0","3.0"],"accc":["IN"]}}],"acor":["admin"],"acop":63}]},"ri":"01pi","lt":"20170306T150447","pi":"/InCSE1/01p3","pvs":{"acr":[{"acco":[{"aclr":{"accc":["IN"]}}],"acor":["admin"],"acop":63}]},"rn":"01pi","et":"29991231T111111"}}
      ' does not contain '"pv":{"acr":[{"acco":[{"aclr":{"accc":["IN"]}}],"acor":["admin"],"acop":63}]}

      Expected behavior -
      According to spec TS 004 -
      A locationRegion shall contain either:
      1) A countryCode element, in which case circRegion shall not appear, or
      2) A circRegion element, in which case countryCode shall not appear

      As per spec, Both the countryCode & circRegion should not be allowed to configure at same time under acco/aclr.

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

              Created:
              Updated: