[Building Sakai] resources entity Broker development

Matthew Hall webmaster at haweb.org
Mon Jan 23 14:31:21 PST 2012


I have attached our current Resources provider implementation. It is a work in progress, but this represents the latest "stable" code. Take a look at the text file in the archive for the needed Spring bean registration. Currently, the provider returns a listing of the content in Resources and must be called for a specific site as follows: /direct/resource/context/<siteid>.{xml,json,jsonp}

Please let me know if you have any questions or problems.

Cheers,
Matthew


From: Adam Marshall [mailto:adam.marshall at oucs.ox.ac.uk]
Sent: Wednesday, January 11, 2012 12:27 PM
To: Matthew Hall
Cc: sakai-dev at collab.sakaiproject.org; oit-atg at virginia.edu
Subject: RE: resources entity Broker development

Yes please we would love to share. I know Marc has built some code from bits and pieces of other people work that is now kind of working but you stuff could also be useful.

adam

From: Matthew Hall [mailto:webmaster at haweb.org]
Sent: 11 January 2012 17:14
To: Adam Marshall
Cc: sakai-dev at collab.sakaiproject.org; oit-atg at virginia.edu
Subject: RE: resources entity Broker development


Hi Adam,



At UVA, we have a Resources entity provider that produces a hierarchical nested representation of the Resources content for a single site. Specifically, its output resembles the following XML. The primary limitation of our provider is that it is read-only; there is currently no way of uploading or manipulating content using our provider, although that functionality is in active development.



Our provider was loosely based on some of the logic in IU's provider (Sakai JIRA SAK-20698) but is otherwise a separate project. I am not familiar with the work in SAK-21211 nor with Citations. We would be glad to talk about sharing our provider code if it looks like it would be of use.



Matthew

University of Virginia





<resource_collection>

                <resource>

                                <children>

                                                <resource>

                                                                <children> ... </children>

                                                                <copyright> ... </copyright>

                                                                .

                                                                .

                                                                .

                                                </resource>

                                                <resource> ... </resource>

                                                .

                                                .

                                                .

                                </children>

                                <copyright> ... </copyright>

                                <creationDate> ... </creationDate>

                                <creator> ... </creator>

                                <id> /group/... </id>

                                <modifiedBy> ... </modifedBy>

                                <modifiedDate> ... </modifiedDate>

                                <name> ... </name>

                                <site> ... </site>

                                <size> ... </size>

                                <type> ... </type>

                                <url> ... </url>

                </resource>

                <resource> ... </resource>

                <resource> ... </resource>

                .

                .

                .

</resource_collection>



> -----Original Message-----

> From: sakai-dev-bounces at collab.sakaiproject.org [mailto:sakai-dev-

 > bounces at collab.sakaiproject.org] On Behalf Of Adam Marshall

> Sent: Tuesday, January 03, 2012 11:17 AM

> To: dev sakai

> Subject: [Building Sakai] resources entity Broker development

>

> We are just about to embark on a Resources Entity Broker API (incl.

> Citations) and I just wanted to check that we know about all previous work.

>

> I see

>

> https://jira.sakaiproject.org/browse/SAK-21211

>

> https://jira.sakaiproject.org/browse/SAK-20698

>

> https://jira.sakaiproject.org/browse/SAK-15196 - citations

>

> Q1 - are there any other related Jiras?

>

> Q2 - has anybody done any work not included above / not committed?

>

> Adam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20120123/4b1cd85b/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ResourceEntityProvider.zip
Type: application/x-zip-compressed
Size: 3052 bytes
Desc: ResourceEntityProvider.zip
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20120123/4b1cd85b/attachment.bin 


More information about the sakai-dev mailing list