Skip to content

rwth-acis/learning-analytics-verification

Repository files navigation

Verification of learning analytics data

This repository contains services related to verification of learning analytics data, as well as privacy and consent management.

Learning Analytics Verification Service

The LA Verification Service is a las2peer Service which enables consent management and verification for LA data.

Configuration

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:

Build

Execute the following command on your shell:

ant jar

Start

To start the la-verification-service, follow the Starting-A-las2peer-Network tutorial and bootstrap your service to a mobsos-data-processing service.

Initialization

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

How to run using Docker

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

Node Launcher Variables

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.