OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

sca-assembly message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [sca-assembly] [NEW ISSUE] Errors in Artifacts for ASM_12005_TestCase



Logged as: http://www.osoa.org/jira/browse/ASSEMBLY-169

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:  mike_edwards@uk.ibm.com



From: Mike Edwards/UK/IBM@IBMGB
To: "OASIS Assembly" <sca-assembly@lists.oasis-open.org>
Date: 07/08/2009 09:30
Subject: [sca-assembly] [NEW ISSUE] Errors in Artifacts for ASM_12005_TestCase






Raiser:                Mike Edwards


Target:                sca-assembly-1.1-testsuite-cd01.zip


Description:


ASM_12005_TestCase artifacts contain errors:


1) sca-contribution.xml in contribution ASM_12005:


- Contains an import.java when the contribution does not contain references to Java artifacts

- Does not contain an import for the WSDL namespace, when artifacts in the contribution reference WSDLs:


<contribution
       xmlns="
http://docs.oasis-open.org/ns/opencsa/sca/200903"
       xmlns:test="
http://docs.oasis-open.org/ns/opencsa/scatests/200903">

       <import namespace="
http://docs.oasis-open.org/ns/opencsa/scatests/200903"/>
       <import namespace="
http://docs.oasis-open.org/ns/opencsa/scatests/2009032" location="Contribution1"/>
       <import.java package="test"/>

       
</contribution>


2) ASM_12005_TestCase.java client


- has an incorrect description:


/**

* Client for ASM_12005_TestCase
* Tests that the SCA runtime accepts and runs a contribution in ZIP format
*/

Proposal:


1) sca-contribution.xml in contribution ASM_12005:


- remove the import.java

- add an import for the WSDL namespace


<contribution
       xmlns="
http://docs.oasis-open.org/ns/opencsa/sca/200903"
       xmlns:test="
http://docs.oasis-open.org/ns/opencsa/scatests/200903">

       <import namespace="
http://docs.oasis-open.org/ns/opencsa/scatests/200903"/>
       <import namespace="
http://docs.oasis-open.org/ns/opencsa/scatests/2009032" location="Contribution1"/>
       
       <import namespace="
http://test.sca.oasisopen.org/"/>                                                         <!-- WSDL namespace -->
       
</contribution>


2) ASM_12005_TestCase.java client


- make the description match the description in the TestCases document:


/**

* Client for ASM_12005_TestCase
* Tests that where multiple indirect dependent contributions export conflicting artifacts,
* the conflict is resolved by explicit import statements in the root contribution
*
* The concept of the test is that two composite files with the same name in 2 different
* contributions have different contents - and that only 1 of them will work with the root composite file
*/


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:  mike_edwards@uk.ibm.com





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












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








[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]