Hello API-X Group,
Following up the latest meeting, I have drafted some swim lane diagrams
illustrating example usages of the API Extension Architecture.
Find attached files.
I would like some feedback before I go ahead with further use
cases. I may also need some clarification about some use cases that I
did not propose myself and may need to understand better.
Adam S. and I had a brief discussion on the use cases that would best
cover a wide range of workflows. The list came down to:
- Validation [1] (provided here are both synchronous and asynchronous
workflow - the latter applicable to a variety of similar uses)
- Provenance stream [2] (also attached here)
- Representation from a graph of objects [3] (TODO)
- Resources as MODS/XML [4] (TODO) - may this be merged with the
previous one in a more general use case of I/O manipulation?
- Extra-repo access control [5] (TODO)
It may be worth noting that the API-X layer is rather lean, with the
extensions not containing any code at all. This approach relies mostly
on external services to provide custom code to handle any kind of
filtering, manipulation and validation of request and response data.
Pending is also an update of the component graph according to the last
meeting discussion. I also think it would be helpful to have a general
workflow graph illustrating more in detail the pre- and post-extension
operations common to all the above scenarios (service discovery,
extension prioritization, queuing, etc.) which I left out in these
graphs for the sake of brevity.
Feedback is appreciated!
Thanks,
Stefano
[1]
https://wiki.duraspace.org/display/FF/AIC+Use+Case%3A+Content+and+Structural+Validation
[2]
https://wiki.duraspace.org/display/FF/JHU+API-X+Use+Case%3A+Provenance+stream
[3]
https://wiki.duraspace.org/display/FF/SI+-+One+Representation+Derived+from+a+Graph+of+Objects
[4]
https://wiki.duraspace.org/pages/viewpage.action?pageId=70583487
[5]
https://wiki.duraspace.org/display/FF/AIC+User+Case%3A+Extra-Repository+Access+Control
--
Stefano Cossu
Director of Application Services, Collections
The Art Institute of Chicago
116 S. Michigan Avenue
Chicago, IL 60603