Tuscany
  1. Tuscany
  2. TUSCANY-3921

OASIS spec compliance test validation failure out of domain-node

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: Java-SCA-2.0-Beta2
    • Fix Version/s: Java-SCA-2.0
    • Component/s: None
    • Labels:
      None
    • Environment:
      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

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Brian Sullivan
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development