You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Raymond Augé (JIRA)" <ji...@apache.org> on 2018/10/17 17:39:00 UTC

[jira] [Resolved] (FELIX-5965) SCR is using the standard DTOs for the scr:info/list commands whose output is useless

     [ https://issues.apache.org/jira/browse/FELIX-5965?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Raymond Augé resolved FELIX-5965.
---------------------------------
    Resolution: Won't Fix

I figured out the issue. I was running an old version of gogo runtime/shell. This was causing an issue with the converter provided by scr. When run on a recent version of gogo runtime/shell felix scr command output works as expected.

> SCR is using the standard DTOs for the scr:info/list commands whose output is useless
> -------------------------------------------------------------------------------------
>
>                 Key: FELIX-5965
>                 URL: https://issues.apache.org/jira/browse/FELIX-5965
>             Project: Felix
>          Issue Type: Bug
>          Components: Declarative Services (SCR)
>            Reporter: Raymond Augé
>            Priority: Major
>             Fix For: scr-2.1.14
>
>
> New output:
> {code:java}
> g! scr:info com.liferay.blogs.internal.repository.BlogsEntryHybridCQRSRepository
> {"name":"com.lifer...epository", "bundle":{"id":894, "lastModified":1539697358807, "state":32, "symbolicName":"com.lifer...s.service", "version":"2.0.17"}, "factory":null, "scope":"singleton", "implementationClass":"com.lifer...epository", "defaultEnabled":true, "immediate":true, "serviceInterfaces":["com.lifer...epository"], "properties":{"_blogsEntryRepository.target":"(reposito...database)", "repository.type":"hybrid"}, "references":[{"name":"_blogsEnt...alService", "interfaceName":"com.lifer...alService", "cardinality":"1..1", "policy":"static", "policyOption":"reluctant", "target":null, "bind":null, "unbind":null, "updated":null, "field":"_blogsEnt...alService", "fieldOption":"replace", "scope":"bundle", "parameter":null, "collectionType":null},{"name":"_blogsEntryRepository", "interfaceName":"com.lifer...epository", "cardinality":"1..1", "policy":"static", "policyOption":"reluctant", "target":"(reposito...database)", "bind":null, "unbind":null, "updated":null, "field":"_blogsEntryRepository", "fieldOption":"replace", "scope":"bundle", "parameter":null, "collectionType":null},{"name":"_changesetManager", "interfaceName":"com.lifer...etManager", "cardinality":"1..1", "policy":"static", "policyOption":"reluctant", "target":null, "bind":null, "unbind":null, "updated":null, "field":"_changesetManager", "fieldOption":"replace", "scope":"bundle", "parameter":null, "collectionType":null}], "activate":"activate", "deactivate":"deactivate", "modified":null, "configurationPolicy":"optional", "configurationPid":["com.lifer...epository"], "factoryProperties":null, "activationFields":[], "init":0}{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)