SAKAI

UMUSYNC TOOL


Sites sync tool: Set up

Adding the tool to Administration Workspace Site

To add umusync tool to the Administration Workspace Site, you should do:

  1. Access to Sites tool in Administration Workspace Site.
  2. Click on site with id: !admin.
  3. Press the button Pages.
  4. Click in upper menu, on New Page option.
  5. Specify the page title, type Sites sync or Umusync.
  6. Press Tools button.
  7. Click in upper menu, on New Tool option.
  8. Choose Sincronización de sitios (sakai.umusync)
  9. Press Save button.

Afeter that, the tool can be used from Administration Workspace Site.

Database configuration

Umusync tool uses the default database define in sakai.properties. To change database configuration you should edit the properties of JPA persistence file:

/sync/dao/src/main/resources/META-INF/umusync-persistence.xml

And change de property dataSource in the Spring beans umusync-transactionManager and umusync-entityManagerFactory defined in the file:

/sync/pack/src/webapp/WEB-INF/db-umusync.xml

Profiles

In umusync-indie project there are defined two profiles: sakai2.7.1 (by default) and sakai2.8.0. The activation of one profile set the properties of the numbers of version appropriate to Sakai version. If our configuration of Sakai uses other versions different of the includes in default tag version, we should create a custom profile to deploy.

To create a custom profile we have to create it in base POM of the five umusync-indie modules: jobs, jsf, kernel, sync and tests. The profile contains the versions and the property profileName, this property is used to deploy. After that we can compile activating the profile defined.

In umusync-deploy project we should set the value of property umu.sakai-indie.classifier with the value of profileName specified in umusync-indie project.

sakai.properties

This tool uses the property umusync.ignore.functions. In a synchronization task we can choose ignore functions from sakai.properties. This option allows copy all the permissions from template realm, excepts those that are in this property. The default value is the permissions that could be changed by an user with site.upd permission.

umusync.ignore.functions=annc.all.groups,annc.delete.any,annc.delete.own,annc.new,annc.read,annc.read.drafts,annc.revise.any,annc.revise.own,asn.all.groups,asn.delete,asn.grade,asn.new,asn.read,asn.receive.notifications,asn.revise,asn.share.drafts,asn.submit,calendar.all.groups,calendar.delete.any,calendar.delete.own,calendar.import,calendar.new,calendar.read,calendar.revise.any,calendar.revise.own,calendar.subscribe,chat.delete.any,chat.delete.channel,chat.delete.own,chat.new,chat.new.channel,chat.read,chat.revise.channel,content.all.groups,content.delete.any,content.delete.own,content.hidden,content.new,content.read,content.revise.any,content.revise.own,poll.add,poll.deleteAny,poll.deleteOwn,poll.editAny,poll.editOwn,poll.vote,rwiki.admin,rwiki.create,rwiki.read,rwiki.superadmin,rwiki.update

Skin patching

With this patch over default skin of Sakai, you can include the tool icon:

The umusync-icon.patch must be applied over /reference/library