You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Emily Jiang (JIRA)" <ji...@apache.org> on 2010/08/18 18:20:16 UTC

[jira] Created: (FELIX-2546) Only one service is provisioned even when specifying for mulitple services

Only one service is provisioned even when specifying for mulitple services
--------------------------------------------------------------------------

                 Key: FELIX-2546
                 URL: https://issues.apache.org/jira/browse/FELIX-2546
             Project: Felix
          Issue Type: Bug
          Components: Bundle Repository (OBR)
    Affects Versions: bundlerepository-1.6.4
         Environment: n/a
            Reporter: Emily Jiang


Felix OBR is unable to return multiple services when specifying 'multiple' attribute with the value of 'true'. The test scenario is detailed below.

I am trying to get all bundles registering the service of com.sample.HelloWorld and install them into the osgi framework . In my test environment, there are two bundles with different symbolic name offering the same service, com.sample.HelloWorld. However, only one bundle was pulled into runtime. The snippet of my repository is shown below. 

<require extend="false" filter="(&amp;(service=service)(objectClass=com.sample.HelloWorld)(mandatory:&lt;*service))" multiple="true" name="service" optional="false">Requires service with attributes {service=service, objectClass=com.sample.HelloWorld}</require>

Regards
Emily

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


[jira] Commented: (FELIX-2546) Only one service is provisioned even when specifying for mulitple services

Posted by "Emily Jiang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-2546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12909208#action_12909208 ] 

Emily Jiang commented on FELIX-2546:
------------------------------------

Hi,

This issue was reported nearly a month ago. Can someone take a look at this?

Many thanks
Emily

> Only one service is provisioned even when specifying for mulitple services
> --------------------------------------------------------------------------
>
>                 Key: FELIX-2546
>                 URL: https://issues.apache.org/jira/browse/FELIX-2546
>             Project: Felix
>          Issue Type: Bug
>          Components: Bundle Repository (OBR)
>    Affects Versions: bundlerepository-1.6.4
>         Environment: n/a
>            Reporter: Emily Jiang
>
> Felix OBR is unable to return multiple services when specifying 'multiple' attribute with the value of 'true'. The test scenario is detailed below.
> I am trying to get all bundles registering the service of com.sample.HelloWorld and install them into the osgi framework . In my test environment, there are two bundles with different symbolic name offering the same service, com.sample.HelloWorld. However, only one bundle was pulled into runtime. The snippet of my repository is shown below. 
> <require extend="false" filter="(&amp;(service=service)(objectClass=com.sample.HelloWorld)(mandatory:&lt;*service))" multiple="true" name="service" optional="false">Requires service with attributes {service=service, objectClass=com.sample.HelloWorld}</require>
> Regards
> Emily

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


[jira] Commented: (FELIX-2546) Only one service is provisioned even when specifying for mulitple services

Posted by "Richard S. Hall (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-2546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12909315#action_12909315 ] 

Richard S. Hall commented on FELIX-2546:
----------------------------------------

I don't believe that support for "multiple" was ever implemented, since it wasn't clear how to process it. This is sort of like optionality that requires some sort of policy decision on how to handle it.

I'm not sure if anyone has the time to work on it, but we'd certainly consider any contributions.

> Only one service is provisioned even when specifying for mulitple services
> --------------------------------------------------------------------------
>
>                 Key: FELIX-2546
>                 URL: https://issues.apache.org/jira/browse/FELIX-2546
>             Project: Felix
>          Issue Type: Bug
>          Components: Bundle Repository (OBR)
>    Affects Versions: bundlerepository-1.6.4
>         Environment: n/a
>            Reporter: Emily Jiang
>
> Felix OBR is unable to return multiple services when specifying 'multiple' attribute with the value of 'true'. The test scenario is detailed below.
> I am trying to get all bundles registering the service of com.sample.HelloWorld and install them into the osgi framework . In my test environment, there are two bundles with different symbolic name offering the same service, com.sample.HelloWorld. However, only one bundle was pulled into runtime. The snippet of my repository is shown below. 
> <require extend="false" filter="(&amp;(service=service)(objectClass=com.sample.HelloWorld)(mandatory:&lt;*service))" multiple="true" name="service" optional="false">Requires service with attributes {service=service, objectClass=com.sample.HelloWorld}</require>
> Regards
> Emily

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