SimpleREST -RESTful DSpace API
Moubarik, Anis (2014-06-10)
Julkaisun pysyvä osoite on
https://urn.fi/URN:NBN:fi-fe2014070432375
https://urn.fi/URN:NBN:fi-fe2014070432375
Kuvaus
Poster at Open Repositories 2014, Helsinki, Finland, June 9-13, 2014
Posters, Demos and Developer "How-To's"
Moubarik, Anis (National Library of Finland, Finland)
Posters, Demos and Developer "How-To's"
Moubarik, Anis (National Library of Finland, Finland)
Tiivistelmä
This poster presents our internal REST interface for DSpace 3.x instances, using real production servers, Doria, TamPub and Julkari as an example. The focus will be on how SimpleREST actually works and connects the various bits and pieces together.
SimpleREST is a java webapp using the Restlet framework. It works as an app inside DSpace. It supports retrieving, editing and adding data to a DSpace instance using XML (NLF-format) and JSON. Testing has an important role in SimpleREST, and we have extensive unit and integration tests supporting dependency injection in our classes. Using Jetty servlets, Mockito, and stubclasses we can do simple type assertions and tests to ensure everything works as expected. Using SimpleREST, we can connect the DSpace instance to various apps and 3rd party pipes.
The project is open source and licensed under the LGPL 2.1 license. The code can be found at GitHub (https://github.com/anis-moubarik/SimpleREST/) and the continuous integration server at Travis (https://travis-ci.org/anis-moubarik/SimpleREST).
SimpleREST is a java webapp using the Restlet framework. It works as an app inside DSpace. It supports retrieving, editing and adding data to a DSpace instance using XML (NLF-format) and JSON. Testing has an important role in SimpleREST, and we have extensive unit and integration tests supporting dependency injection in our classes. Using Jetty servlets, Mockito, and stubclasses we can do simple type assertions and tests to ensure everything works as expected. Using SimpleREST, we can connect the DSpace instance to various apps and 3rd party pipes.
The project is open source and licensed under the LGPL 2.1 license. The code can be found at GitHub (https://github.com/anis-moubarik/SimpleREST/) and the continuous integration server at Travis (https://travis-ci.org/anis-moubarik/SimpleREST).
Kokoelmat
- Open Repositories 2014 [218]