-
Bug
-
Resolution: Unresolved
-
None
-
unspecified
-
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.