summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' of ssh://git.fedorahosted.org/git/openlmi-providersPeter Schiffer2013-08-291-1/+1
|\
| * spec: fix missing backslashJan Synacek2013-08-291-1/+1
| | | | | | | | Reported-By: Klaus Kaempf <kkaempf@suse.de>
* | Hardware: Fixed Coverity findingsPeter Schiffer2013-08-296-75/+121
|/ | | | Fixed Coverity findings, enhanced fail case scenarios.
* account: doc generation improvementsMichal Minar2013-08-291-1/+5
| | | | Do not require openlmi-providers installed, when making documentation.
* bumped version to 0.2.00.2.0Michal Minar2013-08-2815-119/+123
|
* spec: added account documentation subpackageMichal Minar2013-08-281-1/+24
| | | | | | | | | | New subpackage: openlmi-account-doc containing admin guide Also added missing dependency for openlmi-providers-devel subpackage, which was missing konkretcmpi-python in its Requires. It needs to be present for openlmi-doc-class2rst script to work properly.
* python: improved loggingMichal Minar2013-08-271-3/+11
| | | | | | | | Allowed to pass different logging configuration dictionary. Changed behaviour, when [Log] Stderr = True. Now both logging to CIMOM and to stderr are enabled. Previously only logging to stderr has been done.
* logicalfile: make uses of strcmp() more readableJan Synacek2013-08-274-35/+35
|
* spec: fixed installation of python eggsMichal Minar2013-08-271-4/+7
|
* pcp: renamed python egg to openlmi-pcpMichal Minar2013-08-271-2/+2
| | | | Also fixed dependency (lmi -> openlmi).
* logicalfile: coverity fixesJan Synacek2013-08-271-2/+7
|
* spec: Fix typoRadek Novacek2013-08-271-1/+1
|
* spec: create /var/log/ directory before creating log fileRadek Novacek2013-08-271-0/+1
|
* spec: Create log file in buildrootRadek Novacek2013-08-271-0/+3
| | | | | | | | It needs to be present in the buildroot but will not be actually installed. See: http://www.rpm.org/max-rpm-snapshot/s1-rpm-inside-files-list-directives.html#S3-RPM-INSIDE-FLIST-GHOST-DIRECTIVE
* logicalfile: improve testsJan Synacek2013-08-261-21/+120
|
* logicalfile: correctly apply filters in LMI_DirectoryContainsFileJan Synacek2013-08-261-10/+78
|
* logicalfile: correctly apply filters in LMI_FileIdentityJan Synacek2013-08-262-6/+38
|
* logicalfile: correctly apply filters in LMI_RootDirectoryJan Synacek2013-08-263-56/+107
|
* Account: DocumentationRoman Rakus2013-08-267-0/+751
| | | | Signed-off-by: Roman Rakus <rrakus@redhat.com>
* Account: Remove unused sourceRoman Rakus2013-08-231-222/+0
| | | | Signed-off-by: Roman Rakus <rrakus@redhat.com>
* renamed python eggsMichal Minar2013-08-232-3/+3
| | | | | | | changed 'lmi' to 'openlmi' of python eggs to make them look related to openlmi-storage and openlmi-tools eggs preparation for upload to PyPi
* software: using shared cmpi_logging moduleMichal Minar2013-08-2340-323/+41
| | | | | Now, that functionality of lmi.software.util.cmpi_logging is provided by lmi.providers.cmpi_logging, we can safely move to the shared one.
* python: redone cmpi_loggingMichal Minar2013-08-234-186/+381
| | | | | | | | | | | | | | | Module now contains enhanced tracing function decorators providing more details. There is no global logger, each provider module should obtain its own logger via get_logger() function. Usage of LogManager is optional. It allows for logging's reconfiguration, when config file is changed. Exceptions logged with error(), exception() or critical() methods are now logged twice: * First time for specified level with error message only. * Second time for TRACE_WARNING level with traceback. This prevents the polution of syslog.
* removed redundant configuration option [Log]LevelMichal Minar2013-08-231-6/+0
| | | | | This option is already handled by base class BaseConfiguration, no need to override it.
* software: added FindIdentity() functionMichal Minar2013-08-236-13/+166
| | | | | | | Since disablement of SoftwareIdentity enumeration, there has been no way to search for particular package (using [WC]QL query for example). This serious limitation is now treated by this addition to LMI_SoftwareInstallationService.
* software: properly search for packages filtered by repoidMichal Minar2013-08-231-0/+9
| | | | | | | If repoid is given, only 'available' packages need to be searched, otherwise the package is not found if installed. Let's just enable particular repository instead of comparing repoid attribute.
* software: fixed logging of tracing decoratorMichal Minar2013-08-231-1/+1
| | | | | | Logger needs to be obtained in a wrapper at runtime instead of making it at init time of a module. In latter case logger could be already invalid after the call to logging's configuration function.
* software: added missing Implemented qualifier to mofMichal Minar2013-08-231-1/+1
|
* tools: Create correct reference for arraysRoman Rakus2013-08-221-1/+4
| | | | Signed-off-by: Roman Rakus <rrakus@redhat.com>
* indmanager: Use CMTraceMessage() instead of CMLogMessage()Tomas Bzatek2013-08-211-1/+1
| | | | | | | | | | As per https://fedorahosted.org/openlmi/wiki/CodingConventions any debugging message that shouldn't go to user should be using CMTraceMessage(). Doing this change to minimize output to syslog, making journald indications nearly impossible to debug due to constant logging, generating more and more indications, resulting in endless loop.
* indmanager: Force thread cancellation on im_stop_ind()Tomas Bzatek2013-08-212-17/+50
| | | | | This fixes thread leak due to im_stop_ind() not cleaning up running thread. This change also brings some guarantees, see README for details.
* indmanager: Get object path from instances to be sent when not pollingTomas Bzatek2013-08-151-1/+1
| | | | | | When not polling, manager->enums is NULL resulting in segfault. This patch adds extra test and retrieves the object path required from instances to be sent.
* indmanager: Pass IMManager* instance in the IMInstGather callbackTomas Bzatek2013-08-152-6/+9
| | | | | Manual instance creation in the gather callback sometimes requires access to the CMPIBroker instance, stored in the indication manager struct.
* indmanager: Protect ind_manager.h from multiple inclusionTomas Bzatek2013-08-151-0/+5
|
* indmanager: Fix IMEventWatcher arguments to be able to actually set dataTomas Bzatek2013-08-155-5/+5
|
* Fixed registration of __MethodParameters classes - they are for Pegasus only.Jan Safranek2013-08-153-62/+94
| | | | | SFCB does not like the initial underscore charactes, which violate MOF syntax. As consequence, the __MethodParameters classes are now in separate MOF file.
* Fix namespace for testsRoman Rakus2013-08-141-1/+1
| | | | Signed-off-by: Roman Rakus <rrakus@redhat.com>
* spec: Require dmidecode only on supported archs0.1.1Radek Novacek2013-08-081-0/+3
|
* Bump version to 0.1.1Radek Novacek2013-08-084-5/+9
|
* software: fix test for SoftwareIdentityResourceMichal Minar2013-08-081-10/+22
| | | | | If the repository is enabled, expect repository to be ready. If disabled, allow both OK and Failed states.
* software: support metalink attribute of repositoryMichal Minar2013-08-082-1/+9
| | | | | | There can be a situation, when base_urls and mirror_list are empty, but metalink is filled. Let's fallback to metalink while obtaining AccessInfo value.
* let's not assume AccessInfo to be filledMichal Minar2013-08-081-3/+4
| | | | test fix
* software: let's not presume, that any url is associated with repoMichal Minar2013-08-081-4/+4
| | | | | Fixed UnboundLocalError, when expecting, that at least mirror_list or some base_url of repository is available.
* software: allow duplicate entries in repository configsMichal Minar2013-08-081-2/+5
| | | | test fix
* be more tolerant, when checking instance of SoftwareInstallationServiceMichal Minar2013-08-081-4/+6
| | | | Do not compare SystemName property byte by byte. Allow alliases.
* software: async jobs have associated job method resultsMichal Minar2013-08-082-14/+27
| | | | | This is a temporary work around Pegasus not being able to handle instances of unknown classes.
* software: added classes for asynchronous methodsMichal Minar2013-08-081-0/+61
| | | | | | | | Pegasus does not support instances of unknown classes, that's why we need to define additional classes representing parameters of asynchronous methods. These will be used in LMI_ConcreteJob.JobOutParameters and CIM_InstMethodCall.MethodParameters properties.
* assign __ReturnValue property of CIM_ConcreteJobMichal Minar2013-08-062-17/+37
|
* providers: fixed installation of python lmi namespace packageMichal Minar2013-08-061-1/+7
| | | | | | Setuptools do not install __init__ module of top-level namespace module, which prevents user installed eggs from being loaded. This commit adds installation statements to spec itself.
* software: fixed declaration of namespace packageMichal Minar2013-08-061-0/+1
| | | | | Make sure, that lmi/__init__.py gets installed by software provider's setup to ensure compability with lmi packages installed to user.