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

onem2m-simple-config:iplugin-cfg-key-del doesn`t work properly

    XMLWordPrintable

Details

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

    • 7593
    • Normal

    Description

      When deleting non existing cfg-key using next request
      Post
      http://localhost:8181/restconf/operations/onem2m-simple-config:iplugin-cfg-key-del
      {
      "input":

      { "plugin-name": "Onem2mExample", "instance-name": "default", "cfg-key": "testKey2" }

      }

      it will pass first time even though it doesn`t exist and crash second time causing to crash other requests too ->
      POST
      http://localhost:8181/restconf/operations/onem2m-plugin-manager:onem2m-plugin-manager-simple-config-client-registrations

      POST
      http://localhost:8181/restconf/operations/onem2m-simple-config:iplugin-cfg-get-startup-config

      POST
      http://localhost:8181/restconf/operations/onem2m-simple-config:iplugin-cfg-get-running-config

      Attachments

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

        Activity

          People

            tjanciga Tomas Janciga
            miroslav.kovac@pantheon.tech Miroslav Kovac
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: