summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* added cmake option to build software-dbusMichal Minar2014-06-102-1/+7
| | | | It defaults to off - python implementation is preferred.
* support older versions of PackageKit apiMichal Minar2014-06-101-12/+36
| | | | | | | | Functions like: pk_details_get_package_id pk_details_get_description are available since version 0.8.12. In RHEL7 we have 0.8.9. Let's avoid using them.
* New provider: LocaleVitezslav Crhonek2014-06-0412-1/+1269
|
* journald: Add WQL query example to the docsTomas Bzatek2014-05-271-0/+20
| | | | ...to demonstrate flexibility and filtering basics.
* journald: Update the spec file for new static indication filtersTomas Bzatek2014-05-261-1/+20
|
* journald: Add indication and filtering docs examplesTomas Bzatek2014-05-261-3/+128
|
* journald: Add static indication filtersTomas Bzatek2014-05-262-1/+70
| | | | | This commit brings three basic static indication filters that should make user's life easier. Also serves as an example.
* software: Docs typoTomas Bzatek2014-05-261-1/+1
|
* journald: Enhance indication tests for UID/GID/PID matchingTomas Bzatek2014-05-261-3/+11
|
* journald: Fix instance number limiterTomas Bzatek2014-05-261-1/+1
| | | | Off-by-one.
* journald: Expose UID, GID, PID and syslog facility/severity fieldsTomas Bzatek2014-05-262-34/+128
| | | | This is useful e.g. for indication filtering.
* konkretcmpi-python is need to build docSachidananda Urs2014-05-261-0/+1
| | | | | Author: Sachidananda Urs <sacchi@gmail.com> Submitted By: Radek Novacek <rnovacek@redhat.com>
* Fix error in PackedSequenceAlois Mahdal2014-05-221-2/+33
| | | | | PackedSequence failed to normalize properly sequences like "1a,0b,1a", which it returned as "a,a" instead of "2a"
* Add AccountIndicationTestDriver, application of indication testing framework.Alois Mahdal2014-05-221-0/+38
|
* Add indication testing frameworkAlois Mahdal2014-05-221-0/+411
| | | | | | | | | A small test framework for testing LMI Indications. Oriented on data-driven testing approach and capable of "provoking" events and tracking relevant indications. Classes should be extended on provider-level to include provider- -specific actions and knowledge.
* Add BaseTestDriver base classAlois Mahdal2014-05-221-0/+119
| | | | This will be used for indication test cases
* software: proper logging setup for python 2.6Michal Minar2014-05-222-59/+48
| | | | Properly configure logging of YumWorker process under older python.
* test lmi: use only one connection for test-casePeter Hatina2014-05-211-3/+5
| | | | Use the same pattern in LmiTestCase.conn as CIMTestCase.wbemconnection. This saves the time and network bandwidth and also prepares test suite for lmiwbem module, where we could potentially run out of file descriptors range.
* spec: allow to change interop namespace for tog-pegasusRadek Novacek2014-05-211-31/+44
|
* hardware: replace subprocess.check_output with PopenRadek Novacek2014-05-191-1/+2
| | | | | There is no check_output function in subprocess module in python 2.6, Popen will be used instead.
* Test: get rid of 'import unittest'Radek Novacek2014-05-197-7/+5
| | | | | Always use 'from lmi.test import unittest' instead of plain 'import unittest', because it automagically imports unittest2 on python 2.6.
* PEP8, Flake8, readability improvementsAlois Mahdal2014-05-191-31/+52
|
* Software: don't fail when logging.config doesn't have dictConfigRadek Novacek2014-05-191-1/+4
| | | | | python 2.6 doesn't have logging.config.dictConfig, skip the logging configuration in that case.
* spec: use proper python sitelib in LMI_Software.reg fileRadek Novacek2014-05-191-1/+5
|
* test base: use service instead of systemctl commandRadek Novacek2014-05-191-1/+1
| | | | | service command is compatible even with non-systemd distribution and still works with systemd.
* LogicalFile: simulate subprocess check_output on python 2.6Radek Novacek2014-05-191-4/+14
| | | | | Python 2.6 doesn't have subprocess.check_output function, we'll simulate it using subprocess.Popen.
* Clean up imports in commonAlois Mahdal2014-05-151-15/+6
|
* Add utility classes for indication testingAlois Mahdal2014-05-152-0/+148
|
* Move dangling functions to common.UserOpsAlois Mahdal2014-05-158-102/+138
| | | | | Since they have much in common, I am moving them under UserOps static class. This allows for better flexibility and readability.
* Include profile (un)registration in the (un)register-PROVIDER make targetsTomas Bzatek2014-05-1512-19/+31
| | | | | | | | | | This is an attempt to include profile (un)registration within the (un)register-PROVIDER make target. This commit extends the cim_registration macro by an extra argument of the profile file or list of profile files. To preserve API of the CMake modules this extra argument is an variable arg in fact and does not need to be specified. Pass a list variable to specify multiple profile files.
* journald: Fix LMI_JournalLogRecord.PerceivedSeverityTomas Bzatek2014-05-151-1/+1
| | | | | The string conversion was not working at all, we were accessing already freed memory.
* account: Don't expose the LMI_Account.UserPassword valueTomas Bzatek2014-05-152-15/+43
| | | | | | | | | | | | | | | According to the Simple Identity Management Profile (DSP1034) document the LMI_Account.UserPassword property should not contain the password itself, no matter how encrypted it is. It should either contain an array of zero elements when password has been set or NULL when password is missing or not configured. Another change this commit brings is a more precise behaviour of LMI_Account.ModifyInstance() method. When the UserPassword property is array of zero elements, no change regarding password is made. This case was previously treated as a request for password removal. The DSP1034 profile doesn't specify such scenario, let's treat it the same way as the GetInstance() operation.
* account: Make LMI_MemberOfGroup.CreateInstance() more robustTomas Bzatek2014-05-151-4/+19
| | | | | | Return proper error when required properties are not set. https://fedorahosted.org/openlmi/ticket/270
* account: Mark TestAccountInvalidEtc tests as dangerousTomas Bzatek2014-05-151-0/+2
| | | | | | Really dislike these messages: cp: cannot remove ‘/etc/passwd’: Permission denied
* journald: Fix EOF reporting when not advancing next on ↵Tomas Bzatek2014-05-151-1/+3
| | | | | | | | | LMI_JournalMessageLog.GetRecord() Testing wrong return code when sd_journal_next() was not called as it was not needed. When step_next == FALSE the EOF flag must be never set since the journal EOF case is tested at the beginning of the function and we're not advancing next thus staying on a valid cursor.
* indmanager: Add a Debugging section in the README fileTomas Bzatek2014-05-151-0/+21
|
* spec: enable libuser on RHEL-6HEADmasterRadek Novacek2014-05-131-1/+0
|
* add make-rpm.shJan Synacek2014-05-131-0/+26
|
* account: use defaultdict instead of CounterRadek Novacek2014-05-131-2/+2
| | | | Counter is not present in python <= 2.6, so replace it with defaultdict.
* Hardware: spring cleanup & refactorPeter Schiffer2014-05-1263-331/+247
| | | | | | * use openlmi common library where possible * get rid of LMI_Hardware.h file * some other cosmetic changes
* logicalfile: fix configuration installationJan Synacek2014-05-121-1/+1
|
* logicalfile: install configurationJan Synacek2014-05-121-0/+2
|
* logicalfile: package default configurationJan Synacek2014-05-121-1/+5
|
* logicalfile: add configuration documentationJan Synacek2014-05-122-0/+22
|
* logicalfile: test providers' configurationJan Synacek2014-05-123-22/+188
|
* Software-dbus: implemented LMI_HostedSoftwareIdentityResourceProviderPeter Schiffer2014-05-091-3/+68
|
* spec: BR: glib2Radek Novacek2014-05-091-0/+1
|
* Software-dbus: embrace the new openlmi common libraryPeter Schiffer2014-05-0910-291/+217
|
* spec: explicitly enable devassistant when requestedRadek Novacek2014-05-091-0/+2
| | | | | Devassistant is by default disabled, it needs to be explicitly enabled when it should be used.
* spec: modularize spec fileRadek Novacek2014-05-092-19/+158
| | | | | | | Add support for easier enabling/disabling providers on different versions of hosting operating system. Also add support for RHEL-6.