It looks pretty blatant to me that the reason there are no component 
configurations is that there is no CA configuration. What kind of notification 
do you want?

thanks
david jencks

> On Dec 3, 2015, at 7:57 AM, Raymond Auge <raymond.a...@liferay.com> wrote:
> 
> Hey all,
> 
> It seems that scr:info report is not clearly indicating when a required
> configuration is not available. It is showing good info when the component
> has a configuration:
> 
> Here is the report WITH required configuration:
> ----------------------------------
> g! scr:info com.liferay.portal.http.tunnel.extender.HttpTunnelExtender
> *** Bundle: com.liferay.portal.http.tunnel.extender (60)
> Component Description:
> Name: com.liferay.portal.http.tunnel.extender.HttpTunnelExtender
> Default State: enabled
> Activation: immediate
> Configuration Policy: require
> Activate Method: activate
> Deactivate Method: deactivate
> Modified Method: modified
> Configuration Pid:
> [com.liferay.portal.http.tunnel.configuration.HttpTunnelExtenderConfiguration]
> Services:   Service Scope: null
> Properties:
> Component Configuration:
>   ComponentId: 1936
>   State: active
>     Properties:
>       component.id = 1936
>       component.name =
> com.liferay.portal.http.tunnel.extender.HttpTunnelExtender
>       hostsAllowed = [127.0.0.1]
>       service.pid =
> com.liferay.portal.http.tunnel.configuration.HttpTunnelExtenderConfiguration
> g!
> ----------------------------------
> 
> And here is the report when NO required configuration is available:
> 
> ----------------------------------
> g! scr:info com.liferay.portal.http.tunnel.extender.HttpTunnelExtender
> *** Bundle: com.liferay.portal.http.tunnel.extender (60)
> Component Description:
> Name: com.liferay.portal.http.tunnel.extender.HttpTunnelExtender
> Default State: enabled
> Activation: immediate
> Configuration Policy: require
> Activate Method: activate
> Deactivate Method: deactivate
> Modified Method: modified
> Configuration Pid:
> [com.liferay.portal.http.tunnel.configuration.HttpTunnelExtenderConfiguration]
> Services:   Service Scope: null
> Properties:
> g!
> ----------------------------------
> 
> As you can see it's not clear at all that the component is missing the
> configuration it requires.
> 
> Can we fix this?
> 
> -- 
> *Raymond Augé* <http://www.liferay.com/web/raymond.auge/profile>
> (@rotty3000)
> Senior Software Architect *Liferay, Inc.* <http://www.liferay.com>
> (@Liferay)
> Board Member & EEG Co-Chair, OSGi Alliance <http://osgi.org> (@OSGiAlliance)


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
For additional commands, e-mail: users-h...@felix.apache.org

Reply via email to