Giter Club home page Giter Club logo

xapi-toolkit's Introduction

xapi_toolkit

Datengenerierungs- und auswertungsanwendung für xAPI-Kommunikation

Konfiguration

Die BasicAuth-Zugangsdaten müssen mit den Umgebungsvariablen XAPITOOLS_SEC_USERNAME und XAPITOOLS_SEC_PASSWORD gesetzt werden.

Weiterhin wird ein Zwischenspeicher für die Simulationsergebnisse benötigt. Dieser wird über die Variable XAPITOOLS_SIM_STORAGE_DIR gewählt.

Die Verbindungsparameter für DATASIM werden mit den Umgebungsvariablen XAPITOOLS_SIM_BACKEND_BASE_URL, XAPITOOLS_SIM_BACKEND_USERNAME und XAPITOOLS_SIM_BACKEND_PASSWORD festgelegt.

Über die Umgebungsvariable XAPITOOLS_VIZ_SERVER_BASE_URL kann die Verbindung zum DAVE-Framework parametrisiert werden.

Der Zugriff auf dieses erfolgt unter Verwendung der Browserzugriffeengine Selenium.

Im produktiven Betrieb der Anwendung wird zur Verwaltung der laufenden Selenium-Sessions die Software Selenium Grid eingesetzt.

Die Verbindung zu diesem Programm kann mit der Umgebungsvariable XAPITOOLS_VIZ_SELENIUM_HUB_URL parametrisiert werden.

Im produktiven Einsatz müssen die Variablen XAPITOOLS_DB_CONNECTION_STRING, XAPITOOLS_DB_CONNECTION_USER und XAPITOOLS_DB_CONNECTION_PASSWORD mit Zugangsdaten für eine relationale Datenbank wie MariaDB gefüllt werden. Ein Beispiel hierzu findet sich in der Compose-Datei.

Da eine MongoDB zur Speicherung von Analysen und Visualisierungsdashboard vorgesehen ist, muss die nötige Datenbankverbindung mithilfe der Variablen XAPITOOLS_MONGO_CONNECTION_STRING festgelegt werden.

Da die Anwendung in Docker läuft, weiß sie nichts über die Systemzeitzone. Deshalb kann die Standardzeitzone Etc/UTC mit der Umgebungsvariable TZ überschrieben werden.

Hinweise zur Datensicherheit

Die Verbindungsdaten für LRS werden unverschlüsselt gespeichert.

CI/CD

Docker-Images können mit dem Target spring-boot:build-image gebaut und mit der Property -Ddocker.publish=true hochgeladen werden. Dafür ist Zugriff auf den Docker-Daemon nötig, sowie folgende Umgebungsvariablen:

Variable Bedeutung
REGISTRY_UPLOAD_HOST Registry für Upload des Docker-Images, ggf. mit Port
REGISTRY_UPLOAD_USER Nutzername für Push des Docker-Images
REGISTRY_UPLOAD_PASSWORD Passwort für Push des Docker-Images

Developers and Administrators

Remember to make dev your default application profile while developing. Like that, automatic seeding will happen.

In the Docker Image, the prod profile is active by default.

Tests can activate the test profile as they wish.

You can build the Javadoc of this project by executing the Maven Goal javadoc:javadoc, for example by calling ./mvnw javadoc:javadoc.

External Credits

This Application uses third party content:

xapi-toolkit's People

Contributors

galaxy102 avatar ylvion avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.