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

JCA_9016 SCAClientFactory test domain name issues

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      The OASIS conformance test JCA_9016 test various incantations of the SCAClientFactory.newInstance method but the Service1SCAClientImpl class does not have validDomainURI correctly set so the test fails.

      One problem is that the domain URIs are created in the constructor from properties but the property values don't get initialized until after the constructor has run.

      Another issue is going to be what is a valid domain name. Maybe the test could use the name of the domain that the test component is running in, which it should be able to get with ComponentContext.getURI which should return the absolute URI of the component in the SCA Domain so as the test can know the relative uri of the test component it can remove that to get the domain name. (this wont actually work in Tuscany yet as ComponentContext.getURI doesn't return the absolute URI, but we can fix that)

      Attachments

        Activity

          People

            Unassigned Unassigned
            aelder ant elder
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: