You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Adrian Trenaman (JIRA)" <ji...@apache.org> on 2010/09/18 18:44:32 UTC
[jira] Created: (KARAF-216) Create an admin:clone command
Create an admin:clone command
-----------------------------
Key: KARAF-216
URL: https://issues.apache.org/jira/browse/KARAF-216
Project: Karaf
Issue Type: Improvement
Components: runtime
Affects Versions: 2.0.0
Environment: All
Reporter: Adrian Trenaman
Create an 'admin:clone' command. This command would allow you to create a new instance of the current broker, with the same list of features and featureURLs.
Options to the command would be:
-l <location>: the file location.
-p <port>: the port for SSH
-jmxPort <port>: the JMX port to listen on
-f <feature>: if specified, this flag will override the current instances list of boot features with the specified features.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (KARAF-216) Create an admin:clone command
Posted by "Adrian Trenaman (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12911048#action_12911048 ]
Adrian Trenaman commented on KARAF-216:
---------------------------------------
Perhaps I should explain my motivation for this command: right now, if you want to create a new instance from the default root instance, you've got to painfully list out all the feature urls, like this:
admin:create
-f activemq -f camel
-p 2020
-l /home/smx/smx01
-furl mvn:org.apache.servicemix/apache-servicemix/4.3.0-fuse-01-00/xml/features
-furl mvn:org.apache.karaf/apache-karaf/2.0.0/xml/features
-furl mvn:org.apache.camel.karaf/apache-camel/2.4.0-fuse-00-00/xml/features
-furl mvn:org.apache.activemq/activemq-karaf/5.4.0-fuse-00-00/xml/features
-furl mvn:org.apache.servicemix.nmr/apache-servicemix-nmr/1.3.0-fuse-00-00/xml/features
smx01
It'd be great if you didn't have to do this. One reason I dislike it is that the long URLs are tedious *and* versioned, which means any script that an operations guy might put in place to automate this today may be easily out-of-date when run in the future.
> Create an admin:clone command
> -----------------------------
>
> Key: KARAF-216
> URL: https://issues.apache.org/jira/browse/KARAF-216
> Project: Karaf
> Issue Type: Improvement
> Components: runtime
> Affects Versions: 2.0.0
> Environment: All
> Reporter: Adrian Trenaman
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> Create an 'admin:clone' command. This command would allow you to create a new instance of the current broker, with the same list of features and featureURLs.
> Options to the command would be:
> -l <location>: the file location.
> -p <port>: the port for SSH
> -jmxPort <port>: the JMX port to listen on
> -f <feature>: if specified, this flag will override the current instances list of boot features with the specified features.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.