Giter VIP home page Giter VIP logo

toolbox-storage's Introduction

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.

Build of PRODUCTION Build of integration Build of 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();

toolbox-storage's People

Contributors

mgwerder 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.