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

Plugin bundle loader shoul not update specific feature-name

XMLWordPrintable

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

    • 7740
    • Low

      Post request
      http://localhost:8181/restconf/operations/iotdmbundleloader:feature-put/

      body
      {
      "input": {
      "bundle-loader-instance-name": "BundleLoaderInstanceDefault",
      "feature-name": "NewFeature1",
      "bundles-to-load": [

      { "priority": 10, "iotdm-bundle-jar-location": "file:///tmp/projects/iotdm/onem2mplugins/iotdmitresources/itplugin1/impl/target/itplugin1-impl-0.1.0-SNAPSHOT.jar" }

      ,

      { "priority": 1, "iotdm-bundle-jar-location": "file:////tmp/projects/iotdm/onem2mplugins/iotdmitresources/itplugin1/api/target/itplugin1-api-0.1.0-SNAPSHOT.jar" }

      ]
      }
      }

      if NewFeature1 already contains some feature loaded it should be removed before it can load a new feature. But now it allows to put new feature and it will automaticly remove old one which is not wanted behavior.

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

              Created:
              Updated: