On Tue, Dec 8, 2009 at 1:19 PM, Simon Laws <[email protected]> wrote: > The node configuration file starts as follows: > > <node xmlns:sca="http://docs.oasis-open.org/ns/opencsa/sca/200903" > xmlns="http://tuscany.apache.org/xmlns/sca/1.1" > xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.1" > uri="http://sample/nodes/TestNode1" > domain="http://domain1" > domainRegistry="tribes:default"> > > This seems a little confusing. > > - why "uri" rather than nodeURI? > - why "domain" rather than "domainURI? > - what's the difference between domain and domainRegistry? >
Theres a lot that still needs to be cleaned up in this area. I dont think theres any longer a need for the node uri should to be surfaced to users at all. When i added the registry uri the intention was the domain name would be derived from that, so with "tribes:default" i'd expected the domain name to be "default" and not need to be defined elsewhere. It would also be good to make all this easier to use from the APIs without needing to write an XML document. ...ant
