[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: prototype and consequent feedback on XDI primitives
Hi Giovanni,
Good to hear from you.
We have a newer version of the XDI server that we are planning on releasing as a 1.0 version in mid June. This version is a C++ implementation.
I have cc'd Steve on this email so that if you want a version of the current deployment he can send it to you. It is available under free open source license.
I'm not sure what your NOTIFICATION primitive is for, could you explain the use case (maybe give me a sequence diagram?).
The new server has a robust plugin framework that lets you trigger custom code at any part of the get or set operation on any node in the graph. Ultimately we may convert the plugin API to Higgins IdAS but not in the short term. Plugins are defined and triggered much the same way as servlets are in tomcat; There is an xml server config file that has a plugins section, for each plugin you specify the location of the executable code, what point in the traversal do you want to trigger the plugin (before_get, after_set, before_set, etc...) and the xri pattern(s) that should trigger the plugin. For example:
$ALL/+email/home - would trigger the plugin for all home email address instance nodes
$ALL/+email/$children - would trigger the plugin for all email address instance nodes
$ALL/+email - would trigger on the email type node
Steve can send you full documentation of the plugin triggers. It gets a little complicated when defining triggers that should (or should not) dereference links and refs. We have found that this approach gives a lot of flexibility and power in setting up custom code to run whenever we need it to.
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]