OGEMA backup parser
Tools for analysing resource graph dumps and log data from OGEMA gateways
Overview
This repository contains two bundles providing the parsing functionality, and two simple visualization apps:
backup-parser
: the low-level parsing API. Pass a file or folder, and it returns the stored resource graph representation.backup-gateway-analysis
: the slightly more high-level parsing API. Parses a folder for subfolders containing gateway data: zip files of resource graph dumps and the SlotsDb/FendoDb log data foldersmemory-gateway-visualisation
: visualisation forbackup-parser
.backup-gateway-viz
: visualisation forbackup-gateway-analysis
.
The collective Maven group id is org.smartrplace.analysis, the artifact id is the project name.
Dependencies
- OGEMA: bundles
org.ogema.core:api
,org.ogema.core:models
,org.ogema.ref-impl:util
(version >= 2.1.3) - FendoDB (optional at runtime; required to parse log data)
- OGEMA and OGEMA widgets (for visualisation apps only)
Configuration
Set the base path for gateway data via the system or framework property org.smartrplace.analysis.backup.parser.basepath
. Default is ogemaCollect/rest.
Build
Prerequisites: git, Java and Maven installed; FendoDB API bundle available (checkout and build https://github.com/smartrplace/fendodb)
- Clone this repository
- In a shell, navigate to the base folder and execute
mvn clean install