summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* SSSD CIM providersssd-2Pavel Březina2014-07-1430-1/+4550
|
* Extend test to groups as wellAlois Mahdal2014-07-012-7/+179
|
* openlmi.conf: improve Level commentJan Synacek2014-07-011-0/+4
| | | | | Emphasize the fact that there are additional levels possible when python provider read the configuration file.
* software-dbus: implemented LMI_AssociatedSoftwareJobMethodResultMichal Minar2014-07-011-9/+148
|
* software-dbus: implemented LMI_SoftwareMethodResultMichal Minar2014-07-014-7/+157
|
* software-dbus: implemented LMI_AffectedSoftwareJobElementMichal Minar2014-07-012-5/+199
|
* jobmanager: fix docstring typoJan Synacek2014-07-011-1/+1
|
* jobmanager: allow for storing arbitrary data in a jobMichal Minar2014-07-012-79/+128
| | | | | | Job can now be assigned custom data with a destructor. This commit also renames locking macros.
* jobmanager: fixed coverity issuesMichal Minar2014-07-012-39/+32
| | | | | | | | removed unused variables made sure that code works the same in (no)debug mode got rid of double frees
* cmake: reflect library dependencies in cmake optionsMichal Minar2014-07-011-3/+17
| | | | | Do not build jobmanager if indsender is disabled. Do not build software-dbus provider if jobmanager is disabled.
* providers: logging fixesMichal Minar2014-07-013-8/+6
| | | | | Fixes logging of messages taking CMPIStatus::msg as an argument. *msg* needs to be wrapped in CMGetCharsPtr().
* software-dbus: implemented LMI_SoftwareInstModificationProviderMichal Minar2014-07-011-6/+40
|
* software-dbus: implemented LMI_SoftwareInstCreationProviderMichal Minar2014-07-011-6/+40
|
* spec: add BR: json-glib-devel for jobmanagerRadek Novacek2014-06-261-1/+8
|
* software-dbus: implemented AssociatedSoftwareInstallationServiceCapabilitiesPeter Schiffer2014-06-261-3/+57
|
* openlmi-mof-register: exit on external command error (fix #311)Tomas Smetana2014-06-261-9/+25
|
* PEP8 and PyFlakes cleanup: src/account/testAlois Mahdal2014-06-269-72/+111
|
* Update error messagesAlois Mahdal2014-06-251-10/+10
| | | | | * Fix copypasting error * use natural "source instances" instead of pluralizing dict key
* spec: install jobmanagerMichal Minar2014-06-251-1/+45
|
* software-dbus: implemented LMI_SoftwareInstallationsServiceMichal Minar2014-06-253-8/+264
| | | | Currently only InstallFromSoftwareIdentity() method is implemented.
* software-dbus: implemented LMI_SoftwareInstallationJobMichal Minar2014-06-251-14/+227
|
* software-dbus: use common software init and cleanupMichal Minar2014-06-2510-20/+20
| | | | | Each software provider shall use the same sw-common initialization and cleanup function.
* software-dbus: implemented installation job processingMichal Minar2014-06-255-0/+1106
| | | | | Added initialization and cleanup functions to software utilities needed to initialize job manager.
* software-dbus: require and link with jobmanagerMichal Minar2014-06-251-1/+4
|
* software-dbus: fix compilation warningsMichal Minar2014-06-255-11/+18
| | | | | Compile functions needed for rpm verification only if the rpm library is detected.
* software-dbus: define mutex only if it is neededMichal Minar2014-06-251-3/+3
|
* indsender: fixed compilation on RHEL6Michal Minar2014-06-251-0/+1
|
* added job manager libraryMichal Minar2014-06-259-0/+6739
|
* all: fetch computer system using safe functionsMichal Minar2014-06-2561-146/+156
| | | | | Use newly added utility functions to fetch computer system or its system name with current context either from cache or from broker.
* openlmi: make sure computer system instance gets loadedMichal Minar2014-06-252-59/+158
| | | | | | | | | | | | | | | | | | | | | | | | | | | | When broker is started with some indication subscriptions active, it immediately loads and starts corresponding providers that try to do their init functions. At this time it's not possible to query the broker for an instance of PG\_ComputerSystem though. Broker replies with NOT\_FOUND. This patch adds safe functions: lmi_get_computer_system_safe() lmi_get_system_name_safe() accepting current context. They make sure that computer system will be loaded even if the first attempt at init time failed. Following functions are now marked as deprecated: lmi_get_computer_system() lmi_get_system_name() Correct and ideal solution would be lazy evalution - load the computer system when it's needed for the first time, not before. This means: 1. `get_computer_system()` cleared away from init 2. `lmi_get_computer_system()` and `lmi_get_system_name()` accepting context and calling `get_computer_system()` to fetch it either from cache or from broker Unfortunately this would break libopenlmi's API.
* software-dbus: implemented LMI_SoftwareInstallationServiceCapabilitiesProviderPeter Schiffer2014-06-243-8/+105
|
* Improve API to cover indications and source instancesAlois Mahdal2014-06-243-108/+198
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With writing new tests, some limitations of current framework emerged. For example, there has been assumption that one LMIIndication container will only hold one CIMIndication instance. This is mostly true so far, but does not have to be always, so is dangersous for further decisions. Overview of changes: * Interface of IndicationTestProbe for retrieving data about delivered indications has been split from get_cns to get_indications and get_ssource_instances. These don't expose LMIIndication containers, but rather collect all indications to one big list, and source instances to parallel list. * Furthermore, as opposed to rather confusing get_cns, these new methods don't automatically create PackedSequence or sort indications. Instead, describe_* methods have been created solely for this purpose. Similar change has been done to get_ans, which is now split to get_actions and describe_* for reporting. * Also the number-baseded test had been oversimplified, which caused confusion when trying to use it with LMI_Groups, where indication name alias is different than sourceInstance alias. * Assertions about streams are now made separately for indications and source instances. This is now reflected in tests, which have the oracles defined separately (expected_*_stream) and also have aggregated the repeating code to check_* methods so that new group assertions can be added easily on the go.
* software: support older versions of PackageKit apiMichal Minar2014-06-241-7/+9
| | | | | continuation of former commit (dbddcd9) replacing pk_details_* functions unavailable in PackageKit v0.8.9
* Fixed 'service xxx status' exit code checks.Jan Safranek2014-06-231-1/+3
| | | | There are differences on systems with systemd and with old SysV init.
* software: define LMI_SoftwareInstDeletion classMichal Minar2014-06-232-0/+11
| | | | Allow clients to subscribe to job's deletion.
* software-dbus: bugfixes for LMI_SoftwareIdentityFileCheckProviderPeter Schiffer2014-06-201-34/+50
| | | | | * fixed FileSize - RPM is not using sb.st_size when comparing sizes * don't count checksum for symbolic links
* distribute indication senderMichal Minar2014-06-201-1/+44
| | | | FindOpenLMIIndSender.cmake file will be provided in future commit.
* common: added utility functionMichal Minar2014-06-202-0/+75
| | | | | | | Added function for checking computer system instance name. This is usefull particularly in methods expecting an instance of CIM_ComputerSystem passed as a parameter and needing to check whether it matches current system.
* added indication sender libraryMichal Minar2014-06-206-0/+990
|
* indications: fixed succeeded static filterMichal Minar2014-06-202-3/+3
| | | | | Succeeded static filter had wrong constant hardcoded for successful job state.
* software-dbus: use is_elem_name_installed() in InstalledSWProviderPeter Schiffer2014-06-201-24/+8
| | | | | Use is_elem_name_installed() function in associators and references method of LMI_InstalledSoftwareIdentityProvider instead of manually checking it.
* Fix comparison methodAlois Mahdal2014-06-201-2/+2
| | | | CIMDateTime is apparently able to compare itself
* Distribute openlmi-utils.hJan Safranek2014-06-201-0/+1
|
* Fixed "File listed twice: /usr/share/devassistant/files/crt/c/openlmi"Jan Safranek2014-06-201-1/+3
|
* software-dbus: implemented LMI_SoftwareIdentityChecksProviderPeter Schiffer2014-06-194-50/+476
|
* Sort reports before extracting info from themAlois Mahdal2014-06-181-5/+7
| | | | | | This is how it was supposed to be in the first place (and how I incorrectly presented the framework so far). Apparently I forgot to add the sorting call.
* software-dbus: implemented LMI_SoftwareIdentityFileCheckProviderPeter Schiffer2014-06-177-30/+532
|
* added openlmi-utils to openlmicommon libraryMichal Minar2014-06-173-1/+116
|
* locale: add documentationVitezslav Crhonek2014-06-164-1/+134
|
* Add event-based tests for indications (basic set)Alois Mahdal2014-06-101-0/+148
| | | | | | | | | | | | | Basic set of tests with focus on this flow: 1. add set of subscriptions 2. add set of handlers 3. trigger sequence of "interesting" events 4. collect indications 5. and make assertions as needed Currently the assertions are mostly that correct classes have been delivered, reporting the events in correct order.