summaryrefslogtreecommitdiffstats
path: root/mof/60_LMI_Journald.mof
Commit message (Collapse)AuthorAgeFilesLines
* journald: Bump LMI_JournalMessageLog MOF versionTomas Bzatek2014-04-181-1/+1
| | | | | For the last addition of the LMI_JournalMessageLog.PositionToLastRecord() method
* journald: Properly handle journal EOFTomas Bzatek2014-04-181-0/+18
| | | | | | | | | | | | | | | | | | | 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 yearsPeter Schiffer2014-01-161-1/+1
| | | | Updated copyright years to include new year 2014.
* journald: Alter the MOF file for proper class parseoutTomas Bzatek2013-10-291-1/+1
| | | | | | 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.
* journald: Tweak and cleanup the MOF fileTomas Bzatek2013-10-251-12/+168
| | | | | | | 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.
* journald: Bump revision to 0.4.0 for the upcoming releaseTomas Bzatek2013-10-151-4/+4
|
* journald: Add indicationsTomas Bzatek2013-10-151-0/+6
| | | | Also contains simple test suite to test indications.
* journald: Basic provider implementationTomas Bzatek2013-10-151-0/+64
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