Online Database

The purpose of the Online Database (OLDB) is to allow SRTC components to store monitoring datapoints for access by external tools and systems. It should not be used to exchange data between SRTC components, such as Data Tasks. Use the Runtime Configuration Repository for this instead.

Note

The OLDB is currently implemented in a similar manner to the Runtime Configuration Repository as a simple file based repository. This will be replaced by a fully fledged distributed system in the future.

Data Access

The API for accessing datapoints is identical to the Runtime Configuration Repository. The only difference is that the interface class to use is the OldbApiIf, which is fetched from the Service Discovery as follows:

auto oldb = m_services.Get<OldbApiIf>();

Refer to the Data Access sub-section of Runtime Configuration Repository for details about the methods for creating, reading, writing, deleting and querying datapoints.

Supported Data Types

The same data types are supported as for the Runtime Configuration Repository. Refer to the Supported Data Types sub-section of Runtime Configuration Repository for further details.

File Format

The current OLDB implementation uses the same internal file format as the Runtime Configuration Repository, with the one difference that all datapoints land up in a single YAML file, rather than a YAML file per component. Refer to the File Format sub-section of Runtime Configuration Repository for further details.

Limitations and Known Issues

The same limitation currently apply to the OLDB repository as the Runtime Configuration Repository. Refer to the Limitations and Known Issues sub-section of Runtime Configuration Repository for further details.