[gradebook2-dev] Using gradebook2 outside

Thomas Amsler tpamsler at ucdavis.edu
Fri Jul 1 13:22:49 PDT 2011


I think the scripting/selenium approach will work for some use-cases but we
really need to consider the component manager approach where folks need
gradebook2 "service/dao" API access. The selenium approach gives you access
to the REST API(s) so to speek, but in most cases that's not enough.

Best,
-- Thomas

On Thu, Jun 30, 2011 at 8:06 PM, John Bush <john.bush at rsmart.com> wrote:

> yeah we are sorta taking this approach.  Today we created a selenium script
> which calls into all the sites we need exported.  Windriver in selenium 2 is
> very cool, hadn't used that before but works well with gwt once you
> understand how to switch frames (that took me a bit).
>
> For this particular client, grades go into files, but we are considering
> just creating some audit tables which log every export with a date/version
> type of thing.  Going forward that should resolve our issues I think.
>
>
> On Thu, Jun 30, 2011 at 7:58 PM, Jon Gorrono <jpgorrono at ucdavis.edu>wrote:
>
>> This message starts at a tangent to the original topic
>>
>> John, we routinely (more like periodically) export site gradebooks en
>> masse using gb2... with a little loosening of the security and a client that
>> can send off rest calls, all the grades can be exported into the db
>>
>> I won't be around tomorrow, so maybe Thomas can hopefully help get you get
>> started with a setup:
>>
>> selenium libraries client side with a list of sites to export... can be
>> run in eclipse or command line
>> needs a browser, we could do a curl or wget version
>> we change the property name for the final grade (code mode) generated in
>> order to avoid colliding with good data (gb_action_record_properties_t or
>> something like that)
>> prob (understatement) best to make copy of the db will to avoid adding
>> unwanted data to the db during export and to use a separate node to separate
>> load from prod
>> some other minor code mod's are necessary, but we've got patches (like
>> siteid-gbid assumptions, there's no site with a rest call direct to the
>> servlet)
>>
>>
>>
>> On Thu, Jun 30, 2011 at 7:53 AM, John Bush <john.bush at rsmart.com> wrote:
>>
>>> ug, I have the same need.  We need to run through all the sites in a term
>>> and export final grades, I thought I was going to be able to write a quartz
>>> job to do that, but realizing what you just said that won't be possible will
>>> it.  The name Gradebook2ComponentServiceImpl threw me cause its not a
>>> component or a service in the normal sakai sense anyway.
>>>
>>> Exposing this in a component module might take some refactoring, there
>>> are a bunch of org.sakaiproject.gradebook.gwt.client packages in there, it
>>> doesn't look like a clean separation to me.  I'm at a loss here as well, I
>>> need something very quickly done, and this is looking like a much bigger
>>> engagement all of a sudden.
>>>
>>> On Thu, Jun 30, 2011 at 6:07 AM, <juanarcadio at um.es> wrote:
>>>
>>>> **
>>>> Hi,
>>>>
>>>>     This is Juan Arcadio, from the University of Murcia (Spain), we are
>>>> running Sakai 2.7.1 in limited production pilot  with Gradebook2 1.3.0 from
>>>> September 2010, (we had translated this version of GB2 to Spanish), as soon
>>>> as possible we will migrate to Sakai 2.8.0 with GB2 1.5.0
>>>>
>>>>     We are developing some custom tools that use gradebook, and we have
>>>> had some communication problems with gradebook:
>>>>
>>>>    - Writing in gradebook: We cant do it when users have never acceded
>>>>    gradebook2 in that site, more info in:
>>>>    https://jira.sakaiproject.org/browse/GRBK-1059
>>>>
>>>>     - Reading from gradebook: Gradebook2 includes new features that
>>>>    can't be acceded using gradebook-service from indie. The API of Gradebook2
>>>>    is not avilable outside the tool, Gradebook2 doesn't deploy any
>>>>    items in components and therefore the API can not be used from other
>>>>    tools in Sakai. We could try to expose the internal API with a
>>>>    component module.
>>>>
>>>> Any suggestions? Anyone has face the same needs?
>>>>
>>>> Best wishes,
>>>> Juan Arcadio.
>>>> --
>>>>
>>>> _______________________________________________
>>>> gradebook2-dev mailing list
>>>> gradebook2-dev at collab.sakaiproject.org
>>>> http://collab.sakaiproject.org/mailman/listinfo/gradebook2-dev
>>>>
>>>>
>>>
>>>
>>> --
>>> John Bush
>>> 602-490-0470" value="+16024900470" target="_blank">602-490-0470 <<span
>>> id=>
>>>
>>> _______________________________________________
>>> gradebook2-dev mailing list
>>> gradebook2-dev at collab.sakaiproject.org
>>> http://collab.sakaiproject.org/mailman/listinfo/gradebook2-dev
>>>
>>>
>>
>>
>> --
>> Jon Gorrono
>> PGP Key: 0x5434509D - http{
>> pgp.mit.edu:11371/pks/lookup?search=0x5434509D&op=index}
>> GSWoT Introducer - {GSWoT:US75 5434509D Jon P. Gorrono <jpgorrono -
>> gswot.org>}
>> http{sysdev.ucdavis.edu}
>>
>>
>
>
> --
> John Bush
> 602-490-0470
>
> _______________________________________________
> gradebook2-dev mailing list
> gradebook2-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/gradebook2-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/gradebook2-dev/attachments/20110701/b5a47a42/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 79206 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/gradebook2-dev/attachments/20110701/b5a47a42/attachment-0001.jpe 


More information about the gradebook2-dev mailing list