| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
For the last addition of the LMI_JournalMessageLog.PositionToLastRecord()
method
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The logic of handling EOF is incompatible between journald API and
CIM_MessageLog model we use. The CIM_MessageLog.GetRecord() method
allows stepping to the next record after data retrieval but there's
no specific return code for the EOF case. And returning failure code
makes the client application think the whole data retrieval has failed
and thus throwing away the last record.
To work around this case, a new flag has been introduced to the
IterationIdentifier string, which is considered opaque to the client.
That way we return success from the GetRecord() method call and putting
a flag to the IterationIdentifier string so that any successive GetRecord()
method call properly fails without any data loss. Care is taken of the
case when a new message is logged between the GetRecord() calls.
This commit also adds the CIM_MessageLog.PositionToLastRecord() method
for convenient access to the end of the journal.
|
|
|
|
| |
Updated copyright years to include new year 2014.
|
|
|
|
|
|
| |
With the recent change of the way classes are parsed out from MOF files
(commit 6d439c392595) the keyword "class" needs to be at the very beginning
of the line otherwise it gets ignored.
|
|
|
|
|
|
|
| |
A bit of cleanup, adding "Implemented(true)" qualifiers where applicable,
adding forgotten properties used by the provider and also added and modified
description for the methods we implement. Note that only modified descriptions
have been added, the unchanged ones get inherited just fine.
|
| |
|
|
|
|
| |
Also contains simple test suite to test indications.
|
|
This is a fully functional basic implementation of the provider.
Maximum number of enumerated instances is limited, see the code.
TODO list: https://fedorahosted.org/openlmi/ticket/142
|