Hi, openHAB uses the feature service programmatically, too. So, for an example you could also look at: https://github.com/openhab/openhab-core/blob/c50766d7c37a19f634e88fbe47b03b90215ab398/bundles/org.openhab.core.karaf/src/main/java/org/openhab/core/karaf/internal/FeatureInstaller.java#L115
I never checked that code if it is done correctly but for some inspiration... Am Fr., 22. Nov. 2019 um 06:01 Uhr schrieb Jean-Baptiste Onofré <j...@nanthrax.net>: > > Hi Paul, > > You can use Cave Deployer that deal with features service, locally or > remotely (using JMX). > > Regards > JB > > On 22/11/2019 05:59, Paul Fraser wrote: > > Hi, > > > > Now at the stage of wanting to install, uninstall and do all of the > > clever karaf things in code, but I cannot locate any usefull examples. > > > > My attempts so far have failed as there seems to be peculiar forms of > > presenting feature repo and feature names in code and the required work > > flow eludes me. > > > > I have checked out the itest test code in the karaf distribution but the > > code is rather difficult to follow and I have not found suitable snippets. > > > > Any where I should be looking for inspiration? > > > > Paul Fraser > > > > -- > Jean-Baptiste Onofré > jbono...@apache.org > http://blog.nanthrax.net > Talend - http://www.talend.com