If I create a node as follows

        node = factory.createNode(new Contribution("client",
"..\\helloworld-client\\target\\itest-nodes-helloworld-client-2.0-SNAPSHOT.jar"),
                                               new
Contribution("service",
"..\\helloworld-service\\target\\itest-nodes-helloworld-service-2.0-SNAPSHOT.jar"));

Where the client contribution has a service that references a
component in the service contribution

I get a "WARNING: Component reference target not found" because the
code builds each deployable composite separately as opposed to
building the domain as a whole. This is not the case in 1.x where this
scenario will work. Our endpoint registry will have the effect of
fixing this but I'm wondering whether it's like this at the moment
because...

1/ changes were made to 1.x but not 2.x
2/ someone decided that building the domain composite in a node is the
wrong thing to do for some reason.

I suspect the answer is 1/ but I'm just checking.

Simon

Reply via email to