You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Frank Langel (JIRA)" <ji...@apache.org> on 2015/12/16 19:14:46 UTC

[jira] [Commented] (FELIX-5001) scr:list Gogo command should display component descriptions and configurations

    [ https://issues.apache.org/jira/browse/FELIX-5001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15060448#comment-15060448 ] 

Frank Langel commented on FELIX-5001:
-------------------------------------

Hi,

here my suggestion for the new display. Please provide feedback, I am happy to implement it.

scr:list 

[5] com.osgi.rocks.bundle1 
	[ 1]  (active)  com.osgi.rocks.bundle1.provider1 (myservice1)
	[  ]  (noref )  com.osgi.rocks.bundle1.provider2 (myservice3)
[6] com.osgi.rocks.bundle2 
	[ 2]  (active)  com.osgi.rocks.bundle2.provider1 (myservice1)
	[  ]  (satis )  com.osgi.rocks.bundle2.impl2 (myservice1)
	[  ]  (noconf)  com.osgi.rocks.bundle2.provider3 (cid=com.farmnet365)

Hope its self explanatory
[bundleId] [bsn]
     [ComponentId]  (ComponentStatus) ComponentName (Info in resp to status, i.e. Service, pid ...)




> scr:list Gogo command should display component descriptions and configurations
> ------------------------------------------------------------------------------
>
>                 Key: FELIX-5001
>                 URL: https://issues.apache.org/jira/browse/FELIX-5001
>             Project: Felix
>          Issue Type: Bug
>          Components: Declarative Services (SCR)
>    Affects Versions: scr-2.0.0
>            Reporter: Neil Bartlett
>            Assignee: Carsten Ziegeler
>            Priority: Critical
>             Fix For: scr-2.0.2
>
>
> The gogo command scr:list has changed drastically since version 1.8.2 and is now unusable. The component IDs are not displayed and so there is no way for the user to pass this ID to the scr:info command.
> Here is the current output:
> {noformat}
> g! scr:list
>  Name  BundleId DefaultEnabled
> [org.example.exchange.orderentry.OrderEntry] [  11] [true]
> [org.example.exchange.prices.feed] [   2] [true]
> [org.example.osgi.exchange.impl.ExchangeImpl] [   2] [true]
> {noformat}
> For reference, here was the much more useful output from 1.8.2:
> {noformat}
> g! scr:list
>  Id   State BundleId Name
> [   0] [active      ] [   2] org.example.osgi.exchange.impl.ExchangeImpl
> [   1] [active      ] [   2] org.example.exchange.prices.feed
> [   2] [active      ] [  11] org.example.exchange.orderentry.OrderEntry
> [   3] [active      ] [   2] org.example.exchange.prices.feed
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)