Use The Experience API as a reference to create a general API for registering learning activity statements. Use http://tincanapi.com/overview/ as a starting point (as the reference)
API should support at least the ability to register and unregister an activity statement. There will have to be some flexibility (probably represented by a map) to be future friendly and to account for the somewhat loose nature of the API.
As a nice to have, it could also support retrieval from the LRS but this is not a primary concern.
The API portion should also include a reference implementation which delegates to the various LRS implementations and controls the configuration.
Initially the integration configuration will support the following (configured though the standard Sakai config mechanism):
A) on/off switch (to disable the tracking entirely, off by default)
B) Configuration filter to limit the activities that are tracked (by tool), allows exclusive filtering of LRS activities by a list of tool-id (Sakai tool identifier)