In implementing SWORD-V2, having the In-Progress header for all actions on
the SE-IRI, but not having it on actions on the EM-IRI, turns out to add a
fair amount of complication. I am wondering if that complication is actually
buying anyone anything useful.
So on the SE-IRI, you just check the In-Progress header (or the implied
default value of 'false' if the header is missing) in order to determine
whether to publish the resource after the action is taken.
But actions on the EM-IRI are supposed to respect the previous
In-Progess='true' header on some prior SE-IRI action. So that means that we
need to decide what the default "prior" setting for In-Progress is if the
action to EM-IRI is the first action. I assume that would be 'false' for
consistency. And it also means that services have to figure out a place to
save state somewhere to record that flag and make sure that it is always
properly initialized and maintained. This is the only place that additional
state has to be created.
I can't figure out why we don't just use the header in all cases? What
benefit accrues from not using the header on actions on EM-IRI? What is not
using it for actions on the EM-IRI saving? If we use the header in all cases
then the publish logic is always the same and super simple: check the header
or its implied default.
Thoughts?
Cheers all,
Kathi
--
Katherine Fletcher, kathi.fletc...@gmail.com
<kathi.fletc...@gmail.com>
Twitter: kefletcher <http://www.twitter.com/kefletcher> Blog:
kefletcher.blogspot.com
<kathi.fletc...@gmail.com>
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
sword-app-tech mailing list
sword-app-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sword-app-tech