On Wed, May 19, 2010 at 1:45 PM, ant elder <[email protected]> wrote: > On Wed, May 19, 2010 at 9:37 AM, Simon Laws <[email protected]> wrote: >> On Wed, May 19, 2010 at 9:24 AM, ant elder <[email protected]> wrote: >>> There's only one test left failing in trunk for the Java CAA, CI and >>> Assembly compliance tests, ASM_10002_TestCase, which has a comment >>> saying its due TUSCANY-3503. Whats the status of that JIRA? From the >>> text it wasn't that clear to me if this is something we need to fix in >>> Tuscany or if its a problem with the OASIS test itself. >>> >>> ...ant >>> >> >> The fix to prevent policy from being applied automatically is in. This >> causes 10002 to fail. I just took a brief look and it looks like there >> is a problem with the test itself. The policy "PolicySet1" is not >> attached to the service where the intent is named. Hence the error. We >> should try adding a policy attachment and see if that fixes it. >> Assuming that is does we can submit the patch to OASIS. >> > > I'm not up to speed with all the policy changes - what has to be done > to attach the policy set to the service? Is this the appliesTo > attribute on the PolicySet1 definition at: > http://tools.oasis-open.org/version-control/svn/sca-assembly/TestCases/General/src/main/resources/META-INF/definitions.xml > > ...ant >
I think the policy set definition... <policySet name="PolicySet1" provides="test:Fred" appliesTo="//service|//reference"> needs to be changed to something like... <policySet name="PolicySet1" provides="test:Fred" appliesTo="//sca:service|//sca:reference" attachTo="//sca:service|//sca:reference"> should I go ahead and raise this with OASIS or have you already done it? Regards Simon -- Apache Tuscany committer: tuscany.apache.org Co-author of a book about Tuscany and SCA: tuscanyinaction.com
