[IOTDM-60] Plugin bundle loader shoul not update specific feature-name Created: 06/Feb/17  Updated: 20/Nov/17

Status: Open
Project: iotdm
Component/s: General
Affects Version/s: unspecified
Fix Version/s: None

Type: Bug
Reporter: Miroslav Kovac Assignee: Tomas Janciga
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 7740
Priority: Low

 Description   

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.


Generated at Wed Feb 07 20:05:04 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.