summaryrefslogtreecommitdiffstats
path: root/src/software
Commit message (Collapse)AuthorAgeFilesLines
...
* software: let's check only for subclasses of CIM_ComputerSystemMichal Minar2013-10-047-12/+12
| | | | | | | | Be more benevolent when checking association class instances for a references to ComputerSystem. Fixed also few cim class inheritance checks to correspond with mof files.
* Priority of traces should be lower than priority of DEBUG log messagesRadek Novacek2013-09-191-1/+1
|
* software: fixed critical section problemMichal Minar2013-09-121-2/+2
| | | | | Missing notifyAll call on a condition could cause endless waiting for multiple threads.
* logging improvements and fixMichal Minar2013-09-121-3/+5
| | | | | | | | | Reduced length of tracing messages written to log by rendering just the first item of list, dict or set instead of whole argument. This will also improve execution time when running in debug mode. Fixed logging decorator of software job manager which previously rendered informations from uninteresting frame.
* software: removed outdated console scriptMichal Minar2013-09-102-245/+6
| | | | | | | | Software cli is outdated and based on pywbem. Now we have openlmi-scripts with a complete script for software profile providing more functionality. Updated TODO.
* software: fixed updating of package done by async methodMichal Minar2013-09-102-3/+4
| | | | Allowed to specify a package as a nevra string.
* fix issues when creating instance for broken repositoryMichal Minar2013-09-101-1/+2
| | | | | If repository has unaccessible metalink, some properties can not be obtained, set them to None.
* fixed getting information about verification jobMichal Minar2013-09-101-1/+1
|
* software: fixed installation of rpm package from uriMichal Minar2013-09-021-2/+2
|
* bumped version to 0.2.00.2.0Michal Minar2013-08-281-1/+1
|
* renamed python eggsMichal Minar2013-08-231-2/+2
| | | | | | | 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.
* 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-235-13/+133
| | | | | | | 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.
* Bump version to 0.1.1Radek Novacek2013-08-081-1/+1
|
* 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.
* assign __ReturnValue property of CIM_ConcreteJobMichal Minar2013-08-062-17/+37
|
* 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.
* Fixed license to LGPLv2.1+Jan Safranek2013-08-0127-243/+271
|
* python: synced version of eggs with openlmi-providersMichal Minar2013-07-301-1/+1
|
* software: fixed importsMichal Minar2013-07-305-10/+10
| | | | | Replaced imports of 'lmi.common' with their replacements (lmi.base, lmi.providers) in software providers.
* software fix test of Invoke() methodMichal Minar2013-07-292-2/+6
| | | | | Make sure, that tested package is installed and passes rpm verification test before its checked by our provider.
* removed test for enumeration of software identitiesMichal Minar2013-07-291-38/+0
| | | | | EnumInstance(Names)s call is not supported for software identities, let's not test it.
* software: fixed installation of software profile mofMichal Minar2013-07-261-2/+4
|
* software: add tracing decoratorMichal Minar2013-07-261-0/+1
|
* software: fixed logging decoratorMichal Minar2013-07-261-2/+2
| | | | do not expect, that decorated function takes any argument
* software: added profile registration mof skeletonMichal Minar2013-07-262-0/+86
| | | | | | | | | | | created single instance of PG_ProviderProfileCapabilities with the following DMTF subprofiles: * Job Control * Software Identity * Software Update skeleton is parsed with cmake, which sets the VERSION and writes it to mof/ directory
* software: disable enumeration of software identitiesMichal Minar2013-07-261-10/+3
| | | | | | There are too many packages available to enumerate them. Let's avoid cimom crashes, memory exhaustions and boundless awaiting of clients.
* software: renamed option names to CamelCaseMichal Minar2013-07-261-3/+3
|
* 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