summaryrefslogtreecommitdiffstats
path: root/src/software
Commit message (Collapse)AuthorAgeFilesLines
* software: added sample configurationMichal Minar2013-07-233-0/+108
| | | | install software configs in spec
* software: added doc strings; spaces, be goneMichal Minar2013-07-2310-74/+77
| | | | removed spaces at the end of lines
* software: test fixesMichal Minar2013-07-232-2/+5
| | | | let's not presume, that package has any files
* software: YumWorker timeout parameters configurableMichal Minar2013-07-231-11/+8
| | | | | | 2 new configuration options supported: * [Yum] lock_wait_interval * [Yum] free_database_timeout
* software: more configurability of jobsMichal Minar2013-07-231-7/+7
| | | | | | | | | asynchronous job's default priority made configurable with option [Jobs] default_priority asynchronous job's default timeout for removel made configurable with option [Jobs] default_time_before_removal
* software: minimum time before job's removal configurableMichal Minar2013-07-231-5/+4
| | | | supported another option in software's configuration
* software: configurable timeout for job completionMichal Minar2013-07-231-5/+7
|
* software: disable logging of separate processMichal Minar2013-07-233-80/+77
| | | | | | separated process can not use logging facilities of cimom logging of YumWorker process made configurable
* software: using new Configuration and utility functionMichal Minar2013-07-2339-302/+214
| | | | | | | using system_name, system_class_name and namespace values from SoftwareConfiguration object using new_instance_name from util module
* software: added custom cmpi_loggingMichal Minar2013-07-231-0/+282
| | | | | | use custom cmpi_logging module made logging configurable
* software: removed log messages for provider initMichal Minar2013-07-2320-53/+25
| | | | these messages do not really help
* software: be more tolerant when checking SystemNameMichal Minar2013-07-239-11/+22
| | | | | | | Allow hostname aliases and fully qualified domain names in properties like SystemName. Modified tests accordingly.
* software: using new Configuration and utility functionMichal Minar2013-07-2322-103/+81
| | | | | | | using system_name, system_class_name and namespace values from SoftwareConfiguration object using new_instance_name from util module
* software: added utility function for instance name creationMichal Minar2013-07-231-0/+20
|
* moved logging level option to BaseConfigurationMichal Minar2013-07-231-3/+11
|
* software: added software configuration classMichal Minar2013-07-232-1/+72
| | | | | Added SoftwareConfiguration class for instantiation of a main, global configuration object for all software providers.
* software: made pegasus launch script executableMichal Minar2013-07-231-0/+0
|
* software: fixed shutdownMichal Minar2013-07-232-7/+1
| | | | | | stop IndicationManager thread on cleanup removed YumDB.__del__ method - clean_up is called explicitely
* software: do not check symlink's file mode in testsMichal Minar2013-07-101-3/+4
|
* software: fixed test of LMI_InstalledSoftwareIdentityMichal Minar2013-07-101-1/+1
|
* software: don't use some packages for dangerous testsMichal Minar2013-07-101-1/+5
|
* renamed openlmi namespace to lmiMichal Minar2013-07-0452-202/+200
| | | | | To comply with lmi shell, which is placed in *lmi* package, and to make our imports shorter, we are renaming *openlmi* namespace to *lmi*.
* added exception logging to reference enumerationMichal Minar2013-07-041-0/+2
|
* small software test improvementsMichal Minar2013-07-042-8/+4
|
* fixed RequestStateChange of LMI_SoftwareIdentityResourceMichal Minar2013-07-046-25/+103
| | | | added test for this method
* added cimprovagt wrapper script for SELinuxMichal Minar2013-07-041-0/+24
| | | | | added missing group attribute to providers readded registration of 05_LMI_Qualifiers.mof to scripts
* added tests for SoftwareIdentityFileCheckMichal Minar2013-07-031-8/+8
|
* added tests for SoftwareIdentityChecksMichal Minar2013-07-031-0/+144
|
* added tests for SoftwareIdentityFileCheckMichal Minar2013-07-033-3/+467
|
* call destructor of super class for YumDBMichal Minar2013-07-031-1/+1
|
* implemented VerifyInstalledIdentity()Michal Minar2013-07-031-0/+75
|
* added some comments stringsMichal Minar2013-07-032-3/+18
| | | | also fixed some typos
* added another LMI_SoftwareVerificationJobMichal Minar2013-07-0313-96/+215
| | | | | | | | | | There are now two asynchronous jobs: LMI_SoftwareInstallationJob LMI_SoftwareVerificationJob Previous LMI_SoftwareInstallationJob module made generic to handle both jobs and possibly more. Also added new static filters for LMI_SoftwareVerificationJob.
* clean up YumDB instance only if it's instantiatedMichal Minar2013-07-033-34/+139
| | | | using global variable to signal, whether running under broker process
* delete YumDB singleton in YumWorker processMichal Minar2013-07-032-1/+10
| | | | | | | | | YumDB singleton launches YumWorker process and then serves as its interface. We don't need its instance in separate process. Deleting it allows us to check, whether we run under broker process or under YumWorker. clean up YumDB instance only if it's instantiated
* added implementation for verification classesMichal Minar2013-07-039-28/+1603
| | | | | | implemented: LMI_SoftwareIdentityFileCheck LMI_SoftwareIdentityChecks
* fixed GetInstance on AffectedSoftwareJobElementMichal Minar2013-05-101-1/+1
| | | | | passed wrong parameter to function, when handling association to Linux_ComputerSystem
* fixed method invocation of SoftwareInstallationServiceMichal Minar2013-05-101-11/+10
| | | | | Undefined variable used in logging statement would generate error for installation from URI.
* support for method parameters and pre/post indicationsMichal Minar2013-05-108-76/+305
| | | | | | | | Added input and output parameters to LMI_SoftwareInstallationJob. Added PreCallIndication and PostCallIndication properties to LMI_SoftwareMethodResult containg CIM_InstMethodCall indication instances - that are rather useless but mandatory by Job Control Profile.
* fixed output parameter name of GetError methodMichal Minar2013-04-261-1/+1
|
* Revert "Merge branch 'software-indications' of ↵Michal Minar2013-04-261-1/+1
| | | | | | | ssh://git.fedorahosted.org/git/openlmi-providers into software-indications" This reverts commit 0f9da4ac91a0acb2c53d19ca1ec345c07a5043fb, reversing changes made to 217acf2c624b99db7335acb0aa50d92efcb368a8.
* updated doc comments for cimom callbacksMichal Minar2013-04-261-4/+62
| | | | | cimom callbacks for filter enablement have misleading param names and miss proper doc
* modified indication filtersMichal Minar2013-04-262-75/+13
| | | | | | | | | | | | | | | | | | And moved software static filters to shared JobManager. Indication filters now reflect the name of indication class, which is instrumented by particular provider. This ensures, that cimom knows, which provider to call and does not bother the others. So instead of selecting indication instances from general class CIM_InstModification, it will be LMI_SoftwareInstModification. This is a common pattern for indication queries. Avoided another shortcoming of sfcbmof parser: /* comment */ something useful is also ignored :-( Static filters of JobManager made more generic for any provider to use. Software jobmanager is now using them. This reduces redundation of code.
* fixed error handling upon method params checkMichal Minar2013-04-261-1/+1
|
* fixed enumeration of repository associationsMichal Minar2013-04-221-2/+2
|
* logging improvementsMichal Minar2013-04-113-8/+31
| | | | | this relates mostly to YumWorker separated process that does not use cmpi_logging
* added support for indications to software providersMichal Minar2013-04-115-5/+46
| | | | | | | Only static indication filters listed in mof/LMI_SoftwareIndicationFilters.mof are supported. They should be installed at rpm package installation, so user can use them for subscriptions.
* docu updated and fixed on some placesMichal Minar2013-04-115-8/+104
| | | | also some tab/spaces fixes
* added LMI_ to classnames prefix for to key propertiesMichal Minar2013-04-1116-43/+43
| | | | | | | | | | | previous pattern of key properties: LMI:ShortClassName:* replaces with LMI:FullClassName:* where FullClassName = "LMI_" + ShortClassName
* added indication manager to openlmi.commonMichal Minar2013-04-111-4/+229
| | | | | | | | | | | | IndicationManager python module is useful for many providers across OpenLMI project. That's why it's landing in openlmi.common subpackage from openlmi-storage. It supports checking for static filters IndicationManager allows to check and install static filters at broker at runtime - but it should be avoided filters should work also under sfcbd