1 / 17

DSpace As A Platform

DSpace As A Platform. Creating Custom Interfaces With Content Packaging Plugins Don Gourley Washington Research Library Consortium DSpace User Group, Open Repositories 2007 Session 5. DSpace As A Platform. Agenda DSpace Plugin Mechanism Introduced in version 1.4

tauret
Télécharger la présentation

DSpace As A Platform

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. DSpace As A Platform Creating Custom Interfaces With Content Packaging Plugins Don Gourley Washington Research Library Consortium DSpace User Group, Open Repositories 2007 Session 5 DSpace Users Group - Jan. 2007

  2. DSpace As A Platform • Agenda • DSpace Plugin Mechanism • Introduced in version 1.4 • Example Application: Custom HTTP interface for the WRLC Digital Object Catalog DSpace Users Group - Jan. 2007

  3. Plugin Manager • Plugin: Independently “pluggable” software component • PluginManager: Java class that organizes/selects/creates plugins • Plugin Interface: Defines a class of service • Plugin Implementation: Service provider DSpace Users Group - Jan. 2007

  4. Types Of Plugins • Singleton Plugin: One implementation of the class • Sequence Plugins: Ordered set of implementations • Named Plugin: Multiple available implementations • Names bound to implementation in config • Self-named DSpace Users Group - Jan. 2007

  5. Plugins in DSpace 1.4 • AuthenticationMethod • Sequence plugins (implement a “stack”) • E.g. Password, LDAP • MediaFilter • E.g. HTML, Word, PDF, JPEG • BitstreamDispatcher • E.g. by Item or least-recently checked DSpace Users Group - Jan. 2007

  6. Metadata & Content Plugins • DisseminationCrosswalk and IngestionCrosswalk • E.g. DC, QDC, MODS, METS, PREMIS • XSLT: define crosswalk with stylesheet • PackageDisseminator and PackageIngester • E.g. METS, PDF DSpace Users Group - Jan. 2007

  7. Invoking Plugins • Plugin Consumer: Java class that uses PluginManager • Configure plugin classes, names, options in dspace.cfg • Reload Web app for online consumers • E.g. AuthenticationManager • Run command-line program • E.g. Packager, MediaFilterManager, ChecksumChecker • Invoke via OAI-PMH: PluginCrosswalk DSpace Users Group - Jan. 2007

  8. Invoking Plugins • Need a mechanism for invoking content packaging plugins with HTTP GET and POST requests (REST-style Web services) • DisseminatePackageServlet • Invokes a named PackageDisseminator • Patch # 1442299 • IngestPackageServlet • Invokes a named PackageIngester • Patch to be submitted soon DSpace Users Group - Jan. 2007

  9. Digital Object Catalog DCEditor DCMS Web site EAD XForms HTTP POST IngestPackageServlet DIDL Ingester Plugin URL Ingester Plugin EAD Ingester Plugin DSpace webui DIDL Disseminator Plugin Bitstream Disseminator Plugin HTML Disseminator Plugin DisseminatePackageServlet HTTP GET or POST DCEditor ImgViewer XMLViewer DOC Web site DSpace Users Group - Jan. 2007

  10. Dissemination Interface DSpace Users Group - Jan. 2007

  11. Submitting Ingestion Content • IngestPackageServlet requires an HTTP POST request • DOC plugins generally expect XML • Must be done by browser if you want the DSpace session cookie for login context • Can’t post XML content with plain HTML Alternatives include: • JavaScript (e.g. the XMLHttpRequest class) • Browser plugin (e.g. XForms viewer) DSpace Users Group - Jan. 2007

  12. Submission Response • What is the proper response to an ingestion request? • Successful => submission receipt • If ingestion plugin also implements the DisseminationPackage interface, IngestPackageServlet will use it for response • Unsuccessful => detailed error message • PluginException thrown to servlet DSpace Users Group - Jan. 2007

  13. Ingestion Interface DSpace Users Group - Jan. 2007

  14. Ingestion Interface DSpace Users Group - Jan. 2007

  15. Issues With HTTP Interfaces • Security • DOC plugins use DSpace public API • Access controlled by authorization system • Sometimes need to override (e.g. recreating structural metadata bitstream) • Performance • Comparable to native interfaces • Functionality • Limited to content packaging plugins DSpace Users Group - Jan. 2007

  16. Web Services Applications • Integration with content-specific workflow applications • E.g. ETD-db • DLF-Aquifer “asset actions” • Pathways “interoperability fabric” obtain, harvest & put services DSpace Users Group - Jan. 2007

  17. For More Information . . . Presentation write-up: http://dspace.wrlc.org/doc/wrlc/DSpaceAsAPlatform.pdf Wiki pages: http://wiki.dspace.org/index.php/PluginManager /CrosswalkPlugins /PackagerPlugins Me: gourley@wrlc.org DSpace Users Group - Jan. 2007

More Related