Hi,

For a composite service like:

<service name="Service2" promote="Component1/Service1">

<component name="Component1">
   <service name="Service1">
<binding.sca/> <!-- it can be created implicitly too if no bindings are present -->
   </service>
</component>

The binding.sca will get a name "Service1". When it is inherited by the composite service "Service2", what happens to its name? Should it be "Service1" or "Service2"?

I had to adjust tuscany/java/sca/itest/builder/src/test/java/org/apache/tuscany/sca/itest/builder/BuilderTestCase.java under [1] to get it working with my changes which now calculates the binding names before they are copied from the componentType to components.

[1] http://svn.apache.org/viewvc?rev=820125&view=rev

Thanks,
Raymond
---
Raymond Feng
Apache Tuscany PMC Member: http://tuscany.apache.org
Co-author of Tuscany In Action: http://www.manning.com/laws


Reply via email to