This repository contains services related to verification of learning analytics data, as well as privacy and consent management.
The LA Verification Service is a las2peer Service which enables consent management and verification for LA data.
In order to use the full functionality of the service, it has to be bootstrapped to a las2peer network that has the following services deployed:
- MoodleDataProxy that is connected to an instance of the Moodle Learning Management System (LMS)
- LearningLockerService connected to a Learning Record Store (LRS)
- MobSOSDataProcessingService to enable the transmission of xAPI-statements from Moodle to the LRS
- SocialBotManagerService is required to enable the communication with a chatbot
Execute the following command on your shell:
ant jar
To start the la-verification-service, follow the Starting-A-las2peer-Network tutorial and bootstrap your service to a mobsos-data-processing service.
Before the service can be properly used it needs to be initialized. During the initialization, the required smart contracts will be loaded, and messages for the bot communication, and pre-defined consentLevels will be read from property files. To initialize the service, send a POST request to the following path:
POST <service-address>/verification/init
First build the image:
docker build . -t la-verification-service
Then you can run the image like this:
docker run -p port:9011 la-verification-service
Set las2peer node launcher options with these variables.
Variable | Default | Description |
---|---|---|
LAS2PEER_BOOTSTRAP | unset | Set the --bootstrap option to bootstrap with existing nodes. The container will wait for any bootstrap node to be available before continuing. |
LAS2PEER_CONFIG_ENDPOINT | unset | Set variable to configure the endpoint from which to load blockchain configuration parameters. |
LAS2PEER_ETH_HOST | unset | Set variable to configure which Ethereum host to use to access the Ethereum blockchain. |