...
Following is the high level component diagram of OpenRAP 2.0
...
SDK
Following are SDK's built into the container.
...
- Does encryption needs to be part of container or plugin
...
Database Schema
Registry
Code Block | ||
---|---|---|
| ||
{
document: {
"_id": String, // Plugin Id
"config": {} // Plugin config
},
index: []
} |
Settings
Code Block | ||
---|---|---|
| ||
{ document: { "_id": String, // Setting id "value": Object // Setting value }, index: {}[] } |
Telemetry
A document database is created for each plugin telemetry storage - <plugin_id>_telemetry
Code Block | ||
---|---|---|
| ||
{ document: { "_id": String, // mid of the event "event": {} // event }, index: {}[] } |
TelemetryPackets
Code Block | ||
---|---|---|
| ||
{ document: { "_id": String, // packet id "pluginId": String, // Plugin id the packet belongs to "status": String, // status of the packet. Synced/NotSynced "createdOn": Date, // Date of packet creation "updatedOn": Date, // Date when the document is updated "size": Number, // Size of the events in the packet "events": [] // events }, index: [pluginId, status, updatedOn] } |
...