You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Łukasz Dywicki (JIRA)" <ji...@apache.org> on 2010/02/28 18:55:05 UTC
[jira] Created: (FELIX-2141) Add features:desc, features:tree
commands
Add features:desc, features:tree commands
-----------------------------------------
Key: FELIX-2141
URL: https://issues.apache.org/jira/browse/FELIX-2141
Project: Felix
Issue Type: Improvement
Components: Karaf
Affects Versions: karaf-1.4.0
Reporter: Łukasz Dywicki
Currently there is no way to check contents of the feature. It's also hard to determine what dependencies feature has.
First command - describes feature using Feature instance. Command by default displays info about configuration (-c), dependencies (-d) and bundles (-b option) in feature.
{code}
karaf@root> features:desc payment-service
Description of payment-service 1.0.0.SNAPSHOT feature
----------------------------------------------------------------
Feature has no configuration.
Feature dependens on:
datasource 0.0.0
dataaccess 0.0.0
activemq-camel 0.0.0
camel-jetty 0.0.0
contract 0.0.0
Feature contains followed bundles:
mvn:org.code-house.esb.payment/engine/1.0.0.SNAPSHOT
mvn:org.code-house.esb.payment/binding/1.0.0.SNAPSHOT
mvn:org.code-house.esb.payment/persistence/1.0.0.SNAPSHOT
{code}
Second command displays features tree. If user will pass -b parameter feature bundles will be attached to tree.
{code}
karaf@root> features:tree payment-service
payment-service 1.0.0.SNAPSHOT
datasource 0.0.0
activemq 0.0.0 *
postgresql 8.3
spring 2.5.6.SEC01
commons-dbcp 0.0.0
dataaccess 1.0.0.SNAPSHOT
domain 1.0.0.SNAPSHOT
persistence-api 1.0.0
hibernate 0.0.0
persistence-api 1.0.0
activemq-camel 5.3.0-fuse-01-00
camel-jetty 0.0.0 *
contract 1.0.0.SNAPSHOT
Tree contains 2 unresolved dependencies
* means that node declares dependency but the dependant feature is not available.
{code}
{code}
karaf@root> features:tree domain
domain 1.0.0.SNAPSHOT
persistence-api 1.0.0
{code}
{code}
karaf@root> features:tree -b domain
domain 1.0.0.SNAPSHOT
+ mvn:org.code-house/domain/1.0.0.SNAPSHOT
+ mvn:org.code-house.security/domain/1.0.0.SNAPSHOT
\ mvn:org.code-house.shippingstock/domain/1.0.0.SNAPSHOT
persistence-api 1.0.0
\ mvn:javax.persistence/com.springsource.javax.persistence/1.0.0
{code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (FELIX-2141) Add features:desc, features:tree
commands
Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-2141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Nodet updated FELIX-2141:
-----------------------------------
Fix Version/s: karaf 1.8.0
> Add features:desc, features:tree commands
> -----------------------------------------
>
> Key: FELIX-2141
> URL: https://issues.apache.org/jira/browse/FELIX-2141
> Project: Felix
> Issue Type: Improvement
> Components: Karaf
> Affects Versions: karaf-1.4.0
> Reporter: Łukasz Dywicki
> Assignee: Chris Custine
> Fix For: karaf 1.8.0
>
> Attachments: desc_tree-commands.patch
>
>
> Currently there is no way to check contents of the feature. It's also hard to determine what dependencies feature has.
> First command - describes feature using Feature instance. Command by default displays info about configuration (-c), dependencies (-d) and bundles (-b option) in feature.
> {code}
> karaf@root> features:desc payment-service
> Description of payment-service 1.0.0.SNAPSHOT feature
> ----------------------------------------------------------------
> Feature has no configuration.
> Feature dependens on:
> datasource 0.0.0
> dataaccess 0.0.0
> activemq-camel 0.0.0
> camel-jetty 0.0.0
> contract 0.0.0
> Feature contains followed bundles:
> mvn:org.code-house.esb.payment/engine/1.0.0.SNAPSHOT
> mvn:org.code-house.esb.payment/binding/1.0.0.SNAPSHOT
> mvn:org.code-house.esb.payment/persistence/1.0.0.SNAPSHOT
> {code}
> Second command displays features tree. If user will pass -b parameter feature bundles will be attached to tree.
> {code}
> karaf@root> features:tree payment-service
> payment-service 1.0.0.SNAPSHOT
> datasource 0.0.0
> activemq 0.0.0 *
> postgresql 8.3
> spring 2.5.6.SEC01
> commons-dbcp 0.0.0
> dataaccess 1.0.0.SNAPSHOT
> domain 1.0.0.SNAPSHOT
> persistence-api 1.0.0
> hibernate 0.0.0
> persistence-api 1.0.0
> activemq-camel 5.3.0-fuse-01-00
> camel-jetty 0.0.0 *
> contract 1.0.0.SNAPSHOT
> Tree contains 2 unresolved dependencies
> * means that node declares dependency but the dependant feature is not available.
> {code}
> {code}
> karaf@root> features:tree domain
> domain 1.0.0.SNAPSHOT
> persistence-api 1.0.0
> {code}
> {code}
> karaf@root> features:tree -b domain
> domain 1.0.0.SNAPSHOT
> + mvn:org.code-house/domain/1.0.0.SNAPSHOT
> + mvn:org.code-house.security/domain/1.0.0.SNAPSHOT
> \ mvn:org.code-house.shippingstock/domain/1.0.0.SNAPSHOT
> persistence-api 1.0.0
> \ mvn:javax.persistence/com.springsource.javax.persistence/1.0.0
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (FELIX-2141) Add features:info command
Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-2141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Nodet updated FELIX-2141:
-----------------------------------
Summary: Add features:info command (was: Add features:desc, features:tree commands)
Assignee: Guillaume Nodet (was: Chris Custine)
> Add features:info command
> -------------------------
>
> Key: FELIX-2141
> URL: https://issues.apache.org/jira/browse/FELIX-2141
> Project: Felix
> Issue Type: Improvement
> Components: Karaf
> Affects Versions: karaf-1.4.0
> Reporter: Łukasz Dywicki
> Assignee: Guillaume Nodet
> Fix For: karaf 1.8.0
>
> Attachments: desc_tree-commands.patch, info-command.patch
>
>
> Currently there is no way to check contents of the feature. It's also hard to determine what dependencies feature has.
> First command - describes feature using Feature instance. Command by default displays info about configuration (-c), dependencies (-d) and bundles (-b option) in feature.
> {code}
> karaf@root> features:desc payment-service
> Description of payment-service 1.0.0.SNAPSHOT feature
> ----------------------------------------------------------------
> Feature has no configuration.
> Feature dependens on:
> datasource 0.0.0
> dataaccess 0.0.0
> activemq-camel 0.0.0
> camel-jetty 0.0.0
> contract 0.0.0
> Feature contains followed bundles:
> mvn:org.code-house.esb.payment/engine/1.0.0.SNAPSHOT
> mvn:org.code-house.esb.payment/binding/1.0.0.SNAPSHOT
> mvn:org.code-house.esb.payment/persistence/1.0.0.SNAPSHOT
> {code}
> Second command displays features tree. If user will pass -b parameter feature bundles will be attached to tree.
> {code}
> karaf@root> features:tree payment-service
> payment-service 1.0.0.SNAPSHOT
> datasource 0.0.0
> activemq 0.0.0 *
> postgresql 8.3
> spring 2.5.6.SEC01
> commons-dbcp 0.0.0
> dataaccess 1.0.0.SNAPSHOT
> domain 1.0.0.SNAPSHOT
> persistence-api 1.0.0
> hibernate 0.0.0
> persistence-api 1.0.0
> activemq-camel 5.3.0-fuse-01-00
> camel-jetty 0.0.0 *
> contract 1.0.0.SNAPSHOT
> Tree contains 2 unresolved dependencies
> * means that node declares dependency but the dependant feature is not available.
> {code}
> {code}
> karaf@root> features:tree domain
> domain 1.0.0.SNAPSHOT
> persistence-api 1.0.0
> {code}
> {code}
> karaf@root> features:tree -b domain
> domain 1.0.0.SNAPSHOT
> + mvn:org.code-house/domain/1.0.0.SNAPSHOT
> + mvn:org.code-house.security/domain/1.0.0.SNAPSHOT
> \ mvn:org.code-house.shippingstock/domain/1.0.0.SNAPSHOT
> persistence-api 1.0.0
> \ mvn:javax.persistence/com.springsource.javax.persistence/1.0.0
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (FELIX-2141) Add features:desc, features:tree
commands
Posted by "Łukasz Dywicki (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-2141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12842419#action_12842419 ]
Łukasz Dywicki commented on FELIX-2141:
---------------------------------------
Chris:
As I said you on IRC - I agree with you - one command will be better than two separated.
Regards,
Luke
> Add features:desc, features:tree commands
> -----------------------------------------
>
> Key: FELIX-2141
> URL: https://issues.apache.org/jira/browse/FELIX-2141
> Project: Felix
> Issue Type: Improvement
> Components: Karaf
> Affects Versions: karaf-1.4.0
> Reporter: Łukasz Dywicki
> Assignee: Chris Custine
> Attachments: desc_tree-commands.patch
>
>
> Currently there is no way to check contents of the feature. It's also hard to determine what dependencies feature has.
> First command - describes feature using Feature instance. Command by default displays info about configuration (-c), dependencies (-d) and bundles (-b option) in feature.
> {code}
> karaf@root> features:desc payment-service
> Description of payment-service 1.0.0.SNAPSHOT feature
> ----------------------------------------------------------------
> Feature has no configuration.
> Feature dependens on:
> datasource 0.0.0
> dataaccess 0.0.0
> activemq-camel 0.0.0
> camel-jetty 0.0.0
> contract 0.0.0
> Feature contains followed bundles:
> mvn:org.code-house.esb.payment/engine/1.0.0.SNAPSHOT
> mvn:org.code-house.esb.payment/binding/1.0.0.SNAPSHOT
> mvn:org.code-house.esb.payment/persistence/1.0.0.SNAPSHOT
> {code}
> Second command displays features tree. If user will pass -b parameter feature bundles will be attached to tree.
> {code}
> karaf@root> features:tree payment-service
> payment-service 1.0.0.SNAPSHOT
> datasource 0.0.0
> activemq 0.0.0 *
> postgresql 8.3
> spring 2.5.6.SEC01
> commons-dbcp 0.0.0
> dataaccess 1.0.0.SNAPSHOT
> domain 1.0.0.SNAPSHOT
> persistence-api 1.0.0
> hibernate 0.0.0
> persistence-api 1.0.0
> activemq-camel 5.3.0-fuse-01-00
> camel-jetty 0.0.0 *
> contract 1.0.0.SNAPSHOT
> Tree contains 2 unresolved dependencies
> * means that node declares dependency but the dependant feature is not available.
> {code}
> {code}
> karaf@root> features:tree domain
> domain 1.0.0.SNAPSHOT
> persistence-api 1.0.0
> {code}
> {code}
> karaf@root> features:tree -b domain
> domain 1.0.0.SNAPSHOT
> + mvn:org.code-house/domain/1.0.0.SNAPSHOT
> + mvn:org.code-house.security/domain/1.0.0.SNAPSHOT
> \ mvn:org.code-house.shippingstock/domain/1.0.0.SNAPSHOT
> persistence-api 1.0.0
> \ mvn:javax.persistence/com.springsource.javax.persistence/1.0.0
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (FELIX-2141) Add features:desc, features:tree
commands
Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-2141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12877054#action_12877054 ]
Guillaume Nodet commented on FELIX-2141:
----------------------------------------
Do you think you could rework this patch to combine both commands into a single one ?
> Add features:desc, features:tree commands
> -----------------------------------------
>
> Key: FELIX-2141
> URL: https://issues.apache.org/jira/browse/FELIX-2141
> Project: Felix
> Issue Type: Improvement
> Components: Karaf
> Affects Versions: karaf-1.4.0
> Reporter: Łukasz Dywicki
> Assignee: Chris Custine
> Attachments: desc_tree-commands.patch
>
>
> Currently there is no way to check contents of the feature. It's also hard to determine what dependencies feature has.
> First command - describes feature using Feature instance. Command by default displays info about configuration (-c), dependencies (-d) and bundles (-b option) in feature.
> {code}
> karaf@root> features:desc payment-service
> Description of payment-service 1.0.0.SNAPSHOT feature
> ----------------------------------------------------------------
> Feature has no configuration.
> Feature dependens on:
> datasource 0.0.0
> dataaccess 0.0.0
> activemq-camel 0.0.0
> camel-jetty 0.0.0
> contract 0.0.0
> Feature contains followed bundles:
> mvn:org.code-house.esb.payment/engine/1.0.0.SNAPSHOT
> mvn:org.code-house.esb.payment/binding/1.0.0.SNAPSHOT
> mvn:org.code-house.esb.payment/persistence/1.0.0.SNAPSHOT
> {code}
> Second command displays features tree. If user will pass -b parameter feature bundles will be attached to tree.
> {code}
> karaf@root> features:tree payment-service
> payment-service 1.0.0.SNAPSHOT
> datasource 0.0.0
> activemq 0.0.0 *
> postgresql 8.3
> spring 2.5.6.SEC01
> commons-dbcp 0.0.0
> dataaccess 1.0.0.SNAPSHOT
> domain 1.0.0.SNAPSHOT
> persistence-api 1.0.0
> hibernate 0.0.0
> persistence-api 1.0.0
> activemq-camel 5.3.0-fuse-01-00
> camel-jetty 0.0.0 *
> contract 1.0.0.SNAPSHOT
> Tree contains 2 unresolved dependencies
> * means that node declares dependency but the dependant feature is not available.
> {code}
> {code}
> karaf@root> features:tree domain
> domain 1.0.0.SNAPSHOT
> persistence-api 1.0.0
> {code}
> {code}
> karaf@root> features:tree -b domain
> domain 1.0.0.SNAPSHOT
> + mvn:org.code-house/domain/1.0.0.SNAPSHOT
> + mvn:org.code-house.security/domain/1.0.0.SNAPSHOT
> \ mvn:org.code-house.shippingstock/domain/1.0.0.SNAPSHOT
> persistence-api 1.0.0
> \ mvn:javax.persistence/com.springsource.javax.persistence/1.0.0
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (FELIX-2141) Add features:info command
Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-2141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Nodet resolved FELIX-2141.
------------------------------------
Resolution: Fixed
URL: http://svn.apache.org/viewvc?rev=956491&view=rev
Log:
FELIX-2141: Add features:info command
Added:
felix/trunk/karaf/features/command/src/main/java/org/apache/felix/karaf/features/command/InfoFeatureCommand.java
felix/trunk/karaf/features/command/src/main/java/org/apache/felix/karaf/features/command/completers/AllFeatureCompleter.java
felix/trunk/karaf/features/command/src/main/java/org/apache/felix/karaf/features/command/completers/FeatureCompleterSupport.java
- copied, changed from r956295, felix/trunk/karaf/features/command/src/main/java/org/apache/felix/karaf/features/command/completers/AvailableFeatureCompleter.java
Modified:
felix/trunk/karaf/features/command/src/main/java/org/apache/felix/karaf/features/command/completers/AvailableFeatureCompleter.java
felix/trunk/karaf/features/command/src/main/java/org/apache/felix/karaf/features/command/completers/InstalledFeatureCompleter.java
felix/trunk/karaf/features/command/src/main/resources/OSGI-INF/blueprint/features-command.xml
felix/trunk/karaf/features/core/src/main/java/org/apache/felix/karaf/features/FeaturesService.java
felix/trunk/karaf/features/core/src/main/java/org/apache/felix/karaf/features/internal/FeaturesServiceImpl.java
> Add features:info command
> -------------------------
>
> Key: FELIX-2141
> URL: https://issues.apache.org/jira/browse/FELIX-2141
> Project: Felix
> Issue Type: Improvement
> Components: Karaf
> Affects Versions: karaf-1.4.0
> Reporter: Łukasz Dywicki
> Assignee: Guillaume Nodet
> Fix For: karaf 1.8.0
>
> Attachments: desc_tree-commands.patch, info-command.patch
>
>
> Currently there is no way to check contents of the feature. It's also hard to determine what dependencies feature has.
> First command - describes feature using Feature instance. Command by default displays info about configuration (-c), dependencies (-d) and bundles (-b option) in feature.
> {code}
> karaf@root> features:desc payment-service
> Description of payment-service 1.0.0.SNAPSHOT feature
> ----------------------------------------------------------------
> Feature has no configuration.
> Feature dependens on:
> datasource 0.0.0
> dataaccess 0.0.0
> activemq-camel 0.0.0
> camel-jetty 0.0.0
> contract 0.0.0
> Feature contains followed bundles:
> mvn:org.code-house.esb.payment/engine/1.0.0.SNAPSHOT
> mvn:org.code-house.esb.payment/binding/1.0.0.SNAPSHOT
> mvn:org.code-house.esb.payment/persistence/1.0.0.SNAPSHOT
> {code}
> Second command displays features tree. If user will pass -b parameter feature bundles will be attached to tree.
> {code}
> karaf@root> features:tree payment-service
> payment-service 1.0.0.SNAPSHOT
> datasource 0.0.0
> activemq 0.0.0 *
> postgresql 8.3
> spring 2.5.6.SEC01
> commons-dbcp 0.0.0
> dataaccess 1.0.0.SNAPSHOT
> domain 1.0.0.SNAPSHOT
> persistence-api 1.0.0
> hibernate 0.0.0
> persistence-api 1.0.0
> activemq-camel 5.3.0-fuse-01-00
> camel-jetty 0.0.0 *
> contract 1.0.0.SNAPSHOT
> Tree contains 2 unresolved dependencies
> * means that node declares dependency but the dependant feature is not available.
> {code}
> {code}
> karaf@root> features:tree domain
> domain 1.0.0.SNAPSHOT
> persistence-api 1.0.0
> {code}
> {code}
> karaf@root> features:tree -b domain
> domain 1.0.0.SNAPSHOT
> + mvn:org.code-house/domain/1.0.0.SNAPSHOT
> + mvn:org.code-house.security/domain/1.0.0.SNAPSHOT
> \ mvn:org.code-house.shippingstock/domain/1.0.0.SNAPSHOT
> persistence-api 1.0.0
> \ mvn:javax.persistence/com.springsource.javax.persistence/1.0.0
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (FELIX-2141) Add features:desc, features:tree
commands
Posted by "Łukasz Dywicki (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-2141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Łukasz Dywicki updated FELIX-2141:
----------------------------------
Attachment: desc_tree-commands.patch
Patch to resolve issue.
> Add features:desc, features:tree commands
> -----------------------------------------
>
> Key: FELIX-2141
> URL: https://issues.apache.org/jira/browse/FELIX-2141
> Project: Felix
> Issue Type: Improvement
> Components: Karaf
> Affects Versions: karaf-1.4.0
> Reporter: Łukasz Dywicki
> Attachments: desc_tree-commands.patch
>
>
> Currently there is no way to check contents of the feature. It's also hard to determine what dependencies feature has.
> First command - describes feature using Feature instance. Command by default displays info about configuration (-c), dependencies (-d) and bundles (-b option) in feature.
> {code}
> karaf@root> features:desc payment-service
> Description of payment-service 1.0.0.SNAPSHOT feature
> ----------------------------------------------------------------
> Feature has no configuration.
> Feature dependens on:
> datasource 0.0.0
> dataaccess 0.0.0
> activemq-camel 0.0.0
> camel-jetty 0.0.0
> contract 0.0.0
> Feature contains followed bundles:
> mvn:org.code-house.esb.payment/engine/1.0.0.SNAPSHOT
> mvn:org.code-house.esb.payment/binding/1.0.0.SNAPSHOT
> mvn:org.code-house.esb.payment/persistence/1.0.0.SNAPSHOT
> {code}
> Second command displays features tree. If user will pass -b parameter feature bundles will be attached to tree.
> {code}
> karaf@root> features:tree payment-service
> payment-service 1.0.0.SNAPSHOT
> datasource 0.0.0
> activemq 0.0.0 *
> postgresql 8.3
> spring 2.5.6.SEC01
> commons-dbcp 0.0.0
> dataaccess 1.0.0.SNAPSHOT
> domain 1.0.0.SNAPSHOT
> persistence-api 1.0.0
> hibernate 0.0.0
> persistence-api 1.0.0
> activemq-camel 5.3.0-fuse-01-00
> camel-jetty 0.0.0 *
> contract 1.0.0.SNAPSHOT
> Tree contains 2 unresolved dependencies
> * means that node declares dependency but the dependant feature is not available.
> {code}
> {code}
> karaf@root> features:tree domain
> domain 1.0.0.SNAPSHOT
> persistence-api 1.0.0
> {code}
> {code}
> karaf@root> features:tree -b domain
> domain 1.0.0.SNAPSHOT
> + mvn:org.code-house/domain/1.0.0.SNAPSHOT
> + mvn:org.code-house.security/domain/1.0.0.SNAPSHOT
> \ mvn:org.code-house.shippingstock/domain/1.0.0.SNAPSHOT
> persistence-api 1.0.0
> \ mvn:javax.persistence/com.springsource.javax.persistence/1.0.0
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (FELIX-2141) Add features:desc, features:tree
commands
Posted by "Chris Custine (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-2141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12840577#action_12840577 ]
Chris Custine commented on FELIX-2141:
--------------------------------------
I'm liking this patch a lot, but I am very tempted to combine the 2 commands into a single "features:info" command (your desc command) and make the tree command into option like "features:info -t webconsole" or something like that. We are starting to see the beginnings of command bloat in the console so I am trying to keep things as concise but flexible as possible. WDYT?
> Add features:desc, features:tree commands
> -----------------------------------------
>
> Key: FELIX-2141
> URL: https://issues.apache.org/jira/browse/FELIX-2141
> Project: Felix
> Issue Type: Improvement
> Components: Karaf
> Affects Versions: karaf-1.4.0
> Reporter: Łukasz Dywicki
> Assignee: Chris Custine
> Attachments: desc_tree-commands.patch
>
>
> Currently there is no way to check contents of the feature. It's also hard to determine what dependencies feature has.
> First command - describes feature using Feature instance. Command by default displays info about configuration (-c), dependencies (-d) and bundles (-b option) in feature.
> {code}
> karaf@root> features:desc payment-service
> Description of payment-service 1.0.0.SNAPSHOT feature
> ----------------------------------------------------------------
> Feature has no configuration.
> Feature dependens on:
> datasource 0.0.0
> dataaccess 0.0.0
> activemq-camel 0.0.0
> camel-jetty 0.0.0
> contract 0.0.0
> Feature contains followed bundles:
> mvn:org.code-house.esb.payment/engine/1.0.0.SNAPSHOT
> mvn:org.code-house.esb.payment/binding/1.0.0.SNAPSHOT
> mvn:org.code-house.esb.payment/persistence/1.0.0.SNAPSHOT
> {code}
> Second command displays features tree. If user will pass -b parameter feature bundles will be attached to tree.
> {code}
> karaf@root> features:tree payment-service
> payment-service 1.0.0.SNAPSHOT
> datasource 0.0.0
> activemq 0.0.0 *
> postgresql 8.3
> spring 2.5.6.SEC01
> commons-dbcp 0.0.0
> dataaccess 1.0.0.SNAPSHOT
> domain 1.0.0.SNAPSHOT
> persistence-api 1.0.0
> hibernate 0.0.0
> persistence-api 1.0.0
> activemq-camel 5.3.0-fuse-01-00
> camel-jetty 0.0.0 *
> contract 1.0.0.SNAPSHOT
> Tree contains 2 unresolved dependencies
> * means that node declares dependency but the dependant feature is not available.
> {code}
> {code}
> karaf@root> features:tree domain
> domain 1.0.0.SNAPSHOT
> persistence-api 1.0.0
> {code}
> {code}
> karaf@root> features:tree -b domain
> domain 1.0.0.SNAPSHOT
> + mvn:org.code-house/domain/1.0.0.SNAPSHOT
> + mvn:org.code-house.security/domain/1.0.0.SNAPSHOT
> \ mvn:org.code-house.shippingstock/domain/1.0.0.SNAPSHOT
> persistence-api 1.0.0
> \ mvn:javax.persistence/com.springsource.javax.persistence/1.0.0
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (FELIX-2141) Add features:desc, features:tree
commands
Posted by "Chris Custine (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-2141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris Custine reassigned FELIX-2141:
------------------------------------
Assignee: Chris Custine
> Add features:desc, features:tree commands
> -----------------------------------------
>
> Key: FELIX-2141
> URL: https://issues.apache.org/jira/browse/FELIX-2141
> Project: Felix
> Issue Type: Improvement
> Components: Karaf
> Affects Versions: karaf-1.4.0
> Reporter: Łukasz Dywicki
> Assignee: Chris Custine
> Attachments: desc_tree-commands.patch
>
>
> Currently there is no way to check contents of the feature. It's also hard to determine what dependencies feature has.
> First command - describes feature using Feature instance. Command by default displays info about configuration (-c), dependencies (-d) and bundles (-b option) in feature.
> {code}
> karaf@root> features:desc payment-service
> Description of payment-service 1.0.0.SNAPSHOT feature
> ----------------------------------------------------------------
> Feature has no configuration.
> Feature dependens on:
> datasource 0.0.0
> dataaccess 0.0.0
> activemq-camel 0.0.0
> camel-jetty 0.0.0
> contract 0.0.0
> Feature contains followed bundles:
> mvn:org.code-house.esb.payment/engine/1.0.0.SNAPSHOT
> mvn:org.code-house.esb.payment/binding/1.0.0.SNAPSHOT
> mvn:org.code-house.esb.payment/persistence/1.0.0.SNAPSHOT
> {code}
> Second command displays features tree. If user will pass -b parameter feature bundles will be attached to tree.
> {code}
> karaf@root> features:tree payment-service
> payment-service 1.0.0.SNAPSHOT
> datasource 0.0.0
> activemq 0.0.0 *
> postgresql 8.3
> spring 2.5.6.SEC01
> commons-dbcp 0.0.0
> dataaccess 1.0.0.SNAPSHOT
> domain 1.0.0.SNAPSHOT
> persistence-api 1.0.0
> hibernate 0.0.0
> persistence-api 1.0.0
> activemq-camel 5.3.0-fuse-01-00
> camel-jetty 0.0.0 *
> contract 1.0.0.SNAPSHOT
> Tree contains 2 unresolved dependencies
> * means that node declares dependency but the dependant feature is not available.
> {code}
> {code}
> karaf@root> features:tree domain
> domain 1.0.0.SNAPSHOT
> persistence-api 1.0.0
> {code}
> {code}
> karaf@root> features:tree -b domain
> domain 1.0.0.SNAPSHOT
> + mvn:org.code-house/domain/1.0.0.SNAPSHOT
> + mvn:org.code-house.security/domain/1.0.0.SNAPSHOT
> \ mvn:org.code-house.shippingstock/domain/1.0.0.SNAPSHOT
> persistence-api 1.0.0
> \ mvn:javax.persistence/com.springsource.javax.persistence/1.0.0
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (FELIX-2141) Add features:desc, features:tree
commands
Posted by "Łukasz Dywicki (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-2141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Łukasz Dywicki updated FELIX-2141:
----------------------------------
Attachment: info-command.patch
Patch with single command features:info -t -c -b -d name [version] and small refactor in completers.
> Add features:desc, features:tree commands
> -----------------------------------------
>
> Key: FELIX-2141
> URL: https://issues.apache.org/jira/browse/FELIX-2141
> Project: Felix
> Issue Type: Improvement
> Components: Karaf
> Affects Versions: karaf-1.4.0
> Reporter: Łukasz Dywicki
> Assignee: Chris Custine
> Fix For: karaf 1.8.0
>
> Attachments: desc_tree-commands.patch, info-command.patch
>
>
> Currently there is no way to check contents of the feature. It's also hard to determine what dependencies feature has.
> First command - describes feature using Feature instance. Command by default displays info about configuration (-c), dependencies (-d) and bundles (-b option) in feature.
> {code}
> karaf@root> features:desc payment-service
> Description of payment-service 1.0.0.SNAPSHOT feature
> ----------------------------------------------------------------
> Feature has no configuration.
> Feature dependens on:
> datasource 0.0.0
> dataaccess 0.0.0
> activemq-camel 0.0.0
> camel-jetty 0.0.0
> contract 0.0.0
> Feature contains followed bundles:
> mvn:org.code-house.esb.payment/engine/1.0.0.SNAPSHOT
> mvn:org.code-house.esb.payment/binding/1.0.0.SNAPSHOT
> mvn:org.code-house.esb.payment/persistence/1.0.0.SNAPSHOT
> {code}
> Second command displays features tree. If user will pass -b parameter feature bundles will be attached to tree.
> {code}
> karaf@root> features:tree payment-service
> payment-service 1.0.0.SNAPSHOT
> datasource 0.0.0
> activemq 0.0.0 *
> postgresql 8.3
> spring 2.5.6.SEC01
> commons-dbcp 0.0.0
> dataaccess 1.0.0.SNAPSHOT
> domain 1.0.0.SNAPSHOT
> persistence-api 1.0.0
> hibernate 0.0.0
> persistence-api 1.0.0
> activemq-camel 5.3.0-fuse-01-00
> camel-jetty 0.0.0 *
> contract 1.0.0.SNAPSHOT
> Tree contains 2 unresolved dependencies
> * means that node declares dependency but the dependant feature is not available.
> {code}
> {code}
> karaf@root> features:tree domain
> domain 1.0.0.SNAPSHOT
> persistence-api 1.0.0
> {code}
> {code}
> karaf@root> features:tree -b domain
> domain 1.0.0.SNAPSHOT
> + mvn:org.code-house/domain/1.0.0.SNAPSHOT
> + mvn:org.code-house.security/domain/1.0.0.SNAPSHOT
> \ mvn:org.code-house.shippingstock/domain/1.0.0.SNAPSHOT
> persistence-api 1.0.0
> \ mvn:javax.persistence/com.springsource.javax.persistence/1.0.0
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.