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

State Tags don't update properly

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • unspecified
    • None
    • General
    • None
    • Operating System: All
      Platform: All

    • 4176
    • High

    Description

      When a subscription resource is created under a container resource, the state tag in the container resource does not increment. Note that creating contentInstance does increment the stateTag

      Example below shows a container resource with 3 contentInstances and 2 subscriptions. Its state tag is =3, should be =5

      { "cni": 3, "mni": 10, "ty": 3, "cr": "//localhost:10000", "cbs": 24, "rn": "/ODL-oneM2M-Cse/TestAE/TestContainer", "lbl": [ "key1" ], "or": "http://hey/you", "mbs": 30, "ri": "/ODL-oneM2M-Cse/b", "st": 3, "lt": "20150824T173328Z", "pi": "/ODL-oneM2M-Cse/a", "ct": "20150824T165418Z" }

      ,

      { "con": "My Data1", "ty": 4, "rn": "/ODL-oneM2M-Cse/TestAE/TestContainer/TestContentInstance1", "ri": "/ODL-oneM2M-Cse/c", "lt": "20150824T165456Z", "st": 1, "pi": "/ODL-oneM2M-Cse/b", "ct": "20150824T165456Z", "cs": 8 }

      ,

      { "nu": [ "10.10.1.1" ], "ty": 23, "rn": "/ODL-oneM2M-Cse/TestAE/TestContainer/TestSubscription2", "ri": "/ODL-oneM2M-Cse/g", "lt": "20150824T173328Z", "pi": "/ODL-oneM2M-Cse/b", "ct": "20150824T173328Z" }

      ,

      { "nu": [ "http://10.10.1.1" ], "ty": 23, "rn": "/ODL-oneM2M-Cse/TestAE/TestContainer/TestSubscription", "ri": "/ODL-oneM2M-Cse/e", "lt": "20150824T165621Z", "pi": "/ODL-oneM2M-Cse/b", "ct": "20150824T165621Z" }

      ,

      { "con": "My Data3", "ty": 4, "rn": "/ODL-oneM2M-Cse/TestAE/TestContainer/TestContentInstance3", "ri": "/ODL-oneM2M-Cse/f", "lt": "20150824T172956Z", "st": 3, "pi": "/ODL-oneM2M-Cse/b", "ct": "20150824T172956Z", "cs": 8 }

      ,

      { "con": "My Data2", "ty": 4, "rn": "/ODL-oneM2M-Cse/TestAE/TestContainer/TestContentInstance2", "ri": "/ODL-oneM2M-Cse/d", "lt": "20150824T165524Z", "st": 2, "pi": "/ODL-oneM2M-Cse/b", "ct": "20150824T165524Z", "cs": 8 }

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            juraj.kosmel@pantheon.tech Juraj Kosmel
            lflorit@cisco.com Lionel Florit
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: