Larissa LRS is a free-to-use LRS implementation in progress. Its aim is to provide a free-to-use locally deployable LRS that scales well beyond the ADL Reference Implementation. The target specification is at https://github.com/adlnet/xAPI-Spec/blob/1.0.1/xAPI.md.
- JDK 7+
- Maven 3.0.4+
- Tomcat 6.x/7.x (other containers may work)
- CouchDB 1.5.0+ (earlier versions probably will work, but testing with 1.5.0)
- Run
mvn package
from the root of this folder.
You may run an integration-test if you have a CouchDB running
at port 5984 (default CouchDB port). You do this by running the command
mvn verify
from the root of this folder.
Note that the commonly used command mvn install
also runs the 'verify'
phase. Therefore, use mvn package
if you do not want this to happen.
-
Copy target/larissa-<version>.war to <Tomcat>/webapps/larissa.war.
-
Add users with role 'user', e.g.
<role rolename="user"/>
<user username="larissa" password="lrstester" roles="user"/>
to <Tomcat>/conf/Tomcat-users.xml.
- First start CouchDB and then start Tomcat.
Configurable properties are in WEB-INF/lrs.conf.
The location of the properties file is determined by the value of the context-parameter lrs.config, relative to location of the webapp folder.
Note that you cannot currently configure credentials to connect to CouchDB. This probably makes it a bad idea to connect to a non-localhost instance!
- no OAUth support yet
- X-Experience-API-Version header is ignored
- no support for attachments
- a filtered query using parameter agent or activity will not return referring statements (StatementRef)
- agent query-parameter only accept Agents, not Groups
- format=ids queries only work when using filter-parameters (e.g. not statementId)
- format=canonical queries do not work
- not there yet
- not there yet