Build an algorithm that accurately calculates whether a target component is
local or remote when compared to the calling reference
----------------------------------------------------------------------------------------------------------------------------------
Key: TUSCANY-3102
URL: https://issues.apache.org/jira/browse/TUSCANY-3102
Project: Tuscany
Issue Type: Bug
Components: Java SCA Domain Management
Affects Versions: Java-SCA-2.0
Environment: All
Reporter: Simon Laws
Fix For: Java-SCA-2.0
The identification of remote wires is a two stage process that can primarily be
drive by the endpoint registry.
If an endpoint is added to the registry through the addEndpoint API (as
opposed to being copied across the network behind the scenes) then it's not
remote to a reference looking it up.
However there is one registry per JVM but there can be multiple nodes hence an
endpoint reference that doesn't find a target component in the same model at
build time is referring to an in JVM remote component. We may, in the future,
want to treat this as a separate opitmizable case.
Current each composite in a node is build independently which means that every
reference across composite boundaries is marked as remote despite the fact that
both component are running in the same node. A first step to working out the
right algorithm is to get the node to build the node level composite.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.