Hi JB,
Thanks for the update. Good to know you are adding that functionality.
One other thing I wondered about. If there is a need to add a configuration file as
part of a feature, currently the only way to do this is to make a 'template' feature
file including the <configfile> property. It would be nice if rather than
creating a template, the config file to be included could be specified in the karaf
tooling plugin. Would that be feasible? I don't require that myself right now but
would be willing to take a look and submit a pull-request if I come up with a
solution.
Kerry
On 26/02/17 08:47, Jean-Baptiste Onofré wrote:
Hi Kerry,
you can install a cfg file dropping in the etc folder.
For a command, I created a Jira some weeks ago about a config:install command. It's
already possible using tac| "command" but not obvious.
config:install command (and MBean) will be available in 4.0.9 and 4.1.1. You
will be able to do:
config:install mvn:groupId/artifactId/version/cfg
Regards
JB
On 02/26/2017 08:56 AM, JT wrote:
Hi All,
I've seen how I can deploy a config file as part of a Karaf 'feature'
using Christian's tutorial
(http://www.liquid-reality.de/display/liquid/2011/09/23/Karaf+Tutorial+Part+2+-+Using+the+Configuration+Admin+Service?src=contextnav).
Is it possible to deploy a config file without the need to include in a
features file? i.e. I would like to install it standalone with an
install command such as 'install mvn:<maven-coordinates>/cfg/config'
many thanks
Kerry