Open kragall opened 2 years ago
Thank you for raising this! Could you please state the additional fields you need? A solution could indeed add additional fields to LogMessage
, or create a complete new class LogEntry
, if required. The first option is preferable, if no additional logic should be applied.
The meta-data fields we store currently are:
Task:
1) Create new class LogEntry
that holds the given metadata fields, and
2) Link from LogEntry
to the existing LogMessage
class via a new property.
Updated requirements (as given by @kragall ):
To store
data
in the Clearing House a Connector creates aLogMessage
and sends it together withdata
as the payload to the Clearing House. The Clearing House stores thisLogMessage
together with meta-data, such as a timestamp when it stored the data or theid
under whichdata
can be retrieved. This is illustrated here:The
LogEntry
contains bothLogMessage
and meta-data.Currently, when a Connector wants to retrieve
data
from the Clearing House it can query for it, and it will receive the storedLogMessage
. The meta-data that is part of theLogEntry
is not returned to the Connector. For various reasons it is desirable for the Connector to access the meta-data.Would it be possible to add something like
LogEntry
to the Information Model? Or is there another solution howLogMessage
and additional meta-data may be grouped together in a way that a receiving connector can process without additional logic?