Uploaded image for project: 'Tuscany'
  1. Tuscany
  2. TUSCANY-3921

OASIS spec compliance test validation failure out of domain-node

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Java-SCA-2.0-Beta2
    • Java-SCA-2.0
    • None
    • None
    • WebSphere SCA

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            bsulliv Brian Sullivan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: