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

onem2m-simple-config:iplugin-cfg-put rpc shouldn t allow to use non existing plugin-name or plugin-instance

    XMLWordPrintable

Details

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

    • 7592
    • Normal

    Description

      Following request shouldn`t work because of plugin-name aaa which doesn`t exist. only Onem2mExample should work in there

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

      {
      "input": {
      "plugin-name": "aaa",
      "instance-name": "default",
      "plugin-simple-config" : {
      "key-val-list" : [

      { "cfg-key": "port", "cfg-val": "1000" }

      ]
      }
      }
      }

      neither should this one because of it`s instance name aaa

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

      {
      "input": {
      "plugin-name": "Onem2mExample",
      "instance-name": "aaa",
      "plugin-simple-config" : {
      "key-val-list" : [

      { "cfg-key": "port", "cfg-val": "1000" }

      ]
      }
      }
      }

      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: