Skip to Content.
Sympa Menu

grouper-dev - [grouper-dev] Custom Grouper Loader

Subject: Grouper Developers Forum

List archive

[grouper-dev] Custom Grouper Loader


Chronological Thread 
  • From: Gagné Sébastien <>
  • To: <>
  • Cc: <>
  • Subject: [grouper-dev] Custom Grouper Loader
  • Date: Tue, 3 Jul 2012 10:00:54 -0400

Hello Chris,

I’m designing our own custom loader for our academic source and I see that I’ll be redoing some parts that are already in the LDAP loader. This gave me the idea that maybe a third type of loader could be included in Grouper : a custom Grouper loader.

 

Basically it would be an empty shell where you would plug in your own custom class that does the work. The loader shell  would take care of scheduling the job and checking if it’s still enabled, but would have no business logic other than calling your custom process, the class call could be specified like the Grouper Name _expression_, e.g. ${customProcess.loadAcademic()}

 

This could probably applied to other scheduled processes and could become a way to schedule various tasks in Grouper and not only “loader” type of tasks.

 

I’m not sure about if there’s a lot of added value and how much work is required to add it, but maybe some others might like to have an easy way to include custom processes in Grouper. If you find it a good idea I could do the code and contribute it for the next version (2.1.2 ?).

 

 

Sébastien Gagné,     | Analyste en informatique

514-343-6111 x33844  | Université de Montréal,

                     | Pavillon Roger-Gaudry, local X-100-11

 




Archive powered by MHonArc 2.6.16.

Top of Page