Page History
...
- Dummy response for collection: https://github.com/DSpace/dspace-angular/blob/master/src/backend/collections.ts
- May not be an accurate representation of what REST API will look like
- REST Team should feel free to create tickets in Waffle (https://waffle.io/DSpace/dspace-angular)
- Question: If we want to mockup/describe an API first, we may hit issues with using Spring Data Rest or Katharsis, both of which structure endpoints in very specific ways.
- If we want to document our own API endpoints first and build an endpoint to meet that need, the only way to do that would be with something like Swagger
- Much more info here: https://docs.google.com/document/d/1dAPjq6xSy7A5Q_xXIxLXgJ2VqugFpxeSmMmvbr2mM5M/edit
- Comparisions of frameworks are all there.
- William: Pagination & partial data are needs
- Terrence W Brady: How is Solr involved in the REST API frameworks?
- Could use Solr as a data repository with Spring Data REST? (Spring Data has a connector for Solr, but could use Spring REST against Discovery?)
- Spring REST vs Spring Data REST?
- Spring Data might make our code more easy to understand (to Java developers)
- Our usage of Spring is complex (dspace-services). We need to consider removing this (we hide Spring context in our DSpace Kernel)
- William: Build process redone. Dependencies are complex and hard to update Spring
- Do we simply our application into one Webapp (REST, SWORD, OAI, commandline)? Currently running multiple JVMs
- Should we remove dspace-services (DSpace Kernel)? Yes, replace with Spring
- Should commandline turn into calls to REST API?
- Terrence W Brady: Long running tasks need a way to run in the "background"?
- Could these still be kicked off on a different JVM (or even different server)?
- Could we run two REST APIs? commandline could use a REST API which is only available from localhost (not the public one)
- Solr needs to be updated (to executable JAR version, Solr 5). Get rid of dspace-solr.
- ACTION: Start in a DSpace 7 branch in main DSpace/DSpace
- John Francis Mukulu: feedback on REST API: Pagination, translations, support for different datatypes, filters (level of detail) https://goo.gl/tPND8g
- API Versioning: brainstorm on how to deal with this sooner than later.
- ACTION: Andrea Bollini (4Science) will link John Francis Mukulu's brainstorm (Google Doc) and Terrence W Brady's (in GitHub) to the main REST API page. That way we have all this information in one place.
Overview
Content Tools