Re: [Dspace-tech] Deployment of REST API
Hi Bruno, Cursos Abertos is very cool. Thank you for sharing, and I'm excited that you all are working on that. I'm not sure if there is a wiki-space for this, or if its something that you guys will end up tackling on your own. But, as you work with the REST API, as you make improvements, or run into limitations (we wish we could bulk-submit through API, or submission would be simpler if x, rate limit to login, or anything else you run into that the API is limited or is missing). That way the DSpace 6 API might be that much better. When discussing DSpace 5 with people in the past few days, I have been showing your site as an example of what can be done. Perfect timing. One thing that I would wish that we had figured out before deploying a REST API publicly, is a way to know who all is using it, and have an email address for them. That way, whenever there is an API change (version upgrade) we can contact them, or to be able to enforce acceptable use policy. Our deploys of REST API have either been publicly available, or restricted to campus network only. Peter Dietz Longsight www.longsight.com pe...@longsight.com p: 740-599-5005 x809 On Mon, Apr 13, 2015 at 3:38 PM, Bruno Zanette brunonzane...@gmail.com wrote: Oh.. I forgot to say: To do all this we are using Dspace_5's REST, because Dspace 4's REST doesn't do much of the things that DSpace 5's REST does; 2015-04-13 16:36 GMT-03:00 Bruno Zanette brunonzane...@gmail.com: Hey Terry, Me and my team are developing a VideoCourse plataform, called CursosAbertos, for our University (UFPR) totally based on DSpace REST. The design of the site is very poor because our first concern was to make everything work on the background. The site is already online, and you may access it via: http://cursosabertos.c3sl.ufpr.br/ (Ps.: It is written on Portuguese (Brazil), because we are from Brazil, and we haven't implemented US translation, sorry!!). Click on Setor de Ciências Exatas to access the disciplines (all the other sectors are empty). Under disciplines you will find the Classes (Aulas). You can access the code here: https://gitlab.c3sl.ufpr.br/cursosabertos/cursosabertos And the RubyGem that we created to talk to DSpace REST, here: https://gitlab.c3sl.ufpr.br/bnzanette/dspace-rest-client/ And the dspace used, here: http://dscursosabertos.c3sl.ufpr.br:8080/xmlui/ There are some things that still need some work to work properly, like Access Control. That's why you will find Create buttons on the page even if you may not create stuff. (Ps.: You may click it, but without a Dspace token account you won't be able to post it). Everything is working fine so far. We implemented an Item's creation/edit page, navigation thorough Comm/Coll/Item, and every single data displayed on the site comes from REST (text data). The only catch is the video itself, that we had to make a copy on other server to be able to stream it properly. The next step is to make a RubyGem to interact with SOLR to be able to do searches, and improve page's style. 2015-04-13 9:38 GMT-03:00 Mark H. Wood mw...@iupui.edu: On Fri, Apr 10, 2015 at 02:22:54PM -0700, Terry Brady wrote: We are running DSpace 4, and we are beginning to take advantage of the REST API. Before we make the REST service available on our production instance, I am curious to hear how other institutions have configured access to the API. Have you deployed the API with access to any client, or do you restrict access to specific hosts/clients? Here we're currently using a RemoteAddrValve to restrict it to internal use. That's just me being conservative: I had one use for it and opened up access only to the hosts which make that one use. -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu -- BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Bruno Nocera Zanette +55 41 9992-2508 -- Bruno Nocera Zanette +55 41 9992-2508 -- BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance
Re: [Dspace-tech] Deployment of REST API
Oh.. I forgot to say: To do all this we are using Dspace_5's REST, because Dspace 4's REST doesn't do much of the things that DSpace 5's REST does; 2015-04-13 16:36 GMT-03:00 Bruno Zanette brunonzane...@gmail.com: Hey Terry, Me and my team are developing a VideoCourse plataform, called CursosAbertos, for our University (UFPR) totally based on DSpace REST. The design of the site is very poor because our first concern was to make everything work on the background. The site is already online, and you may access it via: http://cursosabertos.c3sl.ufpr.br/ (Ps.: It is written on Portuguese (Brazil), because we are from Brazil, and we haven't implemented US translation, sorry!!). Click on Setor de Ciências Exatas to access the disciplines (all the other sectors are empty). Under disciplines you will find the Classes (Aulas). You can access the code here: https://gitlab.c3sl.ufpr.br/cursosabertos/cursosabertos And the RubyGem that we created to talk to DSpace REST, here: https://gitlab.c3sl.ufpr.br/bnzanette/dspace-rest-client/ And the dspace used, here: http://dscursosabertos.c3sl.ufpr.br:8080/xmlui/ There are some things that still need some work to work properly, like Access Control. That's why you will find Create buttons on the page even if you may not create stuff. (Ps.: You may click it, but without a Dspace token account you won't be able to post it). Everything is working fine so far. We implemented an Item's creation/edit page, navigation thorough Comm/Coll/Item, and every single data displayed on the site comes from REST (text data). The only catch is the video itself, that we had to make a copy on other server to be able to stream it properly. The next step is to make a RubyGem to interact with SOLR to be able to do searches, and improve page's style. 2015-04-13 9:38 GMT-03:00 Mark H. Wood mw...@iupui.edu: On Fri, Apr 10, 2015 at 02:22:54PM -0700, Terry Brady wrote: We are running DSpace 4, and we are beginning to take advantage of the REST API. Before we make the REST service available on our production instance, I am curious to hear how other institutions have configured access to the API. Have you deployed the API with access to any client, or do you restrict access to specific hosts/clients? Here we're currently using a RemoteAddrValve to restrict it to internal use. That's just me being conservative: I had one use for it and opened up access only to the hosts which make that one use. -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu -- BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Bruno Nocera Zanette +55 41 9992-2508 -- Bruno Nocera Zanette +55 41 9992-2508 -- BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Deployment of REST API
Hey Terry, Me and my team are developing a VideoCourse plataform, called CursosAbertos, for our University (UFPR) totally based on DSpace REST. The design of the site is very poor because our first concern was to make everything work on the background. The site is already online, and you may access it via: http://cursosabertos.c3sl.ufpr.br/ (Ps.: It is written on Portuguese (Brazil), because we are from Brazil, and we haven't implemented US translation, sorry!!). Click on Setor de Ciências Exatas to access the disciplines (all the other sectors are empty). Under disciplines you will find the Classes (Aulas). You can access the code here: https://gitlab.c3sl.ufpr.br/cursosabertos/cursosabertos And the RubyGem that we created to talk to DSpace REST, here: https://gitlab.c3sl.ufpr.br/bnzanette/dspace-rest-client/ And the dspace used, here: http://dscursosabertos.c3sl.ufpr.br:8080/xmlui/ There are some things that still need some work to work properly, like Access Control. That's why you will find Create buttons on the page even if you may not create stuff. (Ps.: You may click it, but without a Dspace token account you won't be able to post it). Everything is working fine so far. We implemented an Item's creation/edit page, navigation thorough Comm/Coll/Item, and every single data displayed on the site comes from REST (text data). The only catch is the video itself, that we had to make a copy on other server to be able to stream it properly. The next step is to make a RubyGem to interact with SOLR to be able to do searches, and improve page's style. 2015-04-13 9:38 GMT-03:00 Mark H. Wood mw...@iupui.edu: On Fri, Apr 10, 2015 at 02:22:54PM -0700, Terry Brady wrote: We are running DSpace 4, and we are beginning to take advantage of the REST API. Before we make the REST service available on our production instance, I am curious to hear how other institutions have configured access to the API. Have you deployed the API with access to any client, or do you restrict access to specific hosts/clients? Here we're currently using a RemoteAddrValve to restrict it to internal use. That's just me being conservative: I had one use for it and opened up access only to the hosts which make that one use. -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu -- BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Bruno Nocera Zanette +55 41 9992-2508 -- BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette