summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'devel'Roman Rakus2012-12-201-1/+72
|\
| * Account: Allow to create instance of LMI_MemberOfGroupRoman Rakus2012-12-201-1/+72
| | | | | | | | Signed-off-by: Roman Rakus <rrakus@redhat.com>
* | Merge branch 'master' of ssh://git.fedorahosted.org/git/openlmi-providersMichal Minar2012-12-131-1/+76
|\|
| * Account: Allow to delete instance of LMI_MemberOfGroupRoman Rakus2012-12-111-1/+76
| | | | | | | | | | | | Effectively it means this allows to remove user from group Signed-off-by: Roman Rakus <rrakus@redhat.com>
* | fixed test selection, when launching tests with runMichal Minar2012-12-137-261/+524
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | particular tests can be selected like this: * # runs all tests defined by this test case ./run.py -- TestSoftwarePackage * # runs single test defined by TestSoftwarePackage TestCase ./run.py -- TestSoftwarePackage.test_get_instance added comments for each assert made results of tests a lot more readable different file mode for symlinks passes like in rpm -V increased number of packages for testing to 5
* | more software test bugfixesMichal Minar2012-12-111-2/+4
|/ | | | | * handle '*' in yum repolist * select pkg database from 5 times required number of packages
* fixed tests for f18 an RHEL7Michal Minar2012-12-112-22/+72
|
* comply with nosetests rulesMichal Minar2012-12-073-10/+10
| | | | | all methods, functions and modules including 'test' in their name and not intended to be run by nosetests renamed
* non-ascii char appeared in commentMichal Minar2012-12-071-1/+1
| | | | fixed syntax error
* fixed package sorting errorsMichal Minar2012-12-073-8/+5
| | | | | Wrong package could be selected for update due to wrong sorting mechanism.
* rewritten tests for software managementMichal Minar2012-12-077-339/+1195
| | | | | | | | | All tests are invocable from single script called "run_tests.py" and as standalone-modules as well. Its behaviour is modifiable through environment variables according to TestGuidelines. run_tests.py can be passed arguments instead. Package database is not fixed anymore. Instead it's generated automatically for system, where tests are triggered.
* fixed most of pylint errorsMichal Minar2012-11-296-483/+457
| | | | | | | | | also modified mof, so it's better parseable greatly reduced pylint errors and warnings LMI_SoftwareInstalledPackage now returns reference to Linux_ComputerSystem instead of CIM_ComputerSystem
* added pylintlmi checker for python source checkingMichal Minar2012-11-2811-2/+24
| | | | | | | | | | | | | | | | | | pylintlmi uses pylint (python source code checking utility) - giving it custom configuration for openlmi project and plugins with additional checks for usage see src/software/README renamed directory "src/software/providers" to "src/software/openlmi/software" * allows installation to custom PYTHONPATH together with openlmi-python egg * that also allows running pylint on sources in devel directory without messages like: W0403: 28,0: Relative import 'openlmi.software.core', should be 'openlmi.software.openlmi.software.core' E0611: 28,0: No name 'software' in module 'openlmi' F0401: 28,0: Unable to import 'openlmi.software.core'
* Service:Vitezslav Crhonek2012-11-222-36/+28
| | | | | - Use popen instead evil tmpnam in service enumeration functions. - Pass service name to systemctl after a "--" argument list terminator.
* Relicence all sources from GPLv2+ to LGPLv2+0.0.15Radek Novacek2012-11-1259-503/+793
|
* fixed import in software providerMichal Minar2012-11-081-1/+1
|
* fixed software setup.py0.0.14Michal Minar2012-11-081-1/+1
|
* added python namespace package called openlmiMichal Minar2012-11-0810-11/+32
| | | | | This is aimed to be a common package for all openlmi python providers. It allows using fully-qualified imports in provider source packages.
* Account: Compiletime definition of supported encrypt algorithms0.0.13Roman Rakus2012-11-074-0/+35
| | | | Signed-off-by: Roman Rakus <rrakus@redhat.com>
* Account: Include license text in source filesRoman Rakus2012-10-2623-0/+391
| | | | Signed-off-by: Roman Rakus <rrakus@redhat.com>
* Account: Account modification of password expirations0.0.12Roman Rakus2012-10-252-26/+152
| | | | Signed-off-by: Roman Rakus <rrakus@redhat.com>
* Account: minor cleanupRoman Rakus2012-10-251-2/+0
| | | | Signed-off-by: Roman Rakus <rrakus@redhat.com>
* modified for used under tog-pegasusMichal Minar2012-10-243-33/+35
| | | | | | | | | | | | Checkum property of LMI_SoftwareFileCheck had different type than in base class. This prevented registration. - Solved by renaming: Checksum -> FileChecksum ExpectedChecksum -> ExpectedFileChecksum ChecksumType -> FileChecksumType fixed filtering of found available and installed packages - search by nevra replaced with search for particular keys
* Change project name from Cura to OpenLMIRadek Novacek2012-10-228-26/+26
|
* added a cli tool for testing software provider0.0.9Michal Minar2012-10-131-0/+271
|
* renamed LMI_SoftwarePackage{File,Checks}Michal Minar2012-10-132-71/+107
| | | | | corrected some corner cases, when getting/modifying instance with wrong or missing keys
* Merge branch 'master' of ssh://git.fedorahosted.org/git/cura-providersMichal Minar2012-10-102-27/+42
|\
| * Account: Minor change in create account methodRoman Rakus2012-10-101-5/+1
| | | | | | | | Signed-off-by: Roman Rakus <rrakus@redhat.com>
| * Account: Password and user expirationRoman Rakus2012-10-101-22/+41
| | | | | | | | Signed-off-by: Roman Rakus <rrakus@redhat.com>
* | changed install directory for software providersMichal Minar2012-10-101-4/+4
| | | | | | | | bumped version
* | renamed yum package providers to softwareMichal Minar2012-10-1015-425/+112
|/ | | | | | | | | | renamed LMI_Yum* to LMI_Software* removed attributes GroupString and LicenseString from LMI_SoftwarePackage modified attributes Group, Architecture and License of LMI_SoftwarePackage to return string instead of Uints - because values and valuemaps would need frequent updates
* accept SoftwareElementID without epoch part0.0.8Michal Minar2012-10-074-27/+34
| | | | | | in such case epoch is assumed to be 0 bumped Yum version
* tests rewritten to pywhon scriptsMichal Minar2012-10-0612-490/+968
| | | | | | | | | currently testing data are suitable only for Fedora 17 added README for tests lot of bug fixes support for Remove method in LMI_YumPackage provider
* fixed check_integrity methodMichal Minar2012-10-044-94/+124
| | | | | made more generic checking of System property of YumInstalledPackage object paths
* bumped version0.0.7Michal Minar2012-10-031-1/+1
|
* implemented check_integrity methodMichal Minar2012-10-032-11/+34
|
* working associationsMichal Minar2012-10-034-64/+366
| | | | | | | added LMI_YumPackageFile as association between LMI_YumPackage and LMI_FileCheck using overrides in mof
* update/delete methods done on YumInstalledPackageMichal Minar2012-10-035-390/+526
| | | | | | | | | | | | enumerating YumPackage now yields all available packages - removed update, delete and check_integrity methods - added Install method - SoftwareElementState now equals to: 1 ("Installable") - for not installed and available package 2 ("Executable") - for installed package enumerating YumInstalledPackage now yields all installed packages - added update, delete and check_integrity methods
* initial import of yum providersMichal Minar2012-09-2710-0/+3137
|
* account: create account - set password0.0.5Roman Rakus2012-09-271-0/+11
| | | | Signed-off-by: Roman Rakus <rrakus@redhat.com>
* account: last login, password min and max lifetimeRoman Rakus2012-09-274-4/+62
| | | | Signed-off-by: Roman Rakus <rrakus@redhat.com>
* account: ModifyInstance of AccountRoman Rakus2012-09-261-1/+105
| | | | | | | So far only possible to change GECOS record (ElementName), home directory, login shell and password. Signed-off-by: Roman Rakus <rrakus@redhat.com>
* account: CreateGroup implementedRoman Rakus2012-09-211-1/+106
| | | | Signed-off-by: Roman Rakus <rrakus@redhat.com>
* account: DeleteInstance on LMI_GroupRoman Rakus2012-09-211-1/+39
| | | | Signed-off-by: Roman Rakus <rrakus@redhat.com>
* account: DeleteInstance of LMI_IdentityRoman Rakus2012-09-211-1/+68
| | | | Signed-off-by: Roman Rakus <rrakus@redhat.com>
* account: delete instance on LMI_AccountRoman Rakus2012-09-201-1/+40
| | | | Signed-off-by: Roman Rakus <rrakus@redhat.com>
* account: Use LMI as Organization IDRoman Rakus2012-09-191-1/+1
| | | | Signed-off-by: Roman Rakus <rrakus@redhat.com>
* account: createAccount function implementationRoman Rakus2012-09-071-2/+238
| | | | | | | I decided to not follow the DMTF Standard strictly here. Rather than using embedded instance I use several parameters. Signed-off-by: Roman Rakus <rrakus@redhat.com>
* Make destination of .reg adjustable in CuraMacros0.0.3Radek Novacek2012-08-294-4/+4
| | | | | If CuraMacros are used by different provider it needs to change location where the .reg is installed.
* Define methods from experimental schemaRadek Novacek2012-08-297-0/+154
| | | | | Add missing methods to fix undefined references. All of the methods return NOT_SUPPORTED error