[ 
https://issues.apache.org/jira/browse/TUSCANY-3921?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13086335#comment-13086335
 ] 

ant elder commented on TUSCANY-3921:
------------------------------------

I've committed a fix for this in r1158729, can you try that?

We still should set up a Tuscany compliance suite run that uses domain-node.

> OASIS spec compliance test validation failure out of domain-node
> ----------------------------------------------------------------
>
>                 Key: TUSCANY-3921
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3921
>             Project: Tuscany
>          Issue Type: Bug
>    Affects Versions: Java-SCA-2.0-Beta2
>         Environment: WebSphere SCA
>            Reporter: Brian Sullivan
>
> I am running OASIS spec compliance test in another hosting environment. 
> Contribution validation fails 
> with:org.apache.tuscany.sca.monitor.ValidationException: [Contribution: 
> JCA_General_POJO] - [POL30016] Excluded Intent SOAP not found for intent 
> antiSoap
> Adding the following to 
> modules\domain-node\src\main\java\org\apache\tuscany\sca\impl\DeployedComposite.java
>     protected void build() throws ValidationException, ActivationException, 
> ContributionResolveException, CompositeBuilderException {
>         
>         List<Contribution> contributions = new ArrayList<Contribution>();
>         contributions.add(contribution);
>         contributions.get(0).getDeployables().clear();
>         contributions.get(0).getDeployables().add(composite);
> >        for (Contribution contribution : dependedOnContributions){
> >>           if (!contributions.contains(contribution)){
> >>                contributions.add(contribution);
> >>           }
> >       }
> resolves the issue.  Note however that the >> lines are needed because 
> dependedOnContributions contains redundant contribution entries

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to