toolbox-storage

The storage module of the GEIGER toolbox

Лицензия

Лицензия

Группа

Группа

eu.cyber-geiger
Идентификатор

Идентификатор

toolbox-storage
Последняя версия

Последняя версия

0.2.0
Дата

Дата

Тип

Тип

pom.sha512
Описание

Описание

toolbox-storage
The storage module of the GEIGER toolbox
Ссылка на сайт

Ссылка на сайт

https://github.com/cyber-geiger/toolbox-storage
Система контроля версий

Система контроля версий

http://github.com/cyber-geiger/toolbox-storage/

Скачать toolbox-storage

Зависимости

compile (4)

Идентификатор библиотеки Тип Версия
com.puppycrawl.tools : checkstyle jar 8.38
org.apache.logging.log4j : log4j-core jar 2.12.1
org.apache.logging.log4j : log4j-api jar 2.12.1
org.apache.logging.log4j : log4j-jul jar 2.12.1

runtime (2)

Идентификатор библиотеки Тип Версия
com.h2database : h2 jar 1.4.200
info.picocli : picocli jar 4.5.2

Модули Проекта

Данный проект не имеет модулей.

GEIGER local Storage implementation

This repository contains the implementation for the local storage used in the GEIGER project.

Structure

The code is structured in multiple packages.

localStorage contains interfaces used in all subpackages

localStorage.DB contains files for database interactions

localStorage.DB.mapper contains database mappers to translate functions into backends (e.g., SQL)

Build

This is a simple maven project and thus supports the common maven operations. For building the following commands can be used:

  • ./gradlew clean test jar

Installation

As this is part of a bigger project there is no particular installation process.

GEIGER Project

The GEIGER project aims to create a solution for small businesses to protect themselves against cyber threats by constructing an application that calculates a threat score of the current device.

More information can be found under https://project.cyber-geiger.eu/

Get binaries

Precompiled binaries of the latest PRODUCTION build are available here.

Precompiled binaries of the latest integration build are available here.

Stage Build status
PROD: PRODUCTION
integration: integration
development: devlopment

Quick start

Create an ephemeral storage with a controller for testing puposes

StorageController controller = new GenericController("theOwner",new DummyMapper());

Create a persistent storage with a controller

torageController controller = new GenericController("theOwner",new H2SqlMapper("jdbc:h2:./dbFileName;AUTO_SERVER=TRUE", "user", "Password"));

Create a dummy plugin for GEIGER values to be provided

// create a new storage for testing
StorageController controller = new GenericController("theOwner",new DummyMapper());
// create a dummy feeder for values
DummyStorageFeeder cysec = new DummyStorageFeeder(controller);
// start providing values to the database in a continuous way
cysec.startFeeder();
// do whatever you want to do here
// ...
// stop feeding values
cysec.stopFeeder();
eu.cyber-geiger

Cyber-GEIGER.eu

Версии библиотеки

Версия
0.2.0