← Prev in month ← Prev in thread
Next in thread → Next in month →

Re: [sca-j] ISSUE 207: Problems with testcases JCA_8007, JCA_8011 - updatedproposal

From
Mike Edwards <>
Date
2010-08-18T14:33:22+00:00
ID
Thread
Re: [sca-j] ISSUE 207: Problems with testcases JCA_8007, JCA_8011 - updatedproposal
Folks,

There was a small flaw in th proposal
to fix JCA_2007.

Since the interface has the intents
- and since both the service and the reference use this interface, then
both the

service and the reference end up with
those intents attached - and so both service and reference need the policySets

to satisfy the intents.  The previous
proposal forgot to add the policy set at the <reference/> level.

The updated proposal for the composite
file is as follows:

    <component
name="TEST_JCA_8007Component1">

        <implementation.java
class="org.oasisopen.sca.test.service5Impl2"/>

        <service
name="Service1">

         
  <interface.java
interface="org.oasisopen.sca.test.Service1"/>

        </service>

        <reference
name="reference1"
target="TEST_JCA_8007Component2"
policySets="test:PolicySet4"/>

        <property
name="serviceName">service1</property>

    </component>

    <component
name="TEST_JCA_8007Component2">

        <implementation.java
class="org.oasisopen.sca.test.service5Impl"/>

        <service
name="Service5Intents"
policySets="test:PolicySet4">

         
  <interface.java
interface="org.oasisopen.sca.test.Service5Intents"/>

         
  <binding.ws/>

        </service>

        <property
name="serviceName">service2</property>

    </component>

- note the presence of PolicySet4 on
the reference of Component1....

Yours,  Mike.

Strategist - Emerging Technologies, SCA & SDO.

Co Chair OASIS SCA Assembly TC.

IBM Hursley Park, Mail Point 146, Winchester, SO21 2JN, Great Britain.

Phone & FAX: +44-1962-818014    Mobile: +44-7802-467431  

Email:  

Unless stated otherwise above:

IBM United Kingdom Limited - Registered in England and Wales with number
741598. 

Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6
3AU
← Prev in month ← Prev in thread
Next in thread → Next in month →