summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* indmanager: move to libsJan Synacek2014-05-069-4/+4
|
* libopenlmi: rename back to openlmicommon and get versioning rightJan Synacek2014-05-0613-23/+26
|
* libopenlmi: minor fixes and improvementsJan Synacek2014-05-0660-235/+272
|
* libopenlmi: reorganize and gatherJan Synacek2014-04-30135-735/+622
| | | | | | | Make naming consistent. Gather common functionality into one library and try to use it across all providers. Introduce libtool-style versioning for libraries.
* Service-legacy (non d-bus):Vitezslav Crhonek2014-04-293-14/+18
| | | | | | - Detect and handle unsupported methods - serviceutil.sh - fix 'is-enabled' method, call 'status' command with LANG=C because of parsing its output, fix indentation
* logicalfile: add sentinel to provider_config_defaultsJan Synacek2014-04-291-0/+1
|
* logicalfile: enhance testsJan Synacek2014-04-281-9/+24
| | | | | After creating a directory or symlink, check if the object created really is the directory or symlink.
* logicalfile: respect configuration when creating/removing directoriesJan Synacek2014-04-281-2/+13
|
* logicalfile: respect configuration when creating symlinksJan Synacek2014-04-281-1/+7
|
* logicalfile: provide default configurationJan Synacek2014-04-282-1/+18
|
* common: logging fixesJan Synacek2014-04-252-7/+9
| | | | | | Fix top level configuration defaults. Add warning when attempting to parse non-existent group or key from a key file. Correct loglevel comment in configuration.
* logicalfile: remove unused code and add a few checksJan Synacek2014-04-241-2/+4
|
* logicalfile: add support for symlink creationJan Synacek2014-04-245-3/+51
|
* moved openlmicommon library to common/ subfolderMichal Minar2014-04-236-20/+26
|
* Software-dbus: safer extracting of element name from SwIdentity InstanceIDPeter Schiffer2014-04-239-68/+70
|
* Software-dbus: implemented LMI_InstalledSoftwareIdentityProviderPeter Schiffer2014-04-186-55/+291
|
* Avoid endless import loop in lmi.test.unittest.Jan Safranek2014-04-182-28/+8
| | | | lmi.test.unittest is now defined directly in lmi/test/__init__.py
* Uninstall 'unicode-chars' package in test_enum_instance_names test.Jan Safranek2014-04-181-0/+1
| | | | | | The package is installed by TestSoftwareIdentityChecks.test_package_file_checks_unicode and can make the test fail.
* Don't use epoch for 'rpm -q' or '-e'.Jan Safranek2014-04-181-15/+25
| | | | Older rpm doesn't support it.
* Don't require the openlmi-software package installed.Jan Safranek2014-04-181-1/+0
| | | | We want to run tests also from git checkout.
* Use unittest2 on Python 2.6Jan Safranek2014-04-1819-25/+49
|
* User 'yum repolist -v' instead of 'yum repoinfo'.Jan Safranek2014-04-181-3/+3
| | | | | yum repoinfo is available only in newer yum. Surprisingly, they habe the same output.
* Use proper paths for various tools.Jan Safranek2014-04-184-8/+8
|
* Port tests to Python 2.6Jan Safranek2014-04-188-41/+51
| | | | | | | - replace various dictionary/set comprehensions - re-implement subprocess.check_output() - use optparse
* 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-184-21/+95
| | | | | | | | | | | | | | | | | | | 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.
* Software-dbus: refactor & cleanup 2Peter Schiffer2014-04-184-222/+166
|
* Update job_request decorator for Python 2.6Jan Safranek2014-04-171-2/+4
| | | | | There is no inspect.callargs there, so we must assume that 'async' is in kwargs.
* Update job_handler decorator for Python 2.6Jan Safranek2014-04-171-8/+16
| | | | | | There is no inspect.callargs there. As a simple workaround, 'job' must be the first parameter in decorated method.
* Fixed loading of logging config.Jan Safranek2014-04-172-2/+2
| | | | | - use correct config file path - read correct config file item
* Software-dbus: refactor & cleanupPeter Schiffer2014-04-175-202/+214
|
* Service-legacy (non d-bus):Vitezslav Crhonek2014-04-175-5/+78
| | | | | | - Add support for building service-legacy provider into cmake files (OFF by default) - Add service-legacy mof file (no indications, builds with older cmake) - Fix service enumeration (use chkconfig)
* Merge branch 'master' of ssh://git.fedorahosted.org/git/openlmi-providersAles Ledvinka2014-04-162-2/+2
|\
| * Software-dbus: fix resolving of older packagesPeter Schiffer2014-04-152-2/+2
| | | | | | | | | | | | Function pk_task_resolve_sync() won't return all versions of required package, so this patch replaces this function with pk_task_search_names_sync() which returns all versions of given package.
* | Merge branch 'master' of https://git.fedorahosted.org/git/openlmi-providersAles Ledvinka2014-04-161-3/+16
|\|
| * Disable the openlmi-devassistant subpackage on rhelTomas Bzatek2014-04-151-3/+16
| | | | | | | | | | RHEL 7.0 comes with a rather old devassistant package version than we require so let's disable DevAssistant support for OpenLMI temporarily.
* | python 2.6 newclassAles Ledvinka2014-04-161-1/+1
| |
* | Merge branch 'master' of https://git.fedorahosted.org/git/openlmi-providersAles Ledvinka2014-04-153-14/+15
|\|
| * power: use proper poweroff/reboot commands with sysvinitRadek Novacek2014-04-101-3/+3
| | | | | | | | The commands/options that were used are not compatible with sysvinit.
| * power: check if connection to Logind DBus is validRadek Novacek2014-04-101-9/+10
| |
| * fix for older versions of cmakeRadek Novacek2014-04-102-2/+2
| | | | | | | | | | Older versions of cmake needs to have absolute path in the destination paremeter of configure_file command.
* | python 2.6 compatibility. fix conversion of string into character set error.Ales Ledvinka2014-04-155-29/+29
| |
* | python2.6 review one omissionAles Ledvinka2014-04-141-3/+3
| |
* | python2.6 syntax conversion, review comments for set performanceAles Ledvinka2014-04-144-8/+8
| |
* | python2.6 support, review comment performance of set([])Ales Ledvinka2014-04-149-53/+53
| |
* | python2.6 software providerAles Ledvinka2014-04-118-20/+20
|/
* Service-dbus: Improve EnumerateInstances efficiencyVitezslav Crhonek2014-04-103-15/+249
|
* Add missing pthread.h inclusionRadek Novacek2014-04-091-0/+1
|
* Service (non d-bus): Use mkstemp instead of mktemp and minor updatesVitezslav Crhonek2014-04-085-16/+71
|
* Software-dbus: implemented MemberOfSoftwareCollectionProviderPeter Schiffer2014-04-045-90/+750
|