+1 for removing the duplicated commands :) 2017-10-04 11:04 GMT+02:00 Christian Schneider <ch...@die-schneider.net>:
> +1 > > Christian > > 2017-10-04 11:02 GMT+02:00 Guillaume Nodet <gno...@apache.org>: > > > I'm working on KARAF-4785 > > <https://issues.apache.org/jira/browse/KARAF-4785> and > > I've already fixed the completion of the native scr commands. This means > > that we'll have some kind of duplication of all scr commands. Kind of, > > because even though they are similar, the output is different. The > native > > commands provide a deeper view of the SCR components. > > > > So, should I go ahead and just remove the Karaf specific commands ? > > > > Below is the output of the native commands and then the karaf commands... > > > > Cheers, > > Guillaume > > > > *karaf*@root()> scr:list > > > > BundleId Component Name Default State > > > > Component Id State PIDs (Factory PID) > > > > [ 38] ScrServiceMBean enabled > > > > [ 4] [active ] > > > > [ 145] org.ops4j.pax.web.deployer.internal.WarDeployer enabled > > > > [ 3] [active ] > > > > [ 151] org.ops4j.pax.web.service.internal.WhiteboardDtoService > enabled > > > > [ 5] [active ] > > > > *karaf*@root()> scr:info org.ops4j.pax.web.deployer.internal.WarDeployer > > > > > > > > *** Bundle: org.ops4j.pax.web.pax-web-deployer (145) > > > > Component Description: > > > > Name: org.ops4j.pax.web.deployer.internal.WarDeployer > > > > Implementation Class: org.ops4j.pax.web.deployer.internal.WarDeployer > > > > Default State: enabled > > > > Activation: delayed > > > > Configuration Policy: optional > > > > Activate Method: activate > > > > Deactivate Method: deactivate > > > > Modified Method: - > > > > Configuration Pid: [org.ops4j.pax.web.deployer.internal.WarDeployer] > > > > Services: > > > > org.apache.felix.fileinstall.ArtifactUrlTransformer > > > > Service Scope: singleton > > > > Component Description Properties: > > > > Component Configuration: > > > > ComponentId: 3 > > > > State: active > > > > Component Configuration Properties: > > > > component.id = 3 > > > > component.name = org.ops4j.pax.web.deployer.internal.WarDeployer > > > > > > *karaf*@root()> scr:components > > > > ID │ State │ Component Name > > > > ───┼────────┼──────────────────────────────────────────────────────── > > > > 3 │ ACTIVE │ org.ops4j.pax.web.deployer.internal.WarDeployer > > > > 5 │ ACTIVE │ org.ops4j.pax.web.service.internal.WhiteboardDtoService > > > > *karaf*@root()> scr:details org.ops4j.pax.web.deployer. > > internal.WarDeployer > > > > *Component Details* > > > > * Name : *org.ops4j.pax.web.deployer. > internal.WarDeployer > > > > * State : *ACTIVE > > > > *References* > > > > *karaf*@root()> > > > > > > > > > > -- > > ------------------------ > > Guillaume Nodet > > > > > > -- > -- > Christian Schneider > http://www.liquid-reality.de > <https://owa.talend.com/owa/redir.aspx?C=3aa4083e0c744ae1ba52bd062c5a7e > 46&URL=http%3a%2f%2fwww.liquid-reality.de> > > Computer Scientist > http://www.adobe.com > -- Apache Member Apache Karaf <http://karaf.apache.org/> Committer & PMC OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer & Project Lead blog <http://notizblog.nierbeck.de/> Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS> Software Architect / Project Manager / Scrum Master