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

David Bosschaert updated ARIES-1274:
------------------------------------
    Description: 
The Subsystem-ImportService has the following syntax (spec 134.2.1.10):
  org.acme.billing.Account; filter:="(type=premium)"
However the Aries implementation ignores the classname in the filter. This 
should not be the case.

An easy way to reproduce it is to take the test from [1] and change
{{Subsystem-ImportService: *;filter:="(test=testCompositeServiceImports)"}}
to 
{{Subsystem-ImportService: 
org.foo.NonExistant;filter:="(test=testCompositeServiceImports)"}}
in the SUBSYSTEM.MF file. 

You will see that the test still passes even though the org.foo.NonExistant 
service does not exist.
[1] 
https://github.com/bosschaert/aries/blob/08b9dc15c43feaae8588566de65edba4011dbba8/subsystem/subsystem-itests/src/test/resources/composite2/OSGI-INF/SUBSYSTEM.MF

  was:
The Subsystem-ImportService has the following syntax (spec 134.2.1.10):
  org.acme.billing.Account; filter:="(type=premium)"
However the Aries implementation ignores the classname in the filter. This 
should not be the case.

An easy way to reproduce it is to:


> Classname ignored on Subsystem-ImportService 
> ---------------------------------------------
>
>                 Key: ARIES-1274
>                 URL: https://issues.apache.org/jira/browse/ARIES-1274
>             Project: Aries
>          Issue Type: Bug
>          Components: Subsystem
>    Affects Versions: subsystem-core-1.0.0, subsystem-core-1.1.0
>            Reporter: David Bosschaert
>
> The Subsystem-ImportService has the following syntax (spec 134.2.1.10):
>   org.acme.billing.Account; filter:="(type=premium)"
> However the Aries implementation ignores the classname in the filter. This 
> should not be the case.
> An easy way to reproduce it is to take the test from [1] and change
> {{Subsystem-ImportService: *;filter:="(test=testCompositeServiceImports)"}}
> to 
> {{Subsystem-ImportService: 
> org.foo.NonExistant;filter:="(test=testCompositeServiceImports)"}}
> in the SUBSYSTEM.MF file. 
> You will see that the test still passes even though the org.foo.NonExistant 
> service does not exist.
> [1] 
> https://github.com/bosschaert/aries/blob/08b9dc15c43feaae8588566de65edba4011dbba8/subsystem/subsystem-itests/src/test/resources/composite2/OSGI-INF/SUBSYSTEM.MF



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to