-
Notifications
You must be signed in to change notification settings - Fork 3
Documentation
Nicolas Himmelmann edited this page Jul 29, 2018
·
13 revisions
[TODO NICO] Ich glaube, die Grafik müssen wir in zweierlei Hinsicht anpassen: (Könntest du mir eine editierbare Version der Grafik schicken?) 1.) "Aware" ersetzen durch etwas generischeres wie "Context Provider" 2.) Der neue zentrale K/V-Store muss rein. Im zuge dessen, würde es sinn machen das mit dem Block "Configuration File" zusammen zu legen?
The general architecture of vStore and its interfaces can be seem in the above figure. The main components of the framework are:
- Context aggregator:
- Rules:
- Matching engine:
To make it all work, you need the following things besides an instance of the framework:
- Configuration:
- Storage nodes:
- Context providers:
Interfaces (Hier die interfaces nach außen beschreiben. Für context, store/get und die API zu den Storage Nodes)
-
BASE_DIRECTORY_DOES_NOT_EXIST
- The working directory given as parameter to the framework does not exist.
-
COPYING_INTO_FRAMEWORK_FAILED
- Copying the given file into the framework directory failed.
-
URI_SCHEME_NOT_SUPPORTED
- The given URI has a scheme which is not supported.
-
FILE_ALREADY_EXISTS
- The file to be stored already exists.
-
PARAMETERS_MUST_NOT_BE_NULL
- The parameters of the method which returned this error must not be null or empty.
-
USAGE_CONTEXT_MUST_NOT_BE_NULL
- The given usage context must not be null.
-
REQUEST_NOT_STARTED
- A network request could not be started.
-
DB_LOCAL_ERROR
- An error occurred while using the local sqlite database.
-
CONFIG_CONNECTION_FAILED
- While downloading the configuration, a connection error occurred.
-
CONFIG_DOWNLOAD_FAILED
- The download of the configuration file has failed.
-
CONFIG_PARSE_ERROR
- Parsing of the configuration json string has failed.
-
FILE_NOT_FOUND
- The given file cannot be found. Maybe the path is wrong.
-
MASTERNODE_WRONG_RESPONSE
- The master node sent a wrong response.