JCA_9016 SCAClientFactory test domain name issues
-------------------------------------------------
Key: TUSCANY-3626
URL: https://issues.apache.org/jira/browse/TUSCANY-3626
Project: Tuscany
Issue Type: Bug
Components: OASIS Compliance - OASIS
Reporter: ant elder
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)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.