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

Dieter Wimberger commented on FELIX-581:
----------------------------------------

I took a look at the sources (1.0.0 release) and I think that actually there is 
code in place to do this.

After adding some quick and dirty stack trace printing it occurs to me that:
1) pax-web may have an incorrect metatype file:
org.xml.sax.SAXException: Fatal Error: URI=null Line=1: Content is not allowed 
in prolog.
If I find time to fix this problem, I may try to figure out if the webconsole 
allows to create the configuration.

2) ManagedServiceFactory instances cannot be configured because the code does 
not properly handle how to create and later display configurations for these 
instances (i.e. the instance needs to use the OCD from the factory).

I am trying to fix 2); is a patch against the 1.0.0 release code good, or would 
you need one against the repository?


> Allow creating configuration for managed services and service factories
> -----------------------------------------------------------------------
>
>                 Key: FELIX-581
>                 URL: https://issues.apache.org/jira/browse/FELIX-581
>             Project: Felix
>          Issue Type: Improvement
>          Components: Web Console
>    Affects Versions: webconsole-1.0.0
>            Reporter: Dieter Wimberger
>
> The web console does not support to create configurations for:
> 1) managed services (which did not register any themselves); and
> 2) managed service factories (for service instances).
> An example for 1) is the pax-web service: at the moment there is no way to 
> add a configuration for it using the web console.
> As of 2) I think that a factory may have multiple Configuration objects 
> associated, each of them configuring one service instance (this way its 
> possible to configure, create and delete instances by configuration).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to