summaryrefslogtreecommitdiffstats
path: root/src/software
Commit message (Collapse)AuthorAgeFilesLines
* documentation: extended configuration sectionMichal Minar2013-10-151-0/+4
|
* software: removed TODOMichal Minar2013-10-101-6/+0
| | | | use track instead
* software: added configuration section to docMichal Minar2013-10-102-0/+152
|
* software: documentation improvementsMichal Minar2013-10-107-0/+506
| | | | Added a short introduction to OpenLMI Software provider documentation.
* software: doc improvementsMichal Minar2013-10-101-5/+6
| | | | specified regular expression for Version and Release properties
* software: adjust the config commentMichal Minar2013-10-101-1/+4
| | | | | Add a note about the need to change the SystemClassName in config when sfcb is used.
* software: fixed regular expressions matching identityMichal Minar2013-10-101-7/+8
| | | | | Regular expressions could parse nevra and envra strings wrongly. Also increased the rebustness of checks for SoftwareIdentity::InstanceID.
* Use PG_ComputerSystem by default.Jan Safranek2013-10-099-25/+25
| | | | | | | And get rid of sblim-cmpi-base dependency. It would be nice if our tests have an option to select Linux_ComputerSystem or PG_ComputerSystem in the future...
* added admin documentation for softwareMichal Minar2013-10-087-0/+1345
|
* python: version bump of python providersMichal Minar2013-10-081-1/+1
| | | | Bumped version in setups to 0.3.0.
* software: fixed exception handlingMichal Minar2013-10-041-1/+1
|
* software: docstrings updateMichal Minar2013-10-041-30/+40
|
* software: fix startupMichal Minar2013-10-041-3/+9
| | | | | | It may happen that get_providers are called twice in single python process. Let's prevent an error to be raised due to double instantiation of IndicationManager which is a singleton.
* software: url check fix in testMichal Minar2013-10-041-3/+3
| | | | Let's ignore trailing slashes when comparing repository urls.
* software: speeded up testsMichal Minar2013-10-046-0/+12
| | | | | Added AssocClass property to Associator(Name)?s calls which limits the number of association classes being enumerated by cimom to 1.
* 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